1 #ifndef FIELDVALUEWIDGET_H 2 #define FIELDVALUEWIDGET_H 5 #include <QColorDialog> 7 #include <QDoubleSpinBox> 12 #include <QVBoxLayout> 19 class FilePickerWidget;
22 class FacetsController;
23 class ProjectController;
24 class RecordsController;
25 class TypesController;
99 virtual void focusInEvent(QFocusEvent* event) Q_DECL_OVERRIDE;
102 void onColorDialogCurrentColorChanged(
const QColor& color);
103 void onDoubleSpinBoxValueChanged(
double d);
104 void onLineEditTextChanged(
const QString& text);
105 void onComboBoxCurrentIndexChanged(
const QString& text);
106 void onSpinBoxValueChanged(
int i);
109 QWidget* currentWidget;
113 QColorDialog* colorDialog;
114 QDoubleSpinBox* doubleSpinBox;
134 void addWidget(QWidget* widget);
135 QVariant getFieldValueForType(
const QString& typeName)
const;
136 void selectWidgetForType(
const QString& typeName);
137 void setCurrentWidget(QWidget* widget);
138 void setEnumeration(
const QStringList& enumeration);
139 void setFieldValueForType(
const QVariant& fieldValue,
const QString& typeName);
140 void updateErrorLabel();
144 #endif // FIELDVALUEWIDGET_H Definition: commandlineoptions.h:6
Controller for adding, updating and removing records.
Definition: recordscontroller.h:21
Controller for adding, updating and removing custom types.
Definition: typescontroller.h:14
Controller for validating type facets.
Definition: facetscontroller.h:16
Controller for creating, loading and saving projects.
Definition: projectcontroller.h:22