![]() |
ImFusion SDK 4.3
|
#include <ImFusion/GUI/CoreWidgets/ItemViewWidget.h>
ItemControl abstract interaface. More...
ItemControl abstract interaface.
Must be implemented by user of ItemViewWidget to specify the action when an option button is pressed Mainly the addRow method has to be implenented, returning a QList<QStandardItem*> containing the QStandardItems that represent each column when addRow is pressed. Eg. if the view only represents a list of elements, it should return a QList with a single QStandardItem, for example created using a QString: new QStandardItem("Element")
Public Member Functions | |
| virtual QList< QStandardItem * > | addRow ()=0 |
| virtual int | sortColumn () |
| virtual Qt::SortOrder | sortOrder () |
| virtual void | edit (QStandardItem *) |