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 
14 class ctkDICOMAppWidget;
15 class QModelIndex;
16 class QItemSelection;
17 
19 
20 class org_commontk_dah_examplehost_EXPORT ctkExampleHostLogic :
21  public QObject
22 {
23  Q_OBJECT
24 public:
25  ctkExampleHostLogic(ctkHostedAppPlaceholderWidget*, QWidget* placeHolderForControls, int hostPort = 8080, int appPort = 8081);
29 public slots:
31  void sendData(ctkDicomAppHosting::AvailableData& data, bool lastData);
32 protected slots:
34  void onAppReady();
36  void aboutToQuit();
37 protected:
43  QString AppFileName;
44  //bool ValidSelection;
45  bool LastData;
46  bool SendData;
47 };
48 
49 #endif
ctkExampleHostLogic::LastData
bool LastData
Definition: ctkExampleHostLogic.h:45
ctkExampleHostLogic::placeHolderResized
void placeHolderResized()
ctkExampleHostLogic::PlaceHolderForHostedApp
ctkHostedAppPlaceholderWidget * PlaceHolderForHostedApp
Definition: ctkExampleHostLogic.h:40
ctkDicomAppHostingTypes.h
ctkExampleHostLogic::publishSelectedData
void publishSelectedData()
ctkDICOMAppWidget
Definition: ctkDICOMAppWidget.h:36
ctkExampleHostLogic::Data
ctkDicomAppHosting::AvailableData * Data
Definition: ctkExampleHostLogic.h:42
ctkExampleHostLogic::Host
ctkExampleDicomHost * Host
Definition: ctkExampleHostLogic.h:38
ctkExampleHostLogic::PlaceHolderForControls
QWidget * PlaceHolderForControls
Definition: ctkExampleHostLogic.h:41
ctkExampleHostLogic::HostControls
ctkExampleHostControlWidget * HostControls
Definition: ctkExampleHostLogic.h:39
ctkExampleHostLogic
Definition: ctkExampleHostLogic.h:22
ctkExampleHostLogic::getHostControls
ctkExampleHostControlWidget * getHostControls()
ctkExampleHostLogic::getHost
ctkExampleDicomHost * getHost()
ctkHostedAppPlaceholderWidget
Definition: ctkHostedAppPlaceholderWidget.h:32
ctkExampleHostLogic::ctkExampleHostLogic
ctkExampleHostLogic(ctkHostedAppPlaceholderWidget *, QWidget *placeHolderForControls, int hostPort=8080, int appPort=8081)
ctkExampleHostLogic::SendData
bool SendData
Definition: ctkExampleHostLogic.h:46
ctkExampleHostLogic::onAppReady
void onAppReady()
ctkExampleHostLogic::sendData
void sendData(ctkDicomAppHosting::AvailableData &data, bool lastData)
ctkDicomAppHosting::AvailableData
Definition: ctkDicomAppHostingTypes.h:119
ctkExampleDicomHost
Definition: ctkExampleDicomHost.h:37
ctkExampleHostControlWidget
Definition: ctkExampleHostControlWidget.h:39
ctkExampleHostLogic::aboutToQuit
void aboutToQuit()
ctkExampleHostLogic::configureHostedApp
void configureHostedApp()
ctkExampleHostLogic::~ctkExampleHostLogic
virtual ~ctkExampleHostLogic()
ctkExampleHostLogic::AppFileName
QString AppFileName
Definition: ctkExampleHostLogic.h:43