#include <omglistwidget.h>
Inheritance diagram for OmgListWidget:
Public Slots | |
void | selectAll () |
void | invertSelection () |
void | selectNone () |
int | checkedItemCount () |
QStringList | checkedItems () |
QStringList | checkedDataItems () |
void | hideOptionsTool () |
void | showOptionsTool () |
void | hideAddItemTool () |
void | showAddItemTool () |
void | addItem (const QString &theLabel, bool theCheckedFlag) |
void | addItem (QListWidgetItem *thepItem, bool theCheckedFlag) |
void | addItems (const QStringList &theLabels, bool theCheckedFlag) |
void | clear () |
void | insertItem (int theRow, QListWidgetItem *thepItem, bool theCheckedFlag) |
void | insertItem (int theRow, const QString &theLabel, bool theCheckedFlag) |
void | insertItems (int theRow, const QStringList &theLabels, bool theCheckedFlag) |
void | itemPressedSlot (QListWidgetItem *theItem) |
Signals | |
void | itemPressed (QListWidgetItem *thepItem) |
void | addItemClicked () |
void | configureClicked () |
Public Member Functions | |
OmgListWidget (QWidget *parent=0, Qt::WFlags fl=0) | |
~OmgListWidget () | |
int | count () |
QListWidgetItem * | item (int theItem) |
Private Slots | |
void | on_toolSelectAll_clicked () |
void | on_toolSelectNone_clicked () |
void | on_toolInvertSelection_clicked () |
void | on_toolAddItem_clicked () |
void | on_toolConfigure_clicked () |
|
Definition at line 29 of file omglistwidget.cpp. References itemPressed(), and itemPressedSlot(). |
|
Definition at line 42 of file omglistwidget.cpp. |
|
Definition at line 164 of file omglistwidget.cpp. |
|
Definition at line 158 of file omglistwidget.cpp. Referenced by addItems(). |
|
Referenced by on_toolAddItem_clicked(). |
|
Definition at line 177 of file omglistwidget.cpp. References addItem(). |
|
Get a QStringList containing the text from the data field for all the checked items. Data field in this context means QListWidgetItem.data()
Definition at line 126 of file omglistwidget.cpp. References count(). |
|
Find out how many items in the list widget are checked.
Definition at line 108 of file omglistwidget.cpp. References checkedItems(). |
|
Get a QStringList containing the text for all the checked items.
Definition at line 113 of file omglistwidget.cpp. References count(). Referenced by checkedItemCount(). |
|
Definition at line 187 of file omglistwidget.cpp. |
|
Referenced by on_toolConfigure_clicked(). |
|
Definition at line 191 of file omglistwidget.cpp. Referenced by checkedDataItems(), checkedItems(), invertSelection(), selectAll(), and selectNone(). |
|
Hide the '+' tool usually used by a developer to link to a dialog to load a list of entries into the list widget. The implementation of this is completely up to the developer, but it may not always be needed so we can hide it if we want.
Definition at line 147 of file omglistwidget.cpp. |
|
Hide the options button Definition at line 139 of file omglistwidget.cpp. |
|
Definition at line 212 of file omglistwidget.cpp. References insertItem(). |
|
Definition at line 200 of file omglistwidget.cpp. Referenced by insertItem(), and insertItems(). |
|
Definition at line 218 of file omglistwidget.cpp. References insertItem(). |
|
Definition at line 78 of file omglistwidget.cpp. References count(). Referenced by on_toolInvertSelection_clicked(). |
|
Definition at line 196 of file omglistwidget.cpp. |
|
Referenced by itemPressedSlot(), and OmgListWidget(). |
|
Used for internal purposes to propogate the itemPressed signal from the list widget out to any listeners AND to toggle item checked state of the selected item. Definition at line 48 of file omglistwidget.cpp. References itemPressed(). Referenced by OmgListWidget(). |
|
Definition at line 252 of file omglistwidget.cpp. References addItemClicked(). |
|
Definition at line 258 of file omglistwidget.cpp. References configureClicked(). |
|
Definition at line 246 of file omglistwidget.cpp. References invertSelection(). |
|
Definition at line 235 of file omglistwidget.cpp. References selectAll(). |
|
Definition at line 240 of file omglistwidget.cpp. References selectNone(). |
|
Definition at line 67 of file omglistwidget.cpp. References count(). Referenced by on_toolSelectAll_clicked(). |
|
Definition at line 97 of file omglistwidget.cpp. References count(). Referenced by on_toolSelectNone_clicked(). |
|
Show the '+' tool usually used by a developer to link to a dialog to load a list of entries into the list widget. The implementation of this is completely up to the developer, but it may not always be needed so we can hide it if we want.
Definition at line 151 of file omglistwidget.cpp. |
|
Show the options button Definition at line 143 of file omglistwidget.cpp. |