GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | Protected Slots | Private Member Functions | Private Attributes | List of all members
QGoOpenCreateImgSessionPage Class Reference

#include <Code/GUI/lib/Wizard/QGoOpenCreateImgSessionPage.h>

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

Public Member Functions

void cleanupPage ()
 
void initializePage ()
 
int nextId () const
 
 QGoOpenCreateImgSessionPage (QWidget *parent=0)
 
bool validatePage ()
 
 ~QGoOpenCreateImgSessionPage ()
 

Public Attributes

vtkMySQLDatabase * m_DatabaseConnector
 

Protected Slots

void ChangeToCreateImgSessionDisplay ()
 
void ChangeToOpenImgSessionDisplay ()
 
void DisplayInfoImgSession (QString ImgSessionName)
 display in the description text the existing description stored in the database for a given Imaging Session. More...
 

Private Member Functions

bool GetListImgSession ()
 fill the m_MapImgSessionIDName with the names of the existing imaging session stored in the database and their corresponding ID, fill the m_ListImgSession with the names only and return true if this list is not empty. More...
 
void OpenDBConnection () const
 

Private Attributes

QComboBox * ChoiceImgSession
 
QRadioButton * CreateImgSessionRadioButton
 
bool LeavingPage
 
QTextEdit * lineDescription
 
QLineEdit * lineImgSessionID
 
QLineEdit * lineImgSessionName
 
QStringList m_ListImgSession
 
boost::unordered_map
< std::string, std::string > 
m_MapImgSessionIDName
 
QRadioButton * OpenImgSessionRadioButton
 
QString OpenOrCreateImgSession
 
QLabel * textChoiceImgSession
 
QLabel * textDescription
 

Detailed Description

Definition at line 49 of file QGoOpenCreateImgSessionPage.h.

Constructor & Destructor Documentation

QGoOpenCreateImgSessionPage::QGoOpenCreateImgSessionPage ( QWidget *  parent = 0)
explicit

Definition at line 41 of file QGoOpenCreateImgSessionPage.cxx.

QGoOpenCreateImgSessionPage::~QGoOpenCreateImgSessionPage ( )

Definition at line 92 of file QGoOpenCreateImgSessionPage.cxx.

Member Function Documentation

void QGoOpenCreateImgSessionPage::ChangeToCreateImgSessionDisplay ( )
protectedslot

Definition at line 287 of file QGoOpenCreateImgSessionPage.cxx.

void QGoOpenCreateImgSessionPage::ChangeToOpenImgSessionDisplay ( )
protectedslot

Definition at line 301 of file QGoOpenCreateImgSessionPage.cxx.

void QGoOpenCreateImgSessionPage::cleanupPage ( )

Definition at line 224 of file QGoOpenCreateImgSessionPage.cxx.

void QGoOpenCreateImgSessionPage::DisplayInfoImgSession ( QString  ImgSessionName)
protectedslot

display in the description text the existing description stored in the database for a given Imaging Session.

Definition at line 250 of file QGoOpenCreateImgSessionPage.cxx.

bool QGoOpenCreateImgSessionPage::GetListImgSession ( )
private

fill the m_MapImgSessionIDName with the names of the existing imaging session stored in the database and their corresponding ID, fill the m_ListImgSession with the names only and return true if this list is not empty.

Definition at line 132 of file QGoOpenCreateImgSessionPage.cxx.

void QGoOpenCreateImgSessionPage::initializePage ( )

Definition at line 101 of file QGoOpenCreateImgSessionPage.cxx.

int QGoOpenCreateImgSessionPage::nextId ( ) const

Definition at line 184 of file QGoOpenCreateImgSessionPage.cxx.

void QGoOpenCreateImgSessionPage::OpenDBConnection ( ) const
private

Definition at line 235 of file QGoOpenCreateImgSessionPage.cxx.

bool QGoOpenCreateImgSessionPage::validatePage ( )

Definition at line 201 of file QGoOpenCreateImgSessionPage.cxx.

Member Data Documentation

QComboBox* QGoOpenCreateImgSessionPage::ChoiceImgSession
private

Definition at line 79 of file QGoOpenCreateImgSessionPage.h.

QRadioButton* QGoOpenCreateImgSessionPage::CreateImgSessionRadioButton
private

Definition at line 82 of file QGoOpenCreateImgSessionPage.h.

bool QGoOpenCreateImgSessionPage::LeavingPage
mutableprivate

Definition at line 85 of file QGoOpenCreateImgSessionPage.h.

QTextEdit* QGoOpenCreateImgSessionPage::lineDescription
private

Definition at line 77 of file QGoOpenCreateImgSessionPage.h.

QLineEdit* QGoOpenCreateImgSessionPage::lineImgSessionID
private

Definition at line 83 of file QGoOpenCreateImgSessionPage.h.

QLineEdit* QGoOpenCreateImgSessionPage::lineImgSessionName
private

Definition at line 84 of file QGoOpenCreateImgSessionPage.h.

vtkMySQLDatabase* QGoOpenCreateImgSessionPage::m_DatabaseConnector
mutable

Definition at line 64 of file QGoOpenCreateImgSessionPage.h.

QStringList QGoOpenCreateImgSessionPage::m_ListImgSession
private

Definition at line 87 of file QGoOpenCreateImgSessionPage.h.

boost::unordered_map< std::string, std::string > QGoOpenCreateImgSessionPage::m_MapImgSessionIDName
private

Definition at line 88 of file QGoOpenCreateImgSessionPage.h.

QRadioButton* QGoOpenCreateImgSessionPage::OpenImgSessionRadioButton
private

Definition at line 81 of file QGoOpenCreateImgSessionPage.h.

QString QGoOpenCreateImgSessionPage::OpenOrCreateImgSession
private

Definition at line 80 of file QGoOpenCreateImgSessionPage.h.

QLabel* QGoOpenCreateImgSessionPage::textChoiceImgSession
private

Definition at line 78 of file QGoOpenCreateImgSessionPage.h.

QLabel* QGoOpenCreateImgSessionPage::textDescription
private

Definition at line 76 of file QGoOpenCreateImgSessionPage.h.


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