OpendTect 8.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
uiRubberBand Class Reference

#include <uirubberband.h>

Public Member Functions

 uiRubberBand (QWidget *)
 
virtual ~uiRubberBand ()
 
uiRect area () const
 
void extend (QMouseEvent *)
 
float getAspectRatio () const
 
 mOD_DisableCopy (uiRubberBand) void start(QMouseEvent *)
 
uiPoint origin () const
 
void setAspectRatio (float ar)
 
void stop (QMouseEvent *)
 

Protected Member Functions

void handleEv (QMouseEvent *, bool)
 

Protected Attributes

uiRect area_
 
float aspectratio_ = mUdf(float)
 
uiPoint origin_
 
QWidget * parent_
 
QRubberBand * qrubberband_ = nullptr
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ uiRubberBand()

uiRubberBand::uiRubberBand ( QWidget * )

◆ ~uiRubberBand()

virtual uiRubberBand::~uiRubberBand ( )
virtual

Member Function Documentation

◆ area()

uiRect uiRubberBand::area ( ) const
inline

◆ extend()

void uiRubberBand::extend ( QMouseEvent * )

◆ getAspectRatio()

float uiRubberBand::getAspectRatio ( ) const
inline

◆ handleEv()

void uiRubberBand::handleEv ( QMouseEvent * ,
bool  )
protected

◆ mOD_DisableCopy()

uiRubberBand::mOD_DisableCopy ( uiRubberBand )

◆ origin()

uiPoint uiRubberBand::origin ( ) const
inline

◆ setAspectRatio()

void uiRubberBand::setAspectRatio ( float ar)
inline

◆ stop()

void uiRubberBand::stop ( QMouseEvent * )

Member Data Documentation

◆ area_

uiRect uiRubberBand::area_
protected

◆ aspectratio_

float uiRubberBand::aspectratio_ = mUdf(float)
protected

◆ origin_

uiPoint uiRubberBand::origin_
protected

◆ parent_

QWidget* uiRubberBand::parent_
protected

◆ qrubberband_

QRubberBand* uiRubberBand::qrubberband_ = nullptr
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2025