mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-24 04:20:46 +08:00
93 lines
2.8 KiB
C++
93 lines
2.8 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'icontheme.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 6.0.0
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef ICONTHEME_H
|
|
#define ICONTHEME_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtGui/QIcon>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QVBoxLayout>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_Form
|
|
{
|
|
public:
|
|
QVBoxLayout *verticalLayout;
|
|
QPushButton *fileicon;
|
|
QPushButton *fileandthemeicon;
|
|
QPushButton *themeicon;
|
|
|
|
void setupUi(QWidget *Form)
|
|
{
|
|
if (Form->objectName().isEmpty())
|
|
Form->setObjectName("Form");
|
|
Form->resize(122, 117);
|
|
verticalLayout = new QVBoxLayout(Form);
|
|
verticalLayout->setObjectName("verticalLayout");
|
|
fileicon = new QPushButton(Form);
|
|
fileicon->setObjectName("fileicon");
|
|
QIcon icon;
|
|
icon.addFile(QString::fromUtf8("image1.png"), QSize(), QIcon::Normal, QIcon::Off);
|
|
fileicon->setIcon(icon);
|
|
|
|
verticalLayout->addWidget(fileicon);
|
|
|
|
fileandthemeicon = new QPushButton(Form);
|
|
fileandthemeicon->setObjectName("fileandthemeicon");
|
|
QIcon icon1;
|
|
QString iconThemeName = QString::fromUtf8("edit-copy");
|
|
if (QIcon::hasThemeIcon(iconThemeName)) {
|
|
icon1 = QIcon::fromTheme(iconThemeName);
|
|
} else {
|
|
icon1.addFile(QString::fromUtf8("image7.png"), QSize(), QIcon::Normal, QIcon::Off);
|
|
}
|
|
fileandthemeicon->setIcon(icon1);
|
|
|
|
verticalLayout->addWidget(fileandthemeicon);
|
|
|
|
themeicon = new QPushButton(Form);
|
|
themeicon->setObjectName("themeicon");
|
|
QIcon icon2;
|
|
iconThemeName = QString::fromUtf8("edit-copy");
|
|
if (QIcon::hasThemeIcon(iconThemeName)) {
|
|
icon2 = QIcon::fromTheme(iconThemeName);
|
|
} else {
|
|
icon2.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
|
|
}
|
|
themeicon->setIcon(icon2);
|
|
|
|
verticalLayout->addWidget(themeicon);
|
|
|
|
|
|
retranslateUi(Form);
|
|
|
|
QMetaObject::connectSlotsByName(Form);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QWidget *Form)
|
|
{
|
|
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));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class Form: public Ui_Form {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // ICONTHEME_H
|