Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkAboutDialog.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 #ifndef QmitkAboutDialog_h
14 #define QmitkAboutDialog_h
15 
17 
18 #include <QDialog>
19 #include <memory>
20 
21 namespace Ui
22 {
23  class QmitkAboutDialog;
24 }
25 
33 {
34  Q_OBJECT
35 
36 public:
42  QmitkAboutDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::CustomizeWindowHint | Qt::WindowCloseButtonHint);
43 
45  ~QmitkAboutDialog() override;
46 
51  QString GetAboutText() const;
52 
57  QString GetCaptionText() const;
58 
63  QString GetRevisionText() const;
64 
69  void SetAboutText(const QString &text);
70 
75  void SetCaptionText(const QString &text);
76 
81  void SetRevisionText(const QString &text);
82 
83 private:
84  std::unique_ptr<Ui::QmitkAboutDialog> m_GUI;
85 };
86 
87 #endif
#define MITKQTWIDGETSEXT_EXPORT
Dialog displaying information about the MITK application.
~QmitkAboutDialog() override
Destructor.
QString GetAboutText() const
Get the current about text (HTML).
QmitkAboutDialog(QWidget *parent=nullptr, Qt::WindowFlags f=Qt::CustomizeWindowHint|Qt::WindowCloseButtonHint)
Construct the about dialog.
void SetCaptionText(const QString &text)
Set the caption text displayed in the dialog.
void SetAboutText(const QString &text)
Set the about text displayed in the dialog.
QString GetCaptionText() const
Get the current caption text.
void SetRevisionText(const QString &text)
Set the revision text displayed in the dialog.
QString GetRevisionText() const
Get the current revision text (HTML).