00001 #ifndef UI_MAINWINDOW_H
00002 #define UI_MAINWINDOW_H
00003
00004 #include <QtCore/QVariant>
00005 #include <QtGui/QAction>
00006 #include <QtGui/QApplication>
00007 #include <QtGui/QButtonGroup>
00008 #include <QtGui/QFrame>
00009 #include <QtGui/QGroupBox>
00010 #include <QtGui/QMainWindow>
00011 #include <QtGui/QMenu>
00012 #include <QtGui/QMenuBar>
00013 #include <QtGui/QPushButton>
00014 #include <QtGui/QRadioButton>
00015 #include <QtGui/QStatusBar>
00016 #include <QtGui/QToolBox>
00017 #include <QtGui/QWidget>
00018
00019 class Ui_MainWindow
00020 {
00021 public:
00022 QAction *m_actionOpen;
00023 QAction *m_actionSave;
00024 QAction *m_actionSaveAs;
00025 QAction *m_actionQuit;
00026 QAction *m_actionZoomNormal;
00027 QAction *m_actionZoomIn;
00028 QAction *m_actionZoomOut;
00029 QAction *m_actionZoomFit;
00030 QWidget *centralwidget;
00031 QToolBox *m_toolBox;
00032 QWidget *m_snakeTools;
00033 QPushButton *m_initEllipseButton;
00034 QPushButton *m_snakeButton;
00035 QGroupBox *m_iterationBox;
00036 QRadioButton *m_iterationOn;
00037 QRadioButton *m_iterationOff;
00038 QRadioButton *m_iterationStep;
00039 QPushButton *m_demoButton;
00040 QWidget *m_preprocessingTools;
00041 QFrame *m_imageFrame;
00042 QMenuBar *menubar;
00043 QMenu *m_menuFile;
00044 QMenu *menu_View;
00045 QStatusBar *statusbar;
00046
00047 void setupUi(QMainWindow *MainWindow)
00048 {
00049 MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
00050 MainWindow->resize(QSize(800, 600).expandedTo(MainWindow->minimumSizeHint()));
00051 m_actionOpen = new QAction(MainWindow);
00052 m_actionOpen->setObjectName(QString::fromUtf8("m_actionOpen"));
00053 m_actionSave = new QAction(MainWindow);
00054 m_actionSave->setObjectName(QString::fromUtf8("m_actionSave"));
00055 m_actionSaveAs = new QAction(MainWindow);
00056 m_actionSaveAs->setObjectName(QString::fromUtf8("m_actionSaveAs"));
00057 m_actionQuit = new QAction(MainWindow);
00058 m_actionQuit->setObjectName(QString::fromUtf8("m_actionQuit"));
00059 m_actionZoomNormal = new QAction(MainWindow);
00060 m_actionZoomNormal->setObjectName(QString::fromUtf8("m_actionZoomNormal"));
00061 m_actionZoomIn = new QAction(MainWindow);
00062 m_actionZoomIn->setObjectName(QString::fromUtf8("m_actionZoomIn"));
00063 m_actionZoomOut = new QAction(MainWindow);
00064 m_actionZoomOut->setObjectName(QString::fromUtf8("m_actionZoomOut"));
00065 m_actionZoomFit = new QAction(MainWindow);
00066 m_actionZoomFit->setObjectName(QString::fromUtf8("m_actionZoomFit"));
00067 centralwidget = new QWidget(MainWindow);
00068 centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
00069 m_toolBox = new QToolBox(centralwidget);
00070 m_toolBox->setObjectName(QString::fromUtf8("m_toolBox"));
00071 m_toolBox->setGeometry(QRect(540, 40, 171, 341));
00072 m_snakeTools = new QWidget();
00073 m_snakeTools->setObjectName(QString::fromUtf8("m_snakeTools"));
00074 m_snakeTools->setGeometry(QRect(0, 0, 171, 285));
00075 m_initEllipseButton = new QPushButton(m_snakeTools);
00076 m_initEllipseButton->setObjectName(QString::fromUtf8("m_initEllipseButton"));
00077 m_initEllipseButton->setGeometry(QRect(40, 10, 100, 25));
00078 m_snakeButton = new QPushButton(m_snakeTools);
00079 m_snakeButton->setObjectName(QString::fromUtf8("m_snakeButton"));
00080 m_snakeButton->setGeometry(QRect(40, 40, 100, 25));
00081 m_iterationBox = new QGroupBox(m_snakeTools);
00082 m_iterationBox->setObjectName(QString::fromUtf8("m_iterationBox"));
00083 m_iterationBox->setGeometry(QRect(30, 80, 120, 131));
00084 m_iterationBox->setFlat(false);
00085 m_iterationBox->setCheckable(false);
00086 m_iterationOn = new QRadioButton(m_iterationBox);
00087 m_iterationOn->setObjectName(QString::fromUtf8("m_iterationOn"));
00088 m_iterationOn->setGeometry(QRect(20, 30, 81, 19));
00089 m_iterationOff = new QRadioButton(m_iterationBox);
00090 m_iterationOff->setObjectName(QString::fromUtf8("m_iterationOff"));
00091 m_iterationOff->setGeometry(QRect(20, 60, 81, 19));
00092 m_iterationStep = new QRadioButton(m_iterationBox);
00093 m_iterationStep->setObjectName(QString::fromUtf8("m_iterationStep"));
00094 m_iterationStep->setGeometry(QRect(20, 90, 81, 19));
00095 m_demoButton = new QPushButton(m_snakeTools);
00096 m_demoButton->setObjectName(QString::fromUtf8("m_demoButton"));
00097 m_demoButton->setGeometry(QRect(40, 230, 100, 25));
00098 m_toolBox->addItem(m_snakeTools, QApplication::translate("MainWindow", "Snake", 0, QApplication::UnicodeUTF8));
00099 m_preprocessingTools = new QWidget();
00100 m_preprocessingTools->setObjectName(QString::fromUtf8("m_preprocessingTools"));
00101 m_preprocessingTools->setGeometry(QRect(0, 0, 97, 27));
00102 m_toolBox->addItem(m_preprocessingTools, QApplication::translate("MainWindow", "Preprocessing", 0, QApplication::UnicodeUTF8));
00103 m_imageFrame = new QFrame(centralwidget);
00104 m_imageFrame->setObjectName(QString::fromUtf8("m_imageFrame"));
00105 m_imageFrame->setGeometry(QRect(0, 0, 512, 512));
00106 m_imageFrame->setFrameShape(QFrame::StyledPanel);
00107 m_imageFrame->setFrameShadow(QFrame::Raised);
00108 MainWindow->setCentralWidget(centralwidget);
00109 menubar = new QMenuBar(MainWindow);
00110 menubar->setObjectName(QString::fromUtf8("menubar"));
00111 menubar->setGeometry(QRect(0, 0, 800, 19));
00112 m_menuFile = new QMenu(menubar);
00113 m_menuFile->setObjectName(QString::fromUtf8("m_menuFile"));
00114 menu_View = new QMenu(menubar);
00115 menu_View->setObjectName(QString::fromUtf8("menu_View"));
00116 MainWindow->setMenuBar(menubar);
00117 statusbar = new QStatusBar(MainWindow);
00118 statusbar->setObjectName(QString::fromUtf8("statusbar"));
00119 MainWindow->setStatusBar(statusbar);
00120
00121 menubar->addAction(m_menuFile->menuAction());
00122 menubar->addAction(menu_View->menuAction());
00123 m_menuFile->addAction(m_actionOpen);
00124 m_menuFile->addAction(m_actionSave);
00125 m_menuFile->addAction(m_actionSaveAs);
00126 m_menuFile->addSeparator();
00127 m_menuFile->addAction(m_actionQuit);
00128 menu_View->addAction(m_actionZoomNormal);
00129 menu_View->addAction(m_actionZoomFit);
00130 menu_View->addSeparator();
00131 menu_View->addAction(m_actionZoomIn);
00132 menu_View->addAction(m_actionZoomOut);
00133 retranslateUi(MainWindow);
00134 QObject::connect(m_actionQuit, SIGNAL(triggered()), MainWindow, SLOT(close()));
00135
00136 m_toolBox->setCurrentIndex(0);
00137
00138
00139 QMetaObject::connectSlotsByName(MainWindow);
00140 }
00141
00142 void retranslateUi(QMainWindow *MainWindow)
00143 {
00144 MainWindow->setWindowTitle(QApplication::translate("MainWindow", "Snake Ballooning", 0, QApplication::UnicodeUTF8));
00145 m_actionOpen->setText(QApplication::translate("MainWindow", "&Open", 0, QApplication::UnicodeUTF8));
00146 m_actionSave->setText(QApplication::translate("MainWindow", "&Save", 0, QApplication::UnicodeUTF8));
00147 m_actionSaveAs->setText(QApplication::translate("MainWindow", "Save &as ...", 0, QApplication::UnicodeUTF8));
00148 m_actionQuit->setText(QApplication::translate("MainWindow", "&Quit", 0, QApplication::UnicodeUTF8));
00149 m_actionQuit->setShortcut(QApplication::translate("MainWindow", "Ctrl+Q", 0, QApplication::UnicodeUTF8));
00150 m_actionZoomNormal->setText(QApplication::translate("MainWindow", "Zoom &normal (100%)", 0, QApplication::UnicodeUTF8));
00151 m_actionZoomIn->setText(QApplication::translate("MainWindow", "Zoom &in", 0, QApplication::UnicodeUTF8));
00152 m_actionZoomOut->setText(QApplication::translate("MainWindow", "Zoom &out", 0, QApplication::UnicodeUTF8));
00153 m_actionZoomFit->setText(QApplication::translate("MainWindow", "Zoom &fit", 0, QApplication::UnicodeUTF8));
00154 m_initEllipseButton->setText(QApplication::translate("MainWindow", "init Snake ", 0, QApplication::UnicodeUTF8));
00155 m_snakeButton->setText(QApplication::translate("MainWindow", "&Start Snake ...", 0, QApplication::UnicodeUTF8));
00156 m_iterationBox->setTitle(QApplication::translate("MainWindow", "Iterations", 0, QApplication::UnicodeUTF8));
00157 m_iterationOn->setText(QApplication::translate("MainWindow", "on", 0, QApplication::UnicodeUTF8));
00158 m_iterationOff->setText(QApplication::translate("MainWindow", "off", 0, QApplication::UnicodeUTF8));
00159 m_iterationStep->setText(QApplication::translate("MainWindow", "stepwise", 0, QApplication::UnicodeUTF8));
00160 m_demoButton->setText(QApplication::translate("MainWindow", "&DEMO", "starts a small demo with an ellipse", QApplication::UnicodeUTF8));
00161 m_toolBox->setItemText(m_toolBox->indexOf(m_snakeTools), QApplication::translate("MainWindow", "Snake", 0, QApplication::UnicodeUTF8));
00162 m_toolBox->setItemText(m_toolBox->indexOf(m_preprocessingTools), QApplication::translate("MainWindow", "Preprocessing", 0, QApplication::UnicodeUTF8));
00163 m_menuFile->setTitle(QApplication::translate("MainWindow", "&File", 0, QApplication::UnicodeUTF8));
00164 menu_View->setTitle(QApplication::translate("MainWindow", "&View", 0, QApplication::UnicodeUTF8));
00165 }
00166
00167 };
00168
00169 namespace Ui {
00170 class MainWindow: public Ui_MainWindow {};
00171 }
00172
00173 #endif // UI_MAINWINDOW_H