~ubuntu-branches/ubuntu/wily/qtbase-opensource-src/wily

« back to all changes in this revision

Viewing changes to tests/auto/tools/uic/baseline/qttoolbardialog.ui.h

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2013-02-05 12:46:17 UTC
  • Revision ID: package-import@ubuntu.com-20130205124617-c8jouts182j002fx
Tags: upstream-5.0.1+dfsg
ImportĀ upstreamĀ versionĀ 5.0.1+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/********************************************************************************
 
2
** Form generated from reading UI file 'qttoolbardialog.ui'
 
3
**
 
4
** Created by: Qt User Interface Compiler version 5.0.0
 
5
**
 
6
** WARNING! All changes made in this file will be lost when recompiling UI file!
 
7
********************************************************************************/
 
8
 
 
9
#ifndef QTTOOLBARDIALOG_H
 
10
#define QTTOOLBARDIALOG_H
 
11
 
 
12
#include <QtCore/QVariant>
 
13
#include <QtWidgets/QAction>
 
14
#include <QtWidgets/QApplication>
 
15
#include <QtWidgets/QButtonGroup>
 
16
#include <QtWidgets/QDialog>
 
17
#include <QtWidgets/QDialogButtonBox>
 
18
#include <QtWidgets/QGridLayout>
 
19
#include <QtWidgets/QHBoxLayout>
 
20
#include <QtWidgets/QHeaderView>
 
21
#include <QtWidgets/QLabel>
 
22
#include <QtWidgets/QListWidget>
 
23
#include <QtWidgets/QSpacerItem>
 
24
#include <QtWidgets/QToolButton>
 
25
#include <QtWidgets/QTreeWidget>
 
26
#include <QtWidgets/QVBoxLayout>
 
27
 
 
28
QT_BEGIN_NAMESPACE
 
29
 
 
30
class Ui_QtToolBarDialog
 
