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

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

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

Signals

void UserAndDatabaseCreated ()
 

Public Member Functions

 QGoDBInitCreateUserPage (QWidget *iparent=0)
 
bool validatePage ()
 
 ~QGoDBInitCreateUserPage ()
 

Private Member Functions

bool CreateGofigureUserWithDatabaseConnector (vtkMySQLDatabase *DatabaseConnector, std::string iLogin, std::string iServerName, std::string iPassword)
 
bool CreateUser ()
 
 Q_DISABLE_COPY (QGoDBInitCreateUserPage)
 
bool QuestionToUser (QString iQuestion)
 create a dialog with OK and Cancel button asking iquestion to the user, return true if the user press OK, false if press Cancel More...
 
bool UserNameAlreadyExits (vtkMySQLDatabase *DatabaseConnector, std::string iLogin)
 

Private Attributes

QLineEdit * linePassword
 
QLineEdit * lineUserName
 
std::string m_DBName
 
std::string m_ServerName
 

Detailed Description

Definition at line 42 of file QGoDBInitCreateUserPage.h.

Constructor & Destructor Documentation

QGoDBInitCreateUserPage::QGoDBInitCreateUserPage ( QWidget *  iparent = 0)
explicit

Definition at line 47 of file QGoDBInitCreateUserPage.cxx.

QGoDBInitCreateUserPage::~QGoDBInitCreateUserPage ( )
inline

Definition at line 47 of file QGoDBInitCreateUserPage.h.

Member Function Documentation

bool QGoDBInitCreateUserPage::CreateGofigureUserWithDatabaseConnector ( vtkMySQLDatabase *  DatabaseConnector,
std::string  iLogin,
std::string  iServerName,
std::string  iPassword 
)
private

Definition at line 172 of file QGoDBInitCreateUserPage.cxx.

bool QGoDBInitCreateUserPage::CreateUser ( )
private

Definition at line 111 of file QGoDBInitCreateUserPage.cxx.

QGoDBInitCreateUserPage::Q_DISABLE_COPY ( QGoDBInitCreateUserPage  )
private
bool QGoDBInitCreateUserPage::QuestionToUser ( QString  iQuestion)
private

create a dialog with OK and Cancel button asking iquestion to the user, return true if the user press OK, false if press Cancel

Definition at line 256 of file QGoDBInitCreateUserPage.cxx.

void QGoDBInitCreateUserPage::UserAndDatabaseCreated ( )
signal
bool QGoDBInitCreateUserPage::UserNameAlreadyExits ( vtkMySQLDatabase *  DatabaseConnector,
std::string  iLogin 
)
private

Definition at line 219 of file QGoDBInitCreateUserPage.cxx.

bool QGoDBInitCreateUserPage::validatePage ( )

Definition at line 79 of file QGoDBInitCreateUserPage.cxx.

Member Data Documentation

QLineEdit* QGoDBInitCreateUserPage::linePassword
private

Definition at line 55 of file QGoDBInitCreateUserPage.h.

QLineEdit* QGoDBInitCreateUserPage::lineUserName
private

Definition at line 54 of file QGoDBInitCreateUserPage.h.

std::string QGoDBInitCreateUserPage::m_DBName
private

Definition at line 57 of file QGoDBInitCreateUserPage.h.

std::string QGoDBInitCreateUserPage::m_ServerName
private

Definition at line 56 of file QGoDBInitCreateUserPage.h.


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