Debian Codegraph @

tests/auto/tools/uic/baseline/icontheme.ui.h

raw
1 /********************************************************************************
2 ** Form generated from reading UI file 'icontheme.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.12.0
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8
9 #ifndef ICONTHEME_H
10 #define ICONTHEME_H
11
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QPushButton>
16 #include <QtWidgets/QVBoxLayout>
17 #include <QtWidgets/QWidget>
18
19 QT_BEGIN_NAMESPACE
20
21 class Ui_Form
22 {
23 public:
24 QVBoxLayout *verticalLayout;
25 QPushButton *fileicon;
26 QPushButton *fileandthemeicon;
27 QPushButton *themeicon;
28
29 void setupUi(QWidget *Form)
30 {
31 if (Form->objectName().isEmpty())
32 Form->setObjectName(QString::fromUtf8("Form"));
33 Form->resize(122, 117);
34 verticalLayout = new QVBoxLayout(Form);
35 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
36 fileicon = new QPushButton(Form);
37 fileicon->setObjectName(QString::fromUtf8("fileicon"));
38 QIcon icon;
39 icon.addFile(QString::fromUtf8("image1.png"), QSize(), QIcon::Normal, QIcon::Off);
40 fileicon->setIcon(icon);
41
42 verticalLayout->addWidget(fileicon);
43
44 fileandthemeicon = new QPushButton(Form);
45 fileandthemeicon->setObjectName(QString::fromUtf8("fileandthemeicon"));
46 QIcon icon1;
47 QString iconThemeName = QString::fromUtf8("edit-copy");
48 if (QIcon::hasThemeIcon(iconThemeName)) {
49 icon1 = QIcon::fromTheme(iconThemeName);
50 } else {
51 icon1.addFile(QString::fromUtf8("image7.png"), QSize(), QIcon::Normal, QIcon::Off);
52 }
53 fileandthemeicon->setIcon(icon1);
54
55 verticalLayout->addWidget(fileandthemeicon);
56
57 themeicon = new QPushButton(Form);
58 themeicon->setObjectName(QString::fromUtf8("themeicon"));
59 QIcon icon2;
60 iconThemeName = QString::fromUtf8("edit-copy");
61 if (QIcon::hasThemeIcon(iconThemeName)) {
62 icon2 = QIcon::fromTheme(iconThemeName);
63 } else {
64 icon2.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
65 }
66 themeicon->setIcon(icon2);
67
68 verticalLayout->addWidget(themeicon);
69
70
71 retranslateUi(Form);
72
73 QMetaObject::connectSlotsByName(Form);
74 } // setupUi
75
76 void retranslateUi(QWidget *Form)
77 {
78 Form->setWindowTitle(QCoreApplication::translate("Form", "Form", nullptr));
79 fileicon->setText(QCoreApplication::translate("Form", "fileicon", nullptr));
80 fileandthemeicon->setText(QCoreApplication::translate("Form", "PushButton", nullptr));
81 themeicon->setText(QCoreApplication::translate("Form", "PushButton", nullptr));
82 } // retranslateUi
83
84 };
85
86 namespace Ui {
87 class Form: public Ui_Form {};
88 } // namespace Ui
89
90 QT_END_NAMESPACE
91
92 #endif // ICONTHEME_H