37 #include "vtkSQLQuery.h"
41 #include <QFormLayout>
42 #include <QMessageBox>
44 #include <QInputDialog>
46 #include <QPushButton>
56 setSubTitle(
tr(
"Create the authors for the gofigure projects:") );
84 "AuthorID",
"author").empty() )
88 tr(
"Please create at least one author for your project.") );
114 if ( FirstNameValue.empty() || LastNameValue.empty() )
117 tr(
"Please enter at least the lastname and the firstname of your author") );
122 std::vector< FieldWithValue > Conditions;
125 Conditions.push_back(FirstName);
126 Conditions.push_back(LastName);
131 tr(
"There is already an Author with the same lastname and firstname, please enter a middlename") );
144 tr(
"This author already exists") );
151 tr(
"Your author has been successfully created") );
169 field(
"Password").toString().toStdString() );
182 std::string iUser, std::string iPassword)
187 this->
m_DBName =
"gofiguredatabase";