CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
ctkDICOMHostMainLogic.h
Go to the documentation of this file.
1 #ifndef CTKDICOMHOSTMAINLOGIC_H
2 #define CTKDICOMHOSTMAINLOGIC_H
3 
4 #include <QObject>
5 #include <QStringList>
6 
8 
12 class ctkDICOMAppWidget;
13 class QModelIndex;
14 class QItemSelection;
15 
17  public QObject
18 {
19  Q_OBJECT
20 public:
21  ctkDICOMHostMainLogic(ctkHostedAppPlaceholderWidget*, ctkDICOMAppWidget*, QWidget* placeHolderForControls);
22  virtual ~ctkDICOMHostMainLogic();
23 public slots:
24  void configureHostedApp();
25  void sendDataToHostedApp();
26 protected slots:
27  void onTreeSelectionChanged(const QItemSelection & selected, const QItemSelection & deselected);
28  void publishSelectedData();
29  void onAppReady();
30  void placeHolderResized();
31  void onDataAvailable();
32  void aboutToQuit();
33 signals:
34  void TreeSelectionChanged(const QString &);
35  void SelectionValid(bool);
36 protected:
43  QString AppFileName;
45  QStringList SelectedFiles;
46  bool SendData;
47 };
48 
49 #endif
ctkHostedAppPlaceholderWidget * PlaceHolderForHostedApp
void onTreeSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
ctkDICOMAppWidget * DicomAppWidget
virtual ~ctkDICOMHostMainLogic()
void SelectionValid(bool)
ctkExampleDicomHost * Host
ctkExampleHostControlWidget * HostControls
ctkDicomAppHosting::AvailableData * Data
void TreeSelectionChanged(const QString &)
ctkDICOMHostMainLogic(ctkHostedAppPlaceholderWidget *, ctkDICOMAppWidget *, QWidget *placeHolderForControls)