00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_EDITOR_TRANSPARENCY_SETTINGS_H
00011 #define UI_EDITOR_TRANSPARENCY_SETTINGS_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QDialog>
00018 #include <QtGui/QGroupBox>
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_editorTransparencySettingsDialog
00028 {
00029 public:
00030 QGroupBox *TransparencyColorgroupBox;
00031 QSlider *RedverticalSlider;
00032 QSlider *GreenverticalSlider;
00033 QSlider *BlueverticalSlider;
00034 QSpinBox *RedspinBox;
00035 QSpinBox *GreenspinBox;
00036 QSpinBox *BluespinBox;
00037 QLabel *Redlabel;
00038 QLabel *Greenlabel;
00039 QLabel *Bluelabel;
00040 QGroupBox *TransparencygroupBox;
00041 QSlider *TransparencyverticalSlider;
00042 QSpinBox *TransparencyspinBox;
00043 QPushButton *OkpushButton;
00044 QPushButton *CancelpushButton;
00045
00046 void setupUi(QDialog *editorTransparencySettingsDialog)
00047 {
00048 if (editorTransparencySettingsDialog->objectName().isEmpty())
00049 editorTransparencySettingsDialog->setObjectName(QString::fromUtf8("editorTransparencySettingsDialog"));
00050 editorTransparencySettingsDialog->resize(381, 256);
00051 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
00052 sizePolicy.setHorizontalStretch(0);
00053 sizePolicy.setVerticalStretch(0);
00054 sizePolicy.setHeightForWidth(editorTransparencySettingsDialog->sizePolicy().hasHeightForWidth());
00055 editorTransparencySettingsDialog->setSizePolicy(sizePolicy);
00056 editorTransparencySettingsDialog->setMinimumSize(QSize(381, 256));
00057 editorTransparencySettingsDialog->setMaximumSize(QSize(381, 256));
00058 TransparencyColorgroupBox = new QGroupBox(editorTransparencySettingsDialog);
00059 TransparencyColorgroupBox->setObjectName(QString::fromUtf8("TransparencyColorgroupBox"));
00060 TransparencyColorgroupBox->setGeometry(QRect(0, 0, 251, 221));
00061 RedverticalSlider = new QSlider(TransparencyColorgroupBox);
00062 RedverticalSlider->setObjectName(QString::fromUtf8("RedverticalSlider"));
00063 RedverticalSlider->setGeometry(QRect(20, 49, 20, 141));
00064 RedverticalSlider->setMaximum(255);
00065 RedverticalSlider->setOrientation(Qt::Vertical);
00066 GreenverticalSlider = new QSlider(TransparencyColorgroupBox);
00067 GreenverticalSlider->setObjectName(QString::fromUtf8("GreenverticalSlider"));
00068 GreenverticalSlider->setGeometry(QRect(110, 49, 20, 141));
00069 GreenverticalSlider->setMaximum(255);
00070 GreenverticalSlider->setOrientation(Qt::Vertical);
00071 BlueverticalSlider = new QSlider(TransparencyColorgroupBox);
00072 BlueverticalSlider->setObjectName(QString::fromUtf8("BlueverticalSlider"));
00073 BlueverticalSlider->setGeometry(QRect(200, 49, 20, 141));
00074 BlueverticalSlider->setMaximum(255);
00075 BlueverticalSlider->setOrientation(Qt::Vertical);
00076 RedspinBox = new QSpinBox(TransparencyColorgroupBox);
00077 RedspinBox->setObjectName(QString::fromUtf8("RedspinBox"));
00078 RedspinBox->setGeometry(QRect(10, 190, 51, 25));
00079 RedspinBox->setMaximum(255);
00080 GreenspinBox = new QSpinBox(TransparencyColorgroupBox);
00081 GreenspinBox->setObjectName(QString::fromUtf8("GreenspinBox"));
00082 GreenspinBox->setGeometry(QRect(100, 190, 51, 25));
00083 GreenspinBox->setMaximum(255);
00084 BluespinBox = new QSpinBox(TransparencyColorgroupBox);
00085 BluespinBox->setObjectName(QString::fromUtf8("BluespinBox"));
00086 BluespinBox->setGeometry(QRect(190, 190, 51, 25));
00087 BluespinBox->setMaximum(255);
00088 Redlabel = new QLabel(TransparencyColorgroupBox);
00089 Redlabel->setObjectName(QString::fromUtf8("Redlabel"));
00090 Redlabel->setGeometry(QRect(0, 30, 61, 21));
00091 Redlabel->setAlignment(Qt::AlignCenter);
00092 Greenlabel = new QLabel(TransparencyColorgroupBox);
00093 Greenlabel->setObjectName(QString::fromUtf8("Greenlabel"));
00094 Greenlabel->setGeometry(QRect(90, 30, 71, 16));
00095 Greenlabel->setAlignment(Qt::AlignCenter);
00096 Bluelabel = new QLabel(TransparencyColorgroupBox);
00097 Bluelabel->setObjectName(QString::fromUtf8("Bluelabel"));
00098 Bluelabel->setGeometry(QRect(180, 30, 71, 16));
00099 Bluelabel->setAlignment(Qt::AlignCenter);
00100 TransparencygroupBox = new QGroupBox(editorTransparencySettingsDialog);
00101 TransparencygroupBox->setObjectName(QString::fromUtf8("TransparencygroupBox"));
00102 TransparencygroupBox->setGeometry(QRect(250, 0, 131, 221));
00103 TransparencyverticalSlider = new QSlider(TransparencygroupBox);
00104 TransparencyverticalSlider->setObjectName(QString::fromUtf8("TransparencyverticalSlider"));
00105 TransparencyverticalSlider->setGeometry(QRect(30, 49, 20, 141));
00106 TransparencyverticalSlider->setMaximum(255);
00107 TransparencyverticalSlider->setOrientation(Qt::Vertical);
00108 TransparencyspinBox = new QSpinBox(TransparencygroupBox);
00109 TransparencyspinBox->setObjectName(QString::fromUtf8("TransparencyspinBox"));
00110 TransparencyspinBox->setGeometry(QRect(10, 190, 51, 25));
00111 TransparencyspinBox->setMaximum(255);
00112 OkpushButton = new QPushButton(editorTransparencySettingsDialog);
00113 OkpushButton->setObjectName(QString::fromUtf8("OkpushButton"));
00114 OkpushButton->setGeometry(QRect(300, 230, 80, 25));
00115 CancelpushButton = new QPushButton(editorTransparencySettingsDialog);
00116 CancelpushButton->setObjectName(QString::fromUtf8("CancelpushButton"));
00117 CancelpushButton->setGeometry(QRect(200, 230, 75, 25));
00118
00119 retranslateUi(editorTransparencySettingsDialog);
00120 QObject::connect(RedverticalSlider, SIGNAL(valueChanged(int)), RedspinBox, SLOT(setValue(int)));
00121 QObject::connect(RedspinBox, SIGNAL(valueChanged(int)), RedverticalSlider, SLOT(setValue(int)));
00122 QObject::connect(GreenverticalSlider, SIGNAL(valueChanged(int)), GreenspinBox, SLOT(setValue(int)));
00123 QObject::connect(GreenspinBox, SIGNAL(valueChanged(int)), GreenverticalSlider, SLOT(setValue(int)));
00124 QObject::connect(BluespinBox, SIGNAL(valueChanged(int)), BlueverticalSlider, SLOT(setValue(int)));
00125 QObject::connect(BlueverticalSlider, SIGNAL(valueChanged(int)), BluespinBox, SLOT(setValue(int)));
00126 QObject::connect(TransparencyverticalSlider, SIGNAL(valueChanged(int)), TransparencyspinBox, SLOT(setValue(int)));
00127 QObject::connect(TransparencyspinBox, SIGNAL(valueChanged(int)), TransparencyverticalSlider, SLOT(setValue(int)));
00128 QObject::connect(OkpushButton, SIGNAL(clicked()), editorTransparencySettingsDialog, SLOT(accept()));
00129 QObject::connect(CancelpushButton, SIGNAL(clicked()), editorTransparencySettingsDialog, SLOT(reject()));
00130 QObject::connect(RedspinBox, SIGNAL(valueChanged(int)), editorTransparencySettingsDialog, SLOT(redChannged(int)));
00131 QObject::connect(GreenspinBox, SIGNAL(valueChanged(int)), editorTransparencySettingsDialog, SLOT(greenChanged(int)));
00132 QObject::connect(BluespinBox, SIGNAL(valueChanged(int)), editorTransparencySettingsDialog, SLOT(blueChanged(int)));
00133 QObject::connect(TransparencyspinBox, SIGNAL(valueChanged(int)), editorTransparencySettingsDialog, SLOT(alphaChanged(int)));
00134 QObject::connect(editorTransparencySettingsDialog, SIGNAL(redValueInit(int)), RedspinBox, SLOT(setValue(int)));
00135 QObject::connect(editorTransparencySettingsDialog, SIGNAL(greenValueInit(int)), GreenspinBox, SLOT(setValue(int)));
00136 QObject::connect(editorTransparencySettingsDialog, SIGNAL(blueValueInit(int)), BluespinBox, SLOT(setValue(int)));
00137 QObject::connect(editorTransparencySettingsDialog, SIGNAL(alphaValueInit(int)), TransparencyspinBox, SLOT(setValue(int)));
00138
00139 QMetaObject::connectSlotsByName(editorTransparencySettingsDialog);
00140 }
00141
00142 void retranslateUi(QDialog *editorTransparencySettingsDialog)
00143 {
00144 editorTransparencySettingsDialog->setWindowTitle(QApplication::translate("editorTransparencySettingsDialog", "Editor transparency settings", 0, QApplication::UnicodeUTF8));
00145 TransparencyColorgroupBox->setTitle(QApplication::translate("editorTransparencySettingsDialog", "Color", 0, QApplication::UnicodeUTF8));
00146 Redlabel->setText(QApplication::translate("editorTransparencySettingsDialog", "Red", 0, QApplication::UnicodeUTF8));
00147 Greenlabel->setText(QApplication::translate("editorTransparencySettingsDialog", "Green", 0, QApplication::UnicodeUTF8));
00148 Bluelabel->setText(QApplication::translate("editorTransparencySettingsDialog", "Blue", 0, QApplication::UnicodeUTF8));
00149 TransparencygroupBox->setTitle(QApplication::translate("editorTransparencySettingsDialog", "Transparency", 0, QApplication::UnicodeUTF8));
00150 OkpushButton->setText(QApplication::translate("editorTransparencySettingsDialog", "Ok", 0, QApplication::UnicodeUTF8));
00151 CancelpushButton->setText(QApplication::translate("editorTransparencySettingsDialog", "Cancel", 0, QApplication::UnicodeUTF8));
00152 Q_UNUSED(editorTransparencySettingsDialog);
00153 }
00154
00155 };
00156
00157 namespace Ui {
00158 class editorTransparencySettingsDialog: public Ui_editorTransparencySettingsDialog {};
00159 }
00160
00161 QT_END_NAMESPACE
00162
00163 #endif // UI_EDITOR_TRANSPARENCY_SETTINGS_H