22 #ifndef CTKCMDLINEMODULEFRONTENDQTGUI_H 23 #define CTKCMDLINEMODULEFRONTENDQTGUI_H 27 #include "ctkCommandLineModulesFrontendQtGuiExport.h" 35 struct ctkCmdLineModuleFrontendQtGuiPrivate;
153 virtual QVariant
value(
const QString& parameter,
int role = LocalResourceRole)
const;
167 virtual void setValue(
const QString& parameter,
const QVariant& value,
int role = DisplayRole);
178 virtual void setParameterContainerEnabled(
const bool& enabled);
191 virtual QUiLoader* uiLoader()
const;
215 QVariant customValue(
const QString& parameter,
const QString& propertyName = QString())
const;
228 void setCustomValue(
const QString& parameter,
const QVariant& value,
const QString& propertyName = QString()) ;
232 QScopedPointer<ctkCmdLineModuleFrontendQtGuiPrivate> d;
236 #endif // CTKCMDLINEMODULEFRONTENDQTGUI_H Abstract base class for all front-end command line module implementations.A module front-end represen...
A Qt based implementation of the module front end.This class is able to generate a Qt widgets based G...
virtual void setValue(const QString ¶meter, const QVariant &value, int role=DisplayRole)=0
Set the value of a certain parameter.
virtual QVariant value(const QString ¶meter, int role=LocalResourceRole) const =0
GUIs will need to be able to read parameters, here we retrieve by role.
virtual QObject * guiHandle() const =0
Returns the GUI representation.
virtual QList< QString > parameterNames() const
Returns a list of all valid parameter names.
Defines a reference or handle to a module, including location, XML, description and access to the ass...