Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
QmitkPreferencesDialog.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 
14 #ifndef QmitkPreferencesDialog_h
15 #define QmitkPreferencesDialog_h
16 
18 
19 #include <QDialog>
20 #include <QScopedPointer>
21 
22 
23 class QmitkPreferencesDialogPrivate;
24 
28 class MITK_QT_APP QmitkPreferencesDialog : public QDialog
29 {
30  Q_OBJECT
31 
32 public:
33 
34  QmitkPreferencesDialog(QWidget * parent = nullptr, Qt::WindowFlags f = {});
36 
37  void SetSelectedPage(const QString& id);
38 
39 protected slots:
40 
43 
44  void OnKeywordTextChanged(const QString & s);
47 
48 protected:
49 
50  //bool eventFilter(QObject *obj, QEvent *event);
51  void UpdateTree();
52 
57 
58  QScopedPointer<QmitkPreferencesDialogPrivate> d;
59 
60 };
61 
62 #endif
QScopedPointer< QmitkPreferencesDialogPrivate > d
void SetSelectedPage(const QString &id)
void OnPreferencesTreeItemSelectionChanged()
void OnKeywordTextChanged(const QString &s)
~QmitkPreferencesDialog() override
QmitkPreferencesDialog(QWidget *parent=nullptr, Qt::WindowFlags f={})