34 #ifndef __QGoCreateImgSessionPage_h
35 #define __QGoCreateImgSessionPage_h
37 #include <QWizardPage>
41 #include <QRadioButton>
43 #include <QStringList>
44 #include <QPushButton>
52 #include "vtkMySQLDatabase.h"
57 #include "QGoGUILibConfigure.h"
76 std::string GetMegaCaptureHeaderFilename();
85 int CreateImgSession(vtkMySQLDatabase *DatabaseConnector);
90 void ImportImages(vtkMySQLDatabase *DatabaseConnector);
93 typedef GoFigureFileInfoHelperMultiIndexContainer::iterator
99 int CreateImageCoordMin(vtkMySQLDatabase *DatabaseConnector,
104 int FindChannelIDForImage(vtkMySQLDatabase *DatabaseConnector,
105 int ImagingSessionID,
109 GoDBImageRow CreateImage(vtkMySQLDatabase *DatabaseConnector,
114 void CreateChannels(vtkMySQLDatabase *DatabaseConnector,
int ImagingSessionID);
119 void CreateImgSessionCoord(vtkMySQLDatabase *DatabaseConnector,
int ImagingSessionID);
121 void OpenDBConnection();
123 bool SaveInfoInDatabase();
127 bool ImportInfoFromMegacapture(
QString newfilename);
151 void AddMicroscopes();
153 void UpdateListMicroscopes();
GoDBCoordinateRow m_ImgSessionCoordMax
in the QTextEdit class, there is no method to have a restriction on the number of characters the user...
virtual bool validatePage()
QTextEditChild * lineDescription
unsigned int m_XTileCoordMin
QLineEdit * lineImgSessionID
GoDBCoordinateRow m_ImgSessionCoordMin
QPushButton * AddMicroscopeButton
QPushButton * BrowseButton
QLineEdit * lineImgSessionName
manages a map with keys matching fields of the gofiguredatabase Coordinate table and values of the ma...
QLabel * textNewImgSessionName
GoFigureFileInfoHelperMultiIndexContainer::iterator MultiIndexContainerIteratorType
QLabel * textChoiceMicroscope
QComboBox * ChoiceMicroscope
QLineEdit * lineNewImgSessionName
unsigned int m_ZTileCoordMax
virtual void cleanupPage()
unsigned int m_XTileCoordMax
manages a map with keys matching fields of the gofiguredatabase Image table and values of the map mat...
unsigned int m_YTileCoordMax
MegaCaptureHeaderReader m_HeaderFileInfo
itk::MegaCaptureImport::Pointer m_importFileInfoList
unsigned int m_ZTileCoordMin
unsigned int m_YTileCoordMin
virtual void initializePage()
vtkMySQLDatabase * m_DatabaseConnector
SmartPointer< Self > Pointer