|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef CHANGE_LANGUAGE_H
27 #define CHANGE_LANGUAGE_H
QString language
Definition: ChangeLanguage.h:64
void setFamily(QString family)
the name of the family in which this action is associated
Definition: Action.cpp:136
Definition: ChangeLanguage.h:63
#define CAMITK_WARNING(MSG)
Log for warning verbosity (the most common one) Will appear by default.
Definition: Log.h:266
ChangeLanguage(camitk::ActionExtension *)
Default Constructor.
Definition: ChangeLanguage.cpp:40
@ SUCCESS
everything went according to plan
Definition: Action.h:248
QComboBox * languageList
Definition: ChangeLanguage.h:61
ApplyStatus
Definition: Action.h:247
void setName(QString name)
Definition: Action.cpp:120
void setComponent(QString component)
the name of the component class that can be used by this action
Definition: Action.cpp:131
void addTag(QString tag)
add a tag to the tags list of this action
Definition: Action.cpp:141
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:231
QString languageAbreviation
Definition: ChangeLanguage.h:65
virtual ~ChangeLanguage()
Default Destructor.
Definition: ChangeLanguage.cpp:85
QList< languageAndFlag > listLanguageAndFlag
Definition: ChangeLanguage.h:68
virtual camitk::Action::ApplyStatus apply()
apply the action i.e. show a file dialog and open the selected file(s)
Definition: ChangeLanguage.cpp:125
void setDescription(QString description)
the description of the action
Definition: Action.cpp:126
QLineEdit * fileBrowserLineEdit2
Definition: ChangeLanguage.h:60
When triggered, the ChangeLanguage automatically opens the given setting file language.
Definition: ChangeLanguage.h:41
void setIcon(QPixmap)
set the Pixmap
Definition: Action.cpp:151
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:80
QLineEdit * fileBrowserLineEdit1
Definition: ChangeLanguage.h:59
virtual QWidget * getWidget()
Returns NULL: no permanent widget for this action. The GUI is shown as a one-shot dialog in apply.
Definition: ChangeLanguage.cpp:89
QFrame * myWidget
Definition: ChangeLanguage.h:58
QString flagfilename
Definition: ChangeLanguage.h:66
Definition: Action.cpp:35