4
/********************************************************************************
5
** Form generated from reading UI file 'ChooseSerial.ui'
7
** Created: Wed Aug 15 18:06:34 2012
8
** by: Qt User Interface Compiler version 4.8.2
10
** WARNING! All changes made in this file will be lost when recompiling UI file!
11
********************************************************************************/
13
#ifndef UI_CHOOSESERIAL_H
14
#define UI_CHOOSESERIAL_H
16
#include <QtCore/QVariant>
17
#include <QtGui/QAction>
18
#include <QtGui/QApplication>
19
#include <QtGui/QButtonGroup>
20
#include <QtGui/QFormLayout>
21
#include <QtGui/QHeaderView>
22
#include <QtGui/QLabel>
23
#include <QtGui/QWidget>
24
#include "kcombobox.h"
31
QFormLayout *formLayout;
33
KComboBox *baudRateCB;
41
void setupUi(QWidget *ChooseSerial)
43
if (ChooseSerial->objectName().isEmpty())
44
ChooseSerial->setObjectName(QString::fromUtf8("ChooseSerial"));
45
ChooseSerial->resize(400, 300);
46
QSizePolicy sizePolicy(QSizePolicy::Ignored, QSizePolicy::Preferred);
47
sizePolicy.setHorizontalStretch(0);
48
sizePolicy.setVerticalStretch(0);
49
sizePolicy.setHeightForWidth(ChooseSerial->sizePolicy().hasHeightForWidth());
50
ChooseSerial->setSizePolicy(sizePolicy);
51
formLayout = new QFormLayout(ChooseSerial);
52
formLayout->setContentsMargins(0, 0, 0, 0);
53
formLayout->setObjectName(QString::fromUtf8("formLayout"));
54
formLayout->setFormAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
55
label_2 = new QLabel(ChooseSerial);
56
label_2->setObjectName(QString::fromUtf8("label_2"));
58
formLayout->setWidget(0, QFormLayout::LabelRole, label_2);
60
baudRateCB = new KComboBox(ChooseSerial);
61
baudRateCB->setObjectName(QString::fromUtf8("baudRateCB"));
63
formLayout->setWidget(0, QFormLayout::FieldRole, baudRateCB);
65
label_3 = new QLabel(ChooseSerial);
66
label_3->setObjectName(QString::fromUtf8("label_3"));
68
formLayout->setWidget(1, QFormLayout::LabelRole, label_3);
70
parityCB = new KComboBox(ChooseSerial);
71
parityCB->setObjectName(QString::fromUtf8("parityCB"));
73
formLayout->setWidget(1, QFormLayout::FieldRole, parityCB);
75
label_4 = new QLabel(ChooseSerial);
76
label_4->setObjectName(QString::fromUtf8("label_4"));
78
formLayout->setWidget(2, QFormLayout::LabelRole, label_4);
80
bitsCB = new KComboBox(ChooseSerial);
81
bitsCB->insertItems(0, QStringList()
82
<< QString::fromUtf8("8")
83
<< QString::fromUtf8("7")
85
bitsCB->setObjectName(QString::fromUtf8("bitsCB"));
87
formLayout->setWidget(2, QFormLayout::FieldRole, bitsCB);
89
label_5 = new QLabel(ChooseSerial);
90
label_5->setObjectName(QString::fromUtf8("label_5"));
92
formLayout->setWidget(3, QFormLayout::LabelRole, label_5);
94
flowCB = new KComboBox(ChooseSerial);
95
flowCB->setObjectName(QString::fromUtf8("flowCB"));
97
formLayout->setWidget(3, QFormLayout::FieldRole, flowCB);
99
#ifndef UI_QT_NO_SHORTCUT
100
label_2->setBuddy(baudRateCB);
101
label_3->setBuddy(parityCB);
102
label_4->setBuddy(bitsCB);
103
label_5->setBuddy(flowCB);
104
#endif // QT_NO_SHORTCUT
106
retranslateUi(ChooseSerial);
108
QMetaObject::connectSlotsByName(ChooseSerial);
111
void retranslateUi(QWidget *ChooseSerial)
113
label_2->setText(tr2i18n("Baud Rate:", "@label:listbox"));
114
label_3->setText(tr2i18n("Parity:", "@label:listbox"));
115
label_4->setText(tr2i18n("Data Bits:", "@label:listbox"));
116
label_5->setText(tr2i18n("Flow Control:", "@label:listbox"));
117
Q_UNUSED(ChooseSerial);
123
class ChooseSerial: public Ui_ChooseSerial {};
128
#endif // CHOOSESERIAL_H