ObjectExtension(QObject *object)
Protected constructor only. Inlined so no external libs are need for designer.
List model for a sf::Variable list.
Definition VariableListModel.h:18
VariableListModel * getVariableListModel() const
Gets the sf::VariableListModel attached to this instance.
virtual void handleClipboard(bool flag)
Called on clipboard copy and paste keyboard commands. Used to implement the copy and paste functional...
int nameLevel
Definition VariableListView.h:20
bool rowCheckbox
Definition VariableListView.h:21
bool editRow() const
Edits the selected row when editable.
int editableColumn() const
Gets the first editable column number.
void initSelection() const
Initialize selection of the row.
bool readOnly
Definition VariableListView.h:22
bool hasRowCheckbox() const
Gets if the row selection is enabled. By default, the row selection is enabled.
void setRowCheckbox(bool enabled) const
Enables the selection of rows. The sf::Variable::getData() returns true when selected.
bool isRequiredProperty(const QString &name) override
Overridden from base class.
bool toggleRow()
Toggles the row check box in the view for the current selected row.
VariableListView(QWidget *parent=nullptr)
Constructor.
void setColumnResizeMode() const
Sets the resize mode for the columns based column field assignment.
void setReadOnly(bool flag)
Sets the readonly status of the list.
bool isReadOnly() const
Gets the readonly status of the list.
void keyPressEvent(QKeyEvent *event) override
Overridden from base class.
void setNameLevel(int level=-1) const
Sets the levels of names displayed of the variables in the list.
int getNameLevel() const
Gets the levels of names displayed of the variables in the list.
#define _GII_CLASS
Definition gii/global.h:38
Definition Application.h:10