Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkPreferencesDialog Class Reference

#include <QmitkPreferencesDialog.h>

Inheritance diagram for QmitkPreferencesDialog:
Collaboration diagram for QmitkPreferencesDialog:

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
 

Detailed Description

Definition at line 32 of file QmitkPreferencesDialog.h.

Constructor & Destructor Documentation

QmitkPreferencesDialog::QmitkPreferencesDialog ( QWidget *  parent = nullptr,
Qt::WindowFlags  f = 0 
)
QmitkPreferencesDialog::~QmitkPreferencesDialog ( )

Definition at line 167 of file QmitkPreferencesDialog.cpp.

Member Function Documentation

void QmitkPreferencesDialog::OnDialogAccepted ( )
protectedslot

Definition at line 282 of file QmitkPreferencesDialog.cpp.

Referenced by QmitkPreferencesDialog().

void QmitkPreferencesDialog::OnDialogRejected ( )
protectedslot
void QmitkPreferencesDialog::OnExportButtonClicked ( )
protectedslot
void QmitkPreferencesDialog::OnImportButtonClicked ( )
protectedslot
void QmitkPreferencesDialog::OnKeywordEditingFinished ( )
protectedslot

Definition at line 300 of file QmitkPreferencesDialog.cpp.

Referenced by QmitkPreferencesDialog().

void QmitkPreferencesDialog::OnKeywordTextChanged ( const QString &  s)
protectedslot

Definition at line 294 of file QmitkPreferencesDialog.cpp.

Referenced by QmitkPreferencesDialog().

void QmitkPreferencesDialog::OnPreferencesTreeItemSelectionChanged ( )
protectedslot
void QmitkPreferencesDialog::SavePreferences ( )
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.

void QmitkPreferencesDialog::UpdateTree ( )
protected

Definition at line 355 of file QmitkPreferencesDialog.cpp.

References MITK_ERROR, and splitString().

Referenced by QmitkPreferencesDialog().

Member Data Documentation

QScopedPointer<QmitkPreferencesDialogPrivate> QmitkPreferencesDialog::d
protected

Definition at line 64 of file QmitkPreferencesDialog.h.

Referenced by QmitkPreferencesDialog().


The documentation for this class was generated from the following files: