283 lines
10 KiB
C
283 lines
10 KiB
C
|
/*
|
||
|
*********************************************************************
|
||
|
**
|
||
|
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
||
|
** All rights reserved.
|
||
|
** Contact: Nokia Corporation (qt-info@nokia.com)
|
||
|
**
|
||
|
** This file is part of the autotests of the Qt Toolkit.
|
||
|
**
|
||
|
** $QT_BEGIN_LICENSE:LGPL$
|
||
|
** No Commercial Usage
|
||
|
** This file contains pre-release code and may not be distributed.
|
||
|
** You may use this file in accordance with the terms and conditions
|
||
|
** contained in the Technology Preview License Agreement accompanying
|
||
|
** this package.
|
||
|
**
|
||
|
** GNU Lesser General Public License Usage
|
||
|
** Alternatively, this file may be used under the terms of the GNU Lesser
|
||
|
** General Public License version 2.1 as published by the Free Software
|
||
|
** Foundation and appearing in the file LICENSE.LGPL included in the
|
||
|
** packaging of this file. Please review the following information to
|
||
|
** ensure the GNU Lesser General Public License version 2.1 requirements
|
||
|
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||
|
**
|
||
|
** In addition, as a special exception, Nokia gives you certain additional
|
||
|
** rights. These rights are described in the Nokia Qt LGPL Exception
|
||
|
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||
|
**
|
||
|
** If you have questions regarding the use of this file, please contact
|
||
|
** Nokia at qt-info@nokia.com.
|
||
|
**
|
||
|
**
|
||
|
**
|
||
|
**
|
||
|
**
|
||
|
**
|
||
|
**
|
||
|
**
|
||
|
** $QT_END_LICENSE$
|
||
|
**
|
||
|
*********************************************************************
|
||
|
*/
|
||
|
|
||
|
/********************************************************************************
|
||
|
** Form generated from reading UI file 'previewwidget.ui'
|
||
|
**
|
||
|
** Created: Fri Sep 4 10:17:14 2009
|
||
|
** by: Qt User Interface Compiler version 4.6.0
|
||
|
**
|
||
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||
|
********************************************************************************/
|
||
|
|
||
|
#ifndef PREVIEWWIDGET_H
|
||
|
#define PREVIEWWIDGET_H
|
||
|
|
||
|
#include <QtCore/QVariant>
|
||
|
#include <QtGui/QAction>
|
||
|
#include <QtGui/QApplication>
|
||
|
#include <QtGui/QButtonGroup>
|
||
|
#include <QtGui/QCheckBox>
|
||
|
#include <QtGui/QComboBox>
|
||
|
#include <QtGui/QGridLayout>
|
||
|
#include <QtGui/QGroupBox>
|
||
|
#include <QtGui/QHBoxLayout>
|
||
|
#include <QtGui/QHeaderView>
|
||
|
#include <QtGui/QLineEdit>
|
||
|
#include <QtGui/QListWidget>
|
||
|
#include <QtGui/QProgressBar>
|
||
|
#include <QtGui/QPushButton>
|
||
|
#include <QtGui/QRadioButton>
|
||
|
#include <QtGui/QScrollBar>
|
||
|
#include <QtGui/QSlider>
|
||
|
#include <QtGui/QSpacerItem>
|
||
|
#include <QtGui/QSpinBox>
|
||
|
#include <QtGui/QVBoxLayout>
|
||
|
#include <QtGui/QWidget>
|
||
|
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
|
||
|
namespace qdesigner_internal {
|
||
|
|
||
|
class Ui_PreviewWidget
|
||
|
{
|
||
|
public:
|
||
|
QGridLayout *gridLayout;
|
||
|
QVBoxLayout *vboxLayout;
|
||
|
QLineEdit *LineEdit1;
|
||
|
QComboBox *ComboBox1;
|
||
|
QHBoxLayout *hboxLayout;
|
||
|
QSpinBox *SpinBox1;
|
||
|
QPushButton *PushButton1;
|
||
|
QScrollBar *ScrollBar1;
|
||
|
QSlider *Slider1;
|
||
|
QListWidget *listWidget;
|
||
|
QSpacerItem *spacerItem;
|
||
|
QProgressBar *ProgressBar1;
|
||
|
QGroupBox *ButtonGroup2;
|
||
|
QVBoxLayout *vboxLayout1;
|
||
|
QCheckBox *CheckBox1;
|
||
|
QCheckBox *CheckBox2;
|
||
|
QGroupBox *ButtonGroup1;
|
||
|
QVBoxLayout *vboxLayout2;
|
||
|
QRadioButton *RadioButton1;
|
||
|
QRadioButton *RadioButton2;
|
||
|
QRadioButton *RadioButton3;
|
||
|
|
||
|
void setupUi(QWidget *qdesigner_internal__PreviewWidget)
|
||
|
{
|
||
|
if (qdesigner_internal__PreviewWidget->objectName().isEmpty())
|
||
|
qdesigner_internal__PreviewWidget->setObjectName(QString::fromUtf8("qdesigner_internal__PreviewWidget"));
|
||
|
qdesigner_internal__PreviewWidget->resize(471, 251);
|
||
|
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(1));
|
||
|
sizePolicy.setHorizontalStretch(0);
|
||
|
sizePolicy.setVerticalStretch(0);
|
||
|
sizePolicy.setHeightForWidth(qdesigner_internal__PreviewWidget->sizePolicy().hasHeightForWidth());
|
||
|
qdesigner_internal__PreviewWidget->setSizePolicy(sizePolicy);
|
||
|
gridLayout = new QGridLayout(qdesigner_internal__PreviewWidget);
|
||
|
#ifndef Q_OS_MAC
|
||
|
gridLayout->setSpacing(6);
|
||
|
#endif
|
||
|
#ifndef Q_OS_MAC
|
||
|
gridLayout->setContentsMargins(9, 9, 9, 9);
|
||
|
#endif
|
||
|
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||
|
vboxLayout = new QVBoxLayout();
|
||
|
#ifndef Q_OS_MAC
|
||
|
vboxLayout->setSpacing(6);
|
||
|
#endif
|
||
|
#ifndef Q_OS_MAC
|
||
|
vboxLayout->setContentsMargins(0, 0, 0, 0);
|
||
|
#endif
|
||
|
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
|
||
|
LineEdit1 = new QLineEdit(qdesigner_internal__PreviewWidget);
|
||
|
LineEdit1->setObjectName(QString::fromUtf8("LineEdit1"));
|
||
|
|
||
|
vboxLayout->addWidget(LineEdit1);
|
||
|
|
||
|
ComboBox1 = new QComboBox(qdesigner_internal__PreviewWidget);
|
||
|
ComboBox1->setObjectName(QString::fromUtf8("ComboBox1"));
|
||
|
|
||
|
vboxLayout->addWidget(ComboBox1);
|
||
|
|
||
|
hboxLayout = new QHBoxLayout();
|
||
|
#ifndef Q_OS_MAC
|
||
|
hboxLayout->setSpacing(6);
|
||
|
#endif
|
||
|
hboxLayout->setContentsMargins(0, 0, 0, 0);
|
||
|
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
|
||
|
SpinBox1 = new QSpinBox(qdesigner_internal__PreviewWidget);
|
||
|
SpinBox1->setObjectName(QString::fromUtf8("SpinBox1"));
|
||
|
|
||
|
hboxLayout->addWidget(SpinBox1);
|
||
|
|
||
|
PushButton1 = new QPushButton(qdesigner_internal__PreviewWidget);
|
||
|
PushButton1->setObjectName(QString::fromUtf8("PushButton1"));
|
||
|
|
||
|
hboxLayout->addWidget(PushButton1);
|
||
|
|
||
|
|
||
|
vboxLayout->addLayout(hboxLayout);
|
||
|
|
||
|
ScrollBar1 = new QScrollBar(qdesigner_internal__PreviewWidget);
|
||
|
ScrollBar1->setObjectName(QString::fromUtf8("ScrollBar1"));
|
||
|
ScrollBar1->setOrientation(Qt::Horizontal);
|
||
|
|
||
|
vboxLayout->addWidget(ScrollBar1);
|
||
|
|
||
|
Slider1 = new QSlider(qdesigner_internal__PreviewWidget);
|
||
|
Slider1->setObjectName(QString::fromUtf8("Slider1"));
|
||
|
Slider1->setOrientation(Qt::Horizontal);
|
||
|
|
||
|
vboxLayout->addWidget(Slider1);
|
||
|
|
||
|
listWidget = new QListWidget(qdesigner_internal__PreviewWidget);
|
||
|
listWidget->setObjectName(QString::fromUtf8("listWidget"));
|
||
|
listWidget->setMaximumSize(QSize(32767, 50));
|
||
|
|
||
|
vboxLayout->addWidget(listWidget);
|
||
|
|
||
|
|
||
|
gridLayout->addLayout(vboxLayout, 0, 1, 3, 1);
|
||
|
|
||
|
spacerItem = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
||
|
|
||
|
gridLayout->addItem(spacerItem, 3, 0, 1, 2);
|
||
|
|
||
|
ProgressBar1 = new QProgressBar(qdesigner_internal__PreviewWidget);
|
||
|
ProgressBar1->setObjectName(QString::fromUtf8("ProgressBar1"));
|
||
|
ProgressBar1->setOrientation(Qt::Horizontal);
|
||
|
|
||
|
gridLayout->addWidget(ProgressBar1, 2, 0, 1, 1);
|
||
|
|
||
|
ButtonGroup2 = new QGroupBox(qdesigner_internal__PreviewWidget);
|
||
|
ButtonGroup2->setObjectName(QString::fromUtf8("ButtonGroup2"));
|
||
|
vboxLayout1 = new QVBoxLayout(ButtonGroup2);
|
||
|
#ifndef Q_OS_MAC
|
||
|
vboxLayout1->setSpacing(6);
|
||
|
#endif
|
||
|
#ifndef Q_OS_MAC
|
||
|
vboxLayout1->setContentsMargins(9, 9, 9, 9);
|
||
|
#endif
|
||
|
vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
|
||
|
CheckBox1 = new QCheckBox(ButtonGroup2);
|
||
|
CheckBox1->setObjectName(QString::fromUtf8("CheckBox1"));
|
||
|
CheckBox1->setChecked(true);
|
||
|
|
||
|
vboxLayout1->addWidget(CheckBox1);
|
||
|
|
||
|
CheckBox2 = new QCheckBox(ButtonGroup2);
|
||
|
CheckBox2->setObjectName(QString::fromUtf8("CheckBox2"));
|
||
|
|
||
|
vboxLayout1->addWidget(CheckBox2);
|
||
|
|
||
|
|
||
|
gridLayout->addWidget(ButtonGroup2, 1, 0, 1, 1);
|
||
|
|
||
|
ButtonGroup1 = new QGroupBox(qdesigner_internal__PreviewWidget);
|
||
|
ButtonGroup1->setObjectName(QString::fromUtf8("ButtonGroup1"));
|
||
|
vboxLayout2 = new QVBoxLayout(ButtonGroup1);
|
||
|
#ifndef Q_OS_MAC
|
||
|
vboxLayout2->setSpacing(6);
|
||
|
#endif
|
||
|
#ifndef Q_OS_MAC
|
||
|
vboxLayout2->setContentsMargins(9, 9, 9, 9);
|
||
|
#endif
|
||
|
vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
|
||
|
RadioButton1 = new QRadioButton(ButtonGroup1);
|
||
|
RadioButton1->setObjectName(QString::fromUtf8("RadioButton1"));
|
||
|
RadioButton1->setChecked(true);
|
||
|
|
||
|
vboxLayout2->addWidget(RadioButton1);
|
||
|
|
||
|
RadioButton2 = new QRadioButton(ButtonGroup1);
|
||
|
RadioButton2->setObjectName(QString::fromUtf8("RadioButton2"));
|
||
|
|
||
|
vboxLayout2->addWidget(RadioButton2);
|
||
|
|
||
|
RadioButton3 = new QRadioButton(ButtonGroup1);
|
||
|
RadioButton3->setObjectName(QString::fromUtf8("RadioButton3"));
|
||
|
|
||
|
vboxLayout2->addWidget(RadioButton3);
|
||
|
|
||
|
|
||
|
gridLayout->addWidget(ButtonGroup1, 0, 0, 1, 1);
|
||
|
|
||
|
|
||
|
retranslateUi(qdesigner_internal__PreviewWidget);
|
||
|
|
||
|
QMetaObject::connectSlotsByName(qdesigner_internal__PreviewWidget);
|
||
|
} // setupUi
|
||
|
|
||
|
void retranslateUi(QWidget *qdesigner_internal__PreviewWidget)
|
||
|
{
|
||
|
qdesigner_internal__PreviewWidget->setWindowTitle(QApplication::translate("qdesigner_internal::PreviewWidget", "Preview Window", 0, QApplication::UnicodeUTF8));
|
||
|
LineEdit1->setText(QApplication::translate("qdesigner_internal::PreviewWidget", "LineEdit", 0, QApplication::UnicodeUTF8));
|
||
|
ComboBox1->clear();
|
||
|
ComboBox1->insertItems(0, QStringList()
|
||
|
<< QApplication::translate("qdesigner_internal::PreviewWidget", "ComboBox", 0, QApplication::UnicodeUTF8)
|
||
|
);
|
||
|
PushButton1->setText(QApplication::translate("qdesigner_internal::PreviewWidget", "PushButton", 0, QApplication::UnicodeUTF8));
|
||
|
ButtonGroup2->setTitle(QApplication::translate("qdesigner_internal::PreviewWidget", "ButtonGroup2", 0, QApplication::UnicodeUTF8));
|
||
|
CheckBox1->setText(QApplication::translate("qdesigner_internal::PreviewWidget", "CheckBox1", 0, QApplication::UnicodeUTF8));
|
||
|
CheckBox2->setText(QApplication::translate("qdesigner_internal::PreviewWidget", "CheckBox2", 0, QApplication::UnicodeUTF8));
|
||
|
ButtonGroup1->setTitle(QApplication::translate("qdesigner_internal::PreviewWidget", "ButtonGroup", 0, QApplication::UnicodeUTF8));
|
||
|
RadioButton1->setText(QApplication::translate("qdesigner_internal::PreviewWidget", "RadioButton1", 0, QApplication::UnicodeUTF8));
|
||
|
RadioButton2->setText(QApplication::translate("qdesigner_internal::PreviewWidget", "RadioButton2", 0, QApplication::UnicodeUTF8));
|
||
|
RadioButton3->setText(QApplication::translate("qdesigner_internal::PreviewWidget", "RadioButton3", 0, QApplication::UnicodeUTF8));
|
||
|
} // retranslateUi
|
||
|
|
||
|
};
|
||
|
|
||
|
} // namespace qdesigner_internal
|
||
|
|
||
|
namespace qdesigner_internal {
|
||
|
namespace Ui {
|
||
|
class PreviewWidget: public Ui_PreviewWidget {};
|
||
|
} // namespace Ui
|
||
|
} // namespace qdesigner_internal
|
||
|
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
#endif // PREVIEWWIDGET_H
|