Classes | |
| class | Setup |
Public Types | |
| enum | Type { Standard, CheckBox } |
Public Member Functions | |
| uiListViewItem (uiListViewItem *parent, const Setup &) | |
| uiListViewItem (uiListView *parent, const Setup &) | |
| ~uiListViewItem () | |
| QTreeWidgetItem * | qItem () |
| const QTreeWidgetItem * | qItem () const |
| int | nrChildren () const |
| void | setCheckable (bool) |
| bool | isCheckable () const |
| void | setChecked (bool, bool trigger=false) |
| does nothing if not checkable | |
| bool | isChecked () const |
| returns false if not checkable | |
| void | setToolTip (int column, const char *) |
| void | translate (int column) |
| void | insertItem (int, uiListViewItem *) |
| void | takeItem (uiListViewItem *) |
| void | removeItem (uiListViewItem *) |
| void | moveItem (uiListViewItem *after) |
| int | siblingIndex () const |
| void | setText (const char *, 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 | setPixmap (int column, const ioPixmap &) |
| virtual const char * | key (int, bool) const |
| virtual int | compare (uiListViewItem *, int column, bool) const |
| void | setOpen (bool yn=true) |
| bool | isOpen () const |
| void | setSelected (bool yn) |
| bool | isSelected () const |
| uiListViewItem * | getChild (int) const |
| uiListViewItem * | firstChild () const |
| uiListViewItem * | lastChild () const |
| uiListViewItem * | nextSibling () const |
| uiListViewItem * | prevSibling () const |
| uiListViewItem * | parent () const |
| uiListViewItem * | itemAbove () |
| uiListViewItem * | itemBelow () |
| uiListView * | listView () 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 |
Static Public Member Functions | |
| static QTreeWidgetItem * | qitemFor (uiListViewItem *) |
| static const QTreeWidgetItem * | qitemFor (const uiListViewItem *) |
| static uiListViewItem * | itemFor (QTreeWidgetItem *) |
| static const uiListViewItem * | itemFor (const QTreeWidgetItem *) |
Public Attributes | |
| Notifier< uiListViewItem > | stateChanged |
| only works for CheckBox type | |
| Notifier< uiListViewItem > | keyPressed |
Protected Member Functions | |
| void | init (const Setup &) |
| void | updateFlags () |
| void | trlReady (CallBacker *) |
Protected Attributes | |
| QTreeWidgetItem * | qtreeitem_ |
| BufferString | rettxt |
| bool | isselectable_ |
| bool | iseditable_ |
| bool | isdragenabled_ |
| bool | isdropenabled_ |
| bool | ischeckable_ |
| bool | isenabled_ |
| int | translateid_ |
| enum uiListViewItem::Type |
| uiListViewItem::uiListViewItem | ( | uiListViewItem * | parent, | |
| const Setup & | ||||
| ) |
| uiListViewItem::uiListViewItem | ( | uiListView * | parent, | |
| const Setup & | ||||
| ) |
| uiListViewItem::~uiListViewItem | ( | ) |
| virtual int uiListViewItem::compare | ( | uiListViewItem * | , | |
| int | column, | |||
| bool | ||||
| ) | const [inline, virtual] |
| bool uiListViewItem::dragEnabled | ( | ) | const |
| bool uiListViewItem::dropEnabled | ( | ) | const |
| uiListViewItem* uiListViewItem::firstChild | ( | ) | const |
| uiListViewItem* uiListViewItem::getChild | ( | int | ) | const |
| void uiListViewItem::init | ( | const Setup & | ) | [protected] |
| void uiListViewItem::insertItem | ( | int | , | |
| uiListViewItem * | ||||
| ) |
| bool uiListViewItem::isCheckable | ( | ) | const |
| bool uiListViewItem::isChecked | ( | ) | const |
returns false if not checkable
| bool uiListViewItem::isEnabled | ( | ) | const |
| bool uiListViewItem::isOpen | ( | ) | const |
| bool uiListViewItem::isSelectable | ( | ) | const |
| bool uiListViewItem::isSelected | ( | ) | const |
| bool uiListViewItem::isVisible | ( | ) | const |
| uiListViewItem* uiListViewItem::itemAbove | ( | ) |
| uiListViewItem* uiListViewItem::itemBelow | ( | ) |
| static uiListViewItem* uiListViewItem::itemFor | ( | QTreeWidgetItem * | ) | [static] |
| static const uiListViewItem* uiListViewItem::itemFor | ( | const QTreeWidgetItem * | ) | [static] |
| virtual const char* uiListViewItem::key | ( | int | , | |
| bool | ||||
| ) | const [inline, virtual] |
| uiListViewItem* uiListViewItem::lastChild | ( | ) | const |
| uiListView* uiListViewItem::listView | ( | ) | const |
| void uiListViewItem::moveItem | ( | uiListViewItem * | after | ) |
| uiListViewItem* uiListViewItem::nextSibling | ( | ) | const |
| int uiListViewItem::nrChildren | ( | ) | const |
| uiListViewItem* uiListViewItem::parent | ( | ) | const |
| uiListViewItem* uiListViewItem::prevSibling | ( | ) | const |
| const QTreeWidgetItem* uiListViewItem::qItem | ( | ) | const [inline] |
| QTreeWidgetItem* uiListViewItem::qItem | ( | ) | [inline] |
| static const QTreeWidgetItem* uiListViewItem::qitemFor | ( | const uiListViewItem * | ) | [static] |
| static QTreeWidgetItem* uiListViewItem::qitemFor | ( | uiListViewItem * | ) | [static] |
| void uiListViewItem::removeItem | ( | uiListViewItem * | ) |
| bool uiListViewItem::renameEnabled | ( | int | column | ) | const |
| void uiListViewItem::setCheckable | ( | bool | ) |
| void uiListViewItem::setChecked | ( | bool | , | |
| bool | trigger = false | |||
| ) |
does nothing if not checkable
| void uiListViewItem::setDragEnabled | ( | bool | ) |
| void uiListViewItem::setDropEnabled | ( | bool | ) |
| void uiListViewItem::setEnabled | ( | bool | ) |
| void uiListViewItem::setOpen | ( | bool | yn = true |
) |
| void uiListViewItem::setPixmap | ( | int | column, | |
| const ioPixmap & | ||||
| ) |
| void uiListViewItem::setRenameEnabled | ( | int | column, | |
| bool | ||||
| ) |
| void uiListViewItem::setSelectable | ( | bool | yn | ) |
| void uiListViewItem::setSelected | ( | bool | yn | ) |
| void uiListViewItem::setText | ( | float | f, | |
| int | column = 0 | |||
| ) | [inline] |
| void uiListViewItem::setText | ( | double | d, | |
| int | column = 0 | |||
| ) | [inline] |
| void uiListViewItem::setText | ( | int | i, | |
| int | column = 0 | |||
| ) | [inline] |
| void uiListViewItem::setText | ( | const char * | , | |
| int | column = 0 | |||
| ) |
| void uiListViewItem::setToolTip | ( | int | column, | |
| const char * | ||||
| ) |
| void uiListViewItem::setVisible | ( | bool | yn | ) |
| int uiListViewItem::siblingIndex | ( | ) | const |
| void uiListViewItem::takeItem | ( | uiListViewItem * | ) |
| const char* uiListViewItem::text | ( | int | column = 0 |
) | const |
| void uiListViewItem::translate | ( | int | column | ) |
| void uiListViewItem::trlReady | ( | CallBacker * | ) | [protected] |
| void uiListViewItem::updateFlags | ( | ) | [protected] |
bool uiListViewItem::ischeckable_ [protected] |
bool uiListViewItem::isdragenabled_ [protected] |
bool uiListViewItem::isdropenabled_ [protected] |
bool uiListViewItem::iseditable_ [protected] |
bool uiListViewItem::isenabled_ [protected] |
bool uiListViewItem::isselectable_ [protected] |
passes CBCapsule<const char*>* cb If you handle it, set cb->data = 0;
QTreeWidgetItem* uiListViewItem::qtreeitem_ [protected] |
BufferString uiListViewItem::rettxt [mutable, protected] |
only works for CheckBox type
int uiListViewItem::translateid_ [protected] |
1.7.1