Public Types |
| enum | ScrollMode { Auto,
AlwaysOff,
AlwaysOn
} |
| enum | WidthMode {
Manual,
Fixed,
Stretch,
ResizeToContents,
Custom
} |
| enum | SelectionMode {
NoSelection = 0,
Single,
Multi,
Extended,
Contiguous
} |
| enum | SelectionBehavior { SelectItems,
SelectRows,
SelectColumns
} |
Public Member Functions |
| | uiListView (uiParent *parnt, const char *nm="uiListView", int preferredNrLines=0, bool rootdecorated=true) |
| virtual | ~uiListView () |
| uiListViewBody & | mkbody (uiParent *, const char *, int) |
| void | setLines (int prefNrLines) |
| void | setHScrollBarMode (ScrollMode) |
| void | setVScrollBarMode (ScrollMode) |
| void | setTreeStepSize (int) |
| bool | rootDecorated () const |
| void | setRootDecorated (bool yn) |
| void | takeItem (uiListViewItem *) |
| void | insertItem (int, uiListViewItem *) |
| void | addColumns (const BufferStringSet &) |
| int | nrColumns () const |
| void | removeColumn (int index) |
| void | setColumnText (int column, const char *label) |
| const char * | columnText (int column) const |
| void | setColumnWidth (int column, int width) |
| void | setFixedColumnWidth (int column, int width) |
| int | columnWidth (int column) const |
| void | setColumnWidthMode (int column, WidthMode) |
| WidthMode | columnWidthMode (int column) const |
| void | setColumnAlignment (int, Alignment::HPos) |
| Alignment::HPos | columnAlignment (int) const |
| void | ensureItemVisible (const uiListViewItem *) |
| void | setSelectionMode (SelectionMode) |
| SelectionMode | selectionMode () const |
| void | setSelectionBehavior (SelectionBehavior) |
| SelectionBehavior | selectionBehavior () const |
| void | clearSelection () |
| void | setSelected (uiListViewItem *, bool) |
| bool | isSelected (const uiListViewItem *) const |
| uiListViewItem * | selectedItem () const |
| void | setCurrentItem (uiListViewItem *, int column=0) |
| uiListViewItem * | currentItem () const |
| uiListViewItem * | getItem (int) const |
| uiListViewItem * | firstItem () const |
| uiListViewItem * | lastItem () const |
| int | nrItems () const |
| void | setItemMargin (int) |
| int | itemMargin () const |
| void | setShowToolTips (bool) |
| bool | showToolTips () const |
| int | indexOfItem (uiListViewItem *) const |
| uiListViewItem * | findItem (const char *, int, bool) const |
| uiParent * | parent () |
| void | clear () |
| void | invertSelection () |
| void | selectAll () |
| void | expandAll () |
| void | collapseAll () |
| void | translate () |
| bool | handleLongTabletPress () |
| void | triggerUpdate () |
| | re-draws at next X-loop
|
| uiListViewItem * | itemNotified () |
| | item last notified. See notifiers below
|
| int | columnNotified () |
| void | unNotify () |
| void | setNotifiedItem (QTreeWidgetItem *) |
| void | setNotifiedColumn (int col) |
Public Attributes |
| Notifier< uiListView > | selectionChanged |
| Notifier< uiListView > | currentChanged |
| Notifier< uiListView > | itemChanged |
| Notifier< uiListView > | returnPressed |
| Notifier< uiListView > | rightButtonClicked |
| Notifier< uiListView > | rightButtonPressed |
| Notifier< uiListView > | leftButtonClicked |
| Notifier< uiListView > | leftButtonPressed |
| Notifier< uiListView > | mouseButtonPressed |
| Notifier< uiListView > | mouseButtonClicked |
| Notifier< uiListView > | contextMenuRequested |
| Notifier< uiListView > | doubleClicked |
| Notifier< uiListView > | itemRenamed |
| Notifier< uiListView > | expanded |
| Notifier< uiListView > | collapsed |
| Notifier< uiListView > | unusedKey |
Protected Member Functions |
| void | cursorSelectionChanged (CallBacker *) |
| uiListViewBody * | lvbody () |
| const uiListViewBody * | lvbody () const |
Protected Attributes |
| BufferString | rettxt |
| uiListViewItem * | lastitemnotified_ |
| uiParent * | parent_ |
| int | column_ |
| OD::ButtonState | buttonstate_ |
Private Attributes |
| uiListViewBody * | body_ |
Friends |
| class | i_listVwMessenger |
| class | uiListViewBody |
| class | uiListViewItem |