NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
i
l
m
o
p
q
r
s
t
u
v
w
Variables
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Typedefs
a
b
c
d
e
f
i
j
l
m
n
o
p
r
s
t
v
Enumerations
Enumerator
a
c
d
g
h
i
l
n
p
r
s
t
u
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
Variables
c
f
i
l
m
o
p
q
r
s
t
v
Typedefs
c
d
f
h
m
o
p
q
s
u
v
Macros
_
a
b
c
d
e
f
g
i
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
cxWebServerWidgetBase.h
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
12
#ifndef CXWEBSERVERWIDGETBASE_H
13
#define CXWEBSERVERWIDGETBASE_H
14
15
#include "cxResourceWidgetsExport.h"
16
17
#include <QWidget>
18
#include "
cxVisServices.h
"
19
20
class
QPushButton;
21
class
QVBoxLayout;
22
23
namespace
cx
24
{
33
class
cxResourceWidgets_EXPORT
WebServerWidgetBase
:
public
QWidget
34
{
35
Q_OBJECT
36
public
:
37
WebServerWidgetBase
(
cx::VisServicesPtr
services, QWidget* parent = 0);
38
virtual
~
WebServerWidgetBase
();
39
40
protected
slots:
41
virtual
void
startStopSlot(
bool
checked);
42
43
protected
:
44
VisServicesPtr
mServices
;
45
QPushButton*
mStartStopButton
;
46
QVBoxLayout*
mVerticalLayout
;
47
48
virtual
void
startServer() = 0;
49
virtual
void
stopServer() = 0;
50
virtual
void
shutdownServer
() {};
//May be removed after testing and fixing shutdown issues
51
};
52
53
}
//cx
54
55
#endif // CXWEBSERVERWIDGETBASE_H
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::WebServerWidgetBase
Definition:
cxWebServerWidgetBase.h:33
cx::WebServerWidgetBase::mServices
VisServicesPtr mServices
Definition:
cxWebServerWidgetBase.h:44
cx::VisServicesPtr
boost::shared_ptr< class VisServices > VisServicesPtr
Definition:
cxMainWindow.h:40
cx::WebServerWidgetBase::mVerticalLayout
QVBoxLayout * mVerticalLayout
Definition:
cxWebServerWidgetBase.h:46
cx::WebServerWidgetBase::shutdownServer
virtual void shutdownServer()
Definition:
cxWebServerWidgetBase.h:50
cx::WebServerWidgetBase::mStartStopButton
QPushButton * mStartStopButton
Definition:
cxWebServerWidgetBase.h:45
cxVisServices.h
CX
source
resource
widgets
cxWebServerWidgetBase.h
Generated on Thu Jan 5 2023 03:15:56 for NorMIT-nav by
1.8.17