ff18b02f21
This reverts the following commits:d12d2949d1
26c3bec09b
49b08f96e8
We can't easily predict all code paths for QDesigner with such a microoptimization. We also don't want to generate three different string constructions depending on some sophisticated heuristics. [ChangeLog][uic] The -no-stringliteral option is now deprecated and UIC will not generate QStringLiteral anymore. Task-number: QTBUG-65251 Task-number: QTBUG-51602 Change-Id: I34a5a1934a8df19c5c84ac2ba8e5168ce5665037 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
130 lines
5.3 KiB
C++
130 lines
5.3 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'previewconfigurationwidget.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 PREVIEWCONFIGURATIONWIDGET_H
|
|
#define PREVIEWCONFIGURATIONWIDGET_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QComboBox>
|
|
#include <QtWidgets/QFormLayout>
|
|
#include <QtWidgets/QGroupBox>
|
|
#include <QtWidgets/QHBoxLayout>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QToolButton>
|
|
#include <textpropertyeditor_p.h>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_PreviewConfigurationWidget
|
|
{
|
|
public:
|
|
QFormLayout *formLayout;
|
|
QLabel *m_styleLabel;
|
|
QComboBox *m_styleCombo;
|
|
QLabel *m_appStyleSheetLabel;
|
|
QHBoxLayout *hboxLayout;
|
|
qdesigner_internal::TextPropertyEditor *m_appStyleSheetLineEdit;
|
|
QToolButton *m_appStyleSheetChangeButton;
|
|
QToolButton *m_appStyleSheetClearButton;
|
|
QLabel *m_skinLabel;
|
|
QHBoxLayout *hboxLayout1;
|
|
QComboBox *m_skinCombo;
|
|
QToolButton *m_skinRemoveButton;
|
|
|
|
void setupUi(QGroupBox *PreviewConfigurationWidget)
|
|
{
|
|
if (PreviewConfigurationWidget->objectName().isEmpty())
|
|
PreviewConfigurationWidget->setObjectName(QString::fromUtf8("PreviewConfigurationWidget"));
|
|
PreviewConfigurationWidget->setCheckable(true);
|
|
formLayout = new QFormLayout(PreviewConfigurationWidget);
|
|
formLayout->setObjectName(QString::fromUtf8("formLayout"));
|
|
m_styleLabel = new QLabel(PreviewConfigurationWidget);
|
|
m_styleLabel->setObjectName(QString::fromUtf8("m_styleLabel"));
|
|
|
|
formLayout->setWidget(0, QFormLayout::LabelRole, m_styleLabel);
|
|
|
|
m_styleCombo = new QComboBox(PreviewConfigurationWidget);
|
|
m_styleCombo->setObjectName(QString::fromUtf8("m_styleCombo"));
|
|
|
|
formLayout->setWidget(0, QFormLayout::FieldRole, m_styleCombo);
|
|
|
|
m_appStyleSheetLabel = new QLabel(PreviewConfigurationWidget);
|
|
m_appStyleSheetLabel->setObjectName(QString::fromUtf8("m_appStyleSheetLabel"));
|
|
|
|
formLayout->setWidget(1, QFormLayout::LabelRole, m_appStyleSheetLabel);
|
|
|
|
hboxLayout = new QHBoxLayout();
|
|
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
|
|
m_appStyleSheetLineEdit = new qdesigner_internal::TextPropertyEditor(PreviewConfigurationWidget);
|
|
m_appStyleSheetLineEdit->setObjectName(QString::fromUtf8("m_appStyleSheetLineEdit"));
|
|
m_appStyleSheetLineEdit->setMinimumSize(QSize(149, 0));
|
|
|
|
hboxLayout->addWidget(m_appStyleSheetLineEdit);
|
|
|
|
m_appStyleSheetChangeButton = new QToolButton(PreviewConfigurationWidget);
|
|
m_appStyleSheetChangeButton->setObjectName(QString::fromUtf8("m_appStyleSheetChangeButton"));
|
|
|
|
hboxLayout->addWidget(m_appStyleSheetChangeButton);
|
|
|
|
m_appStyleSheetClearButton = new QToolButton(PreviewConfigurationWidget);
|
|
m_appStyleSheetClearButton->setObjectName(QString::fromUtf8("m_appStyleSheetClearButton"));
|
|
|
|
hboxLayout->addWidget(m_appStyleSheetClearButton);
|
|
|
|
|
|
formLayout->setLayout(1, QFormLayout::FieldRole, hboxLayout);
|
|
|
|
m_skinLabel = new QLabel(PreviewConfigurationWidget);
|
|
m_skinLabel->setObjectName(QString::fromUtf8("m_skinLabel"));
|
|
|
|
formLayout->setWidget(2, QFormLayout::LabelRole, m_skinLabel);
|
|
|
|
hboxLayout1 = new QHBoxLayout();
|
|
hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
|
|
m_skinCombo = new QComboBox(PreviewConfigurationWidget);
|
|
m_skinCombo->setObjectName(QString::fromUtf8("m_skinCombo"));
|
|
|
|
hboxLayout1->addWidget(m_skinCombo);
|
|
|
|
m_skinRemoveButton = new QToolButton(PreviewConfigurationWidget);
|
|
m_skinRemoveButton->setObjectName(QString::fromUtf8("m_skinRemoveButton"));
|
|
|
|
hboxLayout1->addWidget(m_skinRemoveButton);
|
|
|
|
|
|
formLayout->setLayout(2, QFormLayout::FieldRole, hboxLayout1);
|
|
|
|
|
|
retranslateUi(PreviewConfigurationWidget);
|
|
|
|
QMetaObject::connectSlotsByName(PreviewConfigurationWidget);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QGroupBox *PreviewConfigurationWidget)
|
|
{
|
|
PreviewConfigurationWidget->setWindowTitle(QApplication::translate("PreviewConfigurationWidget", "Form", nullptr));
|
|
PreviewConfigurationWidget->setTitle(QApplication::translate("PreviewConfigurationWidget", "Print/Preview Configuration", nullptr));
|
|
m_styleLabel->setText(QApplication::translate("PreviewConfigurationWidget", "Style", nullptr));
|
|
m_appStyleSheetLabel->setText(QApplication::translate("PreviewConfigurationWidget", "Style sheet", nullptr));
|
|
m_appStyleSheetChangeButton->setText(QApplication::translate("PreviewConfigurationWidget", "...", nullptr));
|
|
m_appStyleSheetClearButton->setText(QApplication::translate("PreviewConfigurationWidget", "...", nullptr));
|
|
m_skinLabel->setText(QApplication::translate("PreviewConfigurationWidget", "Device skin", nullptr));
|
|
m_skinRemoveButton->setText(QApplication::translate("PreviewConfigurationWidget", "...", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class PreviewConfigurationWidget: public Ui_PreviewConfigurationWidget {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // PREVIEWCONFIGURATIONWIDGET_H
|