~ubuntu-branches/ubuntu/saucy/print-manager/saucy-proposed

« back to all changes in this revision

Viewing changes to build/add-printer/ui_ChooseSerial.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-08-21 12:30:49 UTC
  • mto: (1.3.2)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: package-import@ubuntu.com-20120821123049-c8uky0a9gmfkck87
Tags: upstream-0.1.0+git20120821
ImportĀ upstreamĀ versionĀ 0.1.0+git20120821

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <kdialog.h>
 
2
#include <klocale.h>
 
3
 
 
4
/********************************************************************************
 
5
** Form generated from reading UI file 'ChooseSerial.ui'
 
6
**
 
7
** Created: Wed Aug 15 18:06:34 2012
 
8
**      by: Qt User Interface Compiler version 4.8.2
 
9
**
 
10
** WARNING! All changes made in this file will be lost when recompiling UI file!
 
11
********************************************************************************/
 
12
 
 
13
#ifndef UI_CHOOSESERIAL_H
 
14
#define UI_CHOOSESERIAL_H
 
15
 
 
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"
 
25
 
 
26
QT_BEGIN_NAMESPACE
 
27
 
 
28
class Ui_ChooseSerial
 
29
{
 
30
public:
 
31
    QFormLayout *formLayout;
 
32
    QLabel *label_2;
 
33
    KComboBox *baudRateCB;
 
34
    QLabel *label_3;
 
35
    KComboBox *parityCB;
 
36
    QLabel *label_4;
 
37
    KComboBox *bitsCB;
 
38
    QLabel *label_5;
 
39
    KComboBox *flowCB;
 
40
 
 
41
    void setupUi(QWidget *ChooseSerial)
 
42
    {
 
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"));
 
57
 
 
58
        formLayout->setWidget(0, QFormLayout::LabelRole, label_2);
 
59
 
 
60
        baudRateCB = new KComboBox(ChooseSerial);
 
61
        baudRateCB->setObjectName(QString::fromUtf8("baudRateCB"));
 
62
 
 
63
        formLayout->setWidget(0, QFormLayout::FieldRole, baudRateCB);
 
64
 
 
65
        label_3 = new QLabel(ChooseSerial);
 
66
        label_3->setObjectName(QString::fromUtf8("label_3"));
 
67
 
 
68
        formLayout->setWidget(1, QFormLayout::LabelRole, label_3);
 
69
 
 
70
        parityCB = new KComboBox(ChooseSerial);
 
71
        parityCB->setObjectName(QString::fromUtf8("parityCB"));
 
72
 
 
73
        formLayout->setWidget(1, QFormLayout::FieldRole, parityCB);
 
74
 
 
75
        label_4 = new QLabel(ChooseSerial);
 
76
        label_4->setObjectName(QString::fromUtf8("label_4"));
 
77
 
 
78
        formLayout->setWidget(2, QFormLayout::LabelRole, label_4);
 
79
 
 
80
        bitsCB = new KComboBox(ChooseSerial);
 
81
        bitsCB->insertItems(0, QStringList()
 
82
         << QString::fromUtf8("8")
 
83
         << QString::fromUtf8("7")
 
84
        );
 
85
        bitsCB->setObjectName(QString::fromUtf8("bitsCB"));
 
86
 
 
87
        formLayout->setWidget(2, QFormLayout::FieldRole, bitsCB);
 
88
 
 
89
        label_5 = new QLabel(ChooseSerial);
 
90
        label_5->setObjectName(QString::fromUtf8("label_5"));
 
91
 
 
92
        formLayout->setWidget(3, QFormLayout::LabelRole, label_5);
 
93
 
 
94
        flowCB = new KComboBox(ChooseSerial);
 
95
        flowCB->setObjectName(QString::fromUtf8("flowCB"));
 
96
 
 
97
        formLayout->setWidget(3, QFormLayout::FieldRole, flowCB);
 
98
 
 
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
 
105
 
 
106
        retranslateUi(ChooseSerial);
 
107
 
 
108
        QMetaObject::connectSlotsByName(ChooseSerial);
 
109
    } // setupUi
 
110
 
 
111
    void retranslateUi(QWidget *ChooseSerial)
 
112
    {
 
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);
 
118
    } // retranslateUi
 
119
 
 
120
};
 
121
 
 
122
namespace Ui {
 
123
    class ChooseSerial: public Ui_ChooseSerial {};
 
124
} // namespace Ui
 
125
 
 
126
QT_END_NAMESPACE
 
127
 
 
128
#endif // CHOOSESERIAL_H
 
129