31
{
 
32
public:
 
33
    QGridLayout *gridLayout;
 
34
    QTreeWidget *actionTree;
 
35
    QLabel *label;
 
36
    QHBoxLayout *hboxLayout;
 
37
    QLabel *label_2;
 
38
    QToolButton *newButton;
 
39
    QToolButton *removeButton;
 
40
    QToolButton *renameButton;
 
41
    QVBoxLayout *vboxLayout;
 
42
    QToolButton *upButton;
 
43
    QToolButton *leftButton;
 
44
    QToolButton *rightButton;
 
45
    QToolButton *downButton;
 
46
    QSpacerItem *spacerItem;
 
47
    QListWidget *currentToolBarList;
 
48
    QLabel *label_3;
 
49
    QListWidget *toolBarList;
 
50
    QDialogButtonBox *buttonBox;
 
51
 
 
52
    void setupUi(QDialog *QtToolBarDialog)
 
53
    {
 
54
        if (QtToolBarDialog->objectName().isEmpty())
 
55
            QtToolBarDialog->setObjectName(QStringLiteral("QtToolBarDialog"));
 
56
        QtToolBarDialog->resize(583, 508);
 
57
        gridLayout = new QGridLayout(QtToolBarDialog);
 
58
#ifndef Q_OS_MAC
 
59
        gridLayout->setSpacing(6);
 
60
#endif
 
61
        gridLayout->setContentsMargins(8, 8, 8, 8);
 
62
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
 
63
        actionTree = new QTreeWidget(QtToolBarDialog);
 
64
        actionTree->setObjectName(QStringLiteral("actionTree"));
 
65
 
 
66
        gridLayout->addWidget(actionTree, 1, 0, 3, 1);
 
67
 
 
68
        label = new QLabel(QtToolBarDialog);
 
69
        label->setObjectName(QStringLiteral("label"));
 
70
 
 
71
        gridLayout->addWidget(label, 0, 0, 1, 1);
 
72
 
 
73
        hboxLayout = new QHBoxLayout();
 
74
#ifndef Q_OS_MAC
 
75
        hboxLayout->setSpacing(6);
 
76
#endif
 
77
        hboxLayout->setContentsMargins(0, 0, 0, 0);
 
78
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
 
79
        label_2 = new QLabel(QtToolBarDialog);
 
80
        label_2->setObjectName(QStringLiteral("label_2"));
 
81
 
 
82
        hboxLayout->addWidget(label_2);
 
83
 
 
84
        newButton = new QToolButton(QtToolBarDialog);
 
85
        newButton->setObjectName(QStringLiteral("newButton"));
 
86
 
 
87
        hboxLayout->addWidget(newButton);
 
88
 
 
89
        removeButton = new QToolButton(QtToolBarDialog);
 
90
        removeButton->setObjectName(QStringLiteral("removeButton"));
 
91
 
 
92
        hboxLayout->addWidget(removeButton);
 
93
 
 
94
        renameButton = new QToolButton(QtToolBarDialog);
 
95
        renameButton->setObjectName(QStringLiteral("renameButton"));
 
96
 
 
97
        hboxLayout->addWidget(renameButton);
 
98
 
 
99
 
 
100
        gridLayout->addLayout(hboxLayout, 0, 1, 1, 2);
 
101
 
 
102
        vboxLayout = new QVBoxLayout();
 
103
#ifndef Q_OS_MAC
 
104
        vboxLayout->setSpacing(6);
 
105
#endif
 
106
        vboxLayout->setContentsMargins(0, 0, 0, 0);
 
107
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
 
108
        upButton = new QToolButton(QtToolBarDialog);
 
109
        upButton->setObjectName(QStringLiteral("upButton"));
 
110
        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
 
111
        sizePolicy.setHorizontalStretch(0);
 
112
        sizePolicy.setVerticalStretch(0);
 
113
        sizePolicy.setHeightForWidth(upButton->sizePolicy().hasHeightForWidth());
 
114
        upButton->setSizePolicy(sizePolicy);
 
115
 
 
116
        vboxLayout->addWidget(upButton);
 
117
 
 
118
        leftButton = new QToolButton(QtToolBarDialog);
 
119
        leftButton->setObjectName(QStringLiteral("leftButton"));
 
120
        sizePolicy.setHeightForWidth(leftButton->sizePolicy().hasHeightForWidth());
 
121
        leftButton->setSizePolicy(sizePolicy);
 
122
 
 
123
        vboxLayout->addWidget(leftButton);
 
124
 
 
125
        rightButton = new QToolButton(QtToolBarDialog);
 
126
        rightButton->setObjectName(QStringLiteral("rightButton"));
 
127
        sizePolicy.setHeightForWidth(rightButton->sizePolicy().hasHeightForWidth());
 
128
        rightButton->setSizePolicy(sizePolicy);
 
129
 
 
130
        vboxLayout->addWidget(rightButton);
 
131
 
 
132
        downButton = new QToolButton(QtToolBarDialog);
 
133
        downButton->setObjectName(QStringLiteral("downButton"));
 
134
        sizePolicy.setHeightForWidth(downButton->sizePolicy().hasHeightForWidth());
 
135
        downButton->setSizePolicy(sizePolicy);
 
136
 
 
137
        vboxLayout->addWidget(downButton);
 
138
 
 
139
        spacerItem = new QSpacerItem(29, 16, QSizePolicy::Minimum, QSizePolicy::Expanding);
 
140
 
 
141
        vboxLayout->addItem(spacerItem);
 
142
 
 
143
 
 
144
        gridLayout->addLayout(vboxLayout, 3, 1, 1, 1);
 
145
 
 
146
        currentToolBarList = new QListWidget(QtToolBarDialog);
 
147
        currentToolBarList->setObjectName(QStringLiteral("currentToolBarList"));
 
148
 
 
149
        gridLayout->addWidget(currentToolBarList, 3, 2, 1, 1);
 
150
 
 
151
        label_3 = new QLabel(QtToolBarDialog);
 
152
        label_3->setObjectName(QStringLiteral("label_3"));
 
153
 
 
154
        gridLayout->addWidget(label_3, 2, 1, 1, 2);
 
155
 
 
156
        toolBarList = new QListWidget(QtToolBarDialog);
 
157
        toolBarList->setObjectName(QStringLiteral("toolBarList"));
 
158
 
 
159
        gridLayout->addWidget(toolBarList, 1, 1, 1, 2);
 
160
 
 
161
        buttonBox = new QDialogButtonBox(QtToolBarDialog);
 
162
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
 
163
        buttonBox->setStandardButtons(QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::RestoreDefaults);
 
164
 
 
165
        gridLayout->addWidget(buttonBox, 5, 0, 1, 3);
 
166
 
 
167
        QWidget::setTabOrder(newButton, removeButton);
 
168
        QWidget::setTabOrder(removeButton, renameButton);
 
169
        QWidget::setTabOrder(renameButton, toolBarList);
 
170
        QWidget::setTabOrder(toolBarList, upButton);
 
171
        QWidget::setTabOrder(upButton, leftButton);
 
172
        QWidget::setTabOrder(leftButton, rightButton);
 
173
        QWidget::setTabOrder(rightButton, downButton);
 
174
        QWidget::setTabOrder(downButton, currentToolBarList);
 
175
 
 
176
        retranslateUi(QtToolBarDialog);
 
177
 
 
178
        QMetaObject::connectSlotsByName(QtToolBarDialog);
 
179
    } // setupUi
 
180
 
 
181
    void retranslateUi(QDialog *QtToolBarDialog)
 
182
    {
 
183
        QtToolBarDialog->setWindowTitle(QApplication::translate("QtToolBarDialog", "Customize Toolbars", 0));
 
184
        QTreeWidgetItem *___qtreewidgetitem = actionTree->headerItem();
 
185
        ___qtreewidgetitem->setText(0, QApplication::translate("QtToolBarDialog", "1", 0));
 
186
        label->setText(QApplication::translate("QtToolBarDialog", "Actions", 0));
 
187
        label_2->setText(QApplication::translate("QtToolBarDialog", "Toolbars", 0));
 
188
#ifndef QT_NO_TOOLTIP
 
189
        newButton->setToolTip(QApplication::translate("QtToolBarDialog", "Add new toolbar", 0));
 
190
#endif // QT_NO_TOOLTIP
 
191
        newButton->setText(QApplication::translate("QtToolBarDialog", "New", 0));
 
192
#ifndef QT_NO_TOOLTIP
 
193
        removeButton->setToolTip(QApplication::translate("QtToolBarDialog", "Remove selected toolbar", 0));
 
194
#endif // QT_NO_TOOLTIP
 
195
        removeButton->setText(QApplication::translate("QtToolBarDialog", "Remove", 0));
 
196
#ifndef QT_NO_TOOLTIP
 
197
        renameButton->setToolTip(QApplication::translate("QtToolBarDialog", "Rename toolbar", 0));
 
198
#endif // QT_NO_TOOLTIP
 
199
        renameButton->setText(QApplication::translate("QtToolBarDialog", "Rename", 0));
 
200
#ifndef QT_NO_TOOLTIP
 
201
        upButton->setToolTip(QApplication::translate("QtToolBarDialog", "Move action up", 0));
 
202
#endif // QT_NO_TOOLTIP
 
203
        upButton->setText(QApplication::translate("QtToolBarDialog", "Up", 0));
 
204
#ifndef QT_NO_TOOLTIP
 
205
        leftButton->setToolTip(QApplication::translate("QtToolBarDialog", "Remove action from toolbar", 0));
 
206
#endif // QT_NO_TOOLTIP
 
207
        leftButton->setText(QApplication::translate("QtToolBarDialog", "<-", 0));
 
208
#ifndef QT_NO_TOOLTIP
 
209
        rightButton->setToolTip(QApplication::translate("QtToolBarDialog", "Add action to toolbar", 0));
 
210
#endif // QT_NO_TOOLTIP
 
211
        rightButton->setText(QApplication::translate("QtToolBarDialog", "->", 0));
 
212
#ifndef QT_NO_TOOLTIP
 
213
        downButton->setToolTip(QApplication::translate("QtToolBarDialog", "Move action down", 0));
 
214
#endif // QT_NO_TOOLTIP
 
215
        downButton->setText(QApplication::translate("QtToolBarDialog", "Down", 0));
 
216
        label_3->setText(QApplication::translate("QtToolBarDialog", "Current Toolbar Actions", 0));
 
217
    } // retranslateUi
 
218
 
 
219
};
 
220
 
 
221
namespace Ui {
 
222
    class QtToolBarDialog: public Ui_QtToolBarDialog {};
 
223
} // namespace Ui
 
224
 
 
225
QT_END_NAMESPACE
 
226
 
 
227
#endif // QTTOOLBARDIALOG_H