ImFusion SDK 4.3
ItemControl Class Referenceabstract

#include <ImFusion/GUI/CoreWidgets/ItemViewWidget.h>

ItemControl abstract interaface. More...

Detailed Description

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 *)
 

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close