39 #include <QGridLayout>
43 m_DatabaseConnector(0)
67 vlayout->
setAlignment(RadioButtonLayout, Qt::AlignHCenter);
113 std::cout <<
"Pb, there is no existing Img session" << std::endl;
114 std::cout <<
"Debug: In " << __FILE__ <<
", line " << __LINE__;
115 std::cout << std::endl;
160 std::vector< std::string > ImgSessionAttributes (2);
161 ImgSessionAttributes[0] =
"Name";
162 ImgSessionAttributes[1] =
"ImagingSessionID";
166 "ProjectName").toString().toStdString() );
215 setField(
"ImgSessionID", ImgID.c_str() );
254 std::string ImagingSessionID =
"0";
256 if ( ImgSessionName !=
"" )
263 ImagingSessionID = it->second;
270 "ImagingSessionID", ImagingSessionID);
271 if ( ListDescription.size() != 1 )
273 std::cout <<
"Pb, the imagingsession " << ImgSessionName.
toStdString().c_str()
274 <<
"has more than 1 description" << std::endl;
275 std::cout <<
"Debug: In " << __FILE__ <<
", line " << __LINE__;
276 std::cout << std::endl;
290 tr(
"Click on 'Next' if you want to import a new dataset\n or choose 'Open an imaging session':") );
305 "Select the imaging session you want to open and click on 'Finish' to load the corresponding images or choose 'Create a new imaging session':") );