cfc39289ba
Task-number: QTBUG-21424 Change-Id: Ie63380f22d299708b2085652389869cac841e249 Reviewed-on: http://codereview.qt-project.org/5388 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Holger Ihrig <holger.ihrig@nokia.com> Reviewed-by: Matthew Cattell <matthew.cattell@nokia.com>
173 lines
6.4 KiB
C++
173 lines
6.4 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$
|
|
** GNU Lesser General Public License Usage
|
|
** 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.
|
|
**
|
|
** GNU General Public License Usage
|
|
** Alternatively, this file may be used under the terms of the GNU General
|
|
** Public License version 3.0 as published by the Free Software Foundation
|
|
** and appearing in the file LICENSE.GPL included in the packaging of this
|
|
** file. Please review the following information to ensure the GNU General
|
|
** Public License version 3.0 requirements will be met:
|
|
** http://www.gnu.org/copyleft/gpl.html.
|
|
**
|
|
** Other Usage
|
|
** Alternatively, this file may be used in accordance with the terms and
|
|
** conditions contained in a signed written agreement between you and Nokia.
|
|
**
|
|
**
|
|
**
|
|
**
|
|
**
|
|
** $QT_END_LICENSE$
|
|
**
|
|
*********************************************************************
|
|
*/
|
|
|
|
/********************************************************************************
|
|
** Form generated from reading UI file 'orderdialog.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 ORDERDIALOG_H
|
|
#define ORDERDIALOG_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QAction>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QButtonGroup>
|
|
#include <QtWidgets/QDialog>
|
|
#include <QtWidgets/QDialogButtonBox>
|
|
#include <QtWidgets/QGroupBox>
|
|
#include <QtWidgets/QHBoxLayout>
|
|
#include <QtWidgets/QHeaderView>
|
|
#include <QtWidgets/QListWidget>
|
|
#include <QtWidgets/QSpacerItem>
|
|
#include <QtWidgets/QToolButton>
|
|
#include <QtWidgets/QVBoxLayout>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
namespace qdesigner_internal {
|
|
|
|
class Ui_OrderDialog
|
|
{
|
|
public:
|
|
QVBoxLayout *vboxLayout;
|
|
QGroupBox *groupBox;
|
|
QHBoxLayout *hboxLayout;
|
|
QListWidget *pageList;
|
|
QVBoxLayout *vboxLayout1;
|
|
QToolButton *upButton;
|
|
QToolButton *downButton;
|
|
QSpacerItem *spacerItem;
|
|
QDialogButtonBox *buttonBox;
|
|
|
|
void setupUi(QDialog *qdesigner_internal__OrderDialog)
|
|
{
|
|
if (qdesigner_internal__OrderDialog->objectName().isEmpty())
|
|
qdesigner_internal__OrderDialog->setObjectName(QString::fromUtf8("qdesigner_internal__OrderDialog"));
|
|
qdesigner_internal__OrderDialog->resize(467, 310);
|
|
vboxLayout = new QVBoxLayout(qdesigner_internal__OrderDialog);
|
|
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
|
|
groupBox = new QGroupBox(qdesigner_internal__OrderDialog);
|
|
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
|
hboxLayout = new QHBoxLayout(groupBox);
|
|
hboxLayout->setSpacing(6);
|
|
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
|
|
hboxLayout->setContentsMargins(9, 9, 9, 9);
|
|
pageList = new QListWidget(groupBox);
|
|
pageList->setObjectName(QString::fromUtf8("pageList"));
|
|
pageList->setMinimumSize(QSize(344, 0));
|
|
pageList->setDragDropMode(QAbstractItemView::InternalMove);
|
|
pageList->setSelectionMode(QAbstractItemView::ContiguousSelection);
|
|
pageList->setMovement(QListView::Snap);
|
|
|
|
hboxLayout->addWidget(pageList);
|
|
|
|
vboxLayout1 = new QVBoxLayout();
|
|
vboxLayout1->setSpacing(6);
|
|
vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
|
|
vboxLayout1->setContentsMargins(0, 0, 0, 0);
|
|
upButton = new QToolButton(groupBox);
|
|
upButton->setObjectName(QString::fromUtf8("upButton"));
|
|
|
|
vboxLayout1->addWidget(upButton);
|
|
|
|
downButton = new QToolButton(groupBox);
|
|
downButton->setObjectName(QString::fromUtf8("downButton"));
|
|
|
|
vboxLayout1->addWidget(downButton);
|
|
|
|
spacerItem = new QSpacerItem(20, 99, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
vboxLayout1->addItem(spacerItem);
|
|
|
|
|
|
hboxLayout->addLayout(vboxLayout1);
|
|
|
|
|
|
vboxLayout->addWidget(groupBox);
|
|
|
|
buttonBox = new QDialogButtonBox(qdesigner_internal__OrderDialog);
|
|
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
|
|
buttonBox->setOrientation(Qt::Horizontal);
|
|
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset);
|
|
|
|
vboxLayout->addWidget(buttonBox);
|
|
|
|
|
|
retranslateUi(qdesigner_internal__OrderDialog);
|
|
QObject::connect(buttonBox, SIGNAL(accepted()), qdesigner_internal__OrderDialog, SLOT(accept()));
|
|
QObject::connect(buttonBox, SIGNAL(rejected()), qdesigner_internal__OrderDialog, SLOT(reject()));
|
|
|
|
QMetaObject::connectSlotsByName(qdesigner_internal__OrderDialog);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QDialog *qdesigner_internal__OrderDialog)
|
|
{
|
|
qdesigner_internal__OrderDialog->setWindowTitle(QApplication::translate("qdesigner_internal::OrderDialog", "Change Page Order", 0, QApplication::UnicodeUTF8));
|
|
groupBox->setTitle(QApplication::translate("qdesigner_internal::OrderDialog", "Page Order", 0, QApplication::UnicodeUTF8));
|
|
#ifndef QT_NO_TOOLTIP
|
|
upButton->setToolTip(QApplication::translate("qdesigner_internal::OrderDialog", "Move page up", 0, QApplication::UnicodeUTF8));
|
|
#endif // QT_NO_TOOLTIP
|
|
#ifndef QT_NO_TOOLTIP
|
|
downButton->setToolTip(QApplication::translate("qdesigner_internal::OrderDialog", "Move page down", 0, QApplication::UnicodeUTF8));
|
|
#endif // QT_NO_TOOLTIP
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
} // namespace qdesigner_internal
|
|
|
|
namespace qdesigner_internal {
|
|
namespace Ui {
|
|
class OrderDialog: public Ui_OrderDialog {};
|
|
} // namespace Ui
|
|
} // namespace qdesigner_internal
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // ORDERDIALOG_H
|