#ifndef UI_MAIN_WINDOW_H
#define UI_MAIN_WINDOW_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QLCDNumber>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QListWidget>
#include <QtGui/QMainWindow>
#include <QtGui/QProgressBar>
#include <QtGui/QPushButton>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QStackedWidget>
#include <QtGui/QTableWidget>
#include <QtGui/QTextBrowser>
#include <QtGui/QToolButton>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
class Ui_MainWindow
{
public:
QWidget *centralwidget;
QStackedWidget *mainStackedWidget;
QWidget *mainPage;
QWidget *mainGridLayout;
QGridLayout *gridLayout;
QVBoxLayout *vboxLayout;
QRadioButton *rbtnNetwork;
QHBoxLayout *hboxLayout;
QLabel *label_7;
QLineEdit *serverNameLineEdit;
QSpacerItem *spacerItem;
QLabel *label_8;
QLineEdit *serverPortLineEdit;
QToolButton *tbtnConnect;
QRadioButton *rbtnFromFile;
QLabel *label;
QHBoxLayout *hboxLayout1;
QLineEdit *DBPathLineEdit;
QToolButton *tbtnBrowse_DBPath;
QToolButton *tbtnLoad;
QFrame *line_2;
QLabel *label_2;
QLabel *label_9;
QCheckBox *useDefaultOutputCheckBox;
QHBoxLayout *hboxLayout2;
QLineEdit *savePathLineEdit;
QToolButton *tbtnBrowse_savePath;
QFrame *line;
QLabel *label_3;
QTableWidget *infoTableWidget;
QFrame *line_3;
QHBoxLayout *hboxLayout3;
QToolButton *tbtnQuit;
QToolButton *tbtnAbout;
QSpacerItem *spacerItem1;
QToolButton *tbtnGetReady;
QWidget *startPage;
QWidget *startGridLayout;
QGridLayout *gridLayout1;
QSpacerItem *spacerItem2;
QSpacerItem *spacerItem3;
QSpacerItem *spacerItem4;
QSpacerItem *spacerItem5;
QSpacerItem *spacerItem6;
QSpacerItem *spacerItem7;
QSpacerItem *spacerItem8;
QSpacerItem *spacerItem9;
QFrame *welcomeFrame;
QWidget *welcomeVerticalLayout;
QVBoxLayout *vboxLayout1;
QHBoxLayout *hboxLayout4;
QSpacerItem *spacerItem10;
QLabel *label_4;
QSpacerItem *spacerItem11;
QSpacerItem *spacerItem12;
QHBoxLayout *hboxLayout5;
QSpacerItem *spacerItem13;
QLabel *label_6;
QSpacerItem *spacerItem14;
QHBoxLayout *hboxLayout6;
QSpacerItem *spacerItem15;
QLineEdit *nameLineEdit;
QSpacerItem *spacerItem16;
QHBoxLayout *hboxLayout7;
QSpacerItem *spacerItem17;
QLabel *label_5;
QSpacerItem *spacerItem18;
QSpacerItem *spacerItem19;
QHBoxLayout *hboxLayout8;
QSpacerItem *spacerItem20;
QToolButton *tbtnStart;
QSpacerItem *spacerItem21;
QWidget *testPage;
QWidget *testGridLayout;
QGridLayout *gridLayout2;
QHBoxLayout *hboxLayout9;
QRadioButton *rbtnAnswerB;
QTextBrowser *answerB_textBrowser;
QHBoxLayout *hboxLayout10;
QCheckBox *showRemainingTimeCheckBox;
QLCDNumber *remainingTimeLcdNumber;
QLabel *label_minutes;
QSpacerItem *spacerItem22;
QProgressBar *remainingTimeProgressBar;
QSpacerItem *spacerItem23;
QPushButton *btnLast;
QPushButton *btnNext;
QPushButton *btnFinish;
QVBoxLayout *vboxLayout2;
QListWidget *LQListWidget;
QProgressBar *progressBar;
QHBoxLayout *hboxLayout11;
QRadioButton *rbtnAnswerC;
QTextBrowser *answerC_textBrowser;
QTextBrowser *questionTextBrowser;
QHBoxLayout *hboxLayout12;
QRadioButton *rbtnAnswerA;
QTextBrowser *answerA_textBrowser;
QHBoxLayout *hboxLayout13;
QRadioButton *rbtnAnswerD;
QTextBrowser *answerD_textBrowser;
QWidget *resultsPage;
QWidget *resultsGridLayout;
QGridLayout *gridLayout3;
QHBoxLayout *hboxLayout14;
QSpacerItem *spacerItem24;
QPushButton *btnQuit;
QTableWidget *resultsTableWidget;
QLabel *label_13;
QHBoxLayout *hboxLayout15;
QLabel *label_11;
QLabel *scoreLabel;
QHBoxLayout *hboxLayout16;
QLabel *label_12;
QLabel *nameLabel;
void setupUi(QMainWindow *MainWindow)
{
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
MainWindow->setWindowIcon(QIcon(QString::fromUtf8(":/images/images/itestwri.png")));
centralwidget = new QWidget(MainWindow);
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
mainStackedWidget = new QStackedWidget(centralwidget);
mainStackedWidget->setObjectName(QString::fromUtf8("mainStackedWidget"));
mainStackedWidget->setGeometry(QRect(0, 0, 801, 611));
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(4), static_cast<QSizePolicy::Policy>(4));
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(mainStackedWidget->sizePolicy().hasHeightForWidth());
mainStackedWidget->setSizePolicy(sizePolicy);
mainPage = new QWidget();
mainPage->setObjectName(QString::fromUtf8("mainPage"));
mainGridLayout = new QWidget(mainPage);
mainGridLayout->setObjectName(QString::fromUtf8("mainGridLayout"));
mainGridLayout->setGeometry(QRect(0, 0, 801, 601));
gridLayout = new QGridLayout(mainGridLayout);
gridLayout->setSpacing(6);
gridLayout->setMargin(0);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
vboxLayout = new QVBoxLayout();
vboxLayout->setSpacing(6);
vboxLayout->setMargin(10);
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
rbtnNetwork = new QRadioButton(mainGridLayout);
rbtnNetwork->setObjectName(QString::fromUtf8("rbtnNetwork"));
rbtnNetwork->setChecked(true);
vboxLayout->addWidget(rbtnNetwork);
hboxLayout = new QHBoxLayout();
hboxLayout->setSpacing(6);
hboxLayout->setMargin(0);
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
label_7 = new QLabel(mainGridLayout);
label_7->setObjectName(QString::fromUtf8("label_7"));
hboxLayout->addWidget(label_7);
serverNameLineEdit = new QLineEdit(mainGridLayout);
serverNameLineEdit->setObjectName(QString::fromUtf8("serverNameLineEdit"));
serverNameLineEdit->setMinimumSize(QSize(0, 22));
serverNameLineEdit->setMaximumSize(QSize(16777215, 22));
hboxLayout->addWidget(serverNameLineEdit);
spacerItem = new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
hboxLayout->addItem(spacerItem);
label_8 = new QLabel(mainGridLayout);
label_8->setObjectName(QString::fromUtf8("label_8"));
hboxLayout->addWidget(label_8);
serverPortLineEdit = new QLineEdit(mainGridLayout);
serverPortLineEdit->setObjectName(QString::fromUtf8("serverPortLineEdit"));
serverPortLineEdit->setMinimumSize(QSize(0, 22));
serverPortLineEdit->setMaximumSize(QSize(16777215, 22));
hboxLayout->addWidget(serverPortLineEdit);
tbtnConnect = new QToolButton(mainGridLayout);
tbtnConnect->setObjectName(QString::fromUtf8("tbtnConnect"));
tbtnConnect->setEnabled(false);
tbtnConnect->setIcon(QIcon(QString::fromUtf8(":/images/images/connect.png")));
tbtnConnect->setIconSize(QSize(22, 22));
tbtnConnect->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
hboxLayout->addWidget(tbtnConnect);
vboxLayout->addLayout(hboxLayout);
rbtnFromFile = new QRadioButton(mainGridLayout);
rbtnFromFile->setObjectName(QString::fromUtf8("rbtnFromFile"));
vboxLayout->addWidget(rbtnFromFile);
label = new QLabel(mainGridLayout);
label->setObjectName(QString::fromUtf8("label"));
vboxLayout->addWidget(label);
hboxLayout1 = new QHBoxLayout();
hboxLayout1->setSpacing(6);
hboxLayout1->setMargin(0);
hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
DBPathLineEdit = new QLineEdit(mainGridLayout);
DBPathLineEdit->setObjectName(QString::fromUtf8("DBPathLineEdit"));
DBPathLineEdit->setEnabled(false);
DBPathLineEdit->setMinimumSize(QSize(0, 22));
DBPathLineEdit->setMaximumSize(QSize(16777215, 22));
hboxLayout1->addWidget(DBPathLineEdit);
tbtnBrowse_DBPath = new QToolButton(mainGridLayout);
tbtnBrowse_DBPath->setObjectName(QString::fromUtf8("tbtnBrowse_DBPath"));
tbtnBrowse_DBPath->setEnabled(false);
tbtnBrowse_DBPath->setIcon(QIcon(QString::fromUtf8(":/images/images/folder_red.png")));
tbtnBrowse_DBPath->setIconSize(QSize(22, 22));
tbtnBrowse_DBPath->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
hboxLayout1->addWidget(tbtnBrowse_DBPath);
tbtnLoad = new QToolButton(mainGridLayout);
tbtnLoad->setObjectName(QString::fromUtf8("tbtnLoad"));
tbtnLoad->setEnabled(false);
tbtnLoad->setIcon(QIcon(QString::fromUtf8(":/images/images/reload.png")));
tbtnLoad->setIconSize(QSize(22, 22));
tbtnLoad->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
hboxLayout1->addWidget(tbtnLoad);
vboxLayout->addLayout(hboxLayout1);
line_2 = new QFrame(mainGridLayout);
line_2->setObjectName(QString::fromUtf8("line_2"));
line_2->setFrameShape(QFrame::HLine);
line_2->setFrameShadow(QFrame::Sunken);
vboxLayout->addWidget(line_2);
label_2 = new QLabel(mainGridLayout);
label_2->setObjectName(QString::fromUtf8("label_2"));
vboxLayout->addWidget(label_2);
label_9 = new QLabel(mainGridLayout);
label_9->setObjectName(QString::fromUtf8("label_9"));
vboxLayout->addWidget(label_9);
useDefaultOutputCheckBox = new QCheckBox(mainGridLayout);
useDefaultOutputCheckBox->setObjectName(QString::fromUtf8("useDefaultOutputCheckBox"));
useDefaultOutputCheckBox->setChecked(true);
vboxLayout->addWidget(useDefaultOutputCheckBox);
hboxLayout2 = new QHBoxLayout();
hboxLayout2->setSpacing(6);
hboxLayout2->setMargin(0);
hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
savePathLineEdit = new QLineEdit(mainGridLayout);
savePathLineEdit->setObjectName(QString::fromUtf8("savePathLineEdit"));
savePathLineEdit->setEnabled(false);
savePathLineEdit->setMinimumSize(QSize(0, 22));
savePathLineEdit->setMaximumSize(QSize(16777215, 22));
hboxLayout2->addWidget(savePathLineEdit);
tbtnBrowse_savePath = new QToolButton(mainGridLayout);
tbtnBrowse_savePath->setObjectName(QString::fromUtf8("tbtnBrowse_savePath"));
tbtnBrowse_savePath->setEnabled(false);
tbtnBrowse_savePath->setIcon(QIcon(QString::fromUtf8(":/images/images/folder_red.png")));
tbtnBrowse_savePath->setIconSize(QSize(22, 22));
tbtnBrowse_savePath->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
hboxLayout2->addWidget(tbtnBrowse_savePath);
vboxLayout->addLayout(hboxLayout2);
line = new QFrame(mainGridLayout);
line->setObjectName(QString::fromUtf8("line"));
line->setFrameShape(QFrame::HLine);
line->setFrameShadow(QFrame::Sunken);
vboxLayout->addWidget(line);
label_3 = new QLabel(mainGridLayout);
label_3->setObjectName(QString::fromUtf8("label_3"));
vboxLayout->addWidget(label_3);
infoTableWidget = new QTableWidget(mainGridLayout);
infoTableWidget->setObjectName(QString::fromUtf8("infoTableWidget"));
infoTableWidget->setEnabled(false);
vboxLayout->addWidget(infoTableWidget);
line_3 = new QFrame(mainGridLayout);
line_3->setObjectName(QString::fromUtf8("line_3"));
line_3->setFrameShape(QFrame::HLine);
line_3->setFrameShadow(QFrame::Sunken);
vboxLayout->addWidget(line_3);
hboxLayout3 = new QHBoxLayout();
hboxLayout3->setSpacing(6);
hboxLayout3->setMargin(0);
hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
tbtnQuit = new QToolButton(mainGridLayout);
tbtnQuit->setObjectName(QString::fromUtf8("tbtnQuit"));
tbtnQuit->setIcon(QIcon(QString::fromUtf8(":/images/images/quit.png")));
tbtnQuit->setIconSize(QSize(22, 22));
tbtnQuit->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
hboxLayout3->addWidget(tbtnQuit);
tbtnAbout = new QToolButton(mainGridLayout);
tbtnAbout->setObjectName(QString::fromUtf8("tbtnAbout"));
tbtnAbout->setIcon(QIcon(QString::fromUtf8(":/images/images/contents.png")));
tbtnAbout->setIconSize(QSize(22, 22));
tbtnAbout->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
hboxLayout3->addWidget(tbtnAbout);
spacerItem1 = new QSpacerItem(701, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout3->addItem(spacerItem1);
tbtnGetReady = new QToolButton(mainGridLayout);
tbtnGetReady->setObjectName(QString::fromUtf8("tbtnGetReady"));
tbtnGetReady->setEnabled(false);
tbtnGetReady->setIcon(QIcon(QString::fromUtf8(":/images/images/button_ok.png")));
tbtnGetReady->setIconSize(QSize(22, 22));
tbtnGetReady->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
hboxLayout3->addWidget(tbtnGetReady);
vboxLayout->addLayout(hboxLayout3);
gridLayout->addLayout(vboxLayout, 0, 0, 1, 1);
mainStackedWidget->addWidget(mainPage);
startPage = new QWidget();
startPage->setObjectName(QString::fromUtf8("startPage"));
startGridLayout = new QWidget(startPage);
startGridLayout->setObjectName(QString::fromUtf8("startGridLayout"));
startGridLayout->setGeometry(QRect(30, 30, 741, 551));
gridLayout1 = new QGridLayout(startGridLayout);
gridLayout1->setSpacing(6);
gridLayout1->setMargin(0);
gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
spacerItem2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
gridLayout1->addItem(spacerItem2, 0, 2, 1, 1);
spacerItem3 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
gridLayout1->addItem(spacerItem3, 0, 1, 1, 1);
spacerItem4 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
gridLayout1->addItem(spacerItem4, 2, 1, 1, 1);
spacerItem5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
gridLayout1->addItem(spacerItem5, 2, 2, 1, 1);
spacerItem6 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
gridLayout1->addItem(spacerItem6, 2, 0, 1, 1);
spacerItem7 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
gridLayout1->addItem(spacerItem7, 0, 0, 1, 1);
spacerItem8 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
gridLayout1->addItem(spacerItem8, 1, 0, 1, 1);
spacerItem9 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
gridLayout1->addItem(spacerItem9, 1, 2, 1, 1);
welcomeFrame = new QFrame(startGridLayout);
welcomeFrame->setObjectName(QString::fromUtf8("welcomeFrame"));
welcomeFrame->setMinimumSize(QSize(471, 204));
welcomeFrame->setMaximumSize(QSize(471, 204));
welcomeFrame->setFrameShape(QFrame::StyledPanel);
welcomeFrame->setFrameShadow(QFrame::Raised);
welcomeVerticalLayout = new QWidget(welcomeFrame);
welcomeVerticalLayout->setObjectName(QString::fromUtf8("welcomeVerticalLayout"));
welcomeVerticalLayout->setGeometry(QRect(0, 0, 471, 203));
vboxLayout1 = new QVBoxLayout(welcomeVerticalLayout);
vboxLayout1->setSpacing(6);
vboxLayout1->setMargin(10);
vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
hboxLayout4 = new QHBoxLayout();
hboxLayout4->setSpacing(6);
hboxLayout4->setMargin(0);
hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
spacerItem10 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout4->addItem(spacerItem10);
label_4 = new QLabel(welcomeVerticalLayout);
label_4->setObjectName(QString::fromUtf8("label_4"));
hboxLayout4->addWidget(label_4);
spacerItem11 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout4->addItem(spacerItem11);
vboxLayout1->addLayout(hboxLayout4);
spacerItem12 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
vboxLayout1->addItem(spacerItem12);
hboxLayout5 = new QHBoxLayout();
hboxLayout5->setSpacing(6);
hboxLayout5->setMargin(0);
hboxLayout5->setObjectName(QString::fromUtf8("hboxLayout5"));
spacerItem13 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout5->addItem(spacerItem13);
label_6 = new QLabel(welcomeVerticalLayout);
label_6->setObjectName(QString::fromUtf8("label_6"));
hboxLayout5->addWidget(label_6);
spacerItem14 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout5->addItem(spacerItem14);
vboxLayout1->addLayout(hboxLayout5);
hboxLayout6 = new QHBoxLayout();
hboxLayout6->setSpacing(6);
hboxLayout6->setMargin(0);
hboxLayout6->setObjectName(QString::fromUtf8("hboxLayout6"));
spacerItem15 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout6->addItem(spacerItem15);
nameLineEdit = new QLineEdit(welcomeVerticalLayout);
nameLineEdit->setObjectName(QString::fromUtf8("nameLineEdit"));
nameLineEdit->setMinimumSize(QSize(151, 0));
hboxLayout6->addWidget(nameLineEdit);
spacerItem16 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout6->addItem(spacerItem16);
vboxLayout1->addLayout(hboxLayout6);
hboxLayout7 = new QHBoxLayout();
hboxLayout7->setSpacing(6);
hboxLayout7->setMargin(0);
hboxLayout7->setObjectName(QString::fromUtf8("hboxLayout7"));
spacerItem17 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout7->addItem(spacerItem17);
label_5 = new QLabel(welcomeVerticalLayout);
label_5->setObjectName(QString::fromUtf8("label_5"));
hboxLayout7->addWidget(label_5);
spacerItem18 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout7->addItem(spacerItem18);
vboxLayout1->addLayout(hboxLayout7);
spacerItem19 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
vboxLayout1->addItem(spacerItem19);
hboxLayout8 = new QHBoxLayout();
hboxLayout8->setSpacing(6);
hboxLayout8->setMargin(0);
hboxLayout8->setObjectName(QString::fromUtf8("hboxLayout8"));
spacerItem20 = new QSpacerItem(97, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout8->addItem(spacerItem20);
tbtnStart = new QToolButton(welcomeVerticalLayout);
tbtnStart->setObjectName(QString::fromUtf8("tbtnStart"));
tbtnStart->setMinimumSize(QSize(100, 0));
tbtnStart->setIcon(QIcon(QString::fromUtf8(":/images/images/player_play.png")));
tbtnStart->setIconSize(QSize(32, 32));
tbtnStart->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
hboxLayout8->addWidget(tbtnStart);
spacerItem21 = new QSpacerItem(97, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout8->addItem(spacerItem21);
vboxLayout1->addLayout(hboxLayout8);
gridLayout1->addWidget(welcomeFrame, 1, 1, 1, 1);
mainStackedWidget->addWidget(startPage);
testPage = new QWidget();
testPage->setObjectName(QString::fromUtf8("testPage"));
testGridLayout = new QWidget(testPage);
testGridLayout->setObjectName(QString::fromUtf8("testGridLayout"));
testGridLayout->setGeometry(QRect(0, 10, 884, 509));
gridLayout2 = new QGridLayout(testGridLayout);
gridLayout2->setSpacing(6);
gridLayout2->setMargin(10);
gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
hboxLayout9 = new QHBoxLayout();
hboxLayout9->setSpacing(6);
hboxLayout9->setMargin(0);
hboxLayout9->setObjectName(QString::fromUtf8("hboxLayout9"));
rbtnAnswerB = new QRadioButton(testGridLayout);
rbtnAnswerB->setObjectName(QString::fromUtf8("rbtnAnswerB"));
hboxLayout9->addWidget(rbtnAnswerB);
answerB_textBrowser = new QTextBrowser(testGridLayout);
answerB_textBrowser->setObjectName(QString::fromUtf8("answerB_textBrowser"));
answerB_textBrowser->setMaximumSize(QSize(16777215, 59));
hboxLayout9->addWidget(answerB_textBrowser);
gridLayout2->addLayout(hboxLayout9, 2, 1, 1, 1);
hboxLayout10 = new QHBoxLayout();
hboxLayout10->setSpacing(6);
hboxLayout10->setMargin(0);
hboxLayout10->setObjectName(QString::fromUtf8("hboxLayout10"));
showRemainingTimeCheckBox = new QCheckBox(testGridLayout);
showRemainingTimeCheckBox->setObjectName(QString::fromUtf8("showRemainingTimeCheckBox"));
hboxLayout10->addWidget(showRemainingTimeCheckBox);
remainingTimeLcdNumber = new QLCDNumber(testGridLayout);
remainingTimeLcdNumber->setObjectName(QString::fromUtf8("remainingTimeLcdNumber"));
remainingTimeLcdNumber->setFrameShape(QFrame::NoFrame);
remainingTimeLcdNumber->setSegmentStyle(QLCDNumber::Flat);
remainingTimeLcdNumber->setProperty("intValue", QVariant(60));
hboxLayout10->addWidget(remainingTimeLcdNumber);
label_minutes = new QLabel(testGridLayout);
label_minutes->setObjectName(QString::fromUtf8("label_minutes"));
hboxLayout10->addWidget(label_minutes);
spacerItem22 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout10->addItem(spacerItem22);
remainingTimeProgressBar = new QProgressBar(testGridLayout);
remainingTimeProgressBar->setObjectName(QString::fromUtf8("remainingTimeProgressBar"));
remainingTimeProgressBar->setMinimumSize(QSize(200, 0));
remainingTimeProgressBar->setValue(100);
remainingTimeProgressBar->setTextVisible(false);
remainingTimeProgressBar->setOrientation(Qt::Horizontal);
hboxLayout10->addWidget(remainingTimeProgressBar);
spacerItem23 = new QSpacerItem(421, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout10->addItem(spacerItem23);
btnLast = new QPushButton(testGridLayout);
btnLast->setObjectName(QString::fromUtf8("btnLast"));
btnLast->setMaximumSize(QSize(16777215, 23));
btnLast->setIcon(QIcon(QString::fromUtf8(":/images/images/back.png")));
btnLast->setIconSize(QSize(20, 20));
hboxLayout10->addWidget(btnLast);
btnNext = new QPushButton(testGridLayout);
btnNext->setObjectName(QString::fromUtf8("btnNext"));
btnNext->setMaximumSize(QSize(16777215, 23));
btnNext->setIcon(QIcon(QString::fromUtf8(":/images/images/forward.png")));
btnNext->setIconSize(QSize(20, 20));
hboxLayout10->addWidget(btnNext);
btnFinish = new QPushButton(testGridLayout);
btnFinish->setObjectName(QString::fromUtf8("btnFinish"));
btnFinish->setMaximumSize(QSize(16777215, 23));
btnFinish->setIcon(QIcon(QString::fromUtf8(":/images/images/button_ok.png")));
btnFinish->setIconSize(QSize(20, 20));
hboxLayout10->addWidget(btnFinish);
gridLayout2->addLayout(hboxLayout10, 5, 1, 1, 1);
vboxLayout2 = new QVBoxLayout();
vboxLayout2->setSpacing(6);
vboxLayout2->setMargin(0);
vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
LQListWidget = new QListWidget(testGridLayout);
LQListWidget->setObjectName(QString::fromUtf8("LQListWidget"));
QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(7));
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(LQListWidget->sizePolicy().hasHeightForWidth());
LQListWidget->setSizePolicy(sizePolicy1);
LQListWidget->setMaximumSize(QSize(111, 16777215));
vboxLayout2->addWidget(LQListWidget);
progressBar = new QProgressBar(testGridLayout);
progressBar->setObjectName(QString::fromUtf8("progressBar"));
progressBar->setMaximumSize(QSize(111, 16777215));
progressBar->setValue(0);
progressBar->setAlignment(Qt::AlignHCenter);
progressBar->setOrientation(Qt::Horizontal);
vboxLayout2->addWidget(progressBar);
gridLayout2->addLayout(vboxLayout2, 0, 0, 6, 1);
hboxLayout11 = new QHBoxLayout();
hboxLayout11->setSpacing(6);
hboxLayout11->setMargin(0);
hboxLayout11->setObjectName(QString::fromUtf8("hboxLayout11"));
rbtnAnswerC = new QRadioButton(testGridLayout);
rbtnAnswerC->setObjectName(QString::fromUtf8("rbtnAnswerC"));
hboxLayout11->addWidget(rbtnAnswerC);
answerC_textBrowser = new QTextBrowser(testGridLayout);
answerC_textBrowser->setObjectName(QString::fromUtf8("answerC_textBrowser"));
answerC_textBrowser->setMaximumSize(QSize(16777215, 59));
hboxLayout11->addWidget(answerC_textBrowser);
gridLayout2->addLayout(hboxLayout11, 3, 1, 1, 1);
questionTextBrowser = new QTextBrowser(testGridLayout);
questionTextBrowser->setObjectName(QString::fromUtf8("questionTextBrowser"));
gridLayout2->addWidget(questionTextBrowser, 0, 1, 1, 1);
hboxLayout12 = new QHBoxLayout();
hboxLayout12->setSpacing(6);
hboxLayout12->setMargin(0);
hboxLayout12->setObjectName(QString::fromUtf8("hboxLayout12"));
rbtnAnswerA = new QRadioButton(testGridLayout);
rbtnAnswerA->setObjectName(QString::fromUtf8("rbtnAnswerA"));
hboxLayout12->addWidget(rbtnAnswerA);
answerA_textBrowser = new QTextBrowser(testGridLayout);
answerA_textBrowser->setObjectName(QString::fromUtf8("answerA_textBrowser"));
answerA_textBrowser->setMaximumSize(QSize(16777215, 59));
hboxLayout12->addWidget(answerA_textBrowser);
gridLayout2->addLayout(hboxLayout12, 1, 1, 1, 1);
hboxLayout13 = new QHBoxLayout();
hboxLayout13->setSpacing(6);
hboxLayout13->setMargin(0);
hboxLayout13->setObjectName(QString::fromUtf8("hboxLayout13"));
rbtnAnswerD = new QRadioButton(testGridLayout);
rbtnAnswerD->setObjectName(QString::fromUtf8("rbtnAnswerD"));
hboxLayout13->addWidget(rbtnAnswerD);
answerD_textBrowser = new QTextBrowser(testGridLayout);
answerD_textBrowser->setObjectName(QString::fromUtf8("answerD_textBrowser"));
answerD_textBrowser->setMaximumSize(QSize(16777215, 59));
hboxLayout13->addWidget(answerD_textBrowser);
gridLayout2->addLayout(hboxLayout13, 4, 1, 1, 1);
mainStackedWidget->addWidget(testPage);
resultsPage = new QWidget();
resultsPage->setObjectName(QString::fromUtf8("resultsPage"));
resultsGridLayout = new QWidget(resultsPage);
resultsGridLayout->setObjectName(QString::fromUtf8("resultsGridLayout"));
resultsGridLayout->setGeometry(QRect(40, 30, 651, 461));
gridLayout3 = new QGridLayout(resultsGridLayout);
gridLayout3->setSpacing(6);
gridLayout3->setMargin(10);
gridLayout3->setObjectName(QString::fromUtf8("gridLayout3"));
hboxLayout14 = new QHBoxLayout();
hboxLayout14->setSpacing(6);
hboxLayout14->setMargin(0);
hboxLayout14->setObjectName(QString::fromUtf8("hboxLayout14"));
spacerItem24 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout14->addItem(spacerItem24);
btnQuit = new QPushButton(resultsGridLayout);
btnQuit->setObjectName(QString::fromUtf8("btnQuit"));
btnQuit->setIcon(QIcon(QString::fromUtf8(":/images/images/quit.png")));
btnQuit->setIconSize(QSize(20, 20));
hboxLayout14->addWidget(btnQuit);
gridLayout3->addLayout(hboxLayout14, 4, 0, 1, 1);
resultsTableWidget = new QTableWidget(resultsGridLayout);
resultsTableWidget->setObjectName(QString::fromUtf8("resultsTableWidget"));
gridLayout3->addWidget(resultsTableWidget, 3, 0, 1, 1);
label_13 = new QLabel(resultsGridLayout);
label_13->setObjectName(QString::fromUtf8("label_13"));
gridLayout3->addWidget(label_13, 2, 0, 1, 1);
hboxLayout15 = new QHBoxLayout();
hboxLayout15->setSpacing(6);
hboxLayout15->setMargin(0);
hboxLayout15->setObjectName(QString::fromUtf8("hboxLayout15"));
label_11 = new QLabel(resultsGridLayout);
label_11->setObjectName(QString::fromUtf8("label_11"));
hboxLayout15->addWidget(label_11);
scoreLabel = new QLabel(resultsGridLayout);
scoreLabel->setObjectName(QString::fromUtf8("scoreLabel"));
hboxLayout15->addWidget(scoreLabel);
gridLayout3->addLayout(hboxLayout15, 1, 0, 1, 1);
hboxLayout16 = new QHBoxLayout();
hboxLayout16->setSpacing(6);
hboxLayout16->setMargin(0);
hboxLayout16->setObjectName(QString::fromUtf8("hboxLayout16"));
label_12 = new QLabel(resultsGridLayout);
label_12->setObjectName(QString::fromUtf8("label_12"));
hboxLayout16->addWidget(label_12);
nameLabel = new QLabel(resultsGridLayout);
nameLabel->setObjectName(QString::fromUtf8("nameLabel"));
hboxLayout16->addWidget(nameLabel);
gridLayout3->addLayout(hboxLayout16, 0, 0, 1, 1);
mainStackedWidget->addWidget(resultsPage);
MainWindow->setCentralWidget(centralwidget);
retranslateUi(MainWindow);
QSize size(809, 613);
size = size.expandedTo(MainWindow->minimumSizeHint());
MainWindow->resize(size);
QObject::connect(nameLineEdit, SIGNAL(returnPressed()), tbtnStart, SLOT(click()));
QObject::connect(serverNameLineEdit, SIGNAL(returnPressed()), serverPortLineEdit, SLOT(selectAll()));
QObject::connect(serverNameLineEdit, SIGNAL(returnPressed()), serverPortLineEdit, SLOT(setFocus()));
QObject::connect(serverPortLineEdit, SIGNAL(returnPressed()), tbtnConnect, SLOT(click()));
QObject::connect(showRemainingTimeCheckBox, SIGNAL(toggled(bool)), remainingTimeLcdNumber, SLOT(setVisible(bool)));
QObject::connect(showRemainingTimeCheckBox, SIGNAL(toggled(bool)), remainingTimeProgressBar, SLOT(setVisible(bool)));
QObject::connect(showRemainingTimeCheckBox, SIGNAL(toggled(bool)), label_minutes, SLOT(setVisible(bool)));
QObject::connect(nameLineEdit, SIGNAL(textEdited(QString)), nameLabel, SLOT(setText(QString)));
mainStackedWidget->setCurrentIndex(0);
QMetaObject::connectSlotsByName(MainWindow);
} void retranslateUi(QMainWindow *MainWindow)
{
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "iTest - Test Writer", 0, QApplication::UnicodeUTF8));
rbtnNetwork->setText(QApplication::translate("MainWindow", "Connect to an iTest server", 0, QApplication::UnicodeUTF8));
label_7->setText(QApplication::translate("MainWindow", "<b>Server name</b>", 0, QApplication::UnicodeUTF8));
label_8->setText(QApplication::translate("MainWindow", "<b>Server port</b>", 0, QApplication::UnicodeUTF8));
tbtnConnect->setText(QApplication::translate("MainWindow", "Connect", 0, QApplication::UnicodeUTF8));
rbtnFromFile->setText(QApplication::translate("MainWindow", "Use an iTest database file", 0, QApplication::UnicodeUTF8));
label->setText(QApplication::translate("MainWindow", "<b>Database file path</b>", 0, QApplication::UnicodeUTF8));
tbtnBrowse_DBPath->setText(QApplication::translate("MainWindow", "Browse", 0, QApplication::UnicodeUTF8));
tbtnLoad->setText(QApplication::translate("MainWindow", "Load", 0, QApplication::UnicodeUTF8));
label_2->setText(QApplication::translate("MainWindow", "<b>Save answers to</b>", 0, QApplication::UnicodeUTF8));
label_9->setText(QApplication::translate("MainWindow", "If connected to an iTest server, results will be sent automatically. You only need this file if there is no network available or in case of connection breakdown.", 0, QApplication::UnicodeUTF8));
useDefaultOutputCheckBox->setToolTip(QApplication::translate("MainWindow", "$HOME/TestName-Date-SurnameName.itcl, where $HOME is the directory of the current user's profile on Windows and the home directory on Unix/Linux/Mac OS", 0, QApplication::UnicodeUTF8));
useDefaultOutputCheckBox->setText(QApplication::translate("MainWindow", "Use default", 0, QApplication::UnicodeUTF8));
tbtnBrowse_savePath->setText(QApplication::translate("MainWindow", "Browse", 0, QApplication::UnicodeUTF8));
label_3->setText(QApplication::translate("MainWindow", "<b>Test information</b>", 0, QApplication::UnicodeUTF8));
if (infoTableWidget->columnCount() < 1)
infoTableWidget->setColumnCount(1);
QTableWidgetItem *__colItem = new QTableWidgetItem();
__colItem->setText(QApplication::translate("MainWindow", "Data", 0, QApplication::UnicodeUTF8));
infoTableWidget->setHorizontalHeaderItem(0, __colItem);
if (infoTableWidget->rowCount() < 8)
infoTableWidget->setRowCount(8);
QTableWidgetItem *__rowItem = new QTableWidgetItem();
__rowItem->setText(QApplication::translate("MainWindow", "Test name", 0, QApplication::UnicodeUTF8));
infoTableWidget->setVerticalHeaderItem(0, __rowItem);
QTableWidgetItem *__rowItem1 = new QTableWidgetItem();
__rowItem1->setText(QApplication::translate("MainWindow", "Database date", 0, QApplication::UnicodeUTF8));
infoTableWidget->setVerticalHeaderItem(1, __rowItem1);
QTableWidgetItem *__rowItem2 = new QTableWidgetItem();
__rowItem2->setText(QApplication::translate("MainWindow", "Test date", 0, QApplication::UnicodeUTF8));
infoTableWidget->setVerticalHeaderItem(2, __rowItem2);
QTableWidgetItem *__rowItem3 = new QTableWidgetItem();
__rowItem3->setText(QApplication::translate("MainWindow", "Test time", 0, QApplication::UnicodeUTF8));
infoTableWidget->setVerticalHeaderItem(3, __rowItem3);
QTableWidgetItem *__rowItem4 = new QTableWidgetItem();
__rowItem4->setText(QApplication::translate("MainWindow", "Number of questions", 0, QApplication::UnicodeUTF8));
infoTableWidget->setVerticalHeaderItem(4, __rowItem4);
QTableWidgetItem *__rowItem5 = new QTableWidgetItem();
__rowItem5->setText(QApplication::translate("MainWindow", "Number of flags", 0, QApplication::UnicodeUTF8));
infoTableWidget->setVerticalHeaderItem(5, __rowItem5);
QTableWidgetItem *__rowItem6 = new QTableWidgetItem();
__rowItem6->setText(QApplication::translate("MainWindow", "Flag names", 0, QApplication::UnicodeUTF8));
infoTableWidget->setVerticalHeaderItem(6, __rowItem6);
QTableWidgetItem *__rowItem7 = new QTableWidgetItem();
__rowItem7->setText(QApplication::translate("MainWindow", "Comments", 0, QApplication::UnicodeUTF8));
infoTableWidget->setVerticalHeaderItem(7, __rowItem7);
tbtnQuit->setText(QApplication::translate("MainWindow", "Quit", 0, QApplication::UnicodeUTF8));
tbtnAbout->setText(QApplication::translate("MainWindow", "About", 0, QApplication::UnicodeUTF8));
tbtnGetReady->setText(QApplication::translate("MainWindow", "Ready", 0, QApplication::UnicodeUTF8));
label_4->setText(QApplication::translate("MainWindow", "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:20pt;\">Welcome!</span></p></body></html>", 0, QApplication::UnicodeUTF8));
label_6->setText(QApplication::translate("MainWindow", "Your name:", 0, QApplication::UnicodeUTF8));
label_5->setText(QApplication::translate("MainWindow", "When you are ready to begin the examination, click the Start button below.", 0, QApplication::UnicodeUTF8));
tbtnStart->setText(QApplication::translate("MainWindow", "Start", 0, QApplication::UnicodeUTF8));
rbtnAnswerB->setText(QApplication::translate("MainWindow", "b)", 0, QApplication::UnicodeUTF8));
showRemainingTimeCheckBox->setText(QApplication::translate("MainWindow", "Show remaining time", 0, QApplication::UnicodeUTF8));
label_minutes->setText(QApplication::translate("MainWindow", "minute(s)", 0, QApplication::UnicodeUTF8));
btnLast->setText(QApplication::translate("MainWindow", "Last question", 0, QApplication::UnicodeUTF8));
btnNext->setText(QApplication::translate("MainWindow", "Next question", 0, QApplication::UnicodeUTF8));
btnFinish->setText(QApplication::translate("MainWindow", "Finish", 0, QApplication::UnicodeUTF8));
rbtnAnswerC->setText(QApplication::translate("MainWindow", "c)", 0, QApplication::UnicodeUTF8));
rbtnAnswerA->setText(QApplication::translate("MainWindow", "a)", 0, QApplication::UnicodeUTF8));
rbtnAnswerD->setText(QApplication::translate("MainWindow", "d)", 0, QApplication::UnicodeUTF8));
btnQuit->setText(QApplication::translate("MainWindow", "Quit", 0, QApplication::UnicodeUTF8));
if (resultsTableWidget->columnCount() < 4)
resultsTableWidget->setColumnCount(4);
QTableWidgetItem *__colItem1 = new QTableWidgetItem();
__colItem1->setText(QApplication::translate("MainWindow", "Question", 0, QApplication::UnicodeUTF8));
resultsTableWidget->setHorizontalHeaderItem(0, __colItem1);
QTableWidgetItem *__colItem2 = new QTableWidgetItem();
__colItem2->setText(QApplication::translate("MainWindow", "Answered correctly", 0, QApplication::UnicodeUTF8));
resultsTableWidget->setHorizontalHeaderItem(1, __colItem2);
QTableWidgetItem *__colItem3 = new QTableWidgetItem();
__colItem3->setText(QApplication::translate("MainWindow", "Answer", 0, QApplication::UnicodeUTF8));
resultsTableWidget->setHorizontalHeaderItem(2, __colItem3);
QTableWidgetItem *__colItem4 = new QTableWidgetItem();
__colItem4->setText(QApplication::translate("MainWindow", "Correct answer", 0, QApplication::UnicodeUTF8));
resultsTableWidget->setHorizontalHeaderItem(3, __colItem4);
label_13->setText(QApplication::translate("MainWindow", "<b>Results:</b>", 0, QApplication::UnicodeUTF8));
label_11->setText(QApplication::translate("MainWindow", "<b>Score:</b>", 0, QApplication::UnicodeUTF8));
label_12->setText(QApplication::translate("MainWindow", "<b>Name:</b>", 0, QApplication::UnicodeUTF8));
nameLabel->setText(QString());
Q_UNUSED(MainWindow);
} };
namespace Ui {
class MainWindow: public Ui_MainWindow {};
} #endif