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>
120 lines
4.0 KiB
C++
120 lines
4.0 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'translationsettings.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 TRANSLATIONSETTINGS_H
|
|
#define TRANSLATIONSETTINGS_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QAction>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QButtonGroup>
|
|
#include <QtWidgets/QComboBox>
|
|
#include <QtWidgets/QDialog>
|
|
#include <QtWidgets/QDialogButtonBox>
|
|
#include <QtWidgets/QGridLayout>
|
|
#include <QtWidgets/QGroupBox>
|
|
#include <QtWidgets/QHeaderView>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QVBoxLayout>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_TranslationSettings
|
|
{
|
|
public:
|
|
QVBoxLayout *vboxLayout;
|
|
QGroupBox *groupBox;
|
|
QGridLayout *gridLayout;
|
|
QComboBox *cbLanguageList;
|
|
QLabel *label;
|
|
QComboBox *cbCountryList;
|
|
QLabel *lblCountry;
|
|
QDialogButtonBox *buttonBox;
|
|
|
|
void setupUi(QDialog *TranslationSettings)
|
|
{
|
|
if (TranslationSettings->objectName().isEmpty())
|
|
TranslationSettings->setObjectName(QStringLiteral("TranslationSettings"));
|
|
TranslationSettings->resize(346, 125);
|
|
vboxLayout = new QVBoxLayout(TranslationSettings);
|
|
#ifndef Q_OS_MAC
|
|
vboxLayout->setSpacing(6);
|
|
#endif
|
|
#ifndef Q_OS_MAC
|
|
vboxLayout->setContentsMargins(9, 9, 9, 9);
|
|
#endif
|
|
vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
|
|
groupBox = new QGroupBox(TranslationSettings);
|
|
groupBox->setObjectName(QStringLiteral("groupBox"));
|
|
gridLayout = new QGridLayout(groupBox);
|
|
#ifndef Q_OS_MAC
|
|
gridLayout->setSpacing(6);
|
|
#endif
|
|
#ifndef Q_OS_MAC
|
|
gridLayout->setContentsMargins(9, 9, 9, 9);
|
|
#endif
|
|
gridLayout->setObjectName(QStringLiteral("gridLayout"));
|
|
cbLanguageList = new QComboBox(groupBox);
|
|
cbLanguageList->setObjectName(QStringLiteral("cbLanguageList"));
|
|
|
|
gridLayout->addWidget(cbLanguageList, 0, 1, 1, 1);
|
|
|
|
label = new QLabel(groupBox);
|
|
label->setObjectName(QStringLiteral("label"));
|
|
|
|
gridLayout->addWidget(label, 0, 0, 1, 1);
|
|
|
|
cbCountryList = new QComboBox(groupBox);
|
|
cbCountryList->setObjectName(QStringLiteral("cbCountryList"));
|
|
|
|
gridLayout->addWidget(cbCountryList, 1, 1, 1, 1);
|
|
|
|
lblCountry = new QLabel(groupBox);
|
|
lblCountry->setObjectName(QStringLiteral("lblCountry"));
|
|
|
|
gridLayout->addWidget(lblCountry, 1, 0, 1, 1);
|
|
|
|
|
|
vboxLayout->addWidget(groupBox);
|
|
|
|
buttonBox = new QDialogButtonBox(TranslationSettings);
|
|
buttonBox->setObjectName(QStringLiteral("buttonBox"));
|
|
buttonBox->setOrientation(Qt::Horizontal);
|
|
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok);
|
|
|
|
vboxLayout->addWidget(buttonBox);
|
|
|
|
#ifndef QT_NO_SHORTCUT
|
|
label->setBuddy(cbLanguageList);
|
|
#endif // QT_NO_SHORTCUT
|
|
|
|
retranslateUi(TranslationSettings);
|
|
QObject::connect(buttonBox, SIGNAL(accepted()), TranslationSettings, SLOT(accept()));
|
|
QObject::connect(buttonBox, SIGNAL(rejected()), TranslationSettings, SLOT(reject()));
|
|
|
|
QMetaObject::connectSlotsByName(TranslationSettings);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QDialog *TranslationSettings)
|
|
{
|
|
TranslationSettings->setWindowTitle(QApplication::translate("TranslationSettings", "Qt Linguist - Translation file settings", 0));
|
|
groupBox->setTitle(QApplication::translate("TranslationSettings", "Target language", 0));
|
|
label->setText(QApplication::translate("TranslationSettings", "Language", 0));
|
|
lblCountry->setText(QApplication::translate("TranslationSettings", "Country/Region", 0));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class TranslationSettings: public Ui_TranslationSettings {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // TRANSLATIONSETTINGS_H
|