2011-04-27 10:05:43 +00:00
|
|
|
/*
|
|
|
|
*********************************************************************
|
|
|
|
**
|
2015-01-28 08:44:43 +00:00
|
|
|
** Copyright (C) 2015 The Qt Company Ltd.
|
|
|
|
** Contact: http://www.qt.io/licensing/
|
2011-04-27 10:05:43 +00:00
|
|
|
**
|
|
|
|
** This file is part of the autotests of the Qt Toolkit.
|
|
|
|
**
|
2014-08-21 13:51:22 +00:00
|
|
|
** $QT_BEGIN_LICENSE:LGPL21$
|
2012-09-19 12:28:29 +00:00
|
|
|
** Commercial License Usage
|
|
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
** accordance with the commercial license agreement provided with the
|
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
2015-01-28 08:44:43 +00:00
|
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
|
|
** and conditions see http://www.qt.io/terms-conditions. For further
|
|
|
|
** information use the contact form at http://www.qt.io/contact-us.
|
2012-09-19 12:28:29 +00:00
|
|
|
**
|
2011-04-27 10:05:43 +00:00
|
|
|
** GNU Lesser General Public License Usage
|
2012-09-19 12:28:29 +00:00
|
|
|
** Alternatively, this file may be used under the terms of the GNU Lesser
|
2014-08-21 13:51:22 +00:00
|
|
|
** General Public License version 2.1 or version 3 as published by the Free
|
|
|
|
** Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
|
|
** LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
|
|
** following information to ensure the GNU Lesser General Public License
|
|
|
|
** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
|
|
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
2012-09-19 12:28:29 +00:00
|
|
|
**
|
2015-01-28 08:44:43 +00:00
|
|
|
** As a special exception, The Qt Company gives you certain additional
|
|
|
|
** rights. These rights are described in The Qt Company LGPL Exception
|
2011-04-27 10:05:43 +00:00
|
|
|
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
|
|
**
|
|
|
|
** $QT_END_LICENSE$
|
|
|
|
**
|
|
|
|
*********************************************************************
|
|
|
|
*/
|
|
|
|
|
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'formwindowsettings.ui'
|
|
|
|
**
|
2012-12-13 12:48:18 +00:00
|
|
|
** Created by: Qt User Interface Compiler version 5.0.0
|
2011-04-27 10:05:43 +00:00
|
|
|
**
|
|
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef FORMWINDOWSETTINGS_H
|
|
|
|
#define FORMWINDOWSETTINGS_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2011-09-22 13:09:37 +00:00
|
|
|
#include <QtWidgets/QAction>
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QButtonGroup>
|
|
|
|
#include <QtWidgets/QDialog>
|
|
|
|
#include <QtWidgets/QDialogButtonBox>
|
|
|
|
#include <QtWidgets/QFrame>
|
|
|
|
#include <QtWidgets/QGridLayout>
|
|
|
|
#include <QtWidgets/QGroupBox>
|
|
|
|
#include <QtWidgets/QHBoxLayout>
|
|
|
|
#include <QtWidgets/QHeaderView>
|
|
|
|
#include <QtWidgets/QLabel>
|
|
|
|
#include <QtWidgets/QLineEdit>
|
|
|
|
#include <QtWidgets/QSpacerItem>
|
|
|
|
#include <QtWidgets/QSpinBox>
|
|
|
|
#include <QtWidgets/QTextEdit>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
2011-04-27 10:05:43 +00:00
|
|
|
#include <gridpanel_p.h>
|
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_FormWindowSettings
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QGridLayout *gridLayout;
|
|
|
|
QDialogButtonBox *buttonBox;
|
|
|
|
QFrame *line;
|
|
|
|
QHBoxLayout *hboxLayout;
|
|
|
|
QGroupBox *layoutDefaultGroupBox;
|
|
|
|
QGridLayout *gridLayout1;
|
|
|
|
QLabel *label_2;
|
|
|
|
QLabel *label;
|
|
|
|
QSpinBox *defaultSpacingSpinBox;
|
|
|
|
QSpinBox *defaultMarginSpinBox;
|
|
|
|
QGroupBox *layoutFunctionGroupBox;
|
|
|
|
QGridLayout *gridLayout2;
|
|
|
|
QLineEdit *spacingFunctionLineEdit;
|
|
|
|
QLineEdit *marginFunctionLineEdit;
|
|
|
|
QLabel *label_3;
|
|
|
|
QLabel *label_3_2;
|
|
|
|
QGroupBox *pixmapFunctionGroupBox_2;
|
|
|
|
QVBoxLayout *vboxLayout;
|
|
|
|
QLineEdit *authorLineEdit;
|
|
|
|
QGroupBox *includeHintsGroupBox;
|
|
|
|
QVBoxLayout *vboxLayout1;
|
|
|
|
QTextEdit *includeHintsTextEdit;
|
|
|
|
QHBoxLayout *hboxLayout1;
|
|
|
|
QGroupBox *pixmapFunctionGroupBox;
|
|
|
|
QVBoxLayout *vboxLayout2;
|
|
|
|
QLineEdit *pixmapFunctionLineEdit;
|
|
|
|
QSpacerItem *spacerItem;
|
|
|
|
qdesigner_internal::GridPanel *gridPanel;
|
|
|
|
|
|
|
|
void setupUi(QDialog *FormWindowSettings)
|
|
|
|
{
|
|
|
|
if (FormWindowSettings->objectName().isEmpty())
|
2011-12-11 15:55:01 +00:00
|
|
|
FormWindowSettings->setObjectName(QStringLiteral("FormWindowSettings"));
|
2011-04-27 10:05:43 +00:00
|
|
|
FormWindowSettings->resize(433, 465);
|
|
|
|
gridLayout = new QGridLayout(FormWindowSettings);
|
2011-12-11 15:55:01 +00:00
|
|
|
gridLayout->setObjectName(QStringLiteral("gridLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
buttonBox = new QDialogButtonBox(FormWindowSettings);
|
2011-12-11 15:55:01 +00:00
|
|
|
buttonBox->setObjectName(QStringLiteral("buttonBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
buttonBox->setOrientation(Qt::Horizontal);
|
|
|
|
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok);
|
|
|
|
|
|
|
|
gridLayout->addWidget(buttonBox, 6, 0, 1, 2);
|
|
|
|
|
|
|
|
line = new QFrame(FormWindowSettings);
|
2011-12-11 15:55:01 +00:00
|
|
|
line->setObjectName(QStringLiteral("line"));
|
2011-04-27 10:05:43 +00:00
|
|
|
line->setFrameShape(QFrame::HLine);
|
|
|
|
line->setFrameShadow(QFrame::Sunken);
|
|
|
|
|
|
|
|
gridLayout->addWidget(line, 5, 0, 1, 2);
|
|
|
|
|
|
|
|
hboxLayout = new QHBoxLayout();
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
hboxLayout->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
hboxLayout->setContentsMargins(0, 0, 0, 0);
|
2011-12-11 15:55:01 +00:00
|
|
|
hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
layoutDefaultGroupBox = new QGroupBox(FormWindowSettings);
|
2011-12-11 15:55:01 +00:00
|
|
|
layoutDefaultGroupBox->setObjectName(QStringLiteral("layoutDefaultGroupBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
layoutDefaultGroupBox->setCheckable(true);
|
|
|
|
gridLayout1 = new QGridLayout(layoutDefaultGroupBox);
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
gridLayout1->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
gridLayout1->setContentsMargins(8, 8, 8, 8);
|
2011-12-11 15:55:01 +00:00
|
|
|
gridLayout1->setObjectName(QStringLiteral("gridLayout1"));
|
2011-04-27 10:05:43 +00:00
|
|
|
label_2 = new QLabel(layoutDefaultGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
label_2->setObjectName(QStringLiteral("label_2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout1->addWidget(label_2, 1, 0, 1, 1);
|
|
|
|
|
|
|
|
label = new QLabel(layoutDefaultGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
label->setObjectName(QStringLiteral("label"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout1->addWidget(label, 0, 0, 1, 1);
|
|
|
|
|
|
|
|
defaultSpacingSpinBox = new QSpinBox(layoutDefaultGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
defaultSpacingSpinBox->setObjectName(QStringLiteral("defaultSpacingSpinBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout1->addWidget(defaultSpacingSpinBox, 1, 1, 1, 1);
|
|
|
|
|
|
|
|
defaultMarginSpinBox = new QSpinBox(layoutDefaultGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
defaultMarginSpinBox->setObjectName(QStringLiteral("defaultMarginSpinBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout1->addWidget(defaultMarginSpinBox, 0, 1, 1, 1);
|
|
|
|
|
|
|
|
|
|
|
|
hboxLayout->addWidget(layoutDefaultGroupBox);
|
|
|
|
|
|
|
|
layoutFunctionGroupBox = new QGroupBox(FormWindowSettings);
|
2011-12-11 15:55:01 +00:00
|
|
|
layoutFunctionGroupBox->setObjectName(QStringLiteral("layoutFunctionGroupBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
layoutFunctionGroupBox->setCheckable(true);
|
|
|
|
gridLayout2 = new QGridLayout(layoutFunctionGroupBox);
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
gridLayout2->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
gridLayout2->setContentsMargins(8, 8, 8, 8);
|
2011-12-11 15:55:01 +00:00
|
|
|
gridLayout2->setObjectName(QStringLiteral("gridLayout2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
spacingFunctionLineEdit = new QLineEdit(layoutFunctionGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
spacingFunctionLineEdit->setObjectName(QStringLiteral("spacingFunctionLineEdit"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout2->addWidget(spacingFunctionLineEdit, 1, 1, 1, 1);
|
|
|
|
|
|
|
|
marginFunctionLineEdit = new QLineEdit(layoutFunctionGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
marginFunctionLineEdit->setObjectName(QStringLiteral("marginFunctionLineEdit"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout2->addWidget(marginFunctionLineEdit, 0, 1, 1, 1);
|
|
|
|
|
|
|
|
label_3 = new QLabel(layoutFunctionGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
label_3->setObjectName(QStringLiteral("label_3"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout2->addWidget(label_3, 0, 0, 1, 1);
|
|
|
|
|
|
|
|
label_3_2 = new QLabel(layoutFunctionGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
label_3_2->setObjectName(QStringLiteral("label_3_2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout2->addWidget(label_3_2, 1, 0, 1, 1);
|
|
|
|
|
|
|
|
|
|
|
|
hboxLayout->addWidget(layoutFunctionGroupBox);
|
|
|
|
|
|
|
|
|
|
|
|
gridLayout->addLayout(hboxLayout, 2, 0, 1, 2);
|
|
|
|
|
|
|
|
pixmapFunctionGroupBox_2 = new QGroupBox(FormWindowSettings);
|
2011-12-11 15:55:01 +00:00
|
|
|
pixmapFunctionGroupBox_2->setObjectName(QStringLiteral("pixmapFunctionGroupBox_2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
vboxLayout = new QVBoxLayout(pixmapFunctionGroupBox_2);
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
vboxLayout->setContentsMargins(8, 8, 8, 8);
|
2011-12-11 15:55:01 +00:00
|
|
|
vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
authorLineEdit = new QLineEdit(pixmapFunctionGroupBox_2);
|
2011-12-11 15:55:01 +00:00
|
|
|
authorLineEdit->setObjectName(QStringLiteral("authorLineEdit"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
vboxLayout->addWidget(authorLineEdit);
|
|
|
|
|
|
|
|
|
|
|
|
gridLayout->addWidget(pixmapFunctionGroupBox_2, 0, 0, 1, 2);
|
|
|
|
|
|
|
|
includeHintsGroupBox = new QGroupBox(FormWindowSettings);
|
2011-12-11 15:55:01 +00:00
|
|
|
includeHintsGroupBox->setObjectName(QStringLiteral("includeHintsGroupBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
vboxLayout1 = new QVBoxLayout(includeHintsGroupBox);
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout1->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
vboxLayout1->setContentsMargins(8, 8, 8, 8);
|
2011-12-11 15:55:01 +00:00
|
|
|
vboxLayout1->setObjectName(QStringLiteral("vboxLayout1"));
|
2011-04-27 10:05:43 +00:00
|
|
|
includeHintsTextEdit = new QTextEdit(includeHintsGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
includeHintsTextEdit->setObjectName(QStringLiteral("includeHintsTextEdit"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
vboxLayout1->addWidget(includeHintsTextEdit);
|
|
|
|
|
|
|
|
|
|
|
|
gridLayout->addWidget(includeHintsGroupBox, 3, 0, 2, 1);
|
|
|
|
|
|
|
|
hboxLayout1 = new QHBoxLayout();
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
hboxLayout1->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
hboxLayout1->setContentsMargins(0, 0, 0, 0);
|
2011-12-11 15:55:01 +00:00
|
|
|
hboxLayout1->setObjectName(QStringLiteral("hboxLayout1"));
|
2011-04-27 10:05:43 +00:00
|
|
|
pixmapFunctionGroupBox = new QGroupBox(FormWindowSettings);
|
2011-12-11 15:55:01 +00:00
|
|
|
pixmapFunctionGroupBox->setObjectName(QStringLiteral("pixmapFunctionGroupBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
pixmapFunctionGroupBox->setCheckable(true);
|
|
|
|
vboxLayout2 = new QVBoxLayout(pixmapFunctionGroupBox);
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout2->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
vboxLayout2->setContentsMargins(8, 8, 8, 8);
|
2011-12-11 15:55:01 +00:00
|
|
|
vboxLayout2->setObjectName(QStringLiteral("vboxLayout2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
pixmapFunctionLineEdit = new QLineEdit(pixmapFunctionGroupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
pixmapFunctionLineEdit->setObjectName(QStringLiteral("pixmapFunctionLineEdit"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
vboxLayout2->addWidget(pixmapFunctionLineEdit);
|
|
|
|
|
|
|
|
|
|
|
|
hboxLayout1->addWidget(pixmapFunctionGroupBox);
|
|
|
|
|
|
|
|
|
|
|
|
gridLayout->addLayout(hboxLayout1, 3, 1, 1, 1);
|
|
|
|
|
|
|
|
spacerItem = new QSpacerItem(111, 115, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
|
|
|
|
gridLayout->addItem(spacerItem, 4, 1, 1, 1);
|
|
|
|
|
|
|
|
gridPanel = new qdesigner_internal::GridPanel(FormWindowSettings);
|
2011-12-11 15:55:01 +00:00
|
|
|
gridPanel->setObjectName(QStringLiteral("gridPanel"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(gridPanel, 1, 0, 1, 2);
|
|
|
|
|
|
|
|
#ifndef QT_NO_SHORTCUT
|
|
|
|
label_2->setBuddy(defaultSpacingSpinBox);
|
|
|
|
label->setBuddy(defaultMarginSpinBox);
|
|
|
|
label_3->setBuddy(marginFunctionLineEdit);
|
|
|
|
label_3_2->setBuddy(spacingFunctionLineEdit);
|
|
|
|
#endif // QT_NO_SHORTCUT
|
|
|
|
QWidget::setTabOrder(authorLineEdit, defaultMarginSpinBox);
|
|
|
|
QWidget::setTabOrder(defaultMarginSpinBox, defaultSpacingSpinBox);
|
|
|
|
QWidget::setTabOrder(defaultSpacingSpinBox, marginFunctionLineEdit);
|
|
|
|
QWidget::setTabOrder(marginFunctionLineEdit, spacingFunctionLineEdit);
|
|
|
|
QWidget::setTabOrder(spacingFunctionLineEdit, pixmapFunctionLineEdit);
|
|
|
|
|
|
|
|
retranslateUi(FormWindowSettings);
|
|
|
|
QObject::connect(buttonBox, SIGNAL(accepted()), FormWindowSettings, SLOT(accept()));
|
|
|
|
QObject::connect(buttonBox, SIGNAL(rejected()), FormWindowSettings, SLOT(reject()));
|
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(FormWindowSettings);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QDialog *FormWindowSettings)
|
|
|
|
{
|
2012-05-17 00:37:23 +00:00
|
|
|
FormWindowSettings->setWindowTitle(QApplication::translate("FormWindowSettings", "Form Settings", 0));
|
|
|
|
layoutDefaultGroupBox->setTitle(QApplication::translate("FormWindowSettings", "Layout &Default", 0));
|
|
|
|
label_2->setText(QApplication::translate("FormWindowSettings", "&Spacing:", 0));
|
|
|
|
label->setText(QApplication::translate("FormWindowSettings", "&Margin:", 0));
|
|
|
|
layoutFunctionGroupBox->setTitle(QApplication::translate("FormWindowSettings", "&Layout Function", 0));
|
|
|
|
label_3->setText(QApplication::translate("FormWindowSettings", "Ma&rgin:", 0));
|
|
|
|
label_3_2->setText(QApplication::translate("FormWindowSettings", "Spa&cing:", 0));
|
|
|
|
pixmapFunctionGroupBox_2->setTitle(QApplication::translate("FormWindowSettings", "&Author", 0));
|
|
|
|
includeHintsGroupBox->setTitle(QApplication::translate("FormWindowSettings", "&Include Hints", 0));
|
|
|
|
pixmapFunctionGroupBox->setTitle(QApplication::translate("FormWindowSettings", "&Pixmap Function", 0));
|
|
|
|
gridPanel->setTitle(QApplication::translate("FormWindowSettings", "Grid", 0));
|
2011-04-27 10:05:43 +00:00
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class FormWindowSettings: public Ui_FormWindowSettings {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // FORMWINDOWSETTINGS_H
|