~ubuntu-branches/ubuntu/hardy/qgis/hardy

« back to all changes in this revision

Viewing changes to src/plugins/gps_importer/ui_qgsgpsdevicedialogbase.h

  • Committer: Bazaar Package Importer
  • Author(s): William Grant
  • Date: 2007-05-06 13:42:32 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070506134232-pyli6t388w5asd8x
Tags: 0.8.0-3ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - debian/rules, debian/qgis.install, debian/qgis.dirs debian/qgis.desktop:
    Add and install .desktop.
* debian/qgis.desktop: Remove Applications category; it's not real.
* Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/********************************************************************************
 
2
** Form generated from reading ui file 'qgsgpsdevicedialogbase.ui'
 
3
**
 
4
** Created: Sat Dec 30 02:05:58 2006
 
5
**      by: Qt User Interface Compiler version 4.2.2
 
6
**
 
7
** WARNING! All changes made in this file will be lost when recompiling ui file!
 
8
********************************************************************************/
 
9
 
 
10
#ifndef UI_QGSGPSDEVICEDIALOGBASE_H
 
11
#define UI_QGSGPSDEVICEDIALOGBASE_H
 
12
 
 
13
#include <QtCore/QVariant>
 
14
#include <QtGui/QAction>
 
15
#include <QtGui/QApplication>
 
16
#include <QtGui/QButtonGroup>
 
17
#include <QtGui/QDialog>
 
18
#include <QtGui/QGridLayout>
 
19
#include <QtGui/QGroupBox>
 
20
#include <QtGui/QHBoxLayout>
 
21
#include <QtGui/QLabel>
 
22
#include <QtGui/QLineEdit>
 
23
#include <QtGui/QListWidget>
 
24
#include <QtGui/QPushButton>
 
25
#include <QtGui/QSpacerItem>
 
26
#include <QtGui/QSplitter>
 
27
#include <QtGui/QTextEdit>
 
28
#include <QtGui/QVBoxLayout>
 
29
#include <QtGui/QWidget>
 
30
#include <Qt3Support/Q3MimeSourceFactory>
 
31
 
 
32
class Ui_QgsGPSDeviceDialogBase
 
33
{
 
34
public:
 
35
    QVBoxLayout *vboxLayout;
 
36
    QSplitter *splitter;
 
37
    QWidget *layoutWidget_2;
 
38
    QVBoxLayout *vboxLayout1;
 
39
    QListWidget *lbDeviceList;
 
40
    QPushButton *pbnNewDevice;
 
41
    QPushButton *pbnDeleteDevice;
 
42
    QPushButton *pbnUpdateDevice;
 
43
    QWidget *layoutWidget_3;
 
44
    QVBoxLayout *vboxLayout2;
 
45
    QHBoxLayout *hboxLayout;
 
46
    QLabel *textLabel3;
 
47
    QLineEdit *leDeviceName;
 
48
    QGroupBox *groupBox;
 
49
    QGridLayout *gridLayout;
 
50
    QLabel *textLabel1_2_5;
 
51
    QLabel *textLabel1_2_4;
 
52
    QLabel *textLabel1_2;
 
53
    QLineEdit *leRteDown;
 
54
    QLabel *textLabel1_2_3;
 
55
    QLineEdit *leWptUp;
 
56
    QLabel *textLabel1_2_5_2;
 
57
    QLineEdit *leTrkDown;
 
58
    QLineEdit *leRteUp;
 
59
    QLineEdit *leWptDown;
 
60
    QLineEdit *leTrkUp;
 
61
    QLabel *textLabel1_2_2;
 
62
    QTextEdit *textEdit;
 
63
    QHBoxLayout *hboxLayout1;
 
64
    QSpacerItem *spacerItem;
 
65
    QPushButton *pbnClose;
 
66
 
 
67
    void setupUi(QDialog *QgsGPSDeviceDialogBase)
 
68
    {
 
69
    QgsGPSDeviceDialogBase->setObjectName(QString::fromUtf8("QgsGPSDeviceDialogBase"));
 
70
    QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(1));
 
71
    sizePolicy.setHorizontalStretch(0);
 
72
    sizePolicy.setVerticalStretch(0);
 
73
    sizePolicy.setHeightForWidth(QgsGPSDeviceDialogBase->sizePolicy().hasHeightForWidth());
 
74
    QgsGPSDeviceDialogBase->setSizePolicy(sizePolicy);
 
75
    QgsGPSDeviceDialogBase->setModal(true);
 
76
    vboxLayout = new QVBoxLayout(QgsGPSDeviceDialogBase);
 
77
    vboxLayout->setSpacing(6);
 
78
    vboxLayout->setMargin(9);
 
79
    vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
 
80
    splitter = new QSplitter(QgsGPSDeviceDialogBase);
 
81
    splitter->setObjectName(QString::fromUtf8("splitter"));
 
82
    splitter->setOrientation(Qt::Horizontal);
 
83
    layoutWidget_2 = new QWidget(splitter);
 
84
    layoutWidget_2->setObjectName(QString::fromUtf8("layoutWidget_2"));
 
85
    vboxLayout1 = new QVBoxLayout(layoutWidget_2);
 
86
    vboxLayout1->setSpacing(6);
 
87
    vboxLayout1->setMargin(0);
 
88
    vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
 
89
    lbDeviceList = new QListWidget(layoutWidget_2);
 
90
    lbDeviceList->setObjectName(QString::fromUtf8("lbDeviceList"));
 
91
    QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5));
 
