OpendTect-6_4  6.4
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
uiHistogramSel Class Reference
Inheritance diagram for uiHistogramSel:
[legend]

Public Member Functions

 uiHistogramSel (uiParent *, const uiHistogramDisplay::Setup &, int an_id=0)
 
 ~uiHistogramSel ()
 
int ID () const
 
void setID (int id)
 
void setEmpty ()
 
bool setDataPackID (DataPack::ID, DataPackMgr::ID, int version)
 
void setData (const Array2D< float > *)
 
void setData (const float *, int sz)
 
void setMarkValue (float, bool forx)
 
const Interval< float > & getDataRange () const
 
void setDataRange (const Interval< float > &)
 
const Interval< float > & getSelRange () const
 
void setSelRange (const Interval< float > &)
 
uiHistogramDisplaygetDisplay ()
 
- 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< uiHistogramSelrangeChanged
 

Protected Member Functions

virtual void drawAgain ()
 
virtual void useClipRange ()
 
void init ()
 
void drawText ()
 
void drawLines ()
 
bool changeLinePos (bool pressedonly=false)
 
void mousePressed (CallBacker *)
 
void mouseMoved (CallBacker *)
 
void mouseReleased (CallBacker *)
 
void histogramResized (CallBacker *)
 
void histDRChanged (CallBacker *)
 
- 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

int id_
 
uiHistogramDisplayhistogramdisp_
 
uiAxisHandlerxax_
 
uiLineItemminhandle_
 
uiLineItemmaxhandle_
 
uiTextItemminvaltext_
 
uiTextItemmaxvaltext_
 
Interval< float > datarg_
 
Interval< float > cliprg_
 
int startpix_
 
int stoppix_
 
bool mousedown_
 
- Protected Attributes inherited from uiGroup
uiGroupObjgrpobj_
 
uiGroupParentBodybody_
 

Additional Inherited Members

- Static Public Member Functions inherited from uiGroup
static uiGroupgtDynamicCastToGrp (mQtclass(QWidget *))
 

Detailed Description

Constructor & Destructor Documentation

uiHistogramSel::uiHistogramSel ( uiParent ,
const uiHistogramDisplay::Setup &  ,
int  an_id = 0 
)
uiHistogramSel::~uiHistogramSel ( )

Member Function Documentation

bool uiHistogramSel::changeLinePos ( bool  pressedonly = false)
protected
virtual void uiHistogramSel::drawAgain ( )
protectedvirtual
void uiHistogramSel::drawLines ( )
protected
void uiHistogramSel::drawText ( )
protected
const Interval<float>& uiHistogramSel::getDataRange ( ) const
inline
uiHistogramDisplay& uiHistogramSel::getDisplay ( )
inline
const Interval<float>& uiHistogramSel::getSelRange ( ) const
inline
void uiHistogramSel::histDRChanged ( CallBacker )
protected
void uiHistogramSel::histogramResized ( CallBacker )
protected
int uiHistogramSel::ID ( ) const
inline
void uiHistogramSel::init ( )
protected
void uiHistogramSel::mouseMoved ( CallBacker )
protected
void uiHistogramSel::mousePressed ( CallBacker )
protected
void uiHistogramSel::mouseReleased ( CallBacker )
protected
void uiHistogramSel::setData ( const Array2D< float > *  )
void uiHistogramSel::setData ( const float *  ,
int  sz 
)
bool uiHistogramSel::setDataPackID ( DataPack::ID  ,
DataPackMgr::ID  ,
int  version 
)
void uiHistogramSel::setDataRange ( const Interval< float > &  )
void uiHistogramSel::setEmpty ( )
void uiHistogramSel::setID ( int  id)
inline
void uiHistogramSel::setMarkValue ( float  ,
bool  forx 
)
void uiHistogramSel::setSelRange ( const Interval< float > &  )
virtual void uiHistogramSel::useClipRange ( )
inlineprotectedvirtual

Member Data Documentation

Interval<float> uiHistogramSel::cliprg_
protected
Interval<float> uiHistogramSel::datarg_
protected
uiHistogramDisplay* uiHistogramSel::histogramdisp_
protected
int uiHistogramSel::id_
protected
uiLineItem* uiHistogramSel::maxhandle_
protected
uiTextItem* uiHistogramSel::maxvaltext_
protected
uiLineItem* uiHistogramSel::minhandle_
protected
uiTextItem* uiHistogramSel::minvaltext_
protected
bool uiHistogramSel::mousedown_
protected
Notifier<uiHistogramSel> uiHistogramSel::rangeChanged
int uiHistogramSel::startpix_
protected
int uiHistogramSel::stoppix_
protected
uiAxisHandler* uiHistogramSel::xax_
protected

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