QGoOpenCreateProjectPage(QWidget *parent=0)
QPushButton * NewAuthorButton
QComboBox * ChoiceProject
in the QTextEdit class, there is no method to have a restriction on the number of characters the user...
QStringList GetListAuthors()
return the QStringList of the authors to be visualized by the user (concatenation of the firstname...
void CreateProject()
insert the new project in the database with the information filled by the user
QRadioButton * CreateProjectRadioButton
QLineEdit * lineNewProjectName
void ChangeToOpenProjectDisplay()
hides/shows the related QLabel,QLineEdit...and display the related information of the first existing ...
void ChangeToCreateProjectDisplay()
hides/shows the related QLabel,QLineEdit...and enables the fields where the user has to enter informa...
QTextEditChild * lineDescription
QLabel * textChoiceAuthor
std::map< std::string, int > m_MapAuthorIDName
QString OpenOrCreateProject
QStringList m_ListProject
void DisplayInfoProject(QString ProjectName)
display the information related to the given existing project
vtkMySQLDatabase * m_DatabaseConnector
QLabel * textNewProjectName
std::string m_DatabaseVersion
void BackFromNextPage() const
void OpenDBConnection() const
open a connection to the database.
QRadioButton * OpenProjectRadioButton
int AuthorIDForNewProject()
return the AuthorID corresponding to the one in the database based on the name selected by the user i...
bool GetListProject() const
update the m_ListProject and return true if the list is not empty, false if there is no existing proj...
QLabel * textChoiceProject
bool DoesProjectHaveExistingImgSession() const
get the list of the existing imaging session for the selected project and return true if the list is ...