92
    sizePolicy1.setHorizontalStretch(0);
 
93
    sizePolicy1.setVerticalStretch(0);
 
94
    sizePolicy1.setHeightForWidth(lbDeviceList->sizePolicy().hasHeightForWidth());
 
95
    lbDeviceList->setSizePolicy(sizePolicy1);
 
96
 
 
97
    vboxLayout1->addWidget(lbDeviceList);
 
98
 
 
99
    pbnNewDevice = new QPushButton(layoutWidget_2);
 
100
    pbnNewDevice->setObjectName(QString::fromUtf8("pbnNewDevice"));
 
101
    QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(0));
 
102
    sizePolicy2.setHorizontalStretch(0);
 
103
    sizePolicy2.setVerticalStretch(0);
 
104
    sizePolicy2.setHeightForWidth(pbnNewDevice->sizePolicy().hasHeightForWidth());
 
105
    pbnNewDevice->setSizePolicy(sizePolicy2);
 
106
 
 
107
    vboxLayout1->addWidget(pbnNewDevice);
 
108
 
 
109
    pbnDeleteDevice = new QPushButton(layoutWidget_2);
 
110
    pbnDeleteDevice->setObjectName(QString::fromUtf8("pbnDeleteDevice"));
 
111
    QSizePolicy sizePolicy3(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(0));
 
112
    sizePolicy3.setHorizontalStretch(0);
 
113
    sizePolicy3.setVerticalStretch(0);
 
114
    sizePolicy3.setHeightForWidth(pbnDeleteDevice->sizePolicy().hasHeightForWidth());
 
115
    pbnDeleteDevice->setSizePolicy(sizePolicy3);
 
116
 
 
117
    vboxLayout1->addWidget(pbnDeleteDevice);
 
118
 
 
119
    pbnUpdateDevice = new QPushButton(layoutWidget_2);
 
120
    pbnUpdateDevice->setObjectName(QString::fromUtf8("pbnUpdateDevice"));
 
121
    QSizePolicy sizePolicy4(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(0));
 
122
    sizePolicy4.setHorizontalStretch(0);
 
123
    sizePolicy4.setVerticalStretch(0);
 
124
    sizePolicy4.setHeightForWidth(pbnUpdateDevice->sizePolicy().hasHeightForWidth());
 
125
    pbnUpdateDevice->setSizePolicy(sizePolicy4);
 
126
 
 
127
    vboxLayout1->addWidget(pbnUpdateDevice);
 
128
 
 
129
    splitter->addWidget(layoutWidget_2);
 
130
    layoutWidget_3 = new QWidget(splitter);
 
131
    layoutWidget_3->setObjectName(QString::fromUtf8("layoutWidget_3"));
 
