Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef BLUEBERRYEXAMPLELAUNCHERDIALOG_H
18 #define BLUEBERRYEXAMPLELAUNCHERDIALOG_H
19 
20 #include <QDialog>
21 
22 #include <QEventLoop>
23 #include <QStringList>
24 
25 namespace Ui
26 {
28 }
29 
30 class BlueBerryExampleLauncherDialog : public QDialog
31 {
32  Q_OBJECT
33 
34 public:
35  explicit BlueBerryExampleLauncherDialog(QWidget *parent = nullptr);
37 
38  QString getDemoConfiguration();
39 
40 private:
41  Q_SLOT void configurationSelected();
42  Q_SLOT void dialogCanceled();
43 
44  Q_SLOT void selectionChanged(int row);
45 
46 private:
47  Ui::BlueBerryExampleLauncherDialog *ui;
48  QStringList provisioningFiles;
49  QList<QString> descriptions;
50  QEventLoop eventLoop;
51 };
52 
53 #endif // BLUEBERRYEXAMPLELAUNCHERDIALOG_H
BlueBerryExampleLauncherDialog(QWidget *parent=nullptr)