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
Collaboration diagram for QGoDBInitCreateUserPage:
Collaboration graph


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)

Definition at line 47 of file QGoDBInitCreateUserPage.cxx.

QGoDBInitCreateUserPage::~QGoDBInitCreateUserPage ( )

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 

Definition at line 172 of file QGoDBInitCreateUserPage.cxx.

bool QGoDBInitCreateUserPage::CreateUser ( )

Definition at line 111 of file QGoDBInitCreateUserPage.cxx.

QGoDBInitCreateUserPage::Q_DISABLE_COPY ( QGoDBInitCreateUserPage  )
bool QGoDBInitCreateUserPage::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

Definition at line 256 of file QGoDBInitCreateUserPage.cxx.

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

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

Definition at line 55 of file QGoDBInitCreateUserPage.h.

QLineEdit* QGoDBInitCreateUserPage::lineUserName

Definition at line 54 of file QGoDBInitCreateUserPage.h.

std::string QGoDBInitCreateUserPage::m_DBName

Definition at line 57 of file QGoDBInitCreateUserPage.h.

std::string QGoDBInitCreateUserPage::m_ServerName

Definition at line 56 of file QGoDBInitCreateUserPage.h.

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