| 1 |
/* |
| 2 |
********************************************************************* |
| 3 |
** |
| 4 |
** Copyright (C) 2016 The Qt Company Ltd. |
| 5 |
** Contact: https://www.qt.io/licensing/ |
| 6 |
** |
| 7 |
** This file is part of the autotests of the Qt Toolkit. |
| 8 |
** |
| 9 |
** $QT_BEGIN_LICENSE:GPL-EXCEPT$ |
| 10 |
** Commercial License Usage |
| 11 |
** Licensees holding valid commercial Qt licenses may use this file in |
| 12 |
** accordance with the commercial license agreement provided with the |
| 13 |
** Software or, alternatively, in accordance with the terms contained in |
| 14 |
** a written agreement between you and The Qt Company. For licensing terms |
| 15 |
** and conditions see https://www.qt.io/terms-conditions. For further |
| 16 |
** information use the contact form at https://www.qt.io/contact-us. |
| 17 |
** |
| 18 |
** GNU General Public License Usage |
| 19 |
** Alternatively, this file may be used under the terms of the GNU |
| 20 |
** General Public License version 3 as published by the Free Software |
| 21 |
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT |
| 22 |
** included in the packaging of this file. Please review the following |
| 23 |
** information to ensure the GNU General Public License requirements will |
| 24 |
** be met: https://www.gnu.org/licenses/gpl-3.0.html. |
| 25 |
** |
| 26 |
** $QT_END_LICENSE$ |
| 27 |
** |
| 28 |
********************************************************************* |
| 29 |
*/ |
| 30 |
|
| 31 |
/******************************************************************************** |
| 32 |
** Form generated from reading UI file 'formwindowsettings.ui' |
| 33 |
** |
| 34 |
** Created by: Qt User Interface Compiler version 5.12.0 |
| 35 |
** |
| 36 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 37 |
********************************************************************************/ |
| 38 |
|
| 39 |
#ifndef FORMWINDOWSETTINGS_H |
| 40 |
#define FORMWINDOWSETTINGS_H |
| 41 |
|
| 42 |
#include <QtCore/QVariant> |
| 43 |
#include <QtWidgets/QApplication> |
| 44 |
#include <QtWidgets/QDialog> |
| 45 |
#include <QtWidgets/QDialogButtonBox> |
| 46 |
#include <QtWidgets/QFrame> |
| 47 |
#include <QtWidgets/QGridLayout> |
| 48 |
#include <QtWidgets/QGroupBox> |
| 49 |
#include <QtWidgets/QHBoxLayout> |
| 50 |
#include <QtWidgets/QLabel> |
| 51 |
#include <QtWidgets/QLineEdit> |
| 52 |
#include <QtWidgets/QSpacerItem> |
| 53 |
#include <QtWidgets/QSpinBox> |
| 54 |
#include <QtWidgets/QTextEdit> |
| 55 |
#include <QtWidgets/QVBoxLayout> |
| 56 |
#include <gridpanel_p.h> |
| 57 |
|
| 58 |
QT_BEGIN_NAMESPACE |
| 59 |
|
| 60 |
class Ui_FormWindowSettings |
| 61 |
{ |
| 62 |
public: |
| 63 |
QGridLayout *gridLayout; |
| 64 |
QDialogButtonBox *buttonBox; |
| 65 |
QFrame *line; |
| 66 |
QHBoxLayout *hboxLayout; |
| 67 |
QGroupBox *layoutDefaultGroupBox; |
| 68 |
QGridLayout *gridLayout1; |
| 69 |
QLabel *label_2; |
| 70 |
QLabel *label; |
| 71 |
QSpinBox *defaultSpacingSpinBox; |
| 72 |
QSpinBox *defaultMarginSpinBox; |
| 73 |
QGroupBox *layoutFunctionGroupBox; |
| 74 |
QGridLayout *gridLayout2; |
| 75 |
QLineEdit *spacingFunctionLineEdit; |
| 76 |
QLineEdit *marginFunctionLineEdit; |
| 77 |
QLabel *label_3; |
| 78 |
QLabel *label_3_2; |
| 79 |
QGroupBox *pixmapFunctionGroupBox_2; |
| 80 |
QVBoxLayout *vboxLayout; |
| 81 |
QLineEdit *authorLineEdit; |
| 82 |
QGroupBox *includeHintsGroupBox; |
| 83 |
QVBoxLayout *vboxLayout1; |
| 84 |
QTextEdit *includeHintsTextEdit; |
| 85 |
QHBoxLayout *hboxLayout1; |
| 86 |
QGroupBox *pixmapFunctionGroupBox; |
| 87 |
QVBoxLayout *vboxLayout2; |
| 88 |
QLineEdit *pixmapFunctionLineEdit; |
| 89 |
QSpacerItem *spacerItem; |
| 90 |
qdesigner_internal::GridPanel *gridPanel; |
| 91 |
|
| 92 |
void setupUi(QDialog *FormWindowSettings) |
| 93 |
{ |
| 94 |
if (FormWindowSettings->objectName().isEmpty()) |
| 95 |
FormWindowSettings->setObjectName(QString::fromUtf8("FormWindowSettings")); |
| 96 |
FormWindowSettings->resize(433, 465); |
| 97 |
gridLayout = new QGridLayout(FormWindowSettings); |
| 98 |
gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
| 99 |
buttonBox = new QDialogButtonBox(FormWindowSettings); |
| 100 |
buttonBox->setObjectName(QString::fromUtf8("buttonBox")); |
| 101 |
buttonBox->setOrientation(Qt::Horizontal); |
| 102 |
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok); |
| 103 |
|
| 104 |
gridLayout->addWidget(buttonBox, 6, 0, 1, 2); |
| 105 |
|
| 106 |
line = new QFrame(FormWindowSettings); |
| 107 |
line->setObjectName(QString::fromUtf8("line")); |
| 108 |
line->setFrameShape(QFrame::HLine); |
| 109 |
line->setFrameShadow(QFrame::Sunken); |
| 110 |
|
| 111 |
gridLayout->addWidget(line, 5, 0, 1, 2); |
| 112 |
|
| 113 |
hboxLayout = new QHBoxLayout(); |
| 114 |
#ifndef Q_OS_MAC |
| 115 |
hboxLayout->setSpacing(6); |
| 116 |
#endif |
| 117 |
hboxLayout->setContentsMargins(0, 0, 0, 0); |
| 118 |
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
| 119 |
layoutDefaultGroupBox = new QGroupBox(FormWindowSettings); |
| 120 |
layoutDefaultGroupBox->setObjectName(QString::fromUtf8("layoutDefaultGroupBox")); |
| 121 |
layoutDefaultGroupBox->setCheckable(true); |
| 122 |
gridLayout1 = new QGridLayout(layoutDefaultGroupBox); |
| 123 |
#ifndef Q_OS_MAC |
| 124 |
gridLayout1->setSpacing(6); |
| 125 |
#endif |
| 126 |
gridLayout1->setContentsMargins(8, 8, 8, 8); |
| 127 |
gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); |
| 128 |
label_2 = new QLabel(layoutDefaultGroupBox); |
| 129 |
label_2->setObjectName(QString::fromUtf8("label_2")); |
| 130 |
|
| 131 |
gridLayout1->addWidget(label_2, 1, 0, 1, 1); |
| 132 |
|
| 133 |
label = new QLabel(layoutDefaultGroupBox); |
| 134 |
label->setObjectName(QString::fromUtf8("label")); |
| 135 |
|
| 136 |
gridLayout1->addWidget(label, 0, 0, 1, 1); |
| 137 |
|
| 138 |
defaultSpacingSpinBox = new QSpinBox(layoutDefaultGroupBox); |
| 139 |
defaultSpacingSpinBox->setObjectName(QString::fromUtf8("defaultSpacingSpinBox")); |
| 140 |
|
| 141 |
gridLayout1->addWidget(defaultSpacingSpinBox, 1, 1, 1, 1); |
| 142 |
|
| 143 |
defaultMarginSpinBox = new QSpinBox(layoutDefaultGroupBox); |
| 144 |
defaultMarginSpinBox->setObjectName(QString::fromUtf8("defaultMarginSpinBox")); |
| 145 |
|
| 146 |
gridLayout1->addWidget(defaultMarginSpinBox, 0, 1, 1, 1); |
| 147 |
|
| 148 |
|
| 149 |
hboxLayout->addWidget(layoutDefaultGroupBox); |
| 150 |
|
| 151 |
layoutFunctionGroupBox = new QGroupBox(FormWindowSettings); |
| 152 |
layoutFunctionGroupBox->setObjectName(QString::fromUtf8("layoutFunctionGroupBox")); |
| 153 |
layoutFunctionGroupBox->setCheckable(true); |
| 154 |
gridLayout2 = new QGridLayout(layoutFunctionGroupBox); |
| 155 |
#ifndef Q_OS_MAC |
| 156 |
gridLayout2->setSpacing(6); |
| 157 |
#endif |
| 158 |
gridLayout2->setContentsMargins(8, 8, 8, 8); |
| 159 |
gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); |
| 160 |
spacingFunctionLineEdit = new QLineEdit(layoutFunctionGroupBox); |
| 161 |
spacingFunctionLineEdit->setObjectName(QString::fromUtf8("spacingFunctionLineEdit")); |
| 162 |
|
| 163 |
gridLayout2->addWidget(spacingFunctionLineEdit, 1, 1, 1, 1); |
| 164 |
|
| 165 |
marginFunctionLineEdit = new QLineEdit(layoutFunctionGroupBox); |
| 166 |
marginFunctionLineEdit->setObjectName(QString::fromUtf8("marginFunctionLineEdit")); |
| 167 |
|
| 168 |
gridLayout2->addWidget(marginFunctionLineEdit, 0, 1, 1, 1); |
| 169 |
|
| 170 |
label_3 = new QLabel(layoutFunctionGroupBox); |
| 171 |
label_3->setObjectName(QString::fromUtf8("label_3")); |
| 172 |
|
| 173 |
gridLayout2->addWidget(label_3, 0, 0, 1, 1); |
| 174 |
|
| 175 |
label_3_2 = new QLabel(layoutFunctionGroupBox); |
| 176 |
label_3_2->setObjectName(QString::fromUtf8("label_3_2")); |
| 177 |
|
| 178 |
gridLayout2->addWidget(label_3_2, 1, 0, 1, 1); |
| 179 |
|
| 180 |
|
| 181 |
hboxLayout->addWidget(layoutFunctionGroupBox); |
| 182 |
|
| 183 |
|
| 184 |
gridLayout->addLayout(hboxLayout, 2, 0, 1, 2); |
| 185 |
|
| 186 |
pixmapFunctionGroupBox_2 = new QGroupBox(FormWindowSettings); |
| 187 |
pixmapFunctionGroupBox_2->setObjectName(QString::fromUtf8("pixmapFunctionGroupBox_2")); |
| 188 |
vboxLayout = new QVBoxLayout(pixmapFunctionGroupBox_2); |
| 189 |
#ifndef Q_OS_MAC |
| 190 |
vboxLayout->setSpacing(6); |
| 191 |
#endif |
| 192 |
vboxLayout->setContentsMargins(8, 8, 8, 8); |
| 193 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
| 194 |
authorLineEdit = new QLineEdit(pixmapFunctionGroupBox_2); |
| 195 |
authorLineEdit->setObjectName(QString::fromUtf8("authorLineEdit")); |
| 196 |
|
| 197 |
vboxLayout->addWidget(authorLineEdit); |
| 198 |
|
| 199 |
|
| 200 |
gridLayout->addWidget(pixmapFunctionGroupBox_2, 0, 0, 1, 2); |
| 201 |
|
| 202 |
includeHintsGroupBox = new QGroupBox(FormWindowSettings); |
| 203 |
includeHintsGroupBox->setObjectName(QString::fromUtf8("includeHintsGroupBox")); |
| 204 |
vboxLayout1 = new QVBoxLayout(includeHintsGroupBox); |
| 205 |
#ifndef Q_OS_MAC |
| 206 |
vboxLayout1->setSpacing(6); |
| 207 |
#endif |
| 208 |
vboxLayout1->setContentsMargins(8, 8, 8, 8); |
| 209 |
vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); |
| 210 |
includeHintsTextEdit = new QTextEdit(includeHintsGroupBox); |
| 211 |
includeHintsTextEdit->setObjectName(QString::fromUtf8("includeHintsTextEdit")); |
| 212 |
|
| 213 |
vboxLayout1->addWidget(includeHintsTextEdit); |
| 214 |
|
| 215 |
|
| 216 |
gridLayout->addWidget(includeHintsGroupBox, 3, 0, 2, 1); |
| 217 |
|
| 218 |
hboxLayout1 = new QHBoxLayout(); |
| 219 |
#ifndef Q_OS_MAC |
| 220 |
hboxLayout1->setSpacing(6); |
| 221 |
#endif |
| 222 |
hboxLayout1->setContentsMargins(0, 0, 0, 0); |
| 223 |
hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); |
| 224 |
pixmapFunctionGroupBox = new QGroupBox(FormWindowSettings); |
| 225 |
pixmapFunctionGroupBox->setObjectName(QString::fromUtf8("pixmapFunctionGroupBox")); |
| 226 |
pixmapFunctionGroupBox->setCheckable(true); |
| 227 |
vboxLayout2 = new QVBoxLayout(pixmapFunctionGroupBox); |
| 228 |
#ifndef Q_OS_MAC |
| 229 |
vboxLayout2->setSpacing(6); |
| 230 |
#endif |
| 231 |
vboxLayout2->setContentsMargins(8, 8, 8, 8); |
| 232 |
vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2")); |
| 233 |
pixmapFunctionLineEdit = new QLineEdit(pixmapFunctionGroupBox); |
| 234 |
pixmapFunctionLineEdit->setObjectName(QString::fromUtf8("pixmapFunctionLineEdit")); |
| 235 |
|
| 236 |
vboxLayout2->addWidget(pixmapFunctionLineEdit); |
| 237 |
|
| 238 |
|
| 239 |
hboxLayout1->addWidget(pixmapFunctionGroupBox); |
| 240 |
|
| 241 |
|
| 242 |
gridLayout->addLayout(hboxLayout1, 3, 1, 1, 1); |
| 243 |
|
| 244 |
spacerItem = new QSpacerItem(111, 115, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 245 |
|
| 246 |
gridLayout->addItem(spacerItem, 4, 1, 1, 1); |
| 247 |
|
| 248 |
gridPanel = new qdesigner_internal::GridPanel(FormWindowSettings); |
| 249 |
gridPanel->setObjectName(QString::fromUtf8("gridPanel")); |
| 250 |
|
| 251 |
gridLayout->addWidget(gridPanel, 1, 0, 1, 2); |
| 252 |
|
| 253 |
#if QT_CONFIG(shortcut) |
| 254 |
label_2->setBuddy(defaultSpacingSpinBox); |
| 255 |
label->setBuddy(defaultMarginSpinBox); |
| 256 |
label_3->setBuddy(marginFunctionLineEdit); |
| 257 |
label_3_2->setBuddy(spacingFunctionLineEdit); |
| 258 |
#endif // QT_CONFIG(shortcut) |
| 259 |
QWidget::setTabOrder(authorLineEdit, defaultMarginSpinBox); |
| 260 |
QWidget::setTabOrder(defaultMarginSpinBox, defaultSpacingSpinBox); |
| 261 |
QWidget::setTabOrder(defaultSpacingSpinBox, marginFunctionLineEdit); |
| 262 |
QWidget::setTabOrder(marginFunctionLineEdit, spacingFunctionLineEdit); |
| 263 |
QWidget::setTabOrder(spacingFunctionLineEdit, pixmapFunctionLineEdit); |
| 264 |
|
| 265 |
retranslateUi(FormWindowSettings); |
| 266 |
QObject::connect(buttonBox, SIGNAL(accepted()), FormWindowSettings, SLOT(accept())); |
| 267 |
QObject::connect(buttonBox, SIGNAL(rejected()), FormWindowSettings, SLOT(reject())); |
| 268 |
|
| 269 |
QMetaObject::connectSlotsByName(FormWindowSettings); |
| 270 |
} // setupUi |
| 271 |
|
| 272 |
void retranslateUi(QDialog *FormWindowSettings) |
| 273 |
{ |
| 274 |
FormWindowSettings->setWindowTitle(QCoreApplication::translate("FormWindowSettings", "Form Settings", nullptr)); |
| 275 |
layoutDefaultGroupBox->setTitle(QCoreApplication::translate("FormWindowSettings", "Layout &Default", nullptr)); |
| 276 |
label_2->setText(QCoreApplication::translate("FormWindowSettings", "&Spacing:", nullptr)); |
| 277 |
label->setText(QCoreApplication::translate("FormWindowSettings", "&Margin:", nullptr)); |
| 278 |
layoutFunctionGroupBox->setTitle(QCoreApplication::translate("FormWindowSettings", "&Layout Function", nullptr)); |
| 279 |
label_3->setText(QCoreApplication::translate("FormWindowSettings", "Ma&rgin:", nullptr)); |
| 280 |
label_3_2->setText(QCoreApplication::translate("FormWindowSettings", "Spa&cing:", nullptr)); |
| 281 |
pixmapFunctionGroupBox_2->setTitle(QCoreApplication::translate("FormWindowSettings", "&Author", nullptr)); |
| 282 |
includeHintsGroupBox->setTitle(QCoreApplication::translate("FormWindowSettings", "&Include Hints", nullptr)); |
| 283 |
pixmapFunctionGroupBox->setTitle(QCoreApplication::translate("FormWindowSettings", "&Pixmap Function", nullptr)); |
| 284 |
gridPanel->setTitle(QCoreApplication::translate("FormWindowSettings", "Grid", nullptr)); |
| 285 |
} // retranslateUi |
| 286 |
|
| 287 |
}; |
| 288 |
|
| 289 |
namespace Ui { |
| 290 |
class FormWindowSettings: public Ui_FormWindowSettings {}; |
| 291 |
} // namespace Ui |
| 292 |
|
| 293 |
QT_END_NAMESPACE |
| 294 |
|
| 295 |
#endif // FORMWINDOWSETTINGS_H |