Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <QmitkPreferencesDialog.h>
Public Member Functions | |
QmitkPreferencesDialog (QWidget *parent=nullptr, Qt::WindowFlags f=0) | |
~QmitkPreferencesDialog () | |
void | SetSelectedPage (const QString &id) |
Protected Slots | |
void | OnImportButtonClicked () |
void | OnExportButtonClicked () |
void | OnDialogAccepted () |
void | OnDialogRejected () |
void | OnKeywordTextChanged (const QString &s) |
void | OnKeywordEditingFinished () |
void | OnPreferencesTreeItemSelectionChanged () |
Protected Member Functions | |
void | UpdateTree () |
void | SavePreferences () |
Protected Attributes | |
QScopedPointer< QmitkPreferencesDialogPrivate > | d |
Definition at line 32 of file QmitkPreferencesDialog.h.
QmitkPreferencesDialog::QmitkPreferencesDialog | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 145 of file QmitkPreferencesDialog.cpp.
References d, OnDialogAccepted(), OnDialogRejected(), OnExportButtonClicked(), OnImportButtonClicked(), OnKeywordEditingFinished(), OnKeywordTextChanged(), OnPreferencesTreeItemSelectionChanged(), and UpdateTree().
QmitkPreferencesDialog::~QmitkPreferencesDialog | ( | ) |
Definition at line 167 of file QmitkPreferencesDialog.cpp.
|
protectedslot |
Definition at line 282 of file QmitkPreferencesDialog.cpp.
Referenced by QmitkPreferencesDialog().
|
protectedslot |
Definition at line 287 of file QmitkPreferencesDialog.cpp.
References berry::IPreferencePage::PerformCancel().
Referenced by QmitkPreferencesDialog().
|
protectedslot |
Definition at line 224 of file QmitkPreferencesDialog.cpp.
References berry::IBerryPreferencesService::ExportPreferences(), berry::Platform::GetPreferencesService(), MITK_ERROR, and MITK_INFO.
Referenced by QmitkPreferencesDialog().
|
protectedslot |
Definition at line 183 of file QmitkPreferencesDialog.cpp.
References berry::Platform::GetPreferencesService(), berry::IBerryPreferencesService::ImportPreferences(), MITK_ERROR, MITK_INFO, and berry::IPreferencePage::Update().
Referenced by QmitkPreferencesDialog().
|
protectedslot |
Definition at line 300 of file QmitkPreferencesDialog.cpp.
Referenced by QmitkPreferencesDialog().
|
protectedslot |
Definition at line 294 of file QmitkPreferencesDialog.cpp.
Referenced by QmitkPreferencesDialog().
|
protectedslot |
Definition at line 322 of file QmitkPreferencesDialog.cpp.
References berry::PlatformUI::GetWorkbench(), and berry::IPreferencePage::Init().
Referenced by QmitkPreferencesDialog().
|
protected |
Saves all preferencepages.
Every preference page has its own preferences, which should stay the same after a system restart.
Therefore this method flushes all the preferences, every time a change in the preferences is
performed and confirmed.
Definition at line 261 of file QmitkPreferencesDialog.cpp.
References berry::Platform::GetPreferencesService(), berry::IPreferencesService::GetSystemPreferences(), and berry::IPreferencePage::PerformOk().
void QmitkPreferencesDialog::SetSelectedPage | ( | const QString & | id | ) |
Definition at line 171 of file QmitkPreferencesDialog.cpp.
|
protected |
Definition at line 355 of file QmitkPreferencesDialog.cpp.
References MITK_ERROR, and splitString().
Referenced by QmitkPreferencesDialog().
|
protected |
Definition at line 64 of file QmitkPreferencesDialog.h.
Referenced by QmitkPreferencesDialog().