| 306 |
david |
1 |
/********************************************************************************
|
|
|
2 |
** Form generated from reading UI file 'qmdialoguploadlegtimes.ui'
|
|
|
3 |
**
|
|
|
4 |
** Created: Tue 2. Sep 23:18:41 2014
|
|
|
5 |
** by: Qt User Interface Compiler version 4.6.3
|
|
|
6 |
**
|
|
|
7 |
** Now maintained manually
|
|
|
8 |
********************************************************************************/
|
|
|
9 |
|
|
|
10 |
#include <QtCore/QVariant>
|
|
|
11 |
#include <QtGui/QAction>
|
|
|
12 |
#include <QtGui/QApplication>
|
|
|
13 |
#include <QtGui/QButtonGroup>
|
|
|
14 |
#include <QtGui/QCheckBox>
|
|
|
15 |
#include <QtGui/QDialog>
|
|
|
16 |
#include <QtGui/QGroupBox>
|
|
|
17 |
#include <QtGui/QHeaderView>
|
|
|
18 |
#include <QtGui/QLabel>
|
|
|
19 |
#include <QtGui/QLineEdit>
|
|
|
20 |
#include <QtGui/QPushButton>
|
|
|
21 |
#include <QtGui/QRadioButton>
|
|
|
22 |
#include <QtGui/QSpinBox>
|
|
|
23 |
#include <QtGui/QTableWidget>
|
|
|
24 |
#include <QVBoxLayout>
|
|
|
25 |
#include <QHBoxLayout>
|
|
|
26 |
|
|
|
27 |
QT_BEGIN_NAMESPACE
|
|
|
28 |
|
|
|
29 |
class Ui_QmDialogUploadLegTimes
|
|
|
30 |
{
|
|
|
31 |
public:
|
|
|
32 |
QGroupBox *groupBox;
|
|
|
33 |
QRadioButton *legStart;
|
|
|
34 |
QRadioButton *legEnd;
|
|
|
35 |
QSpinBox *legNumber;
|
|
|
36 |
QPushButton *update;
|
|
|
37 |
QPushButton *cancel;
|
|
|
38 |
QGroupBox *groupBox_2;
|
|
|
39 |
QTableWidget *tableWidget;
|
|
|
40 |
QLabel *status;
|
|
|
41 |
QGroupBox *groupBox_4;
|
|
|
42 |
QCheckBox *hideOk;
|
|
|
43 |
QSpinBox *deltaTime;
|
|
|
44 |
QLabel *label;
|
|
|
45 |
QPushButton *load;
|
|
|
46 |
QGroupBox *groupBox_3;
|
|
|
47 |
QLineEdit *maxDeltaTime;
|
|
|
48 |
|
|
|
49 |
void setupUi(QDialog *QmDialogUploadLegTimes)
|
|
|
50 |
{
|
|
|
51 |
QmDialogUploadLegTimes->resize(519, 568);
|
|
|
52 |
QmDialogUploadLegTimes->setWindowTitle("Upload Leg Times");
|
|
|
53 |
|
|
|
54 |
/*
|
|
|
55 |
** Layout for the dialog
|
|
|
56 |
*/
|
|
|
57 |
QVBoxLayout *verticalLayout;
|
|
|
58 |
verticalLayout = new QVBoxLayout(QmDialogUploadLegTimes);
|
|
|
59 |
verticalLayout->setContentsMargins(0, 0, 0, 0);
|
|
|
60 |
|
|
|
61 |
/*
|
|
|
62 |
** Group box for the Main Table
|
|
|
63 |
*/
|
|
|
64 |
QVBoxLayout *verticalLayout2;
|
|
|
65 |
verticalLayout2 = new QVBoxLayout();
|
|
|
66 |
verticalLayout2->setContentsMargins(5, 5, 5, 5);
|
|
|
67 |
|
|
|
68 |
groupBox_2 = new QGroupBox("Leg Data");
|
|
|
69 |
groupBox_2->setLayout(verticalLayout2);
|
|
|
70 |
|
|
|
71 |
verticalLayout->addWidget(groupBox_2);
|
|
|
72 |
|
|
|
73 |
tableWidget = new QTableWidget(groupBox_2);
|
|
|
74 |
if (tableWidget->columnCount() < 4)
|
|
|
75 |
tableWidget->setColumnCount(4);
|
|
|
76 |
tableWidget->setObjectName(QString::fromUtf8("tableWidget"));
|
|
|
77 |
tableWidget->setGeometry(QRect(15, 21, 471, 431));
|
|
|
78 |
tableWidget->setDragEnabled(false);
|
|
|
79 |
tableWidget->setDragDropOverwriteMode(false);
|
|
|
80 |
tableWidget->setDragDropMode(QAbstractItemView::NoDragDrop);
|
|
|
81 |
tableWidget->setDefaultDropAction(Qt::CopyAction);
|
|
|
82 |
tableWidget->setAlternatingRowColors(true);
|
|
|
83 |
tableWidget->setSelectionMode(QAbstractItemView::SingleSelection);
|
|
|
84 |
tableWidget->setSortingEnabled(false);
|
|
|
85 |
tableWidget->setCornerButtonEnabled(false);
|
|
|
86 |
tableWidget->setColumnCount(4);
|
|
|
87 |
tableWidget->verticalHeader()->setDefaultSectionSize(20);
|
|
|
88 |
tableWidget->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding);
|
|
|
89 |
verticalLayout2->addWidget(tableWidget);
|
|
|
90 |
|
|
|
91 |
/*
|
|
|
92 |
** Group Box for the Max Time Delta
|
|
|
93 |
*/
|
|
|
94 |
QHBoxLayout *horizontalLayout = new QHBoxLayout();
|
|
|
95 |
verticalLayout->addLayout(horizontalLayout);
|
|
|
96 |
|
|
|
97 |
groupBox_4 = new QGroupBox("Max Time Delta");
|
|
|
98 |
horizontalLayout->addWidget(groupBox_4);
|
|
|
99 |
|
|
|
100 |
QHBoxLayout *horizontalLayout1 = new QHBoxLayout();
|
|
|
101 |
horizontalLayout1->setContentsMargins(5, 5, 5, 5);
|
|
|
102 |
groupBox_4->setLayout(horizontalLayout1);
|
|
|
103 |
|
|
|
104 |
hideOk = new QCheckBox(groupBox_4);
|
|
|
105 |
hideOk->setText("Hide OK");
|
|
|
106 |
horizontalLayout1->addWidget(hideOk);
|
|
|
107 |
|
|
|
108 |
deltaTime = new QSpinBox(groupBox_4);
|
|
|
109 |
horizontalLayout1->addWidget(deltaTime);
|
|
|
110 |
|
|
|
111 |
label = new QLabel(groupBox_4);
|
|
|
112 |
label->setText("Delta");
|
|
|
113 |
horizontalLayout1->addWidget(label);
|
|
|
114 |
|
|
|
115 |
/*
|
|
|
116 |
** Group Box for the Max Delta
|
|
|
117 |
*/
|
|
|
118 |
QHBoxLayout *horizontalLayout30 = new QHBoxLayout();
|
|
|
119 |
horizontalLayout->addLayout(horizontalLayout30);
|
|
|
120 |
|
|
|
121 |
groupBox_3 = new QGroupBox("Max Delta");
|
|
|
122 |
horizontalLayout30->addWidget(groupBox_3);
|
|
|
123 |
|
|
|
124 |
QHBoxLayout *horizontalLayout31 = new QHBoxLayout();
|
|
|
125 |
horizontalLayout31->setContentsMargins(5, 5, 5, 5);
|
|
|
126 |
groupBox_3->setLayout(horizontalLayout31);
|
|
|
127 |
|
|
|
128 |
maxDeltaTime = new QLineEdit(groupBox_3);
|
|
|
129 |
maxDeltaTime->setInputMask(QString::fromUtf8(""));
|
|
|
130 |
maxDeltaTime->setMaxLength(10);
|
|
|
131 |
maxDeltaTime->setReadOnly(true);
|
|
|
132 |
maxDeltaTime->setSizePolicy(QSizePolicy::Fixed,QSizePolicy::Fixed);
|
|
|
133 |
horizontalLayout31->addWidget(maxDeltaTime);
|
|
|
134 |
|
|
|
135 |
QSpacerItem *horizontalSpacer1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
136 |
horizontalLayout->addItem(horizontalSpacer1);
|
|
|
137 |
|
|
|
138 |
/*
|
|
|
139 |
** Group box for the Leg controls
|
|
|
140 |
*/
|
|
|
141 |
QHBoxLayout *horizontalLayout00 = new QHBoxLayout();
|
|
|
142 |
verticalLayout->addLayout(horizontalLayout00);
|
|
|
143 |
|
|
|
144 |
groupBox = new QGroupBox("Leg Selector and Update Event");
|
|
|
145 |
horizontalLayout00->addWidget(groupBox);
|
|
|
146 |
|
|
|
147 |
QHBoxLayout *horizontalLayout01 = new QHBoxLayout();
|
|
|
148 |
horizontalLayout01->setContentsMargins(5, 5, 5, 5);
|
|
|
149 |
groupBox->setLayout(horizontalLayout01);
|
|
|
150 |
|
|
|
151 |
legStart = new QRadioButton(groupBox);
|
|
|
152 |
legStart->setText("Start");
|
|
|
153 |
horizontalLayout01->addWidget(legStart);
|
|
|
154 |
|
|
|
155 |
legEnd = new QRadioButton(groupBox);
|
|
|
156 |
legEnd->setChecked(true);
|
|
|
157 |
legEnd->setText("End");
|
|
|
158 |
horizontalLayout01->addWidget(legEnd);
|
|
|
159 |
|
|
|
160 |
legNumber = new QSpinBox(groupBox);
|
|
|
161 |
horizontalLayout01->addWidget(legNumber);
|
|
|
162 |
|
|
|
163 |
update = new QPushButton(groupBox);
|
|
|
164 |
update->setText("Update");
|
|
|
165 |
|
|
|
166 |
horizontalLayout01->addWidget(update);
|
|
|
167 |
|
|
|
168 |
/*
|
|
|
169 |
** Load and Cancel Button
|
|
|
170 |
*/
|
|
|
171 |
QHBoxLayout *horizontalLayout40 = new QHBoxLayout();
|
|
|
172 |
horizontalLayout00->addLayout(horizontalLayout40);
|
|
|
173 |
|
|
|
174 |
load = new QPushButton(QmDialogUploadLegTimes);
|
|
|
175 |
load->setText("Select File");
|
|
|
176 |
horizontalLayout40->addWidget(load);
|
|
|
177 |
|
|
|
178 |
cancel = new QPushButton(QmDialogUploadLegTimes);
|
|
|
179 |
cancel->setText("Cancel");
|
|
|
180 |
horizontalLayout40->addWidget(cancel);
|
|
|
181 |
|
|
|
182 |
QSpacerItem *horizontalSpacer40 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
183 |
horizontalLayout00->addItem(horizontalSpacer40);
|
|
|
184 |
|
|
|
185 |
/*
|
|
|
186 |
** Status region on the bottom of the widget
|
|
|
187 |
*/
|
|
|
188 |
status = new QLabel();
|
|
|
189 |
verticalLayout->addWidget(status);
|
|
|
190 |
|
|
|
191 |
QMetaObject::connectSlotsByName(QmDialogUploadLegTimes);
|
|
|
192 |
} // setupUi
|
|
|
193 |
};
|
|
|
194 |
|
|
|
195 |
namespace Ui {
|
|
|
196 |
class QmDialogUploadLegTimes: public Ui_QmDialogUploadLegTimes {};
|
|
|
197 |
} // namespace Ui
|
|
|
198 |
|
|
|
199 |
QT_END_NAMESPACE
|
|
|
200 |
|