00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_MAINWINDOW_H
00011 #define UI_MAINWINDOW_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QGridLayout>
00018 #include <QtGui/QHeaderView>
00019 #include <QtGui/QLabel>
00020 #include <QtGui/QMainWindow>
00021 #include <QtGui/QPushButton>
00022 #include <QtGui/QRadioButton>
00023 #include <QtGui/QStackedWidget>
00024 #include <QtGui/QWidget>
00025
00026 QT_BEGIN_NAMESPACE
00027
00028 class Ui_MainWindow
00029 {
00030 public:
00031 QWidget *centralWidget;
00032 QGridLayout *gridLayout_2;
00033 QStackedWidget *stackedWidget;
00034 QWidget *LogView;
00035 QWidget *ChartView;
00036 QGridLayout *gridLayout;
00037 QPushButton *record_button;
00038 QPushButton *log_button;
00039 QPushButton *chart_button;
00040 QPushButton *stats_button;
00041 QPushButton *refresh_button;
00042 QPushButton *replay_button;
00043 QPushButton *simulate_button;
00044 QRadioButton *net_radio;
00045 QRadioButton *sim_radio;
00046 QLabel *mode_label;
00047
00048 void setupUi(QMainWindow *MainWindow)
00049 {
00050 if (MainWindow->objectName().isEmpty())
00051 MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
00052 MainWindow->resize(582, 329);
00053 centralWidget = new QWidget(MainWindow);
00054 centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
00055 gridLayout_2 = new QGridLayout(centralWidget);
00056 gridLayout_2->setSpacing(6);
00057 gridLayout_2->setContentsMargins(11, 11, 11, 11);
00058 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
00059 stackedWidget = new QStackedWidget(centralWidget);
00060 stackedWidget->setObjectName(QString::fromUtf8("stackedWidget"));
00061 LogView = new QWidget();
00062 LogView->setObjectName(QString::fromUtf8("LogView"));
00063 stackedWidget->addWidget(LogView);
00064 ChartView = new QWidget();
00065 ChartView->setObjectName(QString::fromUtf8("ChartView"));
00066 stackedWidget->addWidget(ChartView);
00067
00068 gridLayout_2->addWidget(stackedWidget, 0, 0, 1, 1);
00069
00070 gridLayout = new QGridLayout();
00071 gridLayout->setSpacing(6);
00072 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00073 record_button = new QPushButton(centralWidget);
00074 record_button->setObjectName(QString::fromUtf8("record_button"));
00075
00076 gridLayout->addWidget(record_button, 0, 0, 1, 1);
00077
00078 log_button = new QPushButton(centralWidget);
00079 log_button->setObjectName(QString::fromUtf8("log_button"));
00080 log_button->setLayoutDirection(Qt::LeftToRight);
00081 log_button->setAutoFillBackground(false);
00082 QIcon icon;
00083 icon.addFile(QString::fromUtf8("Pics/switch.png"), QSize(), QIcon::Normal, QIcon::Off);
00084 log_button->setIcon(icon);
00085 log_button->setIconSize(QSize(35, 35));
00086 log_button->setCheckable(false);
00087
00088 gridLayout->addWidget(log_button, 1, 0, 1, 1);
00089
00090 chart_button = new QPushButton(centralWidget);
00091 chart_button->setObjectName(QString::fromUtf8("chart_button"));
00092 chart_button->setLayoutDirection(Qt::LeftToRight);
00093 chart_button->setAutoFillBackground(false);
00094 chart_button->setIconSize(QSize(35, 35));
00095 chart_button->setCheckable(false);
00096
00097 gridLayout->addWidget(chart_button, 3, 0, 1, 1);
00098
00099 stats_button = new QPushButton(centralWidget);
00100 stats_button->setObjectName(QString::fromUtf8("stats_button"));
00101 stats_button->setLayoutDirection(Qt::LeftToRight);
00102 stats_button->setAutoFillBackground(false);
00103 stats_button->setIconSize(QSize(35, 35));
00104 stats_button->setCheckable(false);
00105
00106 gridLayout->addWidget(stats_button, 4, 0, 1, 1);
00107
00108 refresh_button = new QPushButton(centralWidget);
00109 refresh_button->setObjectName(QString::fromUtf8("refresh_button"));
00110
00111 gridLayout->addWidget(refresh_button, 5, 0, 1, 1);
00112
00113 replay_button = new QPushButton(centralWidget);
00114 replay_button->setObjectName(QString::fromUtf8("replay_button"));
00115
00116 gridLayout->addWidget(replay_button, 2, 0, 1, 1);
00117
00118 simulate_button = new QPushButton(centralWidget);
00119 simulate_button->setObjectName(QString::fromUtf8("simulate_button"));
00120
00121 gridLayout->addWidget(simulate_button, 6, 0, 1, 1);
00122
00123 net_radio = new QRadioButton(centralWidget);
00124 net_radio->setObjectName(QString::fromUtf8("net_radio"));
00125 net_radio->setMaximumSize(QSize(99, 24));
00126 net_radio->setChecked(true);
00127
00128 gridLayout->addWidget(net_radio, 8, 0, 1, 1);
00129
00130 sim_radio = new QRadioButton(centralWidget);
00131 sim_radio->setObjectName(QString::fromUtf8("sim_radio"));
00132 sim_radio->setMaximumSize(QSize(99, 24));
00133 sim_radio->setCheckable(false);
00134
00135 gridLayout->addWidget(sim_radio, 9, 0, 1, 1);
00136
00137 mode_label = new QLabel(centralWidget);
00138 mode_label->setObjectName(QString::fromUtf8("mode_label"));
00139 mode_label->setMaximumSize(QSize(99, 24));
00140 mode_label->setAlignment(Qt::AlignCenter);
00141
00142 gridLayout->addWidget(mode_label, 7, 0, 1, 1);
00143
00144
00145 gridLayout_2->addLayout(gridLayout, 0, 1, 1, 1);
00146
00147 MainWindow->setCentralWidget(centralWidget);
00148
00149 retranslateUi(MainWindow);
00150
00151 stackedWidget->setCurrentIndex(1);
00152
00153
00154 QMetaObject::connectSlotsByName(MainWindow);
00155 }
00156
00157 void retranslateUi(QMainWindow *MainWindow)
00158 {
00159 MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8));
00160 record_button->setText(QApplication::translate("MainWindow", "Record", 0, QApplication::UnicodeUTF8));
00161 log_button->setText(QApplication::translate("MainWindow", "log", 0, QApplication::UnicodeUTF8));
00162 log_button->setShortcut(QString());
00163 chart_button->setText(QApplication::translate("MainWindow", "chart", 0, QApplication::UnicodeUTF8));
00164 chart_button->setShortcut(QString());
00165 stats_button->setText(QApplication::translate("MainWindow", "stats", 0, QApplication::UnicodeUTF8));
00166 stats_button->setShortcut(QString());
00167 refresh_button->setText(QApplication::translate("MainWindow", "Refresh", 0, QApplication::UnicodeUTF8));
00168 replay_button->setText(QApplication::translate("MainWindow", "Replay", 0, QApplication::UnicodeUTF8));
00169 simulate_button->setText(QApplication::translate("MainWindow", "sim", 0, QApplication::UnicodeUTF8));
00170 net_radio->setText(QApplication::translate("MainWindow", "Network", 0, QApplication::UnicodeUTF8));
00171 sim_radio->setText(QApplication::translate("MainWindow", "Simulate", 0, QApplication::UnicodeUTF8));
00172 mode_label->setText(QApplication::translate("MainWindow", "Mode", 0, QApplication::UnicodeUTF8));
00173 }
00174
00175 };
00176
00177 namespace Ui {
00178 class MainWindow: public Ui_MainWindow {};
00179 }
00180
00181 QT_END_NAMESPACE
00182
00183 #endif // UI_MAINWINDOW_H