#include "ui_main_window.h"

    void Ui_MainWindow::setupUi(QMainWindow *MainWindow)
    {
    if (MainWindow->objectName().isEmpty())
        MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
    QSize size(809, 613);
    size = size.expandedTo(MainWindow->minimumSizeHint());
    MainWindow->resize(size);
    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(QSizePolicy::Maximum, QSizePolicy::Maximum);
    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->setObjectName(QString::fromUtf8("gridLayout"));
    gridLayout->setHorizontalSpacing(6);
    gridLayout->setVerticalSpacing(6);
    gridLayout->setContentsMargins(0, 0, 0, 0);
    vboxLayout = new QVBoxLayout();
    vboxLayout->setSpacing(6);
    vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
    vboxLayout->setContentsMargins(10, 10, 10, 10);
    rbtnNetwork = new QRadioButton(mainGridLayout);
    rbtnNetwork->setObjectName(QString::fromUtf8("rbtnNetwork"));
    rbtnNetwork->setChecked(true);

    vboxLayout->addWidget(rbtnNetwork);

    hboxLayout = new QHBoxLayout();
    hboxLayout->setSpacing(6);
    hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
    hboxLayout->setContentsMargins(0, 0, 0, 0);
    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->setObjectName(QString::fromUtf8("hboxLayout1"));
    hboxLayout1->setContentsMargins(0, 0, 0, 0);
    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->setObjectName(QString::fromUtf8("hboxLayout2"));
    hboxLayout2->setContentsMargins(0, 0, 0, 0);
    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_10 = new QLabel(mainGridLayout);
    label_10->setObjectName(QString::fromUtf8("label_10"));

    vboxLayout->addWidget(label_10);

    hideQuestionNamesCheckBox = new QCheckBox(mainGridLayout);
    hideQuestionNamesCheckBox->setObjectName(QString::fromUtf8("hideQuestionNamesCheckBox"));

    vboxLayout->addWidget(hideQuestionNamesCheckBox);

    line_4 = new QFrame(mainGridLayout);
    line_4->setObjectName(QString::fromUtf8("line_4"));
    line_4->setFrameShape(QFrame::HLine);
    line_4->setFrameShadow(QFrame::Sunken);

    vboxLayout->addWidget(line_4);

    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->setObjectName(QString::fromUtf8("hboxLayout3"));
    hboxLayout3->setContentsMargins(0, 0, 0, 0);
    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->setObjectName(QString::fromUtf8("gridLayout1"));
    gridLayout1->setHorizontalSpacing(6);
    gridLayout1->setVerticalSpacing(6);
    gridLayout1->setContentsMargins(0, 0, 0, 0);
    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(501, 204));
    welcomeFrame->setMaximumSize(QSize(501, 204));
    welcomeFrame->setFrameShape(QFrame::StyledPanel);
    welcomeFrame->setFrameShadow(QFrame::Raised);
    welcomeVerticalLayout = new QWidget(welcomeFrame);
    welcomeVerticalLayout->setObjectName(QString::fromUtf8("welcomeVerticalLayout"));
    welcomeVerticalLayout->setGeometry(QRect(0, 0, 501, 203));
    vboxLayout1 = new QVBoxLayout(welcomeVerticalLayout);
    vboxLayout1->setSpacing(6);
    vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
    vboxLayout1->setContentsMargins(10, 10, 10, 10);
    hboxLayout4 = new QHBoxLayout();
    hboxLayout4->setSpacing(6);
    hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
    hboxLayout4->setContentsMargins(0, 0, 0, 0);
    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->setObjectName(QString::fromUtf8("hboxLayout5"));
    hboxLayout5->setContentsMargins(0, 0, 0, 0);
    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->setObjectName(QString::fromUtf8("hboxLayout6"));
    hboxLayout6->setContentsMargins(0, 0, 0, 0);
    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->setObjectName(QString::fromUtf8("hboxLayout7"));
    hboxLayout7->setContentsMargins(0, 0, 0, 0);
    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->setObjectName(QString::fromUtf8("hboxLayout8"));
    hboxLayout8->setContentsMargins(0, 0, 0, 0);
    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(21, 20, 941, 561));
    gridLayout2 = new QGridLayout(testGridLayout);
    gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
    gridLayout2->setHorizontalSpacing(6);
    gridLayout2->setVerticalSpacing(6);
    gridLayout2->setContentsMargins(10, 10, 10, 10);
    vboxLayout2 = new QVBoxLayout();
    vboxLayout2->setSpacing(6);
    vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
    vboxLayout2->setContentsMargins(0, 0, 0, 0);
    LQListWidget = new QListWidget(testGridLayout);
    LQListWidget->setObjectName(QString::fromUtf8("LQListWidget"));
    QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Expanding);
    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"));
    QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Fixed);
    sizePolicy2.setHorizontalStretch(0);
    sizePolicy2.setVerticalStretch(0);
    sizePolicy2.setHeightForWidth(progressBar->sizePolicy().hasHeightForWidth());
    progressBar->setSizePolicy(sizePolicy2);
    progressBar->setMaximumSize(QSize(111, 16777215));
    progressBar->setValue(0);
    progressBar->setAlignment(Qt::AlignHCenter);
    progressBar->setOrientation(Qt::Horizontal);

    vboxLayout2->addWidget(progressBar);


    gridLayout2->addLayout(vboxLayout2, 0, 0, 1, 1);

    vboxLayout3 = new QVBoxLayout();
    vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
    questionTextBrowser = new QTextBrowser(testGridLayout);
    questionTextBrowser->setObjectName(QString::fromUtf8("questionTextBrowser"));

    vboxLayout3->addWidget(questionTextBrowser);

    hboxLayout9 = new QHBoxLayout();
    hboxLayout9->setSpacing(6);
    hboxLayout9->setObjectName(QString::fromUtf8("hboxLayout9"));
    hboxLayout9->setContentsMargins(0, 0, 0, 0);
    rbtnAnswerA = new QRadioButton(testGridLayout);
    rbtnAnswerA->setObjectName(QString::fromUtf8("rbtnAnswerA"));

    hboxLayout9->addWidget(rbtnAnswerA);

    answerA_textBrowser = new QTextBrowser(testGridLayout);
    answerA_textBrowser->setObjectName(QString::fromUtf8("answerA_textBrowser"));
    QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Fixed);
    sizePolicy3.setHorizontalStretch(0);
    sizePolicy3.setVerticalStretch(0);
    sizePolicy3.setHeightForWidth(answerA_textBrowser->sizePolicy().hasHeightForWidth());
    answerA_textBrowser->setSizePolicy(sizePolicy3);
    answerA_textBrowser->setMaximumSize(QSize(16777215, 59));

    hboxLayout9->addWidget(answerA_textBrowser);


    vboxLayout3->addLayout(hboxLayout9);

    hboxLayout10 = new QHBoxLayout();
    hboxLayout10->setSpacing(6);
    hboxLayout10->setObjectName(QString::fromUtf8("hboxLayout10"));
    hboxLayout10->setContentsMargins(0, 0, 0, 0);
    rbtnAnswerB = new QRadioButton(testGridLayout);
    rbtnAnswerB->setObjectName(QString::fromUtf8("rbtnAnswerB"));

    hboxLayout10->addWidget(rbtnAnswerB);

    answerB_textBrowser = new QTextBrowser(testGridLayout);
    answerB_textBrowser->setObjectName(QString::fromUtf8("answerB_textBrowser"));
    sizePolicy3.setHeightForWidth(answerB_textBrowser->sizePolicy().hasHeightForWidth());
    answerB_textBrowser->setSizePolicy(sizePolicy3);
    answerB_textBrowser->setMaximumSize(QSize(16777215, 59));

    hboxLayout10->addWidget(answerB_textBrowser);


    vboxLayout3->addLayout(hboxLayout10);

    hboxLayout11 = new QHBoxLayout();
    hboxLayout11->setSpacing(6);
    hboxLayout11->setObjectName(QString::fromUtf8("hboxLayout11"));
    hboxLayout11->setContentsMargins(0, 0, 0, 0);
    rbtnAnswerC = new QRadioButton(testGridLayout);
    rbtnAnswerC->setObjectName(QString::fromUtf8("rbtnAnswerC"));

    hboxLayout11->addWidget(rbtnAnswerC);

    answerC_textBrowser = new QTextBrowser(testGridLayout);
    answerC_textBrowser->setObjectName(QString::fromUtf8("answerC_textBrowser"));
    sizePolicy3.setHeightForWidth(answerC_textBrowser->sizePolicy().hasHeightForWidth());
    answerC_textBrowser->setSizePolicy(sizePolicy3);
    answerC_textBrowser->setMaximumSize(QSize(16777215, 59));

    hboxLayout11->addWidget(answerC_textBrowser);


    vboxLayout3->addLayout(hboxLayout11);

    hboxLayout12 = new QHBoxLayout();
    hboxLayout12->setSpacing(6);
    hboxLayout12->setObjectName(QString::fromUtf8("hboxLayout12"));
    hboxLayout12->setContentsMargins(0, 0, 0, 0);
    rbtnAnswerD = new QRadioButton(testGridLayout);
    rbtnAnswerD->setObjectName(QString::fromUtf8("rbtnAnswerD"));

    hboxLayout12->addWidget(rbtnAnswerD);

    answerD_textBrowser = new QTextBrowser(testGridLayout);
    answerD_textBrowser->setObjectName(QString::fromUtf8("answerD_textBrowser"));
    sizePolicy3.setHeightForWidth(answerD_textBrowser->sizePolicy().hasHeightForWidth());
    answerD_textBrowser->setSizePolicy(sizePolicy3);
    answerD_textBrowser->setMaximumSize(QSize(16777215, 59));

    hboxLayout12->addWidget(answerD_textBrowser);


    vboxLayout3->addLayout(hboxLayout12);

    hboxLayout13 = new QHBoxLayout();
    hboxLayout13->setObjectName(QString::fromUtf8("hboxLayout13"));
    showRemainingTimeCheckBox = new QCheckBox(testGridLayout);
    showRemainingTimeCheckBox->setObjectName(QString::fromUtf8("showRemainingTimeCheckBox"));

    hboxLayout13->addWidget(showRemainingTimeCheckBox);

    remainingTimeLcdNumber = new QLCDNumber(testGridLayout);
    remainingTimeLcdNumber->setObjectName(QString::fromUtf8("remainingTimeLcdNumber"));
    remainingTimeLcdNumber->setFrameShape(QFrame::NoFrame);
    remainingTimeLcdNumber->setSegmentStyle(QLCDNumber::Flat);
    remainingTimeLcdNumber->setProperty("intValue", QVariant(60));

    hboxLayout13->addWidget(remainingTimeLcdNumber);

    label_minutes = new QLabel(testGridLayout);
    label_minutes->setObjectName(QString::fromUtf8("label_minutes"));

    hboxLayout13->addWidget(label_minutes);

    remainingTimeProgressBar = new QProgressBar(testGridLayout);
    remainingTimeProgressBar->setObjectName(QString::fromUtf8("remainingTimeProgressBar"));
    remainingTimeProgressBar->setMinimumSize(QSize(200, 0));
    remainingTimeProgressBar->setValue(100);
    remainingTimeProgressBar->setTextVisible(false);
    remainingTimeProgressBar->setOrientation(Qt::Horizontal);

    hboxLayout13->addWidget(remainingTimeProgressBar);

    spacerItem22 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

    hboxLayout13->addItem(spacerItem22);

    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));

    hboxLayout13->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));

    hboxLayout13->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));

    hboxLayout13->addWidget(btnFinish);


    vboxLayout3->addLayout(hboxLayout13);


    gridLayout2->addLayout(vboxLayout3, 0, 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->setObjectName(QString::fromUtf8("gridLayout3"));
    gridLayout3->setHorizontalSpacing(6);
    gridLayout3->setVerticalSpacing(6);
    gridLayout3->setContentsMargins(10, 10, 10, 10);
    hboxLayout14 = new QHBoxLayout();
    hboxLayout14->setSpacing(6);
    hboxLayout14->setObjectName(QString::fromUtf8("hboxLayout14"));
    hboxLayout14->setContentsMargins(0, 0, 0, 0);
    btnNewTest = new QPushButton(resultsGridLayout);
    btnNewTest->setObjectName(QString::fromUtf8("btnNewTest"));
    btnNewTest->setIcon(QIcon(QString::fromUtf8(":/images/images/reload.png")));
    btnNewTest->setIconSize(QSize(20, 20));

    hboxLayout14->addWidget(btnNewTest);

    spacerItem23 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

    hboxLayout14->addItem(spacerItem23);

    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->setObjectName(QString::fromUtf8("hboxLayout15"));
    hboxLayout15->setContentsMargins(0, 0, 0, 0);
    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->setObjectName(QString::fromUtf8("hboxLayout16"));
    hboxLayout16->setContentsMargins(0, 0, 0, 0);
    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);
    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(nameLineEdit, SIGNAL(textEdited(QString)), nameLabel, SLOT(setText(QString)));
    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)));

    mainStackedWidget->setCurrentIndex(0);


    QMetaObject::connectSlotsByName(MainWindow);
    } // setupUi

    void Ui_MainWindow::retranslateUi(QMainWindow *MainWindow)
    {
    MainWindow->setWindowTitle(QApplication::translate("MainWindow", "iTestClient", 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_10->setText(QApplication::translate("MainWindow", "<b>Other settings</b>", 0, QApplication::UnicodeUTF8));
    hideQuestionNamesCheckBox->setText(QApplication::translate("MainWindow", "Hide question names, show numbers instead", 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() < 9)
        infoTableWidget->setRowCount(9);

    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", "Pass mark", 0, QApplication::UnicodeUTF8));
    infoTableWidget->setVerticalHeaderItem(7, __rowItem7);

    QTableWidgetItem *__rowItem8 = new QTableWidgetItem();
    __rowItem8->setText(QApplication::translate("MainWindow", "Comments", 0, QApplication::UnicodeUTF8));
    infoTableWidget->setVerticalHeaderItem(8, __rowItem8);
    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));
    rbtnAnswerA->setText(QApplication::translate("MainWindow", "a)", 0, QApplication::UnicodeUTF8));
    rbtnAnswerB->setText(QApplication::translate("MainWindow", "b)", 0, QApplication::UnicodeUTF8));
    rbtnAnswerC->setText(QApplication::translate("MainWindow", "c)", 0, QApplication::UnicodeUTF8));
    rbtnAnswerD->setText(QApplication::translate("MainWindow", "d)", 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));
    btnNewTest->setText(QApplication::translate("MainWindow", "New test", 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);
    } // retranslateUi