OpendTect-6_4  6.4
Classes | Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
uiSlider Class Reference
Inheritance diagram for uiSlider:
[legend]

Classes

class  Setup
 

Public Types

enum  TickPosition {
  NoMarks =0, Above =1, Left =Above, Below =2,
  Right =Below, Both =3
}
 

Public Member Functions

 uiSlider (uiParent *, const Setup &, const char *nm=0)
 
 ~uiSlider ()
 
void processInput ()
 
void setToolTip (const uiString &)
 
void setText (const char *)
 
const char * text () const
 
void setValue (int)
 
void setValue (float)
 
int getIntValue () const
 
float getFValue () const
 
float editValue () const
 
void setMinValue (float)
 
float minValue () const
 
void setMaxValue (float)
 
float maxValue () const
 
void setStep (float)
 
void setScale (float fact, float constant)
 
float step () const
 
void setInterval (const StepInterval< int > &)
 
void setInterval (int start, int stop, int step=1)
 
void setInterval (const StepInterval< float > &)
 
void setInterval (float start, float stop, float step)
 
void getInterval (StepInterval< float > &) const
 
void setLinearScale (double, double)
 
void setTickMarks (TickPosition)
 
TickPosition tickMarks () const
 
void setTickStep (int)
 
int tickStep () const
 
void setOrientation (OD::Orientation)
 
OD::Orientation getOrientation () const
 
void setInverted (bool)
 
bool isInverted () const
 
void setInvertedControls (bool)
 
bool hasInvertedControls () const
 
bool isLogScale ()
 
float getLinearFraction () const
 
void setLinearFraction (float fraction)
 
const uiLabellabel () const
 
uiLabellabel ()
 
uiSliderObjslider ()
 
float getValue () const
 
- Public Member Functions inherited from uiGroup
 uiGroup (uiParent *, const char *nm="uiGroup", bool manage=true)
 
virtual ~uiGroup ()
 
 operator const uiGroupObj * () const
 
 operator uiGroupObj * ()
 
 operator const uiObject & () const
 
 operator uiObject & ()
 
uiObjectattachObj ()
 
const uiObjectattachObj () const
 
uiParentparent ()
 
const uiParentparent () const
 
void setHSpacing (int)
 
void setVSpacing (int)
 
void setSpacing (int s=0)
 
void setBorder (int)
 
void setFrame (bool yn=true)
 
void setNoBackGround ()
 
uiObjecthAlignObj ()
 
void setHAlignObj (uiObject *o)
 
void setHAlignObj (uiGroup *o)
 
uiObjecthCenterObj ()
 
void setHCenterObj (uiObject *o)
 
void setHCenterObj (uiGroup *o)
 
void setIsMain (bool)
 internal use only. Tells the layout manager it's a toplevel mngr. More...
 
virtual uiMainWinmainwin ()
 
void setChildrenSensitive (bool)
 
virtual Notifier< uiBaseObject > & preFinalise ()
 
virtual Notifier< uiBaseObject > & postFinalise ()
 
virtual void setSize (const uiSize &)
 
- Public Member Functions inherited from uiParent
 uiParent (const char *nm, uiParentBody *)
 
void addChild (uiBaseObject &)
 
void manageChld (uiBaseObject &, uiObjectBody &)
 
void attachChild (constraintType tp, uiObject *child, uiObject *other, int margin, bool reciprocal)
 
const ObjectSet< uiBaseObject > * childList () const
 
uiObjectmainObject ()
 
const uiObjectmainObject () const
 
uiParentBodypbody ()
 
const uiParentBodypbody () const
 
void attach (constraintType t, int margin=-1)
 
void attach (constraintType t, uiParent *oth, int margin=-1, bool reciprocal=true)
 
