00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_PICTURESIZEDIALOG_H
00011 #define UI_PICTURESIZEDIALOG_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QCheckBox>
00018 #include <QtGui/QDialog>
00019 #include <QtGui/QHeaderView>
00020 #include <QtGui/QLabel>
00021 #include <QtGui/QPushButton>
00022 #include <QtGui/QSlider>
00023 #include <QtGui/QSpinBox>
00024
00025 QT_BEGIN_NAMESPACE
00026
00027 class Ui_PictureSizeDialog
00028 {
00029 public:
00030 QPushButton *OKpushButton;
00031 QSlider *LeveysHorizontalSlider;
00032 QSlider *KorkeusHorizontalSlider;
00033 QLabel *label;
00034 QLabel *label_2;
00035 QCheckBox *MaintainAspectRatioCheckBox;
00036 QSpinBox *LeveysSpinBox;
00037 QSpinBox *KorkeusSpinBox;
00038
00039 void setupUi(QDialog *PictureSizeDialog)
00040 {
00041 if (PictureSizeDialog->objectName().isEmpty())
00042 PictureSizeDialog->setObjectName(QString::fromUtf8("PictureSizeDialog"));
00043 PictureSizeDialog->resize(308, 123);
00044 PictureSizeDialog->setMinimumSize(QSize(308, 123));
00045 PictureSizeDialog->setMaximumSize(QSize(308, 123));
00046 PictureSizeDialog->setModal(true);
00047 OKpushButton = new QPushButton(PictureSizeDialog);
00048 OKpushButton->setObjectName(QString::fromUtf8("OKpushButton"));
00049 OKpushButton->setGeometry(QRect(220, 80, 80, 25));
00050 LeveysHorizontalSlider = new QSlider(PictureSizeDialog);
00051 LeveysHorizontalSlider->setObjectName(QString::fromUtf8("LeveysHorizontalSlider"));
00052 LeveysHorizontalSlider->setGeometry(QRect(99, 20, 141, 20));
00053 LeveysHorizontalSlider->setMinimum(1);
00054 LeveysHorizontalSlider->setMaximum(100);
00055 LeveysHorizontalSlider->setValue(100);
00056 LeveysHorizontalSlider->setOrientation(Qt::Horizontal);
00057 KorkeusHorizontalSlider = new QSlider(PictureSizeDialog);
00058 KorkeusHorizontalSlider->setObjectName(QString::fromUtf8("KorkeusHorizontalSlider"));
00059 KorkeusHorizontalSlider->setGeometry(QRect(99, 40, 141, 20));
00060 KorkeusHorizontalSlider->setMinimum(1);
00061 KorkeusHorizontalSlider->setMaximum(100);
00062 KorkeusHorizontalSlider->setValue(100);
00063 KorkeusHorizontalSlider->setOrientation(Qt::Horizontal);
00064 label = new QLabel(PictureSizeDialog);
00065 label->setObjectName(QString::fromUtf8("label"));
00066 label->setGeometry(QRect(0, 20, 91, 16));
00067 label_2 = new QLabel(PictureSizeDialog);
00068 label_2->setObjectName(QString::fromUtf8("label_2"));
00069 label_2->setGeometry(QRect(0, 40, 91, 16));
00070 MaintainAspectRatioCheckBox = new QCheckBox(PictureSizeDialog);
00071 MaintainAspectRatioCheckBox->setObjectName(QString::fromUtf8("MaintainAspectRatioCheckBox"));
00072 MaintainAspectRatioCheckBox->setGeometry(QRect(0, 90, 211, 21));
00073 MaintainAspectRatioCheckBox->setChecked(true);
00074 LeveysSpinBox = new QSpinBox(PictureSizeDialog);
00075 LeveysSpinBox->setObjectName(QString::fromUtf8("LeveysSpinBox"));
00076 LeveysSpinBox->setGeometry(QRect(250, 10, 47, 25));
00077 LeveysSpinBox->setMinimum(1);
00078 LeveysSpinBox->setMaximum(100);
00079 LeveysSpinBox->setValue(100);
00080 KorkeusSpinBox = new QSpinBox(PictureSizeDialog);
00081 KorkeusSpinBox->setObjectName(QString::fromUtf8("KorkeusSpinBox"));
00082 KorkeusSpinBox->setGeometry(QRect(250, 40, 47, 25));
00083 KorkeusSpinBox->setMinimum(1);
00084 KorkeusSpinBox->setMaximum(100);
00085 KorkeusSpinBox->setValue(100);
00086
00087 retranslateUi(PictureSizeDialog);
00088 QObject::connect(KorkeusHorizontalSlider, SIGNAL(valueChanged(int)), KorkeusSpinBox, SLOT(setValue(int)));
00089 QObject::connect(LeveysHorizontalSlider, SIGNAL(valueChanged(int)), LeveysSpinBox, SLOT(setValue(int)));
00090 QObject::connect(KorkeusSpinBox, SIGNAL(valueChanged(int)), KorkeusHorizontalSlider, SLOT(setValue(int)));
00091 QObject::connect(LeveysSpinBox, SIGNAL(valueChanged(int)), LeveysHorizontalSlider, SLOT(setValue(int)));
00092 QObject::connect(OKpushButton, SIGNAL(clicked()), PictureSizeDialog, SLOT(hide()));
00093
00094 QMetaObject::connectSlotsByName(PictureSizeDialog);
00095 }
00096
00097 void retranslateUi(QDialog *PictureSizeDialog)
00098 {
00099 PictureSizeDialog->setWindowTitle(QApplication::translate("PictureSizeDialog", "Kuvan koko", 0, QApplication::UnicodeUTF8));
00100 OKpushButton->setText(QApplication::translate("PictureSizeDialog", "&Ok", 0, QApplication::UnicodeUTF8));
00101 label->setText(QApplication::translate("PictureSizeDialog", "Leveys %", 0, QApplication::UnicodeUTF8));
00102 label_2->setText(QApplication::translate("PictureSizeDialog", "Korkeus %", 0, QApplication::UnicodeUTF8));
00103 MaintainAspectRatioCheckBox->setText(QApplication::translate("PictureSizeDialog", "S\303\244ilyt\303\244 kuvasuhde", 0, QApplication::UnicodeUTF8));
00104 Q_UNUSED(PictureSizeDialog);
00105 }
00106
00107 };
00108
00109 namespace Ui {
00110 class PictureSizeDialog: public Ui_PictureSizeDialog {};
00111 }
00112
00113 QT_END_NAMESPACE
00114
00115 #endif // UI_PICTURESIZEDIALOG_H