QtDcm: A Qt based C++ library for Dicom communication
Main Page
Classes
Files
File List
File Members
src
qtdcm
src
QtDcmServersDicomSettingsWidget.h
Go to the documentation of this file.
1
/*
2
QtDcm is a C++ Qt based library for communication and conversion of Dicom images.
3
Copyright (C) 2011 Alexandre Abadie <Alexandre.Abadie@univ-rennes1.fr>
4
5
This library is free software; you can redistribute it and/or
6
modify it under the terms of the GNU Lesser General Public
7
License as published by the Free Software Foundation; either
8
version 2.1 of the License, or (at your option) any later version.
9
10
This library is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
Lesser General Public License for more details.
14
15
You should have received a copy of the GNU Lesser General Public
16
License along with this library; if not, write to the Free Software
17
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
*/
19
20
21
#ifndef QTDCMSERVERSDICOMSETTINGSWIDGET_H
22
#define QTDCMSERVERSDICOMSETTINGSWIDGET_H
23
24
#include "
qtdcmExports.h
"
25
#include <QtGui>
26
27
#include "ui_qtdcmServersDicomSettingsWidget.h"
28
29
class
QtDcmPreferences
;
30
31
class
QTDCM_EXPORT
QtDcmServersDicomSettingsWidget
:
public
QWidget,
public
Ui::QtDcmServersDicomSettingsWidget
32
{
33
Q_OBJECT
34
public
:
35
explicit
QtDcmServersDicomSettingsWidget
( QWidget* parent = 0 );
36
virtual
~
QtDcmServersDicomSettingsWidget
();
37
38
void
readPreferences();
39
void
updatePreferences();
40
41
public
slots:
42
void
itemSelected ( QTreeWidgetItem* current , QTreeWidgetItem* previous );
43
void
serverHostnameChanged (
const
QString & text );
44
void
serverNameChanged (
const
QString & text );
45
void
serverAetitleChanged (
const
QString & text );
46
void
serverPortChanged (
const
QString & text );
47
void
removeServer();
48
void
addServer();
49
void
sendEcho();
50
51
private
:
52
void
initConnections();
53
void
populate();
54
};
55
56
#endif // QTDCMSERVERSDICOMSETTINGSWIDGET_H
QtDcmServersDicomSettingsWidget
Definition:
QtDcmServersDicomSettingsWidget.h:31
QTDCM_EXPORT
#define QTDCM_EXPORT
Definition:
qtdcmExports.h:11
qtdcmExports.h
QtDcmPreferences
Class that manages the settings of QtDcm.
Definition:
QtDcmPreferences.h:50