139f416237
For moc, rcc and uic, then it's friendly for tools like ccache. ccache is using md5 to check file modification, but the different timestamp info will cause different md5 for same meaningful contents, it will disabled ccache. Updated the autotest for uic and rcc. Task-number: QTBUG-26589 Change-Id: I9f1dcf6cd826ad9603af6e183757bcd748c32bd1 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
95 lines
2.9 KiB
C++
95 lines
2.9 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'icontheme.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 5.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 <QtWidgets/QAction>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QButtonGroup>
|
|
#include <QtWidgets/QHeaderView>
|
|
#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(QStringLiteral("Form"));
|
|
Form->resize(122, 117);
|
|
verticalLayout = new QVBoxLayout(Form);
|
|
verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
|
|
fileicon = new QPushButton(Form);
|
|
fileicon->setObjectName(QStringLiteral("fileicon"));
|
|
QIcon icon;
|
|
icon.addFile(QStringLiteral("image1.png"), QSize(), QIcon::Normal, QIcon::Off);
|
|
fileicon->setIcon(icon);
|
|
|
|
verticalLayout->addWidget(fileicon);
|
|
|
|
fileandthemeicon = new QPushButton(Form);
|
|
fileandthemeicon->setObjectName(QStringLiteral("fileandthemeicon"));
|
|
QIcon icon1;
|
|
QString iconThemeName = QStringLiteral("edit-copy");
|
|
if (QIcon::hasThemeIcon(iconThemeName)) {
|
|
icon1 = QIcon::fromTheme(iconThemeName);
|
|
} else {
|
|
icon1.addFile(QStringLiteral("image7.png"), QSize(), QIcon::Normal, QIcon::Off);
|
|
}
|
|
fileandthemeicon->setIcon(icon1);
|
|
|
|
verticalLayout->addWidget(fileandthemeicon);
|
|
|
|
themeicon = new QPushButton(Form);
|
|
themeicon->setObjectName(QStringLiteral("themeicon"));
|
|
QIcon icon2;
|
|
iconThemeName = QStringLiteral("edit-copy");
|
|
if (QIcon::hasThemeIcon(iconThemeName)) {
|
|
icon2 = QIcon::fromTheme(iconThemeName);
|
|
} else {
|
|
icon2.addFile(QStringLiteral(""), QSize(), QIcon::Normal, QIcon::Off);
|
|
}
|
|
themeicon->setIcon(icon2);
|
|
|
|
verticalLayout->addWidget(themeicon);
|
|
|
|
|
|
retranslateUi(Form);
|
|
|
|
QMetaObject::connectSlotsByName(Form);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QWidget *Form)
|
|
{
|
|
Form->setWindowTitle(QApplication::translate("Form", "Form", 0));
|
|
fileicon->setText(QApplication::translate("Form", "fileicon", 0));
|
|
fileandthemeicon->setText(QApplication::translate("Form", "PushButton", 0));
|
|
themeicon->setText(QApplication::translate("Form", "PushButton", 0));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class Form: public Ui_Form {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // ICONTHEME_H
|