| 310 |
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>
|
| 363 |
david |
23 |
#include <QtGui/QTimeEdit>
|
| 310 |
david |
24 |
#include <QtGui/QTableWidget>
|
|
|
25 |
#include <QVBoxLayout>
|
|
|
26 |
#include <QHBoxLayout>
|
|
|
27 |
|
|
|
28 |
QT_BEGIN_NAMESPACE
|
|
|
29 |
|
|
|
30 |
class Ui_QmDialogUploadLegTimes
|
|
|
31 |
{
|
|
|
32 |
public:
|
|
|
33 |
QGroupBox *groupBox;
|
|
|
34 |
QRadioButton *legStart;
|
|
|
35 |
QRadioButton *legEnd;
|
|
|
36 |
QSpinBox *legNumber;
|
|
|
37 |
QPushButton *update;
|
|
|
38 |
QPushButton *cancel;
|
|
|
39 |
QGroupBox *groupBox_2;
|
|
|
40 |
QTableWidget *tableWidget;
|
|
|
41 |
QLabel *status;
|
|
|
42 |
QGroupBox *groupBox_4;
|
|
|
43 |
QCheckBox *hideOk;
|
| 363 |
david |
44 |
QTimeEdit *deltaTime;
|
| 310 |
david |
45 |
QLabel *label;
|
|
|
46 |
QPushButton *load;
|
| 363 |
david |
47 |
QPushButton *fromClip;
|
| 378 |
david |
48 |
QPushButton *fromEvent;
|
| 363 |
david |
49 |
QPushButton *clear;
|
| 310 |
david |
50 |
QGroupBox *groupBox_3;
|
|
|
51 |
QLineEdit *maxDeltaTime;
|
|
|
52 |
|
|
|
53 |
void setupUi(QDialog *QmDialogUploadLegTimes)
|
|
|
54 |
{
|
|
|
55 |
QmDialogUploadLegTimes->resize(519, 568);
|
|
|
56 |
QmDialogUploadLegTimes->setWindowTitle("Upload Leg Times");
|
|
|
57 |
|
|
|
58 |
/*
|
|
|
59 |
** Layout for the dialog
|
|
|
60 |
*/
|
|
|
61 |
QVBoxLayout *verticalLayout;
|
|
|
62 |
verticalLayout = new QVBoxLayout(QmDialogUploadLegTimes);
|
|
|
63 |
verticalLayout->setContentsMargins(0, 0, 0, 0);
|
|
|
64 |
|
|
|
65 |
/*
|
|
|
66 |
** Group box for the Main Table
|
|
|
67 |
*/
|
|
|
68 |
QVBoxLayout *verticalLayout2;
|
|
|
69 |
verticalLayout2 = new QVBoxLayout();
|
|
|
70 |
verticalLayout2->setContentsMargins(5, 5, 5, 5);
|
|
|
71 |
|
|
|
72 |
groupBox_2 = new QGroupBox("Leg Data");
|
|
|
73 |
groupBox_2->setLayout(verticalLayout2);
|
|
|
74 |
|
|
|
75 |
verticalLayout->addWidget(groupBox_2);
|
|
|
76 |
|
|
|
77 |
tableWidget = new QTableWidget(groupBox_2);
|
|
|
78 |
if (tableWidget->columnCount() < 4)
|
|
|
79 |
tableWidget->setColumnCount(4);
|
|
|
80 |
tableWidget->setObjectName(QString::fromUtf8("tableWidget"));
|
|
|
81 |
tableWidget->setGeometry(QRect(15, 21, 471, 431));
|
|
|
82 |
tableWidget->setDragEnabled(false);
|
|
|
83 |
tableWidget->setDragDropOverwriteMode(false);
|
|
|
84 |
tableWidget->setDragDropMode(QAbstractItemView::NoDragDrop);
|
|
|
85 |
tableWidget->setDefaultDropAction(Qt::CopyAction);
|
|
|
86 |
tableWidget->setAlternatingRowColors(true);
|
|
|
87 |
tableWidget->setSelectionMode(QAbstractItemView::SingleSelection);
|
|
|
88 |
tableWidget->setSortingEnabled(false);
|
|
|
89 |
tableWidget->setCornerButtonEnabled(false);
|
|
|
90 |
tableWidget->setColumnCount(4);
|
|
|
91 |
tableWidget->verticalHeader()->setDefaultSectionSize(20);
|
|
|
92 |
tableWidget->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding);
|
|
|
93 |
verticalLayout2->addWidget(tableWidget);
|
|
|
94 |
|
|
|
95 |
/*
|
|
|
96 |
** Group Box for the Max Time Delta
|
|
|
97 |
*/
|
|
|
98 |
QHBoxLayout *horizontalLayout = new QHBoxLayout();
|
|
|
99 |
verticalLayout->addLayout(horizontalLayout);
|
|
|
100 |
|
|
|
101 |
groupBox_4 = new QGroupBox("Max Time Delta");
|
|
|
102 |
horizontalLayout->addWidget(groupBox_4);
|
|
|
103 |
|
|
|
104 |
QHBoxLayout *horizontalLayout1 = new QHBoxLayout();
|
|
|
105 |
horizontalLayout1->setContentsMargins(5, 5, 5, 5);
|
|
|
106 |
groupBox_4->setLayout(horizontalLayout1);
|
|
|
107 |
|
|
|
108 |
hideOk = new QCheckBox(groupBox_4);
|
|
|
109 |
hideOk->setText("Hide OK");
|
|
|
110 |
horizontalLayout1->addWidget(hideOk);
|
|
|
111 |
|
| 363 |
david |
112 |
deltaTime = new QTimeEdit(groupBox_4);
|
|
|
113 |
deltaTime->setObjectName(QString::fromUtf8("DeltaTime"));
|
|
|
114 |
deltaTime->setEnabled(true);
|
|
|
115 |
deltaTime->setDisplayFormat("hh:mm:ss");
|
| 310 |
david |
116 |
horizontalLayout1->addWidget(deltaTime);
|
|
|
117 |
|
|
|
118 |
label = new QLabel(groupBox_4);
|
|
|
119 |
label->setText("Delta");
|
|
|
120 |
horizontalLayout1->addWidget(label);
|
|
|
121 |
|
|
|
122 |
/*
|
|
|
123 |
** Group Box for the Max Delta
|
|
|
124 |
*/
|
|
|
125 |
QHBoxLayout *horizontalLayout30 = new QHBoxLayout();
|
|
|
126 |
horizontalLayout->addLayout(horizontalLayout30);
|
|
|
127 |
|
|
|
128 |
groupBox_3 = new QGroupBox("Max Delta");
|
|
|
129 |
horizontalLayout30->addWidget(groupBox_3);
|
|
|
130 |
|
|
|
131 |
QHBoxLayout *horizontalLayout31 = new QHBoxLayout();
|
|
|
132 |
horizontalLayout31->setContentsMargins(5, 5, 5, 5);
|
|
|
133 |
groupBox_3->setLayout(horizontalLayout31);
|
|
|
134 |
|
|
|
135 |
maxDeltaTime = new QLineEdit(groupBox_3);
|
|
|
136 |
maxDeltaTime->setInputMask(QString::fromUtf8(""));
|
|
|
137 |
maxDeltaTime->setMaxLength(10);
|
|
|
138 |
maxDeltaTime->setReadOnly(true);
|
|
|
139 |
maxDeltaTime->setSizePolicy(QSizePolicy::Fixed,QSizePolicy::Fixed);
|
|
|
140 |
horizontalLayout31->addWidget(maxDeltaTime);
|
|
|
141 |
|
|
|
142 |
QSpacerItem *horizontalSpacer1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
143 |
horizontalLayout->addItem(horizontalSpacer1);
|
|
|
144 |
|
|
|
145 |
/*
|
|
|
146 |
** Group box for the Leg controls
|
|
|
147 |
*/
|
|
|
148 |
QHBoxLayout *horizontalLayout00 = new QHBoxLayout();
|
|
|
149 |
verticalLayout->addLayout(horizontalLayout00);
|
|
|
150 |
|
|
|
151 |
groupBox = new QGroupBox("Leg Selector and Update Event");
|
|
|
152 |
horizontalLayout00->addWidget(groupBox);
|
|
|
153 |
|
|
|
154 |
QHBoxLayout *horizontalLayout01 = new QHBoxLayout();
|
|
|
155 |
horizontalLayout01->setContentsMargins(5, 5, 5, 5);
|
|
|
156 |
groupBox->setLayout(horizontalLayout01);
|
|
|
157 |
|
|
|
158 |
legStart = new QRadioButton(groupBox);
|
|
|
159 |
legStart->setText("Start");
|
|
|
160 |
horizontalLayout01->addWidget(legStart);
|
|
|
161 |
|
|
|
162 |
legEnd = new QRadioButton(groupBox);
|
|
|
163 |
legEnd->setChecked(true);
|
|
|
164 |
legEnd->setText("End");
|
|
|
165 |
horizontalLayout01->addWidget(legEnd);
|
|
|
166 |
|
|
|
167 |
legNumber = new QSpinBox(groupBox);
|
|
|
168 |
horizontalLayout01->addWidget(legNumber);
|
|
|
169 |
|
|
|
170 |
update = new QPushButton(groupBox);
|
|
|
171 |
update->setText("Update");
|
|
|
172 |
|
|
|
173 |
horizontalLayout01->addWidget(update);
|
|
|
174 |
|
|
|
175 |
/*
|
|
|
176 |
** Load and Cancel Button
|
|
|
177 |
*/
|
| 378 |
david |
178 |
QVBoxLayout *vlayout1 = new QVBoxLayout();
|
|
|
179 |
horizontalLayout00->addLayout(vlayout1);
|
|
|
180 |
|
| 310 |
david |
181 |
QHBoxLayout *horizontalLayout40 = new QHBoxLayout();
|
| 378 |
david |
182 |
vlayout1->addLayout(horizontalLayout40);
|
| 310 |
david |
183 |
|
|
|
184 |
load = new QPushButton(QmDialogUploadLegTimes);
|
|
|
185 |
load->setText("Select File");
|
|
|
186 |
horizontalLayout40->addWidget(load);
|
|
|
187 |
|
| 363 |
david |
188 |
fromClip = new QPushButton(QmDialogUploadLegTimes);
|
|
|
189 |
fromClip->setText("From Clipboard");
|
|
|
190 |
horizontalLayout40->addWidget(fromClip);
|
|
|
191 |
|
| 378 |
david |
192 |
fromEvent = new QPushButton(QmDialogUploadLegTimes);
|
|
|
193 |
fromEvent->setText("From Event");
|
|
|
194 |
horizontalLayout40->addWidget(fromEvent);
|
|
|
195 |
|
|
|
196 |
QHBoxLayout *horizontalLayout41 = new QHBoxLayout();
|
|
|
197 |
vlayout1->addLayout(horizontalLayout41);
|
|
|
198 |
|
|
|
199 |
QSpacerItem *horizontalSpacer40 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
200 |
horizontalLayout41->addItem(horizontalSpacer40);
|
|
|
201 |
|
| 363 |
david |
202 |
clear = new QPushButton(QmDialogUploadLegTimes);
|
|
|
203 |
clear->setText("Clear");
|
| 378 |
david |
204 |
horizontalLayout41->addWidget(clear);
|
| 363 |
david |
205 |
|
| 310 |
david |
206 |
cancel = new QPushButton(QmDialogUploadLegTimes);
|
|
|
207 |
cancel->setText("Cancel");
|
| 378 |
david |
208 |
horizontalLayout41->addWidget(cancel);
|
| 310 |
david |
209 |
|
| 378 |
david |
210 |
horizontalLayout00->addItem (new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum));
|
| 310 |
david |
211 |
|
|
|
212 |
/*
|
|
|
213 |
** Status region on the bottom of the widget
|
|
|
214 |
*/
|
|
|
215 |
status = new QLabel();
|
|
|
216 |
verticalLayout->addWidget(status);
|
|
|
217 |
|
|
|
218 |
QMetaObject::connectSlotsByName(QmDialogUploadLegTimes);
|
|
|
219 |
} // setupUi
|
|
|
220 |
};
|
|
|
221 |
|
|
|
222 |
namespace Ui {
|
|
|
223 |
class QmDialogUploadLegTimes: public Ui_QmDialogUploadLegTimes {};
|
|
|
224 |
} // namespace Ui
|
|
|
225 |
|
|
|
226 |
QT_END_NAMESPACE
|
|
|
227 |
|