CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Plugins
org.commontk.dah.examplehost
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
7
#include "
ctkDicomAppHostingTypes.h
"
8
9
#include <org_commontk_dah_examplehost_Export.h>
10
11
class
ctkHostedAppPlaceholderWidget
;
12
class
ctkExampleDicomHost
;
13
class
ctkExampleHostControlWidget
;
14
class
ctkDICOMAppWidget
;
15
class
QModelIndex;
16
class
QItemSelection;
17
18
class
ctkExampleDicomHost
;
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);
26
virtual
~
ctkExampleHostLogic
();
27
ctkExampleDicomHost
* getHost();
28
ctkExampleHostControlWidget
* getHostControls();
29
public
slots:
30
void
configureHostedApp();
31
void
sendData(
ctkDicomAppHosting::AvailableData
& data,
bool
lastData);
32
protected
slots:
33
void
publishSelectedData();
34
void
onAppReady();
35
void
placeHolderResized();
36
void
aboutToQuit();
37
protected
:
38
ctkExampleDicomHost
*
Host
;
39
ctkExampleHostControlWidget
*
HostControls
;
40
ctkHostedAppPlaceholderWidget
*
PlaceHolderForHostedApp
;
41
QWidget*
PlaceHolderForControls
;
42
ctkDicomAppHosting::AvailableData
*
Data
;
43
QString
AppFileName
;
44
//bool ValidSelection;
45
bool
LastData
;
46
bool
SendData
;
47
};
48
49
#endif
ctkExampleHostLogic::HostControls
ctkExampleHostControlWidget * HostControls
Definition:
ctkExampleHostLogic.h:39
ctkExampleHostLogic::LastData
bool LastData
Definition:
ctkExampleHostLogic.h:45
ctkExampleHostLogic::AppFileName
QString AppFileName
Definition:
ctkExampleHostLogic.h:43
ctkExampleHostLogic::SendData
bool SendData
Definition:
ctkExampleHostLogic.h:46
ctkExampleHostLogic::PlaceHolderForControls
QWidget * PlaceHolderForControls
Definition:
ctkExampleHostLogic.h:41
ctkDICOMAppWidget
Definition:
ctkDICOMAppWidget.h:35
ctkExampleHostLogic::Host
ctkExampleDicomHost * Host
Definition:
ctkExampleHostLogic.h:38
ctkExampleHostLogic::Data
ctkDicomAppHosting::AvailableData * Data
Definition:
ctkExampleHostLogic.h:42
ctkDicomAppHosting::AvailableData
Definition:
ctkDicomAppHostingTypes.h:119
ctkExampleHostControlWidget
Definition:
ctkExampleHostControlWidget.h:38
ctkDicomAppHostingTypes.h
ctkExampleHostLogic
Definition:
ctkExampleHostLogic.h:20
ctkHostedAppPlaceholderWidget
Definition:
ctkHostedAppPlaceholderWidget.h:31
ctkExampleHostLogic::PlaceHolderForHostedApp
ctkHostedAppPlaceholderWidget * PlaceHolderForHostedApp
Definition:
ctkExampleHostLogic.h:40
ctkExampleDicomHost
Definition:
ctkExampleDicomHost.h:36
Generated on Wed May 4 2016 05:55:06 for CTK by
1.8.11