2011-04-27 10:05:43 +00:00
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'icontheme.ui'
|
|
|
|
**
|
2020-04-24 12:29:29 +00:00
|
|
|
** Created by: Qt User Interface Compiler version 6.0.0
|
2011-04-27 10:05:43 +00:00
|
|
|
**
|
|
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef ICONTHEME_H
|
|
|
|
#define ICONTHEME_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2018-03-05 12:04:46 +00:00
|
|
|
#include <QtGui/QIcon>
|
2011-09-22 13:09:37 +00:00
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QPushButton>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
|
|
|
#include <QtWidgets/QWidget>
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_Form
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QVBoxLayout *verticalLayout;
|
|
|
|
QPushButton *fileicon;
|
|
|
|
QPushButton *fileandthemeicon;
|
|
|
|
QPushButton *themeicon;
|
|
|
|
|
|
|
|
void setupUi(QWidget *Form)
|
|
|
|
{
|
|
|
|
if (Form->objectName().isEmpty())
|
2018-07-13 09:02:14 +00:00
|
|
|
Form->setObjectName(QString::fromUtf8("Form"));
|
2011-04-27 10:05:43 +00:00
|
|
|
Form->resize(122, 117);
|
|
|
|
verticalLayout = new QVBoxLayout(Form);
|
2018-07-13 09:02:14 +00:00
|
|
|
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
fileicon = new QPushButton(Form);
|
2018-07-13 09:02:14 +00:00
|
|
|
fileicon->setObjectName(QString::fromUtf8("fileicon"));
|
2011-04-27 10:05:43 +00:00
|
|
|
QIcon icon;
|
2018-07-13 09:02:14 +00:00
|
|
|
icon.addFile(QString::fromUtf8("image1.png"), QSize(), QIcon::Normal, QIcon::Off);
|
2011-04-27 10:05:43 +00:00
|
|
|
fileicon->setIcon(icon);
|
|
|
|
|
|
|
|
verticalLayout->addWidget(fileicon);
|
|
|
|
|
|
|
|
fileandthemeicon = new QPushButton(Form);
|
2018-07-13 09:02:14 +00:00
|
|
|
fileandthemeicon->setObjectName(QString::fromUtf8("fileandthemeicon"));
|
2011-04-27 10:05:43 +00:00
|
|
|
QIcon icon1;
|
2018-07-13 09:02:14 +00:00
|
|
|
QString iconThemeName = QString::fromUtf8("edit-copy");
|
2011-04-27 10:05:43 +00:00
|
|
|
if (QIcon::hasThemeIcon(iconThemeName)) {
|
|
|
|
icon1 = QIcon::fromTheme(iconThemeName);
|
|
|
|
} else {
|
2018-07-13 09:02:14 +00:00
|
|
|
icon1.addFile(QString::fromUtf8("image7.png"), QSize(), QIcon::Normal, QIcon::Off);
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|
|
|
|
fileandthemeicon->setIcon(icon1);
|
|
|
|
|
|
|
|
verticalLayout->addWidget(fileandthemeicon);
|
|
|
|
|
|
|
|
themeicon = new QPushButton(Form);
|
2018-07-13 09:02:14 +00:00
|
|
|
themeicon->setObjectName(QString::fromUtf8("themeicon"));
|
2011-04-27 10:05:43 +00:00
|
|
|
QIcon icon2;
|
2018-07-13 09:02:14 +00:00
|
|
|
iconThemeName = QString::fromUtf8("edit-copy");
|
2011-04-27 10:05:43 +00:00
|
|
|
if (QIcon::hasThemeIcon(iconThemeName)) {
|
|
|
|
icon2 = QIcon::fromTheme(iconThemeName);
|
|
|
|
} else {
|
2018-07-13 09:02:14 +00:00
|
|
|
icon2.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|
|
|
|
themeicon->setIcon(icon2);
|
|
|
|
|
|
|
|
verticalLayout->addWidget(themeicon);
|
|
|
|
|
|
|
|
|
|
|
|
retranslateUi(Form);
|
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(Form);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QWidget *Form)
|
|
|
|
{
|
2018-11-27 11:31:57 +00:00
|
|
|
Form->setWindowTitle(QCoreApplication::translate("Form", "Form", nullptr));
|
|
|
|
fileicon->setText(QCoreApplication::translate("Form", "fileicon", nullptr));
|
|
|
|
fileandthemeicon->setText(QCoreApplication::translate("Form", "PushButton", nullptr));
|
|
|
|
themeicon->setText(QCoreApplication::translate("Form", "PushButton", nullptr));
|
2011-04-27 10:05:43 +00:00
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class Form: public Ui_Form {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // ICONTHEME_H
|