CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Types | Public Slots | Public Member Functions | Protected Types | Protected Slots | Protected Attributes | List of all members
ctkDICOMServerNodeWidget Class Reference

#include <Libs/DICOM/Widgets/ctkDICOMServerNodeWidget.h>

Inheritance diagram for ctkDICOMServerNodeWidget:
Inheritance graph
[legend]
Collaboration diagram for ctkDICOMServerNodeWidget:
Collaboration graph
[legend]

Public Types

typedef QWidget Superclass
 

Public Slots

int addServerNode ()
 
void readSettings ()
 
void removeCurrentServerNode ()
 Remove the current row (different from the checked rows) More...
 
void saveSettings ()
 

Public Member Functions

int addServerNode (const QMap< QString, QVariant > &parameters)
 
QString callingAETitle () const
 "FINDSCU" by default More...
 
 ctkDICOMServerNodeWidget (QWidget *parent=0)
 
QMap< QString, QVariant > parameters () const
 
QStringList selectedServerNodes () const
 Return the list of selected(checked) server names. More...
 
QMap< QString, QVariant > serverNodeParameters (const QString &serverNode) const
 Return all the information associated to a server defined by its name. More...
 
QMap< QString, QVariant > serverNodeParameters (int row) const
 
QStringList serverNodes () const
 Return the list of server names. More...
 
QString storageAETitle () const
 "CTKSTORE" by default More...
 
int storagePort () const
 11112 by default More...
 
virtual ~ctkDICOMServerNodeWidget ()
 

Protected Types

enum  ServerColumns {
  NameColumn = 0, AETitleColumn, AddressColumn, PortColumn,
  CGETColumn
}
 

Protected Slots

void updateRemoveButtonEnableState ()
 

Protected Attributes

QScopedPointer< ctkDICOMServerNodeWidgetPrivate > d_ptr
 

Detailed Description

Definition at line 36 of file ctkDICOMServerNodeWidget.h.

Member Typedef Documentation

Definition at line 38 of file ctkDICOMServerNodeWidget.h.

Member Enumeration Documentation

Enumerator
NameColumn 
AETitleColumn 
AddressColumn 
PortColumn 
CGETColumn 

Definition at line 81 of file ctkDICOMServerNodeWidget.h.

Constructor & Destructor Documentation

ctkDICOMServerNodeWidget::ctkDICOMServerNodeWidget ( QWidget *  parent = 0)
explicit
virtual ctkDICOMServerNodeWidget::~ctkDICOMServerNodeWidget ( )
virtual

Member Function Documentation

int ctkDICOMServerNodeWidget::addServerNode ( const QMap< QString, QVariant > &  parameters)

Add a server node with the given parameters Return the row index added into the table

int ctkDICOMServerNodeWidget::addServerNode ( )
slot

Add an empty server node and make it current Return the row index added into the table

QString ctkDICOMServerNodeWidget::callingAETitle ( ) const

"FINDSCU" by default

QMap<QString,QVariant> ctkDICOMServerNodeWidget::parameters ( ) const

Utility function that returns the callingAETitle, storageAETitle and storagePort in a map

void ctkDICOMServerNodeWidget::readSettings ( )
slot
void ctkDICOMServerNodeWidget::removeCurrentServerNode ( )
slot

Remove the current row (different from the checked rows)

void ctkDICOMServerNodeWidget::saveSettings ( )
slot
QStringList ctkDICOMServerNodeWidget::selectedServerNodes ( ) const

Return the list of selected(checked) server names.

QMap<QString,QVariant> ctkDICOMServerNodeWidget::serverNodeParameters ( const QString &  serverNode) const

Return all the information associated to a server defined by its name.

QMap<QString,QVariant> ctkDICOMServerNodeWidget::serverNodeParameters ( int  row) const
QStringList ctkDICOMServerNodeWidget::serverNodes ( ) const

Return the list of server names.

QString ctkDICOMServerNodeWidget::storageAETitle ( ) const

"CTKSTORE" by default

int ctkDICOMServerNodeWidget::storagePort ( ) const

11112 by default

void ctkDICOMServerNodeWidget::updateRemoveButtonEnableState ( )
protectedslot

Member Data Documentation

QScopedPointer<ctkDICOMServerNodeWidgetPrivate> ctkDICOMServerNodeWidget::d_ptr
protected

Definition at line 80 of file ctkDICOMServerNodeWidget.h.


The documentation for this class was generated from the following file: