|
void | slotSelected (QTreeWidgetItem *) |
| Notification that an item is selected (single click or keyboard).
|
|
void | slotSelectionChanged () |
| Notification that the item selection changed (relevant for multiSelection mode).
|
|
void | slotActivated (QTreeWidgetItem *) |
| Notification that an item is activated (double click or keyboard).
|
|
void | slotContextMenu (const QPoint &pos) |
| Propagate a context menu selection. More...
|
|
|
void | selectOrigItem (QTreeWidgetItem *listViewItem) |
| Select the original item (the YTableItem) that corresponds to the specified listViewItem.
|
|
void | addItem (YItem *item, bool batchMode, bool resizeColumnsToContent) |
| Internal addItem() method that will not do expensive operations in batch mode.
|
|
Definition at line 37 of file YQTable.h.
void YQTable::addItem |
( |
YItem * |
item | ) |
|
|
virtual |
Add an item.
Reimplemented from YSelectionWidget.
Definition at line 124 of file YQTable.cc.
void YQTable::addItems |
( |
const YItemCollection & |
itemCollection | ) |
|
|
virtual |
Add multiple items.
Reimplemented for efficiency from YSelectionWidget.
Definition at line 181 of file YQTable.cc.
void YQTable::cellChanged |
( |
const YTableCell * |
cell | ) |
|
|
virtual |
Notification that a cell (its text and/or its icon) was changed from the outside.
Applications are required to call this whenever a table cell is changed after adding the corresponding table item (the row) to the table widget.
Reimplemented from YTable.
Definition at line 253 of file YQTable.cc.
void YQTable::deleteAllItems |
( |
| ) |
|
|
virtual |
Delete all items.
Reimplemented from YSelectionWidget.
Definition at line 245 of file YQTable.cc.
void YQTable::deselectAllItems |
( |
| ) |
|
|
virtual |
Deselect all items.
Reimplemented from YSelectionWidget.
Definition at line 235 of file YQTable.cc.
int YQTable::preferredHeight |
( |
| ) |
|
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 373 of file YQTable.cc.
int YQTable::preferredWidth |
( |
| ) |
|
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 363 of file YQTable.cc.
void YQTable::selectItem |
( |
YItem * |
item, |
|
|
bool |
selected = true |
|
) |
| |
|
virtual |
Select or deselect an item.
Reimplemented from YSelectionWidget.
Definition at line 208 of file YQTable.cc.
void YQTable::setEnabled |
( |
bool |
enabled | ) |
|
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
Definition at line 353 of file YQTable.cc.
void YQTable::setKeepSorting |
( |
bool |
keepSorting | ) |
|
|
virtual |
Switch between sorting by item insertion order (keepSorting: true) or allowing the user to sort by an arbitrary column (by clicking on the column header).
Reimplemented from YTable.
Definition at line 115 of file YQTable.cc.
bool YQTable::setKeyboardFocus |
( |
| ) |
|
|
virtual |
Accept the keyboard focus.
Reimplemented from YWidget.
Definition at line 390 of file YQTable.cc.
void YQTable::setSize |
( |
int |
newWidth, |
|
|
int |
newHeight |
|
) |
| |
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 383 of file YQTable.cc.
void YQTable::slotContextMenu |
( |
const QPoint & |
pos | ) |
|
|
protectedslot |
Propagate a context menu selection.
This will trigger an 'ContextMenuActivated' event if 'notifyContextMenu' is set.
Definition at line 399 of file YQTable.cc.
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/libyui-qt-2.47.1.1/src/YQTable.h
- /home/abuild/rpmbuild/BUILD/libyui-qt-2.47.1.1/src/YQTable.cc