OpendTect  7.0
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 ()
 
OD::Orientation getOrientation () const override
 
- Public Member Functions inherited from uiToolBar
 uiToolBar (uiParent *, const char *nm, ToolBarArea d=Top, bool newline=false)
 
 uiToolBar (uiParent *, const uiString &nm, ToolBarArea d=Top, bool newline=false)
 
 ~uiToolBar ()
 
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 ()
 
void display (bool yn=true, bool s=false, bool m=false) override
 
uiString getDispNm () const
 
void getEntityList (ObjectSet< const CallBacker > &) const
 CmdDriver functionality, not for casual use. More...
 
OD::Orientation getOrientation () const
 
bool hasObject (const uiObject *) const
 
bool isHidden () const
 
bool isOn (int id) const
 
bool isSensitive () const
 
bool isVisible () const
 
uiParentparent ()
 
ToolBarArea prefArea () const
 
QToolBar * qwidget ()
 
void removeObject (uiObject *)
 
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 setTabOrder (uiObject *, uiObject *)
 
void setToggle (int id, bool)
 
void setToolBarMenuAction (uiAction *)
 
void setToolTip (int id, const uiString &)
 
void translateText () override
 
void turnOn (int id, bool yn)
 
- Public Member Functions inherited from uiActionContainer
virtual ~uiActionContainer ()
 
const ObjectSet< uiAction > & actions () const
 
uiMenuaddMenu (uiMenu *, const uiAction *before)
 
uiMenuaddMenu (uiMenu *, const uiMenu *before=0)
 
const uiActionfindAction (const char *itmtxt) const
 
const uiActionfindAction (const StringView &fs) const
 
const uiActionfindAction (const uiActionSeparString &) const
 
const uiActionfindAction (const uiMenu *) const
 
const uiActionfindAction (const uiString &itmtxt) const
 The full string of the text will be used. More...
 
const uiActionfindAction (int id) const
 
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
 
bool isMenu () 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...
 
bool removeMenu (uiMenu &)
 
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)
 
OD::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 manageChild (uiBaseObject &, uiObjectBody &)
 
uiParentBodypbody ()
 
const uiParentBodypbody () const
 
int prefHNrPics () const
 
int prefVNrPics () const
 
virtual void reDraw (bool deep)
 
OD::Color roBackgroundColor () const
 
bool sensitive () const
 
void setBackgroundColor (const OD::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 BufferString &msg)
 
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
 
void finalize ()
 
bool finalized () const
 
virtual QWidget * getWidget ()
 
const QWidget * getWidget () const
 
virtual Notifier< uiBaseObject > & postFinalise ()
 
virtual Notifier< uiBaseObject > & postFinalize ()
 
virtual Notifier< uiBaseObject > & preFinalise ()
 
virtual Notifier< uiBaseObject > & preFinalize ()
 
- 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
 
virtual CallBackertrueCaller ()
 
- 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 &)
 
const name_typename () const override
 
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 () override
 
void doInsertAction (QAction *, QAction *before) override
 
void doInsertMenu (QMenu *, QAction *before) override
 
void doInsertSeparator (QAction *before) override
 
void doRemoveAction (QAction *) override
 
int getButtonID (QAction *)
 
void handleFinalise (bool pre)
 
void handleFinalize (bool pre)
 
uiActionmyFindAction (int id)
 
const uiActionmyFindAction (int id) const
 
- Protected Member Functions inherited from uiActionContainer
 uiActionContainer ()
 
int getFreeID () const
 
- Protected Member Functions inherited from uiParent
 uiParent (const char *nm, uiParentBody *)
 
 ~uiParent ()
 
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_
 
bool hassharedactions_ = false
 
TypeSet< int > ids_
 
- 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()

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

Implements uiColorTable.

◆ init()

void uiColorTableToolBar::init ( )
private

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