9#ifndef PROPERTYWIZARD_H
10#define PROPERTYWIZARD_H
12#include <QtCore/QVariant>
14#include <QtWidgets/QApplication>
15#include <QtWidgets/QComboBox>
16#include <QtWidgets/QDialog>
17#include <QtWidgets/QDialogButtonBox>
18#include <QtWidgets/QHBoxLayout>
19#include <QtWidgets/QHeaderView>
20#include <QtWidgets/QSpacerItem>
21#include <QtWidgets/QToolButton>
22#include <QtWidgets/QTreeWidget>
23#include <QtWidgets/QVBoxLayout>
31 QVBoxLayout *verticalLayout;
32 QHBoxLayout *horizontalLayout;
33 KComboBox *prefixLeft;
34 KComboBox *prefixOperand;
35 KComboBox *prefixRight;
36 QSpacerItem *horizontalSpacer;
37 QTreeWidget *propertyTree;
38 QHBoxLayout *horizontalLayout_2;
39 QComboBox *expressionType;
40 KComboBox *expressionOptions;
41 QToolButton *addExpression;
42 QToolButton *deleteExpression;
43 QDialogButtonBox *buttonBox;
45 void setupUi(QDialog *PropertyWizard)
47 if (PropertyWizard->objectName().isEmpty())
48 PropertyWizard->setObjectName(QString::fromUtf8(
"PropertyWizard"));
49 PropertyWizard->resize(414, 430);
50 verticalLayout =
new QVBoxLayout(PropertyWizard);
51 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
52 horizontalLayout =
new QHBoxLayout();
53 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
54 prefixLeft =
new KComboBox(PropertyWizard);
55 prefixLeft->addItem(QString());
56 prefixLeft->addItem(QString());
57 prefixLeft->addItem(QString());
58 prefixLeft->addItem(QString());
59 prefixLeft->setObjectName(QString::fromUtf8(
"prefixLeft"));
61 horizontalLayout->addWidget(prefixLeft);
63 prefixOperand =
new KComboBox(PropertyWizard);
64 prefixOperand->addItem(QString());
65 prefixOperand->addItem(QString());
66 prefixOperand->addItem(QString());
67 prefixOperand->addItem(QString());
68 prefixOperand->addItem(QString());
69 prefixOperand->setObjectName(QString::fromUtf8(
"prefixOperand"));
71 horizontalLayout->addWidget(prefixOperand);
73 prefixRight =
new KComboBox(PropertyWizard);
74 prefixRight->setObjectName(QString::fromUtf8(
"prefixRight"));
75 prefixRight->setEditable(
true);
77 horizontalLayout->addWidget(prefixRight);
79 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
81 horizontalLayout->addItem(horizontalSpacer);
84 verticalLayout->addLayout(horizontalLayout);
86 propertyTree =
new QTreeWidget(PropertyWizard);
87 QTreeWidgetItem *__qtreewidgetitem =
new QTreeWidgetItem();
88 __qtreewidgetitem->setText(0, QString::fromUtf8(
"1"));
89 propertyTree->setHeaderItem(__qtreewidgetitem);
90 propertyTree->setObjectName(QString::fromUtf8(
"propertyTree"));
92 verticalLayout->addWidget(propertyTree);
94 horizontalLayout_2 =
new QHBoxLayout();
95 horizontalLayout_2->setObjectName(QString::fromUtf8(
"horizontalLayout_2"));
96 expressionType =
new QComboBox(PropertyWizard);
97 expressionType->setObjectName(QString::fromUtf8(
"expressionType"));
99 horizontalLayout_2->addWidget(expressionType);
101 expressionOptions =
new KComboBox(PropertyWizard);
102 expressionOptions->addItem(QString());
103 expressionOptions->addItem(QString());
104 expressionOptions->addItem(QString());
105 expressionOptions->addItem(QString());
106 expressionOptions->setObjectName(QString::fromUtf8(
"expressionOptions"));
108 horizontalLayout_2->addWidget(expressionOptions);
110 addExpression =
new QToolButton(PropertyWizard);
111 addExpression->setObjectName(QString::fromUtf8(
"addExpression"));
113 QString iconThemeName = QString::fromUtf8(
"add");
114 if (QIcon::hasThemeIcon(iconThemeName)) {
115 icon = QIcon::fromTheme(iconThemeName);
117 icon.addFile(QString::fromUtf8(
"."), QSize(), QIcon::Normal, QIcon::Off);
119 addExpression->setIcon(icon);
121 horizontalLayout_2->addWidget(addExpression);
123 deleteExpression =
new QToolButton(PropertyWizard);
124 deleteExpression->setObjectName(QString::fromUtf8(
"deleteExpression"));
126 iconThemeName = QString::fromUtf8(
"delete");
127 if (QIcon::hasThemeIcon(iconThemeName)) {
128 icon1 = QIcon::fromTheme(iconThemeName);
130 icon1.addFile(QString::fromUtf8(
"."), QSize(), QIcon::Normal, QIcon::Off);
132 deleteExpression->setIcon(icon1);
134 horizontalLayout_2->addWidget(deleteExpression);
137 verticalLayout->addLayout(horizontalLayout_2);
139 buttonBox =
new QDialogButtonBox(PropertyWizard);
140 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
141 buttonBox->setOrientation(Qt::Horizontal);
142 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
144 verticalLayout->addWidget(buttonBox);
147 retranslateUi(PropertyWizard);
148 QObject::connect(buttonBox, SIGNAL(accepted()), PropertyWizard, SLOT(accept()));
149 QObject::connect(buttonBox, SIGNAL(rejected()), PropertyWizard, SLOT(reject()));
151 QMetaObject::connectSlotsByName(PropertyWizard);
154 void retranslateUi(QDialog *PropertyWizard)
156 PropertyWizard->setWindowTitle(QCoreApplication::translate(
"PropertyWizard",
"Property Wizard",
nullptr));
157 prefixLeft->setItemText(0, QCoreApplication::translate(
"PropertyWizard",
"P",
nullptr));
158 prefixLeft->setItemText(1, QCoreApplication::translate(
"PropertyWizard",
"Pmin",
nullptr));
159 prefixLeft->setItemText(2, QCoreApplication::translate(
"PropertyWizard",
"Pmax",
nullptr));
160 prefixLeft->setItemText(3, QCoreApplication::translate(
"PropertyWizard",
"S",
nullptr));
162 prefixOperand->setItemText(0, QCoreApplication::translate(
"PropertyWizard",
">",
nullptr));
163 prefixOperand->setItemText(1, QCoreApplication::translate(
"PropertyWizard",
"<",
nullptr));
164 prefixOperand->setItemText(2, QCoreApplication::translate(
"PropertyWizard",
">=",
nullptr));
165 prefixOperand->setItemText(3, QCoreApplication::translate(
"PropertyWizard",
"<=",
nullptr));
166 prefixOperand->setItemText(4, QCoreApplication::translate(
"PropertyWizard",
"=?",
nullptr));
168 expressionOptions->setItemText(0, QCoreApplication::translate(
"PropertyWizard",
"AND",
nullptr));
169 expressionOptions->setItemText(1, QCoreApplication::translate(
"PropertyWizard",
"OR",
nullptr));
170 expressionOptions->setItemText(2, QCoreApplication::translate(
"PropertyWizard",
"XOR",
nullptr));
171 expressionOptions->setItemText(3, QCoreApplication::translate(
"PropertyWizard",
"U (Until)",
nullptr));
173 addExpression->setText(QCoreApplication::translate(
"PropertyWizard",
"...",
nullptr));
174 deleteExpression->setText(QCoreApplication::translate(
"PropertyWizard",
"...",
nullptr));
Definition: ui_PropertyWizard.h:180
Definition: ui_PropertyWizard.h:29