void attach (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 
virtual void display (bool yn, bool shrk=false, bool maximize=false)
 
bool isDisplayed () const
 
void setFocus ()
 
bool hasFocus () const
 
void setSensitive (bool yn=true)
 
bool sensitive () const
 
const uiFontfont () const
 
void setFont (const uiFont &f)
 
void setCaption (const uiString &c)
 
void setCursor (const MouseCursor &c)
 
uiSize actualsize (bool include_border) const
 
int prefHNrPics () const
 
int prefVNrPics () const
 
void setPrefHeight (int h)
 
void setPrefWidth (int w)
 
void setPrefHeightInChar (int h)
 
void setPrefHeightInChar (float h)
 
void setPrefWidthInChar (float w)
 
void setPrefWidthInChar (int w)
 
virtual void reDraw (bool deep)
 
void shallowRedraw (CallBacker *=0)
 
void deepRedraw (CallBacker *=0)
 
void setStretch (int h, int v)
 
Color backgroundColor () const
 
Color roBackgroundColor () const
 
void setBackgroundColor (const Color &c)
 
void translateText ()
 

Public Attributes

Notifier< uiSlidervalueChanged
 
Notifier< uiSlidersliderMoved
 
Notifier< uiSlidersliderPressed
 
Notifier< uiSlidersliderReleased
 

Private Member Functions

void init (const Setup &, const char *)
 
void sliderMove (CallBacker *)
 
void editRetPress (CallBacker *)
 
float userValue (int) const
 
int sliderValue (float) const
 

Private Attributes

uiSliderObjslider_
 
uiLabellbl_
 
uiLineEditeditfld_
 
uiSpinBoxinteditfld_
 
BufferString result_
 
LinScalerscaler_
 
bool logscale_
 

Additional Inherited Members

- Static Public Member Functions inherited from uiGroup
static uiGroupgtDynamicCastToGrp (mQtclass(QWidget *))
 
- Protected Member Functions inherited from uiGroup
virtual uiObjectmainobject ()
 
virtual void attach_ (constraintType, uiObject *oth, int margin=-1, bool reciprocal=true)
 
virtual void reDraw_ (bool deep)
 
void setShrinkAllowed (bool)
 
bool shrinkAllowed ()
 
void bodyDel (CallBacker *)
 
void uiobjDel (CallBacker *)
 
void setFrameStyle (int)
 
void reSizeChildren (const uiObject *, float, float)
 
- Protected Attributes inherited from uiGroup
uiGroupObjgrpobj_
 
uiGroupParentBodybody_
 

Detailed Description

Member Enumeration Documentation

Enumerator
NoMarks 
Above 
Left 
Below 
Right 
Both 

Constructor & Destructor Documentation

uiSlider::uiSlider ( uiParent ,
const Setup ,
const char *  nm = 0 
)
uiSlider::~uiSlider ( )

Member Function Documentation

void uiSlider::editRetPress ( CallBacker )
private
float uiSlider::editValue ( ) const
float uiSlider::getFValue ( ) const
void uiSlider::getInterval ( StepInterval< float > &  ) const
int uiSlider::getIntValue ( ) const
float uiSlider::getLinearFraction ( ) const
OD::Orientation uiSlider::getOrientation ( ) const
float uiSlider::getValue ( ) const
inline
bool uiSlider::hasInvertedControls ( ) const
void uiSlider::init ( const Setup ,
const char *   
)
private
bool uiSlider::isInverted ( ) const
bool uiSlider::isLogScale ( )
inline
const uiLabel* uiSlider::label ( ) const
inline
uiLabel* uiSlider::label ( )
inline
float uiSlider::maxValue ( ) const
float uiSlider::minValue ( ) const
void uiSlider::processInput ( )
void uiSlider::setInterval ( const StepInterval< int > &  )
void uiSlider::setInterval ( int  start,
int  stop,
int  step = 1 
)
void uiSlider::setInterval ( const StepInterval< float > &  )
void uiSlider::setInterval ( float  start,
float  stop,
float  step 
)
void uiSlider::setInverted ( bool  )
void uiSlider::setInvertedControls ( bool  )
void uiSlider::setLinearFraction ( float  fraction)
void uiSlider::setLinearScale ( double  ,
double   
)
void uiSlider::setMaxValue ( float  )
void uiSlider::setMinValue ( float  )
void uiSlider::setOrientation ( OD::Orientation  )
void uiSlider::setScale ( float  fact,
float  constant 
)
void uiSlider::setStep ( float  )
void uiSlider::setText ( const char *  )
void uiSlider::setTickMarks ( TickPosition  )
void uiSlider::setTickStep ( int  )
void uiSlider::setToolTip ( const uiString )
void uiSlider::setValue ( int  )
void uiSlider::setValue ( float  )
uiSliderObj* uiSlider::slider ( )
inline
void uiSlider::sliderMove ( CallBacker )
private
int uiSlider::sliderValue ( float  ) const
private
float uiSlider::step ( ) const
const char* uiSlider::text ( ) const
TickPosition uiSlider::tickMarks ( ) const
int uiSlider::tickStep ( ) const
float uiSlider::userValue ( int  ) const
private

Member Data Documentation

uiLineEdit* uiSlider::editfld_
private
uiSpinBox* uiSlider::inteditfld_
private
uiLabel* uiSlider::lbl_
private
bool uiSlider::logscale_
private
BufferString uiSlider::result_
mutableprivate
LinScaler* uiSlider::scaler_
private
uiSliderObj* uiSlider::slider_
private
Notifier<uiSlider> uiSlider::sliderMoved
Notifier<uiSlider> uiSlider::sliderPressed
Notifier<uiSlider> uiSlider::sliderReleased
Notifier<uiSlider> uiSlider::valueChanged

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