/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the test suite 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 'imagedialog.ui' ** ** Created: Thu Jul 10 09:47:34 2008 ** by: Qt User Interface Compiler version 4.5.0 ** ** WARNING! All changes made in this file will be lost when recompiling ui file! ********************************************************************************/ #ifndef IMAGEDIALOG_H #define IMAGEDIALOG_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include QT_BEGIN_NAMESPACE class Ui_ImageDialog { public: QVBoxLayout *vboxLayout; QGridLayout *gridLayout; QLabel *widthLabel; QLabel *heightLabel; QComboBox *colorDepthCombo; QLineEdit *nameLineEdit; QSpinBox *spinBox; QSpinBox *spinBox_2; QLabel *nameLabel; QLabel *colorDepthLabel; QSpacerItem *spacerItem; QHBoxLayout *hboxLayout; QSpacerItem *spacerItem1; QPushButton *okButton; QPushButton *cancelButton; void setupUi(QDialog *dialog) { if (dialog->objectName().isEmpty()) dialog->setObjectName(QString::fromUtf8("dialog")); dialog->setObjectName(QString::fromUtf8("ImageDialog")); dialog->resize(320, 180); vboxLayout = new QVBoxLayout(dialog); #ifndef Q_OS_MAC vboxLayout->setSpacing(6); #endif #ifndef Q_OS_MAC vboxLayout->setMargin(9); #endif vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); vboxLayout->setObjectName(QString::fromUtf8("")); gridLayout = new QGridLayout(); #ifndef Q_OS_MAC gridLayout->setSpacing(6); #endif gridLayout->setMargin(1); gridLayout->setObjectName(QString::fromUtf8("gridLayout")); gridLayout->setObjectName(QString::fromUtf8("")); widthLabel = new QLabel(dialog); widthLabel->setObjectName(QString::fromUtf8("widthLabel")); widthLabel->setGeometry(QRect(1, 27, 67, 22)); widthLabel->setFrameShape(QFrame::NoFrame); widthLabel->setFrameShadow(QFrame::Plain); widthLabel->setTextFormat(Qt::AutoText); gridLayout->addWidget(widthLabel, 1, 0, 1, 1); heightLabel = new QLabel(dialog); heightLabel->setObjectName(QString::fromUtf8("heightLabel")); heightLabel->setGeometry(QRect(1, 55, 67, 22)); heightLabel->setFrameShape(QFrame::NoFrame); heightLabel->setFrameShadow(QFrame::Plain); heightLabel->setTextFormat(Qt::AutoText); gridLayout->addWidget(heightLabel, 2, 0, 1, 1); colorDepthCombo = new QComboBox(dialog); colorDepthCombo->setObjectName(QString::fromUtf8("colorDepthCombo")); colorDepthCombo->setGeometry(QRect(74, 83, 227, 22)); QSizePolicy sizePolicy(static_cast(5), static_cast(0)); sizePolicy.setHorizontalStretch(0); sizePolicy.setVerticalStretch(0); sizePolicy.setHeightForWidth(colorDepthCombo->sizePolicy().hasHeightForWidth()); colorDepthCombo->setSizePolicy(sizePolicy); colorDepthCombo->setInsertPolicy(QComboBox::InsertAtBottom); gridLayout->addWidget(colorDepthCombo, 3, 1, 1, 1); nameLineEdit = new QLineEdit(dialog); nameLineEdit->setObjectName(QString::fromUtf8("nameLineEdit")); nameLineEdit->setGeometry(QRect(74, 83, 227, 22)); QSizePolicy sizePolicy1(static_cast(5), static_cast(0)); sizePolicy1.setHorizontalStretch(1); sizePolicy1.setVerticalStretch(0); sizePolicy1.setHeightForWidth(nameLineEdit->sizePolicy().hasHeightForWidth()); nameLineEdit->setSizePolicy(sizePolicy1); nameLineEdit->setEchoMode(QLineEdit::Normal); gridLayout->addWidget(nameLineEdit, 0, 1, 1, 1); spinBox = new QSpinBox(dialog); spinBox->setObjectName(QString::fromUtf8("spinBox")); spinBox->setGeometry(QRect(74, 1, 227, 20)); sizePolicy.setHeightForWidth(spinBox->sizePolicy().hasHeightForWidth()); spinBox->setSizePolicy(sizePolicy); spinBox->setButtonSymbols(QAbstractSpinBox::UpDownArrows); spinBox->setValue(32); spinBox->setMaximum(1024); spinBox->setMinimum(1); gridLayout->addWidget(spinBox, 1, 1, 1, 1); spinBox_2 = new QSpinBox(dialog); spinBox_2->setObjectName(QString::fromUtf8("spinBox_2")); spinBox_2->setGeometry(QRect(74, 27, 227, 22)); sizePolicy.setHeightForWidth(spinBox_2->sizePolicy().hasHeightForWidth()); spinBox_2->setSizePolicy(sizePolicy); spinBox_2->setButtonSymbols(QAbstractSpinBox::UpDownArrows); spinBox_2->setValue(32); spinBox_2->setMaximum(1024); spinBox_2->setMinimum(1); gridLayout->addWidget(spinBox_2, 2, 1, 1, 1); nameLabel = new QLabel(dialog); nameLabel->setObjectName(QString::fromUtf8("nameLabel")); nameLabel->setGeometry(QRect(1, 1, 67, 20)); nameLabel->setFrameShape(QFrame::NoFrame); nameLabel->setFrameShadow(QFrame::Plain); nameLabel->setTextFormat(Qt::AutoText); gridLayout->addWidget(nameLabel, 0, 0, 1, 1); colorDepthLabel = new QLabel(dialog); colorDepthLabel->setObjectName(QString::fromUtf8("colorDepthLabel")); colorDepthLabel->setGeometry(QRect(1, 83, 67, 22)); colorDepthLabel->setFrameShape(QFrame::NoFrame); colorDepthLabel->setFrameShadow(QFrame::Plain); colorDepthLabel->setTextFormat(Qt::AutoText); gridLayout->addWidget(colorDepthLabel, 3, 0, 1, 1); vboxLayout->addLayout(gridLayout); spacerItem = new QSpacerItem(QSizePolicy::Minimum, QSizePolicy::Expanding); vboxLayout->addItem(spacerItem); hboxLayout = new QHBoxLayout(); #ifndef Q_OS_MAC hboxLayout->setSpacing(6); #endif hboxLayout->setMargin(1); hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); hboxLayout->setObjectName(QString::fromUtf8("")); spacerItem1 = new QSpacerItem(QSizePolicy::Expanding, QSizePolicy::Minimum); hboxLayout->addItem(spacerItem1); okButton = new QPushButton(dialog); okButton->setObjectName(QString::fromUtf8("okButton")); okButton->setGeometry(QRect(135, 1, 80, 24)); hboxLayout->addWidget(okButton); cancelButton = new QPushButton(dialog); cancelButton->setObjectName(QString::fromUtf8("cancelButton")); cancelButton->setGeometry(QRect(221, 1, 80, 24)); hboxLayout->addWidget(cancelButton); vboxLayout->addLayout(hboxLayout); QWidget::setTabOrder(nameLineEdit, spinBox); QWidget::setTabOrder(spinBox, spinBox_2); QWidget::setTabOrder(spinBox_2, colorDepthCombo); QWidget::setTabOrder(colorDepthCombo, okButton); QWidget::setTabOrder(okButton, cancelButton); retranslateUi(dialog); QObject::connect(nameLineEdit, SIGNAL(returnPressed()), okButton, SLOT(animateClick())); QMetaObject::connectSlotsByName(dialog); } // setupUi void retranslateUi(QDialog *dialog) { dialog->setWindowTitle(QApplication::translate("ImageDialog", "Create Image", 0, QApplication::UnicodeUTF8)); widthLabel->setText(QApplication::translate("ImageDialog", "Width:", 0, QApplication::UnicodeUTF8)); heightLabel->setText(QApplication::translate("ImageDialog", "Height:", 0, QApplication::UnicodeUTF8)); nameLineEdit->setText(QApplication::translate("ImageDialog", "Untitled image", 0, QApplication::UnicodeUTF8)); nameLabel->setText(QApplication::translate("ImageDialog", "Name:", 0, QApplication::UnicodeUTF8)); colorDepthLabel->setText(QApplication::translate("ImageDialog", "Color depth:", 0, QApplication::UnicodeUTF8)); okButton->setText(QApplication::translate("ImageDialog", "OK", 0, QApplication::UnicodeUTF8)); cancelButton->setText(QApplication::translate("ImageDialog", "Cancel", 0, QApplication::UnicodeUTF8)); Q_UNUSED(dialog); } // retranslateUi }; namespace Ui { class ImageDialog: public Ui_ImageDialog {}; } // namespace Ui QT_END_NAMESPACE #endif // IMAGEDIALOG_H