132
    vboxLayout2 = new QVBoxLayout(layoutWidget_3);
 
133
    vboxLayout2->setSpacing(6);
 
134
    vboxLayout2->setMargin(0);
 
135
    vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
 
136
    hboxLayout = new QHBoxLayout();
 
137
    hboxLayout->setSpacing(6);
 
138
    hboxLayout->setMargin(0);
 
139
    hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
 
140
    textLabel3 = new QLabel(layoutWidget_3);
 
141
    textLabel3->setObjectName(QString::fromUtf8("textLabel3"));
 
142
    QSizePolicy sizePolicy5(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(5));
 
143
    sizePolicy5.setHorizontalStretch(0);
 
144
    sizePolicy5.setVerticalStretch(0);
 
145
    sizePolicy5.setHeightForWidth(textLabel3->sizePolicy().hasHeightForWidth());
 
146
    textLabel3->setSizePolicy(sizePolicy5);
 
147
 
 
148
    hboxLayout->addWidget(textLabel3);
 
149
 
 
150
    leDeviceName = new QLineEdit(layoutWidget_3);
 
151
    leDeviceName->setObjectName(QString::fromUtf8("leDeviceName"));
 
152
    QSizePolicy sizePolicy6(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
 
153
    sizePolicy6.setHorizontalStretch(2);
 
154
    sizePolicy6.setVerticalStretch(0);
 
155
    sizePolicy6.setHeightForWidth(leDeviceName->sizePolicy().hasHeightForWidth());
 
156
    leDeviceName->setSizePolicy(sizePolicy6);
 
157
 
 
158
    hboxLayout->addWidget(leDeviceName);
 
159
 
 
160
 
 
161
    vboxLayout2->addLayout(hboxLayout);
 
162
 
 
163
    groupBox = new QGroupBox(layoutWidget_3);
 
164
    groupBox->setObjectName(QString::fromUtf8("groupBox"));
 
165
    groupBox->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
 
166
    gridLayout = new QGridLayout(groupBox);
 
167
    gridLayout->setSpacing(6);
 
168
    gridLayout->setMargin(9);
 
169
    gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
 
170
    textLabel1_2_5 = new QLabel(groupBox);
 
171
    textLabel1_2_5->setObjectName(QString::fromUtf8("textLabel1_2_5"));
 
172
 
 
173
    gridLayout->addWidget(textLabel1_2_5, 4, 0, 1, 1);
 
174
 
 
175
    textLabel1_2_4 = new QLabel(groupBox);
 
176
    textLabel1_2_4->setObjectName(QString::fromUtf8("textLabel1_2_4"));
 
177
 
 
178
    gridLayout->addWidget(textLabel1_2_4, 3, 0, 1, 1);
 
179
 
 
180
    textLabel1_2 = new QLabel(groupBox);
 
181
    textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
 
182
 
 
183
    gridLayout->addWidget(textLabel1_2, 0, 0, 1, 1);
 
184
 
 
185
    leRteDown = new QLineEdit(groupBox);
 
186
    leRteDown->setObjectName(QString::fromUtf8("leRteDown"));
 
187
 
 
188
    gridLayout->addWidget(leRteDown, 2, 1, 1, 1);
 
189
 
 
190
    textLabel1_2_3 = new QLabel(groupBox);
 
191
    textLabel1_2_3->setObjectName(QString::fromUtf8("textLabel1_2_3"));
 
192
 
 
193
    gridLayout->addWidget(textLabel1_2_3, 2, 0, 1, 1);
 
194
 
 
195
    leWptUp = new QLineEdit(groupBox);
 
196
    leWptUp->setObjectName(QString::fromUtf8("leWptUp"));
 
197
 
 
198
    gridLayout->addWidget(leWptUp, 1, 1, 1, 1);
 
199
 
 
200
    textLabel1_2_5_2 = new QLabel(groupBox);
 
201
    textLabel1_2_5_2->setObjectName(QString::fromUtf8("textLabel1_2_5_2"));
 
202
 
 
203
    gridLayout->addWidget(textLabel1_2_5_2, 5, 0, 1, 1);
 
204
 
 
205
    leTrkDown = new QLineEdit(groupBox);
 
206
    leTrkDown->setObjectName(QString::fromUtf8("leTrkDown"));
 
207
 
 
208
    gridLayout->addWidget(leTrkDown, 4, 1, 1, 1);
 
209
 
 
210
    leRteUp = new QLineEdit(groupBox);
 
211
    leRteUp->setObjectName(QString::fromUtf8("leRteUp"));
 
212
 
 
213
    gridLayout->addWidget(leRteUp, 3, 1, 1, 1);
 
214
 
 
215
    leWptDown = new QLineEdit(groupBox);
 
216
    leWptDown->setObjectName(QString::fromUtf8("leWptDown"));
 
217
 
 
218
    gridLayout->addWidget(leWptDown, 0, 1, 1, 1);
 
219
 
 
220
    leTrkUp = new QLineEdit(groupBox);
 
221
    leTrkUp->setObjectName(QString::fromUtf8("leTrkUp"));
 
222
 
 
223
    gridLayout->addWidget(leTrkUp, 5, 1, 1, 1);
 
224
 
 
225
    textLabel1_2_2 = new QLabel(groupBox);
 
226
    textLabel1_2_2->setObjectName(QString::fromUtf8("textLabel1_2_2"));
 
227
 
 
228
    gridLayout->addWidget(textLabel1_2_2, 1, 0, 1, 1);
 
229
 
 
230
 
 
231
    vboxLayout2->addWidget(groupBox);
 
232
 
 
233
    textEdit = new QTextEdit(layoutWidget_3);
 
234
    textEdit->setObjectName(QString::fromUtf8("textEdit"));
 
235
    QSizePolicy sizePolicy7(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5));
 
