OpendTect
6.6
|
Classes | |
class | Setup |
Public Types | |
enum | Type { Standard , CheckBox } |
Public Member Functions | |
uiTreeViewItem (uiTreeView *parent, const Setup &) | |
uiTreeViewItem (uiTreeViewItem *parent, const Setup &) | |
virtual | ~uiTreeViewItem () |
void | checkAll (bool yn, bool trigger=false) |
virtual int | compare (uiTreeViewItem *, int column, bool) const |
bool | dragEnabled () const |
bool | dropEnabled () const |
void | edit (int col) |
uiTreeViewItem * | firstChild () const |
uiTreeViewItem * | getChild (int) const |
void | insertItem (int, uiTreeViewItem *) |
bool | isCheckable () const |
bool | isChecked (bool qtstatus=true) const |
returns false if not checkable More... | |
bool | isEnabled () const |
bool | isOpen () const |
bool | isSelectable () const |
bool | isSelected () const |
bool | isVisible () const |
uiTreeViewItem * | itemAbove () |
uiTreeViewItem * | itemBelow () |
virtual const char * | key (int, bool) const |
uiTreeViewItem * | lastChild () const |
void | moveItem (uiTreeViewItem *after) |
uiTreeViewItem * | nextSibling () const |
int | nrChildren () const |
uiTreeViewItem * | parent () const |
uiTreeViewItem * | prevSibling () const |
QTreeWidgetItem * | qItem () |
const QTreeWidgetItem * | qItem () const |
void | removeIcon (int column) |
void | removeItem (uiTreeViewItem *) |
bool | renameEnabled (int column) const |
void | setBGColor (int column, const Color &) |
void | setBold (int column, bool yn) |
void | setCheckable (bool) |
void | setChecked (bool, bool trigger=false) |
does nothing if not checkable More... | |
void | setDragEnabled (bool) |
void | setDropEnabled (bool) |
void | setEnabled (bool) |
void | setIcon (int column, const char *iconname) |
void | setOpen (bool yn=true) |
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) |
void | setPixmap (int column, const uiPixmap &) |
void | setRenameEnabled (int column, bool) |
void | setSelectable (bool yn) |
void | setSelected (bool yn) |
void | setText (const uiString &, int column=0) |
void | setText (double d, int column=0) |
void | setText (float f, int column=0) |
void | setText (int i, int column=0) |
void | setToolTip (int column, const uiString &) |
void | setVisible (bool yn) |
int | siblingIndex () const |
void | takeItem (uiTreeViewItem *) |
const char * | text (int column=0) const |
void | translateText () |
uiTreeView * | treeView () 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 |
Static Public Member Functions | |
static const uiTreeViewItem * | itemFor (const QTreeWidgetItem *) |
static uiTreeViewItem * | itemFor (QTreeWidgetItem *) |
static const QTreeWidgetItem * | qitemFor (const uiTreeViewItem *) |
static QTreeWidgetItem * | qitemFor (uiTreeViewItem *) |
static void | updateToolTips () |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Public Attributes | |
Notifier< uiTreeViewItem > | keyPressed |
Notifier< uiTreeViewItem > | stateChanged |
only works for CheckBox type More... | |
Protected Member Functions | |
void | init (const Setup &) |
void | updateFlags () |
bool | updateToolTip (int column) |
Protected Attributes | |
bool | checked_ |
bool | ischeckable_ |
bool | isdragenabled_ |
bool | isdropenabled_ |
bool | iseditable_ |
bool | isenabled_ |
bool | isselectable_ |
QTreeWidgetItem * | qtreeitem_ |
uiStringSet | texts_ |
uiStringSet | tooltips_ |
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 |
void uiTreeViewItem::moveItem | ( | uiTreeViewItem * | after | ) |
uiTreeViewItem* uiTreeViewItem::nextSibling | ( | ) | const |
int uiTreeViewItem::nrChildren | ( | ) | const |
uiTreeViewItem* uiTreeViewItem::parent | ( | ) | const |
uiTreeViewItem* uiTreeViewItem::prevSibling | ( | ) | const |
|
inline |
|
inline |
|
static |
|
static |
void uiTreeViewItem::removeIcon | ( | int | column | ) |
void uiTreeViewItem::removeItem | ( | uiTreeViewItem * | ) |
bool uiTreeViewItem::renameEnabled | ( | int | column | ) | const |
void uiTreeViewItem::setBGColor | ( | int | column, |
const Color & | |||
) |
void uiTreeViewItem::setBold | ( | int | column, |
bool | yn | ||
) |
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 Color & | , | ||
int | width = 16 , |
||
int | height = 10 |
||
) |
void uiTreeViewItem::setPixmap | ( | int | column, |
const ColTab::Sequence & | , | ||
int | width = 16 , |
||
int | height = 10 |
||
) |
void uiTreeViewItem::setPixmap | ( | int | column, |
const uiPixmap & | |||
) |
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;
|
protected |
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. 1995-2022