27#ifndef __FILE_FIELD_EDITOR__
28#define __FILE_FIELD_EDITOR__
76 QString getDefaultImageFilter();
Presenter for a CamiTK extension file model.
Definition CamiTKExtensionModelPresenter.h:47
Abstract class for field editor.
Definition FieldEditor.h:51
QString name
Name of the field (displayed as a label)
Definition FieldEditor.h:92
QString description
Description (displayed as tool tip / what's that)
Definition FieldEditor.h:95
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
FieldEditor for file.
Definition FileFieldEditor.h:47
void setFilter(QString filter)
set the file extension filter
Definition FileFieldEditor.cpp:99
virtual QWidget * getWidget() override
Build an editable QListWidget (where items can be added an removed)
Definition FileFieldEditor.cpp:42
void copyToPath(QString path)
set the path to copy the selected file to
Definition FileFieldEditor.cpp:104
VariantDataModel encapsulates QVariant and can be used as a model for any type of QVariant supported ...
Definition VariantDataModel.h:124