Subversion Repositories svn1

Rev

Rev 384 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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>
384 david 11
#include <QAction>
12
#include <QApplication>
13
#include <QButtonGroup>
14
#include <QCheckBox>
15
#include <QDialog>
16
#include <QGroupBox>
17
#include <QHeaderView>
18
#include <QLabel>
19
#include <QLineEdit>
20
#include <QPushButton>
21
#include <QRadioButton>
22
#include <QSpinBox>
23
#include <QTimeEdit>
24
#include <QTableWidget>
306 david 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;
359 david 44
    QTimeEdit *deltaTime;
306 david 45
    QLabel *label;
46
    QPushButton *load;
359 david 47
    QPushButton *fromClip;
374 david 48
     QPushButton *fromEvent;
359 david 49
    QPushButton *clear;
306 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
 
359 david 112
        deltaTime = new QTimeEdit(groupBox_4);
113
        deltaTime->setObjectName(QString::fromUtf8("DeltaTime"));
114
        deltaTime->setEnabled(true);
115
        deltaTime->setDisplayFormat("hh:mm:ss");
306 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
        */
374 david 178
        QVBoxLayout *vlayout1 = new QVBoxLayout();
179
        horizontalLayout00->addLayout(vlayout1);
180
 
306 david 181
        QHBoxLayout *horizontalLayout40 = new QHBoxLayout();
374 david 182
        vlayout1->addLayout(horizontalLayout40);
306 david 183
 
184
        load = new QPushButton(QmDialogUploadLegTimes);
185
        load->setText("Select File");
186
        horizontalLayout40->addWidget(load);
187
 
359 david 188
        fromClip = new QPushButton(QmDialogUploadLegTimes);
189
        fromClip->setText("From Clipboard");
190
        horizontalLayout40->addWidget(fromClip);
191
 
374 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
 
359 david 202
        clear = new QPushButton(QmDialogUploadLegTimes);
203
        clear->setText("Clear");
374 david 204
        horizontalLayout41->addWidget(clear);
359 david 205
 
306 david 206
        cancel = new QPushButton(QmDialogUploadLegTimes);
207
        cancel->setText("Cancel");
374 david 208
        horizontalLayout41->addWidget(cancel);
306 david 209
 
374 david 210
        horizontalLayout00->addItem (new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum));
306 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