27#ifndef __CAMITK_PROPERTY_LIST_FIELD_EDITOR__
28#define __CAMITK_PROPERTY_LIST_FIELD_EDITOR__
Presenter for a CamiTK extension file model.
Definition CamiTKExtensionModelPresenter.h:47
Same as ExpandableFieldEditor but has a "+" button on the left that, when clicked,...
Definition CamiTKPropertyListFieldEditor.h:36
void plusButtonClicked()
called when the "+" button is clicked
Definition CamiTKPropertyListFieldEditor.cpp:56
virtual QWidget * getWidget() override
get the widget (adds a "+" at the end of the ExpandableFieldEditor title + connect the "+" button cli...
Definition CamiTKPropertyListFieldEditor.cpp:35
An expandable field editor is encapsulating a widget that can be initially hidden and can be shown by...
Definition ExpandableFieldEditor.h:40
QString label
The title label (left to the ">" button)
Definition ExpandableFieldEditor.h:61
bool expandedAtInitialization
Definition ExpandableFieldEditor.h:67
bool compact
Definition ExpandableFieldEditor.h:65
QWidget * innerWidget
the advanced/hidden inner widget
Definition ExpandableFieldEditor.h:57
CamiTKExtensionModelPresenter * presenter
The presenter that contains the full VariantDataModel.
Definition FieldEditor.h:83
VariantDataModel & dataModel
The edited data model (part of the presenter's full model)
Definition FieldEditor.h:86
VariantDataModel encapsulates QVariant and can be used as a model for any type of QVariant supported ...
Definition VariantDataModel.h:124