OpendTect  6.6
Public Member Functions | Private Member Functions | List of all members
uiColorTableToolBar Class Reference
Inheritance diagram for uiColorTableToolBar:
[legend]

Public Member Functions

 uiColorTableToolBar (uiParent *, bool newline=false)
 
 uiColorTableToolBar (uiParent *, const ColTab::Sequence &, bool newline=false)
 
 ~uiColorTableToolBar ()
 
virtual OD::Orientation getOrientation () const
 
- Public Member Functions inherited from uiToolBar
 uiToolBar (uiParent *, const uiString &nm, ToolBarArea d=Top, bool newline=false)
 
 uiToolBar (uiParent *p, const char *nm, ToolBarArea d=Top, bool newline=false)
 
 ~uiToolBar ()
 
int addButton (const char *fnm, const char *tooltip, const CallBack &cb=CallBack(), bool toggle=false, int id=-1)
 
int addButton (const char *fnm, const uiString &tooltip, const CallBack &=CallBack(), bool toggle=false, int id=-1)
 
int addButton (const MenuItem &)
 
int addButton (const uiToolButtonSetup &)
 
void addButton (uiButton *)
 
void addObject (uiObject *)
 
void addSeparator ()
 
void clear ()
 
virtual void display (bool yn=true, bool s=false, bool m=false)
 
uiString getDispNm () const
 
void getEntityList (ObjectSet< const CallBacker > &) const
 CmdDriver functionality, not for casual use. More...
 
OD::Orientation getOrientation () const
 
bool isHidden () const
 
bool isOn (int id) const
 
bool isSensitive () const
 
bool isVisible () const
 
uiParentparent ()
 
ToolBarArea prefArea () const
 
QToolBar * qwidget ()
 
void setButtonMenu (int, uiMenu *, uiToolButton::PopupMode=uiToolButton::MenuButtonPopup)
 Menu will be owned by uiToolButton. More...
 
void setIcon (int id, const char *)
 
void setIcon (int id, const uiIcon &)
 
void setLabel (const uiString &)
 
void setSensitive (bool yn)
 
void setSensitive (int id, bool yn)
 
void setShortcut (int id, const char *)
 
void setToggle (int id, bool)
 
void setToolBarMenuAction (uiAction *)
 
void setToolTip (int id, const uiString &)
 
void translateText ()
 
void turnOn (int id, bool yn)
 
- Public Member Functions inherited from uiActionContainer
virtual ~uiActionContainer ()
 
const ObjectSet< uiAction > & actions () const
 
uiMenuaddMenu (uiMenu *, const uiMenu *before=0)
 
uiActionfindAction (const char *itmtxt)
 
uiActionfindAction (const FixedString &fs)
 
uiActionfindAction (const uiActionSeparString &)
 
uiActionfindAction (const uiMenu *)
 
uiActionfindAction (const uiString &itmtxt)
 The full string of the text will be used. More...
 
uiActionfindAction (int id)
 
int getID (const QAction *) const
 
int getID (const uiAction *) const
 
bool hasSharedActions () const
 
int insertAction (const MenuItem &)
 
int insertAction (uiAction *act, int id=-1, const uiAction *before=0)
 
int insertItem (uiAction *a, int id=-1, const uiAction *before=0)
 
int insertItem (uiMenu *mnu)
 
uiActioninsertSeparator ()
 
bool isEmpty () const
 
int nrActions () const
 
void reloadIcons ()
 
void removeAction (int id)
 
void removeAction (uiAction *)
 
void removeAllActions ()
 
void removeItem (int id)
 Legacy. More...
 
void removeItem (uiAction *a)
 Legacy. More...
 
void shareActionsFrom (const uiActionContainer *)
 
- Public Member Functions inherited from uiParent
uiSize actualsize (bool inclborder=true) const
 
uiSize actualSize (bool include_border) const
 
void addChild (uiBaseObject &)
 
