OpendTect-6_4
6.4
|
Classes | |
class | Setup |
Public Types | |
enum | Type { Standard, CheckBox } |
Public Member Functions | |
uiTreeViewItem (uiTreeViewItem *parent, const Setup &) | |
uiTreeViewItem (uiTreeView *parent, const Setup &) | |
virtual | ~uiTreeViewItem () |
mQtclass (QTreeWidgetItem *) qItem() | |
const | mQtclass (QTreeWidgetItem *) qItem() const |
int | nrChildren () const |
void | setBGColor (int column, const Color &) |
void | edit (int col) |
void | setCheckable (bool) |
bool | isCheckable () const |
bool | isChecked (bool qtstatus=true) const |
returns false if not checkable More... | |
void | setChecked (bool, bool trigger=false) |
does nothing if not checkable More... | |
void | checkAll (bool yn, bool trigger=false) |
void | setToolTip (int column, const uiString &) |
void | translateText () |
void | insertItem (int, uiTreeViewItem *) |
void | takeItem (uiTreeViewItem *) |
void | removeItem (uiTreeViewItem *) |
void | moveItem (uiTreeViewItem *after) |
int | siblingIndex () const |
void | setText (const uiString &, int column=0) |
void | setText (int i, int column=0) |
void | setText (float f, int column=0) |
void | setText (double d, int column=0) |
const char * | text (int column=0) const |
void | setIcon (int column, const char *iconname) |
void | setPixmap (int column, const uiPixmap &) |
void | setPixmap (int column, const Color &, int width=16, int height=10) |
void | setPixmap (int column, const ColTab::Sequence &, int width=16, int height=10) |
virtual const char * | key (int, bool) const |
virtual int | compare (uiTreeViewItem *, int column, bool) const |
void | setOpen (bool yn=true) |
bool | isOpen () const |
void | setSelected (bool yn) |
bool | isSelected () const |
uiTreeViewItem * | getChild (int) const |
uiTreeViewItem * | firstChild () const |
uiTreeViewItem * | lastChild () const |
uiTreeViewItem * | nextSibling () const |
uiTreeViewItem * | prevSibling () const |
uiTreeViewItem * | parent () const |
uiTreeViewItem * | itemAbove () |
uiTreeViewItem * | itemBelow () |
uiTreeView * | treeView () const |
void | setSelectable (bool yn) |
bool | isSelectable () const |
void | setDragEnabled (bool) |
void | setDropEnabled (bool) |
bool | dragEnabled () const |
bool | dropEnabled () const |
void | setVisible (bool yn) |
bool | isVisible () const |
void | setRenameEnabled (int column, bool) |
bool | renameEnabled (int column) const |
void | setEnabled (bool) |
bool | isEnabled () const |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false) |
bool | attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) |
void | detachCB (NotifierAccess &, const CallBack &) |
void | detachCB (NotifierAccess *notif, const CallBack &cb) |
bool | isNotifierAttached (NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
Static Public Member Functions | |
static void | updateToolTips () |
static | mQtclass (QTreeWidgetItem *) qitemFor(uiTreeViewItem *) |
static const | mQtclass (QTreeWidgetItem *) qitemFor(const uiTreeViewItem *) |
static uiTreeViewItem * | itemFor (mQtclass(QTreeWidgetItem *)) |
static const uiTreeViewItem * | itemFor (const mQtclass(QTreeWidgetItem *)) |
Public Attributes | |
Notifier< uiTreeViewItem > | stateChanged |
only works for CheckBox type More... | |
Notifier< uiTreeViewItem > | keyPressed |
Protected Member Functions | |
mQtclass (QTreeWidgetItem *) qtreeitem_ | |
void | init (const Setup &) |
void | updateFlags () |
bool | updateToolTip (int column) |
Protected Member Functions inherited from CallBacker | |
void | detachAllNotifiers () |
Call from the destructor of your inherited object. More... | |
Protected Attributes | |
uiStringSet | texts_ |
uiStringSet | tooltips_ |
bool | isselectable_ |
bool | iseditable_ |
bool | isdragenabled_ |
bool | isdropenabled_ |
bool | ischeckable_ |
bool | isenabled_ |
bool | checked_ |
Private Member Functions | |
mODTextTranslationClass (uiTreeViewItem) | |
Friends | |
class | uiTreeView |
enum uiTreeViewItem::Type |
uiTreeViewItem::uiTreeViewItem | ( | uiTreeViewItem * | parent, |
const Setup & | |||
) |
uiTreeViewItem::uiTreeViewItem | ( | uiTreeView * | parent, |
const Setup & | |||
) |
|
virtual |
void uiTreeViewItem::checkAll | ( | bool | yn, |
bool | trigger = false |
||
) |
|
inlinevirtual |
bool uiTreeViewItem::dragEnabled | ( | ) | const |
bool uiTreeViewItem::dropEnabled | ( | ) | const |
void uiTreeViewItem::edit | ( | int | col | ) |
uiTreeViewItem* uiTreeViewItem::firstChild | ( | ) | const |
uiTreeViewItem* uiTreeViewItem::getChild | ( | int | ) | const |
|
protected |
void uiTreeViewItem::insertItem | ( | int | , |
uiTreeViewItem * | |||
) |
bool uiTreeViewItem::isCheckable | ( | ) | const |
bool uiTreeViewItem::isChecked | ( | bool | qtstatus = true | ) | const |
returns false if not checkable
bool uiTreeViewItem::isEnabled | ( | ) | const |
bool uiTreeViewItem::isOpen | ( | ) | const |
bool uiTreeViewItem::isSelectable | ( | ) | const |
bool uiTreeViewItem::isSelected | ( | ) | const |
bool uiTreeViewItem::isVisible | ( | ) | const |
uiTreeViewItem* uiTreeViewItem::itemAbove | ( | ) |
uiTreeViewItem* uiTreeViewItem::itemBelow | ( | ) |
|
static |
|
static |
|
inlinevirtual |
uiTreeViewItem* uiTreeViewItem::lastChild | ( | ) | const |
|
private |
void uiTreeViewItem::moveItem | ( | uiTreeViewItem * | after | ) |
|
inline |
|
inline |
|
static |
|
static |
|
protected |
uiTreeViewItem* uiTreeViewItem::nextSibling | ( | ) | const |
int uiTreeViewItem::nrChildren | ( | ) | const |
uiTreeViewItem* uiTreeViewItem::parent | ( | ) | const |
uiTreeViewItem* uiTreeViewItem::prevSibling | ( | ) | const |
void uiTreeViewItem::removeItem | ( | uiTreeViewItem * | ) |
bool uiTreeViewItem::renameEnabled | ( | int | column | ) | const |
void uiTreeViewItem::setBGColor | ( | int | column, |
const Color & | |||
) |
void uiTreeViewItem::setCheckable | ( | bool | ) |
void uiTreeViewItem::setChecked | ( | bool | , |
bool | trigger = false |
||
) |
does nothing if not checkable
void uiTreeViewItem::setDragEnabled | ( | bool | ) |
void uiTreeViewItem::setDropEnabled | ( | bool | ) |
void uiTreeViewItem::setEnabled | ( | bool | ) |
void uiTreeViewItem::setIcon | ( | int | column, |
const char * | iconname | ||
) |
void uiTreeViewItem::setOpen | ( | bool | yn = true | ) |
void uiTreeViewItem::setPixmap | ( | int | column, |
const uiPixmap & | |||
) |
void uiTreeViewItem::setPixmap | ( | int | column, |
const Color & | , | ||
int | width = 16 , |
||
int | height = 10 |
||
) |
void uiTreeViewItem::setPixmap | ( | int | column, |
const ColTab::Sequence & | , | ||
int | width = 16 , |
||
int | height = 10 |
||
) |
void uiTreeViewItem::setRenameEnabled | ( | int | column, |
bool | |||
) |
void uiTreeViewItem::setSelectable | ( | bool | yn | ) |
void uiTreeViewItem::setSelected | ( | bool | yn | ) |
void uiTreeViewItem::setText | ( | const uiString & | , |
int | column = 0 |
||
) |
|
inline |
|
inline |
|
inline |
void uiTreeViewItem::setToolTip | ( | int | column, |
const uiString & | |||
) |
void uiTreeViewItem::setVisible | ( | bool | yn | ) |
int uiTreeViewItem::siblingIndex | ( | ) | const |
void uiTreeViewItem::takeItem | ( | uiTreeViewItem * | ) |
const char* uiTreeViewItem::text | ( | int | column = 0 | ) | const |
void uiTreeViewItem::translateText | ( | ) |
uiTreeView* uiTreeViewItem::treeView | ( | ) | const |
|
protected |
|
protected |
|
static |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Notifier<uiTreeViewItem> uiTreeViewItem::keyPressed |
passes CBCapsule<const char*>* cb If you handle it, set cb->data = 0;
Notifier<uiTreeViewItem> uiTreeViewItem::stateChanged |
only works for CheckBox type
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019