/******************************************************************************** ** Form generated from reading UI file 'qmdialoguploadlegtimes.ui' ** ** Created: Tue 2. Sep 23:18:41 2014 ** by: Qt User Interface Compiler version 4.6.3 ** ** Now maintained manually ********************************************************************************/ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include QT_BEGIN_NAMESPACE class Ui_QmDialogUploadLegTimes { public: QGroupBox *groupBox; QRadioButton *legStart; QRadioButton *legEnd; QSpinBox *legNumber; QPushButton *update; QPushButton *cancel; QGroupBox *groupBox_2; QTableWidget *tableWidget; QLabel *status; QGroupBox *groupBox_4; QCheckBox *hideOk; QTimeEdit *deltaTime; QLabel *label; QPushButton *load; QPushButton *fromClip; QPushButton *fromEvent; QPushButton *clear; QGroupBox *groupBox_3; QLineEdit *maxDeltaTime; void setupUi(QDialog *QmDialogUploadLegTimes) { QmDialogUploadLegTimes->resize(519, 568); QmDialogUploadLegTimes->setWindowTitle("Upload Leg Times"); /* ** Layout for the dialog */ QVBoxLayout *verticalLayout; verticalLayout = new QVBoxLayout(QmDialogUploadLegTimes); verticalLayout->setContentsMargins(0, 0, 0, 0); /* ** Group box for the Main Table */ QVBoxLayout *verticalLayout2; verticalLayout2 = new QVBoxLayout(); verticalLayout2->setContentsMargins(5, 5, 5, 5); groupBox_2 = new QGroupBox("Leg Data"); groupBox_2->setLayout(verticalLayout2); verticalLayout->addWidget(groupBox_2); tableWidget = new QTableWidget(groupBox_2); if (tableWidget->columnCount() < 4) tableWidget->setColumnCount(4); tableWidget->setObjectName(QString::fromUtf8("tableWidget")); tableWidget->setGeometry(QRect(15, 21, 471, 431)); tableWidget->setDragEnabled(false); tableWidget->setDragDropOverwriteMode(false); tableWidget->setDragDropMode(QAbstractItemView::NoDragDrop); tableWidget->setDefaultDropAction(Qt::CopyAction); tableWidget->setAlternatingRowColors(true); tableWidget->setSelectionMode(QAbstractItemView::SingleSelection); tableWidget->setSortingEnabled(false); tableWidget->setCornerButtonEnabled(false); tableWidget->setColumnCount(4); tableWidget->verticalHeader()->setDefaultSectionSize(20); tableWidget->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding); verticalLayout2->addWidget(tableWidget); /* ** Group Box for the Max Time Delta */ QHBoxLayout *horizontalLayout = new QHBoxLayout(); verticalLayout->addLayout(horizontalLayout); groupBox_4 = new QGroupBox("Max Time Delta"); horizontalLayout->addWidget(groupBox_4); QHBoxLayout *horizontalLayout1 = new QHBoxLayout(); horizontalLayout1->setContentsMargins(5, 5, 5, 5); groupBox_4->setLayout(horizontalLayout1); hideOk = new QCheckBox(groupBox_4); hideOk->setText("Hide OK"); horizontalLayout1->addWidget(hideOk); deltaTime = new QTimeEdit(groupBox_4); deltaTime->setObjectName(QString::fromUtf8("DeltaTime")); deltaTime->setEnabled(true); deltaTime->setDisplayFormat("hh:mm:ss"); horizontalLayout1->addWidget(deltaTime); label = new QLabel(groupBox_4); label->setText("Delta"); horizontalLayout1->addWidget(label); /* ** Group Box for the Max Delta */ QHBoxLayout *horizontalLayout30 = new QHBoxLayout(); horizontalLayout->addLayout(horizontalLayout30); groupBox_3 = new QGroupBox("Max Delta"); horizontalLayout30->addWidget(groupBox_3); QHBoxLayout *horizontalLayout31 = new QHBoxLayout(); horizontalLayout31->setContentsMargins(5, 5, 5, 5); groupBox_3->setLayout(horizontalLayout31); maxDeltaTime = new QLineEdit(groupBox_3); maxDeltaTime->setInputMask(QString::fromUtf8("")); maxDeltaTime->setMaxLength(10); maxDeltaTime->setReadOnly(true); maxDeltaTime->setSizePolicy(QSizePolicy::Fixed,QSizePolicy::Fixed); horizontalLayout31->addWidget(maxDeltaTime); QSpacerItem *horizontalSpacer1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout->addItem(horizontalSpacer1); /* ** Group box for the Leg controls */ QHBoxLayout *horizontalLayout00 = new QHBoxLayout(); verticalLayout->addLayout(horizontalLayout00); groupBox = new QGroupBox("Leg Selector and Update Event"); horizontalLayout00->addWidget(groupBox); QHBoxLayout *horizontalLayout01 = new QHBoxLayout(); horizontalLayout01->setContentsMargins(5, 5, 5, 5); groupBox->setLayout(horizontalLayout01); legStart = new QRadioButton(groupBox); legStart->setText("Start"); horizontalLayout01->addWidget(legStart); legEnd = new QRadioButton(groupBox); legEnd->setChecked(true); legEnd->setText("End"); horizontalLayout01->addWidget(legEnd); legNumber = new QSpinBox(groupBox); horizontalLayout01->addWidget(legNumber); update = new QPushButton(groupBox); update->setText("Update"); horizontalLayout01->addWidget(update); /* ** Load and Cancel Button */ QVBoxLayout *vlayout1 = new QVBoxLayout(); horizontalLayout00->addLayout(vlayout1); QHBoxLayout *horizontalLayout40 = new QHBoxLayout(); vlayout1->addLayout(horizontalLayout40); load = new QPushButton(QmDialogUploadLegTimes); load->setText("Select File"); horizontalLayout40->addWidget(load); fromClip = new QPushButton(QmDialogUploadLegTimes); fromClip->setText("From Clipboard"); horizontalLayout40->addWidget(fromClip); fromEvent = new QPushButton(QmDialogUploadLegTimes); fromEvent->setText("From Event"); horizontalLayout40->addWidget(fromEvent); QHBoxLayout *horizontalLayout41 = new QHBoxLayout(); vlayout1->addLayout(horizontalLayout41); QSpacerItem *horizontalSpacer40 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout41->addItem(horizontalSpacer40); clear = new QPushButton(QmDialogUploadLegTimes); clear->setText("Clear"); horizontalLayout41->addWidget(clear); cancel = new QPushButton(QmDialogUploadLegTimes); cancel->setText("Cancel"); horizontalLayout41->addWidget(cancel); horizontalLayout00->addItem (new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum)); /* ** Status region on the bottom of the widget */ status = new QLabel(); verticalLayout->addWidget(status); QMetaObject::connectSlotsByName(QmDialogUploadLegTimes); } // setupUi }; namespace Ui { class QmDialogUploadLegTimes: public Ui_QmDialogUploadLegTimes {}; } // namespace Ui QT_END_NAMESPACE