236
    sizePolicy7.setHorizontalStretch(0);
 
237
    sizePolicy7.setVerticalStretch(0);
 
238
    sizePolicy7.setHeightForWidth(textEdit->sizePolicy().hasHeightForWidth());
 
239
    textEdit->setSizePolicy(sizePolicy7);
 
240
 
 
241
    vboxLayout2->addWidget(textEdit);
 
242
 
 
243
    splitter->addWidget(layoutWidget_3);
 
244
 
 
245
    vboxLayout->addWidget(splitter);
 
246
 
 
247
    hboxLayout1 = new QHBoxLayout();
 
248
    hboxLayout1->setSpacing(6);
 
249
    hboxLayout1->setMargin(0);
 
250
    hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
 
251
    spacerItem = new QSpacerItem(381, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);
 
252
 
 
253
    hboxLayout1->addItem(spacerItem);
 
254
 
 
255
    pbnClose = new QPushButton(QgsGPSDeviceDialogBase);
 
256
    pbnClose->setObjectName(QString::fromUtf8("pbnClose"));
 
257
    pbnClose->setDefault(true);
 
258
 
 
259
    hboxLayout1->addWidget(pbnClose);
 
260
 
 
261
 
 
262
    vboxLayout->addLayout(hboxLayout1);
 
263
 
 
264
 
 
265
    retranslateUi(QgsGPSDeviceDialogBase);
 
266
 
 
267
    QSize size(504, 436);
 
268
    size = size.expandedTo(QgsGPSDeviceDialogBase->minimumSizeHint());
 
269
    QgsGPSDeviceDialogBase->resize(size);
 
270
 
 
271
 
 
272
    QMetaObject::connectSlotsByName(QgsGPSDeviceDialogBase);
 
273
    } // setupUi
 
274
 
 
275
    void retranslateUi(QDialog *QgsGPSDeviceDialogBase)
 
