Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
BlueBerryExampleLauncherDialog.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 BLUEBERRYEXAMPLELAUNCHERDIALOG_H
14 #define BLUEBERRYEXAMPLELAUNCHERDIALOG_H
15 
16 #include <QDialog>
17 
18 #include <QEventLoop>
19 #include <QStringList>
20 
21 namespace Ui
22 {
24 }
25 
26 class BlueBerryExampleLauncherDialog : public QDialog
27 {
28  Q_OBJECT
29 
30 public:
31  explicit BlueBerryExampleLauncherDialog(QWidget *parent = nullptr);
33 
34  QString getDemoConfiguration();
35 
36 private:
37  Q_SLOT void configurationSelected();
38  Q_SLOT void dialogCanceled();
39 
40  Q_SLOT void selectionChanged(int row);
41 
42 private:
43  Ui::BlueBerryExampleLauncherDialog *ui;
44  QStringList provisioningFiles;
45  QList<QString> descriptions;
46  QEventLoop eventLoop;
47 };
48 
49 #endif // BLUEBERRYEXAMPLELAUNCHERDIALOG_H
Ui
Definition: BlueBerryExampleLauncherDialog.h:21
BlueBerryExampleLauncherDialog
Definition: BlueBerryExampleLauncherDialog.h:26
BlueBerryExampleLauncherDialog::BlueBerryExampleLauncherDialog
BlueBerryExampleLauncherDialog(QWidget *parent=nullptr)
BlueBerryExampleLauncherDialog::getDemoConfiguration
QString getDemoConfiguration()
BlueBerryExampleLauncherDialog::~BlueBerryExampleLauncherDialog
~BlueBerryExampleLauncherDialog() override