|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
virtual void initializeProperty(QtProperty *property)
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:140
int main(int argc, char *argv[])
Definition: applications/wizard/main.cpp:50
int main(int argc, char **argv)
Definition: libraries/qtpropertybrowser/examples/object_controller/main.cpp:162
The QtRectPropertyManager provides and manages QRect properties.
Definition: qtpropertymanager.h:570
virtual void setTimeStampInformation(bool showTimeStamp)=0
By default a logger should always show the time-stamp in the form of "yyyy-MM-dd HH:mm:ss....
virtual void setLogLevel(LogLevel level)=0
Sets Current verbosity level of the log.
MyController(QWidget *parent=0)
Definition: libraries/qtpropertybrowser/examples/object_controller/main.cpp:71
QtProperty * addProperty(const QString &name=QString())
Definition: qtpropertybrowser.cpp:748
virtual void setDebugInformation(bool)=0
Allows the logger to add debug information to the log message.
static bool save(Component *component)
save a component to its file (as given by component->getFileName()).
Definition: Application.cpp:667
static const char * shortVersion
short version string (all in lower case, without the patch number)
Definition: Core.h:210
static const QString getGlobalInstallDir()
get the CAMITK_DIR (where camitk-config is installed)
Definition: Core.cpp:376
virtual bool setLogToFile(bool writeToFile)=0
Ask the logger to write to the log file.
~DecoratedDoublePropertyManager()
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:77
QMap< QtProperty *, QList< QDoubleSpinBox * > > createdEditors
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:170
QString suffix
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:105
QtVariantProperty * y
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:106
static const ActionList getActions()
get all the actions registered in the application (note: the returned ActionList is garanteed to be s...
Definition: Application.cpp:737
The QtIntPropertyManager provides and manages int properties.
Definition: qtpropertymanager.h:92
The description of this class will come soon !
Definition: qttreepropertybrowser.h:60
QString valueText(const QtProperty *property) const
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:128
QtEnumPropertyManager * subEnumPropertyManager() const
Definition: qtpropertymanager.cpp:5824
QtIntPropertyManager * subIntPropertyManager() const
Definition: qtpropertymanager.cpp:4077
virtual void redirectToConsole(bool)
use or not the application console (redirect or not standard out/err streams)
Definition: MainWindow.cpp:393
void suffixChanged(QtProperty *property, const QString &suffix)
static const QString getConfig()
get more information about installation, etc...
Definition: Core.cpp:145
Definition: objectcontroller.h:47
QComboBox * theClassCombo
Definition: libraries/qtpropertybrowser/examples/object_controller/main.cpp:102
@ WARNING
some (partial) error occured during the application of the algorithm
Definition: Action.h:250
void usage(char *appName)
Definition: applications/imp/main.cpp:69
QString valueText(const QtProperty *property) const override
Definition: qtvariantproperty.cpp:1944
static const QString getPaths()
get all important paths
Definition: Core.cpp:90
QString prefix(const QtProperty *property) const
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:80
int main(int argc, char **argv)
Definition: applications/actionstatemachine/main.cpp:48
QtIntPropertyManager * subIntPropertyManager() const
Definition: qtpropertymanager.cpp:3328
const char * description
Definition: applications/testactions/main.cpp:40
QStringList getHierarchy() const override
Definition: sdk/libraries/core/component/Component.cpp:480
VariantManager(QObject *parent=0)
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:76
@ SUCCESS
everything went according to plan
Definition: Action.h:248
void connectPropertyManager(DecoratedDoublePropertyManager *manager)
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:183
@ ABORTED
the action was aborted before completion
Definition: Action.h:251
static void autoload()
Autoload component and action extensions.
Definition: ExtensionManager.cpp:68
void testFailed()
Definition: applications/testcomponents/main.cpp:71
ApplyStatus
Definition: Action.h:247
void setRootIsDecorated(bool show)
Definition: qttreepropertybrowser.cpp:789
QString valueText(const QtProperty *property) const
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:139
QtAbstractPropertyBrowser provides a base class for implementing property browsers.
Definition: qtpropertybrowser.h:301
static bool close(Component *component)
Close a Component: if it has been changed, ask the user for more information, then if everything is o...
Definition: Application.cpp:629
QStringList theClassNames
Definition: libraries/qtpropertybrowser/examples/object_controller/main.cpp:104
int main(int argc, char **argv)
Definition: libraries/qtpropertybrowser/examples/canvas_variant/main.cpp:43
DecoratedDoublePropertyManager(QObject *parent=0)
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:73
void addPropertyManager(PropertyManager *manager)
Definition: qtpropertybrowser.h:220
@ NONE
No message is logged.
Definition: InterfaceLogger.h:61
void setSuffix(QtProperty *property, const QString &suffix)
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:111
This class describes what is a generic Component extension. To add a ComponentExtension to CamiTK cor...
Definition: ComponentExtension.h:83
void uninitializeProperty(QtProperty *property) override
Definition: qtpropertymanager.cpp:1297
void valueChanged(QtProperty *property, const QVariant &val)
static int enumTypeId()
Definition: qtvariantproperty.cpp:91
The QtStringPropertyManager provides and manages QString properties.
Definition: qtpropertymanager.h:207
int main(int argc, char **argv)
Definition: libraries/qtpropertybrowser/examples/demo/main.cpp:52
void setPropertiesWithoutValueMarked(bool mark)
Definition: qttreepropertybrowser.cpp:987
QMap< const QtProperty *, Data > propertyToData
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:108
QtBrowserItem * addProperty(QtProperty *property)
Definition: qtpropertybrowser.cpp:1771
@ ERROR
apply() failed : an error occured (usually it means that the apply() was interrupted)
Definition: Action.h:249
int main(int argc, char *argv[])
Testing tool to check component extension validity.
Definition: applications/testcomponents/main.cpp:86
The QtVariantPropertyManager class provides and manages QVariant based properties.
Definition: qtvariantproperty.h:119
void createAndControl()
Definition: libraries/qtpropertybrowser/examples/object_controller/main.cpp:110
The QtDoubleSpinBoxFactory class provides QDoubleSpinBox widgets for properties created by QtDoublePr...
Definition: qteditorfactory.h:167
int main(int argc, char *argv[])
The main of the CEP Generator application.
Definition: applications/cepgenerator/main.cpp:64
static bool loadExtension(ExtensionType type, QString file)
Load a specific extension from a file.
Definition: ExtensionManager.cpp:216
QString getName() const
get the name of the action
Definition: Action.h:338
The QtProperty class encapsulates an instance of a property.
Definition: qtpropertybrowser.h:113
static int flagTypeId()
Definition: qtvariantproperty.cpp:104
virtual QVariant value(const QtProperty *property) const
Definition: qtvariantproperty.cpp:1348
const char * description
Definition: applications/testcomponents/main.cpp:43
void usage(std::string msg="")
Definition: applications/cepgenerator/main.cpp:44
QMap< const QtProperty *, Data > propertyToData
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:107
QList< Action * > ActionList
A list of Action.
Definition: CamiTKAPI.h:136
int propertyType(const QtProperty *property) const
Definition: qtvariantproperty.cpp:1454
int main(int argc, char *argv[])
Definition: applications/imp/main.cpp:85
static const QString getBugReport()
get a well formed bug report with all necessary information
Definition: Core.cpp:428
QMap< const QtProperty *, QtProperty * > xToProperty
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:109
This Class describes the "historical" imp application. It is a classical desktop application,...
Definition: ImpMainWindow.h:43
int main(int argc, char **argv)
Definition: libraries/qtpropertybrowser/examples/canvas_typed/main.cpp:43
The description of this class will come soon !
Definition: qtpropertymanager.h:73
void setObject(QObject *object)
Definition: objectcontroller.cpp:375
void slotPropertyDestroyed(QtProperty *property)
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:105
QMap< const QtProperty *, QtProperty * > yToProperty
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:110
void usage(char *appName)
Definition: applications/config/main.cpp:41
~MyController()
Definition: libraries/qtpropertybrowser/examples/object_controller/main.cpp:104
~VariantManager()
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:84
void prefixChanged(QtProperty *property, const QString &prefix)
virtual QtVariantProperty * addProperty(int propertyType, const QString &name=QString())
Definition: qtvariantproperty.cpp:1321
void testPassed()
Definition: applications/testcomponents/main.cpp:75
The QtSizePropertyManager provides and manages QSize properties.
Definition: qtpropertymanager.h:491
void setFactoryForManager(PropertyManager *manager, QtAbstractEditorFactory< PropertyManager > *factory)
Definition: qtpropertybrowser.h:315
void slotPrefixChanged(QtProperty *property, const QString &prefix)
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:217
void usage(char *appName)
Definition: applications/wizard/main.cpp:39
virtual QWidget * createEditor(QtProperty *property, QWidget *parent)=0
void usage(std::string msg="")
Definition: applications/testcomponents/main.cpp:54
The QtVariantProperty class is a convenience class handling QVariant based properties.
Definition: qtvariantproperty.h:97
ObjectController * theController
Definition: libraries/qtpropertybrowser/examples/object_controller/main.cpp:103
void slotValueChanged(QtProperty *property, const QVariant &value)
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:88
The QtAbstractEditorFactoryBase provides an interface for editor factories.
Definition: qtpropertybrowser.h:191
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:231
Definition: libraries/qtpropertybrowser/examples/object_controller/main.cpp:57
static InterfaceLogger * getLogger()
get the current application logger
Definition: Log.cpp:73
QString valueText(const QtProperty *property) const override
Definition: qtpropertymanager.cpp:1114
QString prefix
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:104
virtual bool isPropertyTypeSupported(int propertyType) const
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:118
The description of this class will come soon !
Definition: qteditorfactory.h:61
Definition: canvas_typed/mainwindow.h:69
virtual void uninitializeProperty(QtProperty *property)
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:194
The description of this class will come soon !
Definition: qtgroupboxpropertybrowser.h:59
virtual QString getDescription() const =0
get the plugin description
virtual QStringList getFileExtensions() const =0
get the list of managed extensions (each file with an extension in the list can be loaded by this Com...
virtual camitk::Action::ApplyStatus apply()=0
This method is called when the action has to be applied on the target list (get the target lists usin...
void propertyDestroyed(QtProperty *property)
void initializeProperty(QtProperty *property) override
Definition: qtvariantproperty.cpp:1960
@ TRIGGERED
the action was triggered only, but not applied
Definition: Action.h:252
virtual void uninitializeProperty(QtProperty *property)
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:145
virtual void setValue(QtProperty *property, const QVariant &val)
Definition: qtvariantproperty.cpp:1654
DecoratedDoubleSpinBoxFactory(QObject *parent=0)
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:174
The generic/default application. Once this class is intanciated in the main, everything is setup....
Definition: Application.h:82
The QtDoublePropertyManager provides and manages double properties.
Definition: qtpropertymanager.h:164
void process()
call all methods to generate the CEP from the DomTree.
Definition: CepGenerator.cpp:494
void setEnumNames(QtProperty *property, const QStringList &names)
Definition: qtpropertymanager.cpp:5275
void slotEditorDestroyed(QObject *object)
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:253
Exception class to handle abortion in component instantiation. Particularly useful to handle construc...
Definition: AbortException.h:66
This Class describes ActionStateMachine MainWindow extension. This application use a modified version...
Definition: ActionStateMachine.h:58
static Component * open(const QString &)
load the filename and returns the corresponding top level Component (returns nullptr if an error occu...
Definition: Application.cpp:456
The QtAbstractEditorFactory is the base template class for editor factories.
Definition: qtpropertybrowser.h:207
virtual void setSelected(const bool b, const bool recursive=true)
Update the selection flag.
Definition: sdk/libraries/core/component/Component.cpp:445
The QtBoolPropertyManager class provides and manages boolean properties.
Definition: qtpropertymanager.h:132
const char * description
Definition: applications/cepgenerator/main.cpp:38
@ INFO
information, warning and error messages are logged
Definition: InterfaceLogger.h:64
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:151
void slotSuffixChanged(QtProperty *property, const QString &prefix)
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:235
void testFailed()
Definition: applications/testactions/main.cpp:64
QtIntPropertyManager * subIntPropertyManager() const
Definition: qtpropertymanager.cpp:5810
virtual void setValue(QtProperty *property, const QVariant &val)
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:149
The QtLineEditFactory class provides QLineEdit widgets for properties created by QtStringPropertyMana...
Definition: qteditorfactory.h:195
int main(int argc, char *argv[])
Testing tool to check action extension validity.
Definition: applications/testactions/main.cpp:79
static const QList< ComponentExtension * > getComponentExtensionsList()
Get the list of registered ComponentExtension.
Definition: ExtensionManager.cpp:464
virtual void initializeProperty(QtProperty *property)
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:171
The QtVariantEditorFactory class provides widgets for properties created by QtVariantPropertyManager ...
Definition: qtvariantproperty.h:212
void initializeProperty(QtProperty *property) override
Definition: qtpropertymanager.cpp:1290
void propertyChanged(QtProperty *property)
const char * what() const noexcept
get the detailed reason from the exception
Definition: AbortException.h:99
const int LEVEL2
Definition: applications/testcomponents/main.cpp:35
void setEnumIcons(QtProperty *property, const QMap< int, QIcon > &icons)
Definition: qtpropertymanager.cpp:5311
bool getEmbedded() const
argument use to know if the widget is embedded or not
Definition: Action.h:366
virtual bool setLogFileDirectory(QDir directoryName, bool moveExistingLogFile=true)=0
Set the specific directory to write to (default is the subdirectory "CamiTK" in the system temporary ...
@ COMPONENT
Component extensions: manages the data logic.
Definition: ExtensionManager.h:113
Controller class, based on MVP architecture.
Definition: WizardController.h:50
void setPrefix(QtProperty *property, const QString &prefix)
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:94
QWidget * createEditor(DecoratedDoublePropertyManager *manager, QtProperty *property, QWidget *parent)
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:189
void testInit(std::string msg)
Definition: applications/testcomponents/main.cpp:67
void setValue(QtProperty *property, double val)
Definition: qtpropertymanager.cpp:1133
The QtSizePolicyPropertyManager provides and manages QSizePolicy properties.
Definition: qtpropertymanager.h:750
void usage(std::string msg="")
Definition: applications/testactions/main.cpp:47
QVariant value
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:104
QMap< QDoubleSpinBox *, QtProperty * > editorToProperty
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:171
@ WARNING
Only Warning and Error messages are logged.
Definition: InterfaceLogger.h:63
virtual void setMessageBoxLevel(LogLevel level)=0
Set the lowest log level that will open modal message box for messages instead of (silently/undisrupt...
QtDoubleSpinBoxFactory * originalFactory
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:169
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:103
int main(int argc, char **argv)
Definition: libraries/qtpropertybrowser/examples/simple/main.cpp:47
void setValue(const QVariant &value)
Definition: qtvariantproperty.cpp:263
DecoratedDoublePropertyManager * propertyManager(QtProperty *property) const
Definition: qtpropertybrowser.h:241
This class is the base class for your application. It sets up the main window and creates a menubar,...
Definition: MainWindow.h:89
void setRange(QtProperty *property, int minVal, int maxVal)
Definition: qtpropertymanager.cpp:858
virtual int valueType(int propertyType) const
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:125
@ ACTION
Action extensions: manages the processing logic.
Definition: ExtensionManager.h:112
void removePropertyManager(PropertyManager *manager)
Definition: qtpropertybrowser.h:229
The QtEnumPropertyManager provides and manages enum properties.
Definition: qtpropertymanager.h:680
QString suffix(const QtProperty *property) const
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:87
#define CAMITK_INFO_ALT(MSG)
Definition: Log.h:262
void setFileName(const QString &)
set the file name where the data have to be stored
Definition: sdk/libraries/core/component/Component.cpp:466
const int LEVEL1
Definition: applications/testcomponents/main.cpp:34
virtual QVariant value(const QtProperty *property) const
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:132
The QtCheckBoxFactory class provides QCheckBox widgets for properties created by QtBoolPropertyManage...
Definition: qteditorfactory.h:142
int main(int argc, char **argv)
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:208
void setPropertyName(const QString &text)
Definition: qtpropertybrowser.cpp:348
int valueType(const QtProperty *property) const
Definition: qtvariantproperty.cpp:1432
int main(int argc, char *argv[])
Definition: applications/config/main.cpp:51
const char * description
Definition: applications/imp/main.cpp:44
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:103
static int exec()
Overriden from QApplication: Enters the main event loop and waits until exit() is called,...
Definition: Application.cpp:314
@ TRACE
all types of messages are logged
Definition: InterfaceLogger.h:65
void setAttribute(const QString &attribute, const QVariant &value)
Definition: qtvariantproperty.cpp:276
static const char * version
Definition: Core.h:208
virtual bool isPropertyTypeSupported(int propertyType) const
Definition: qtvariantproperty.cpp:1300
The QtSliderFactory class provides QSlider widgets for properties created by QtIntPropertyManager obj...
Definition: qteditorfactory.h:88
QtVariantProperty * x
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:105
void testPassed()
Definition: applications/testactions/main.cpp:68
void disconnectPropertyManager(DecoratedDoublePropertyManager *manager)
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:211
The QtEnumEditorFactory class provides QComboBox widgets for properties created by QtEnumPropertyMana...
Definition: qteditorfactory.h:349
void addSubProperty(QtProperty *property)
Definition: qtpropertybrowser.cpp:393
~DecoratedDoubleSpinBoxFactory()
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:179
Definition: libraries/qtpropertybrowser/examples/extension/main.cpp:45
static int groupTypeId()
Definition: qtvariantproperty.cpp:117
void setInputComponent(Component *input)
Specify the input Components in case of only one Component.
Definition: Action.cpp:320
void testInit(std::string msg)
Definition: applications/testactions/main.cpp:60
int main(int argc, char **argv)
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:272
This class contains the entry points to generate CEP.
Definition: CepGenerator.h:62
QObject * theControlledObject
Definition: libraries/qtpropertybrowser/examples/object_controller/main.cpp:105
void usage(char *appName)
Definition: applications/actionstatemachine/main.cpp:39
virtual QString getName() const =0
Definition: libraries/qtpropertybrowser/examples/decoration/main.cpp:47
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:302
Definition: Action.cpp:35
void uninitializeProperty(QtProperty *property) override
Definition: qtvariantproperty.cpp:1991