void attach (constraintType t, int margin=-1)
 
void attach (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 
void attach (constraintType t, uiParent *oth, int margin=-1, bool reciprocal=true)
 
void attachChild (constraintType tp, uiObject *child, uiObject *other, int margin, bool reciprocal)
 
Color backgroundColor () const
 
const ObjectSet< uiBaseObject > * childList () const
 
void deepRedraw (CallBacker *=0)
 
const uiFontfont () const
 
bool hasFocus () const
 
bool isDisplayed () const
 
uiObjectmainObject ()
 
const uiObjectmainObject () const
 
virtual uiMainWinmainwin ()
 
void manageChld (uiBaseObject &, uiObjectBody &)
 
uiParentBodypbody ()
 
const uiParentBodypbody () const
 
int prefHNrPics () const
 
int prefVNrPics () const
 
virtual void reDraw (bool deep)
 
Color roBackgroundColor () const
 
bool sensitive () const
 
void setBackgroundColor (const Color &c)
 
void setCaption (const uiString &c)
 
void setCursor (const MouseCursor &c)
 
void setFocus ()
 
void setFont (const uiFont &f)
 
void setPrefHeight (int h)
 
void setPrefHeightInChar (float h)
 
void setPrefHeightInChar (int h)
 
void setPrefWidth (int w)
 
void setPrefWidthInChar (float w)
 
void setPrefWidthInChar (int w)
 
void setSensitive (bool yn=true)
 
void setStretch (int h, int v)
 
void shallowRedraw (CallBacker *=0)
 
int stretch (bool h) const
 
- Public Member Functions inherited from uiBaseObject
 uiBaseObject (const char *nm, uiBody *=0)
 
virtual ~uiBaseObject ()
 
int beginCmdRecEvent (const char *msg=0)
 
int beginCmdRecEvent (od_uint64 id, const char *msg=0)
 
uiBodybody ()
 
const uiBodybody () const
 
void clear ()
 
void endCmdRecEvent (int refnr, const char *msg=0)
 
void endCmdRecEvent (od_uint64 id, int refnr, const char *msg=0)
 
void finalise ()
 
bool finalised () const
 
virtual QWidget * getWidget ()
 
const QWidget * getWidget () const
 
virtual Notifier< uiBaseObject > & postFinalise ()
 
virtual Notifier< uiBaseObject > & preFinalise ()
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
virtual const name_typename () const
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 
- Public Member Functions inherited from uiColorTable
virtual ~uiColorTable ()
 
const ColTab::MapperSetupcolTabMapperSetup () const
 
const ColTab::SequencecolTabSeq () const
 
void commitInput ()
 
void enableClippingDlg (bool yn)
 
void enableManage (bool yn)
 
void enableTransparencyEdit (bool)
 
void getDispPars (FlatView::DataDispPars::VD &) const
 
void getNumberFormat (char &format, int &precision) const
 
void orientationChgd (CallBacker *)
 
void setDispPars (const FlatView::DataDispPars::VD &)
 
void setHistogram (const TypeSet< float > *)
 
void setInterval (const Interval< float > &)
 
void setMapperSetup (const ColTab::MapperSetup *, bool emitnotif=true)
 
void setNumberFormat (char format, int precision)
 
void setSequence (const char *, bool emitnotif=true)
 
void setSequence (const ColTab::Sequence *, bool allowedit, bool emitnotif=true)
 

Private Member Functions

void init ()
 

Additional Inherited Members

- Public Types inherited from uiToolBar
enum  ToolBarArea {
  Left =0x1 , Right =0x2 , Top =0x4 , Bottom =0x8 ,
  None =0 , All =0xf
}
 ToolBar Dock Identifier. More...
 
- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Static Public Member Functions inherited from uiToolBar
static ToolBarArea pluginArea ()
 
static ObjectSet< uiToolBar > & toolBars ()
 
- Static Public Member Functions inherited from uiBaseObject
static void addCmdRecorder (const CallBack &)
 
static void removeCmdRecorder (const CallBack &)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Public Attributes inherited from uiToolBar
CNotifier< uiToolBar, int > buttonClicked
 
Notifier< uiToolBarorientationChanged
 
- Public Attributes inherited from uiColorTable
Notifier< uiColorTablescaleChanged
 
Notifier< uiColorTableseqChanged
 
- Protected Member Functions inherited from uiToolBar
void doClear ()
 
void doInsertAction (QAction *, QAction *before)
 
void doInsertMenu (QMenu *, QAction *before)
 
void doInsertSeparator (QAction *before)
 
void doRemoveAction (QAction *)
 
int getButtonID (QAction *)
 
void handleFinalise (bool pre)
 
- Protected Member Functions inherited from uiActionContainer
 uiActionContainer ()
 
int getFreeID () const
 
- Protected Member Functions inherited from uiParent
 uiParent (const char *nm, uiParentBody *)
 
virtual void attach_ (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 
virtual uiObjectmainobject ()
 
- Protected Member Functions inherited from uiBaseObject
void setBody (uiBody *b)
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 
- Protected Member Functions inherited from uiColorTable
 uiColorTable (const ColTab::Sequence &)
 
void canvasClick (CallBacker *)
 
void canvasDoubleClick (CallBacker *)
 
void canvasreDraw (CallBacker *)
 
void colTabChgdCB (CallBacker *)
 
void colTabManChgd (CallBacker *)
 
void createFields (uiParent *, OD::Orientation, bool withminmax)
 
void doFlip (CallBacker *)
 
void doManage (CallBacker *)
 
void editScaling (CallBacker *)
 
bool isEditable () const
 
void makeSymmetrical (CallBacker *)
 
void numberFormatChgdCB (CallBacker *)
 
void rangeEntered (CallBacker *)
 
void setAsDefault (CallBacker *)
 
void tableAdded (CallBacker *)
 
void tabSel (CallBacker *)
 
void updateRgFld ()
 
- Protected Attributes inherited from uiToolBar
ObjectSet< uiObjectaddedobjects_
 
uiString label_
 
i_ToolBarMessengermsgr_
 
uiParentparent_
 
QToolBar * qtoolbar_
 
ToolBarArea tbarea_
 
uiActiontoolbarmenuaction_
 
- Protected Attributes inherited from uiActionContainer
ObjectSet< uiActionactions_
 
TypeSet< int > ids_
 
- Protected Attributes inherited from uiBaseObject
Notifier< uiBaseObjectfinaliseDone
 triggered when finalising finished More...
 
Notifier< uiBaseObjectfinaliseStart
 triggered when about to start finalising More...
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 
- Protected Attributes inherited from uiColorTable
uiColorTableCanvascanvas_
 
ColTab::Sequencecoltabseq_
 
bool enabclipdlg_
 
bool enabletrans_
 
bool enabmanage_
 
TypeSet< float > histogram_
 
ColTab::MapperSetupmapsetup_
 
uiLineEditmaxfld_
 
uiLineEditminfld_
 
uiParentparent_
 
uiAutoRangeClipDlg * scalingdlg_
 
uiColorTableSelselfld_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ uiColorTableToolBar() [1/2]

uiColorTableToolBar::uiColorTableToolBar ( uiParent ,
const ColTab::Sequence ,
bool  newline = false 
)

◆ uiColorTableToolBar() [2/2]

uiColorTableToolBar::uiColorTableToolBar ( uiParent ,
bool  newline = false 
)

◆ ~uiColorTableToolBar()

uiColorTableToolBar::~uiColorTableToolBar ( )

Member Function Documentation

◆ getOrientation()

virtual OD::Orientation uiColorTableToolBar::getOrientation ( ) const
virtual

Implements uiColorTable.

◆ init()

void uiColorTableToolBar::init ( )
private

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