276
    {
 
277
    QgsGPSDeviceDialogBase->setWindowTitle(QApplication::translate("QgsGPSDeviceDialogBase", "GPS Device Editor", 0, QApplication::UnicodeUTF8));
 
278
    pbnNewDevice->setText(QApplication::translate("QgsGPSDeviceDialogBase", "New device", 0, QApplication::UnicodeUTF8));
 
279
    pbnDeleteDevice->setText(QApplication::translate("QgsGPSDeviceDialogBase", "Delete device", 0, QApplication::UnicodeUTF8));
 
280
    pbnUpdateDevice->setText(QApplication::translate("QgsGPSDeviceDialogBase", "Update device", 0, QApplication::UnicodeUTF8));
 
281
    textLabel3->setText(QApplication::translate("QgsGPSDeviceDialogBase", "Device name:", 0, QApplication::UnicodeUTF8));
 
282
    leDeviceName->setToolTip(QApplication::translate("QgsGPSDeviceDialogBase", "This is the name of the device as it will appear in the lists", 0, QApplication::UnicodeUTF8));
 
283
    groupBox->setTitle(QApplication::translate("QgsGPSDeviceDialogBase", "Commands", 0, QApplication::UnicodeUTF8));
 
284
    textLabel1_2_5->setText(QApplication::translate("QgsGPSDeviceDialogBase", "Track download:", 0, QApplication::UnicodeUTF8));
 
285
    textLabel1_2_4->setText(QApplication::translate("QgsGPSDeviceDialogBase", "Route upload:", 0, QApplication::UnicodeUTF8));
 
286
    textLabel1_2->setText(QApplication::translate("QgsGPSDeviceDialogBase", "Waypoint download:", 0, QApplication::UnicodeUTF8));
 
287
    leRteDown->setToolTip(QApplication::translate("QgsGPSDeviceDialogBase", "The command that is used to download routes from the device", 0, QApplication::UnicodeUTF8));
 
288
    textLabel1_2_3->setText(QApplication::translate("QgsGPSDeviceDialogBase", "Route download:", 0, QApplication::UnicodeUTF8));
 
289
    leWptUp->setToolTip(QApplication::translate("QgsGPSDeviceDialogBase", "The command that is used to upload waypoints to the device", 0, QApplication::UnicodeUTF8));
 
290
    textLabel1_2_5_2->setText(QApplication::translate("QgsGPSDeviceDialogBase", "Track upload:", 0, QApplication::UnicodeUTF8));
 
291
    leTrkDown->setToolTip(QApplication::translate("QgsGPSDeviceDialogBase", "The command that is used to download tracks from the device", 0, QApplication::UnicodeUTF8));
 
292
    leRteUp->setToolTip(QApplication::translate("QgsGPSDeviceDialogBase", "The command that is used to upload routes to the device", 0, QApplication::UnicodeUTF8));
 
293
    leWptDown->setToolTip(QApplication::translate("QgsGPSDeviceDialogBase", "The command that is used to download waypoints from the device", 0, QApplication::UnicodeUTF8));
 
294
    leTrkUp->setToolTip(QApplication::translate("QgsGPSDeviceDialogBase", "The command that is used to upload tracks to the device", 0, QApplication::UnicodeUTF8));
 
295
    textLabel1_2_2->setText(QApplication::translate("QgsGPSDeviceDialogBase", "Waypoint upload:", 0, QApplication::UnicodeUTF8));
 
296
    textEdit->setHtml(QApplication::translate("QgsGPSDeviceDialogBase", "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">In the download and upload commands there can be special words that will be replaced by QGIS when the commands are used. These words are:<span style=\" font-style:italic;\">%babel</span> - the path to GPSBabel<br /><span style=\" font-style:italic;\">%in</span> - the GPX filename when uploading or the port when downloading<br /><span style=\" font-style:italic;\">%out</span> - the port when uploading or the GPX filename when downloading</p></body></html>", 0, QApplication::UnicodeUTF8));
 
297
    pbnClose->setText(QApplication::translate("QgsGPSDeviceDialogBase", "Close", 0, QApplication::UnicodeUTF8));
 
298
    Q_UNUSED(QgsGPSDeviceDialogBase);
 
299
    } // retranslateUi
 
300
 
 
301
};
 
302
 
 
303
namespace Ui {
 
304
    class QgsGPSDeviceDialogBase: public Ui_QgsGPSDeviceDialogBase {};
 
305
} // namespace Ui
 
306
 
 
307
#endif // UI_QGSGPSDEVICEDIALOGBASE_H