816a623876
uic should use Q_NULLPTR instead of 0 as the default disambiguation context. Task-number: QTBUG-45291 Change-Id: I889182c7fe1c4be3336f3cd645aa60838863c633 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
133 lines
5.4 KiB
C++
133 lines
5.4 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/QAction>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QButtonGroup>
|
|
#include <QtWidgets/QComboBox>
|
|
#include <QtWidgets/QFormLayout>
|
|
#include <QtWidgets/QGroupBox>
|
|
#include <QtWidgets/QHBoxLayout>
|
|
#include <QtWidgets/QHeaderView>
|
|
#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(QStringLiteral("PreviewConfigurationWidget"));
|
|
PreviewConfigurationWidget->setCheckable(true);
|
|
formLayout = new QFormLayout(PreviewConfigurationWidget);
|
|
formLayout->setObjectName(QStringLiteral("formLayout"));
|
|
m_styleLabel = new QLabel(PreviewConfigurationWidget);
|
|
m_styleLabel->setObjectName(QStringLiteral("m_styleLabel"));
|
|
|
|
formLayout->setWidget(0, QFormLayout::LabelRole, m_styleLabel);
|
|
|
|
m_styleCombo = new QComboBox(PreviewConfigurationWidget);
|
|
m_styleCombo->setObjectName(QStringLiteral("m_styleCombo"));
|
|
|
|
formLayout->setWidget(0, QFormLayout::FieldRole, m_styleCombo);
|
|
|
|
m_appStyleSheetLabel = new QLabel(PreviewConfigurationWidget);
|
|
m_appStyleSheetLabel->setObjectName(QStringLiteral("m_appStyleSheetLabel"));
|
|
|
|
formLayout->setWidget(1, QFormLayout::LabelRole, m_appStyleSheetLabel);
|
|
|
|
hboxLayout = new QHBoxLayout();
|
|
hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
|
|
m_appStyleSheetLineEdit = new qdesigner_internal::TextPropertyEditor(PreviewConfigurationWidget);
|
|
m_appStyleSheetLineEdit->setObjectName(QStringLiteral("m_appStyleSheetLineEdit"));
|
|
m_appStyleSheetLineEdit->setMinimumSize(QSize(149, 0));
|
|
|
|
hboxLayout->addWidget(m_appStyleSheetLineEdit);
|
|
|
|
m_appStyleSheetChangeButton = new QToolButton(PreviewConfigurationWidget);
|
|
m_appStyleSheetChangeButton->setObjectName(QStringLiteral("m_appStyleSheetChangeButton"));
|
|
|
|
hboxLayout->addWidget(m_appStyleSheetChangeButton);
|
|
|
|
m_appStyleSheetClearButton = new QToolButton(PreviewConfigurationWidget);
|
|
m_appStyleSheetClearButton->setObjectName(QStringLiteral("m_appStyleSheetClearButton"));
|
|
|
|
hboxLayout->addWidget(m_appStyleSheetClearButton);
|
|
|
|
|
|
formLayout->setLayout(1, QFormLayout::FieldRole, hboxLayout);
|
|
|
|
m_skinLabel = new QLabel(PreviewConfigurationWidget);
|
|
m_skinLabel->setObjectName(QStringLiteral("m_skinLabel"));
|
|
|
|
formLayout->setWidget(2, QFormLayout::LabelRole, m_skinLabel);
|
|
|
|
hboxLayout1 = new QHBoxLayout();
|
|
hboxLayout1->setObjectName(QStringLiteral("hboxLayout1"));
|
|
m_skinCombo = new QComboBox(PreviewConfigurationWidget);
|
|
m_skinCombo->setObjectName(QStringLiteral("m_skinCombo"));
|
|
|
|
hboxLayout1->addWidget(m_skinCombo);
|
|
|
|
m_skinRemoveButton = new QToolButton(PreviewConfigurationWidget);
|
|
m_skinRemoveButton->setObjectName(QStringLiteral("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", Q_NULLPTR));
|
|
PreviewConfigurationWidget->setTitle(QApplication::translate("PreviewConfigurationWidget", "Print/Preview Configuration", Q_NULLPTR));
|
|
m_styleLabel->setText(QApplication::translate("PreviewConfigurationWidget", "Style", Q_NULLPTR));
|
|
m_appStyleSheetLabel->setText(QApplication::translate("PreviewConfigurationWidget", "Style sheet", Q_NULLPTR));
|
|
m_appStyleSheetChangeButton->setText(QApplication::translate("PreviewConfigurationWidget", "...", Q_NULLPTR));
|
|
m_appStyleSheetClearButton->setText(QApplication::translate("PreviewConfigurationWidget", "...", Q_NULLPTR));
|
|
m_skinLabel->setText(QApplication::translate("PreviewConfigurationWidget", "Device skin", Q_NULLPTR));
|
|
m_skinRemoveButton->setText(QApplication::translate("PreviewConfigurationWidget", "...", Q_NULLPTR));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class PreviewConfigurationWidget: public Ui_PreviewConfigurationWidget {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // PREVIEWCONFIGURATIONWIDGET_H
|