#include <OSListController.hpp>
Signals | |
void | itemChanged (int index) |
void | itemInserted (int index) |
void | itemRemoved (int index) |
void | modelReset () |
Public Member Functions | |
virtual int | count ()=0 |
virtual QSharedPointer < OSListItem > | itemAt (int i)=0 |
OSListController () | |
QSharedPointer < OSItemSelectionController > | selectionController () const |
void | setSelectionController (QSharedPointer< OSItemSelectionController > controller) |
virtual | ~OSListController () |
The purpose of OSListController is to provide an ordered list of items and signal when items have been added and removed.
The OSListController class can also manage item selection, however this capability requires that OSListItem objects are constructed with a pointer to the OSListController they are associated with -or- the item's controller has been set after creation.
openstudio::OSListController::OSListController | ( | ) |
|
virtual |
|
pure virtual |
|
pure virtual |
|
signal |
|
signal |
|
signal |
|
signal |
QSharedPointer<OSItemSelectionController> openstudio::OSListController::selectionController | ( | ) | const |
void openstudio::OSListController::setSelectionController | ( | QSharedPointer< OSItemSelectionController > | controller | ) |