CTK 0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
ctkExampleHostLogic.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
9#include <org_commontk_dah_examplehost_Export.h>
10
15class QModelIndex;
16class QItemSelection;
17
19
20class org_commontk_dah_examplehost_EXPORT ctkExampleHostLogic :
21 public QObject
22{
23 Q_OBJECT
24public:
25 ctkExampleHostLogic(ctkHostedAppPlaceholderWidget*, QWidget* placeHolderForControls, int hostPort = 8080, int appPort = 8081);
29public slots:
31 void sendData(ctkDicomAppHosting::AvailableData& data, bool lastData);
32protected slots:
34 void onAppReady();
37protected:
43 QString AppFileName;
44 //bool ValidSelection;
47};
48
49#endif
ctkExampleHostControlWidget * getHostControls()
ctkExampleHostControlWidget * HostControls
ctkDicomAppHosting::AvailableData * Data
ctkExampleHostLogic(ctkHostedAppPlaceholderWidget *, QWidget *placeHolderForControls, int hostPort=8080, int appPort=8081)
void sendData(ctkDicomAppHosting::AvailableData &data, bool lastData)
virtual ~ctkExampleHostLogic()
ctkExampleDicomHost * getHost()
ctkExampleDicomHost * Host
ctkHostedAppPlaceholderWidget * PlaceHolderForHostedApp