00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_CONTENTEDITOR_BASE_H
00011 #define UI_CONTENTEDITOR_BASE_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QComboBox>
00018 #include <QtGui/QDialog>
00019 #include <QtGui/QGroupBox>
00020 #include <QtGui/QHBoxLayout>
00021 #include <QtGui/QLabel>
00022 #include <QtGui/QPushButton>
00023 #include <QtGui/QSpacerItem>
00024 #include <QtGui/QTextEdit>
00025 #include <QtGui/QVBoxLayout>
00026
00027 class Ui_ContentEditor_BASE
00028 {
00029 public:
00030 QVBoxLayout *vboxLayout;
00031 QGroupBox *groupBox_ViewContentAs;
00032 QHBoxLayout *hboxLayout;
00033 QSpacerItem *spacerItem;
00034 QLabel *label_ViewAsType;
00035 QComboBox *comboBox_ContentType;
00036 QTextEdit *textEdit;
00037 QHBoxLayout *hboxLayout1;
00038 QPushButton *pushButton_Revert;
00039 QSpacerItem *spacerItem1;
00040 QPushButton *pushButton_Export;
00041 QPushButton *pushButton_Browse;
00042 QPushButton *pushButton_Cancel;
00043 QPushButton *pushButton_OK;
00044
00045 void setupUi(QDialog *ContentEditor_BASE)
00046 {
00047 if (ContentEditor_BASE->objectName().isEmpty())
00048 ContentEditor_BASE->setObjectName(QString::fromUtf8("ContentEditor_BASE"));
00049 ContentEditor_BASE->setWindowModality(Qt::WindowModal);
00050 ContentEditor_BASE->resize(424, 286);
00051 ContentEditor_BASE->setSizeGripEnabled(true);
00052 vboxLayout = new QVBoxLayout(ContentEditor_BASE);
00053 vboxLayout->setSpacing(0);
00054 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00055 vboxLayout->setContentsMargins(0, 0, 0, 0);
00056 groupBox_ViewContentAs = new QGroupBox(ContentEditor_BASE);
00057 groupBox_ViewContentAs->setObjectName(QString::fromUtf8("groupBox_ViewContentAs"));
00058 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
00059 sizePolicy.setHorizontalStretch(0);
00060 sizePolicy.setVerticalStretch(0);
00061 sizePolicy.setHeightForWidth(groupBox_ViewContentAs->sizePolicy().hasHeightForWidth());
00062 groupBox_ViewContentAs->setSizePolicy(sizePolicy);
00063 groupBox_ViewContentAs->setFlat(true);
00064 hboxLayout = new QHBoxLayout(groupBox_ViewContentAs);
00065 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00066 hboxLayout->setContentsMargins(0, 0, 0, 0);
00067 spacerItem = new QSpacerItem(41, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00068
00069 hboxLayout->addItem(spacerItem);
00070
00071 label_ViewAsType = new QLabel(groupBox_ViewContentAs);
00072 label_ViewAsType->setObjectName(QString::fromUtf8("label_ViewAsType"));
00073 label_ViewAsType->setTextFormat(Qt::PlainText);
00074
00075 hboxLayout->addWidget(label_ViewAsType);
00076
00077 comboBox_ContentType = new QComboBox(groupBox_ViewContentAs);
00078 comboBox_ContentType->setObjectName(QString::fromUtf8("comboBox_ContentType"));
00079
00080 hboxLayout->addWidget(comboBox_ContentType);
00081
00082
00083 vboxLayout->addWidget(groupBox_ViewContentAs);
00084
00085 textEdit = new QTextEdit(ContentEditor_BASE);
00086 textEdit->setObjectName(QString::fromUtf8("textEdit"));
00087 textEdit->viewport()->setProperty("cursor", QVariant(QCursor(Qt::IBeamCursor)));
00088 textEdit->setLineWrapMode(QTextEdit::WidgetWidth);
00089
00090 vboxLayout->addWidget(textEdit);
00091
00092 hboxLayout1 = new QHBoxLayout();
00093 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00094 pushButton_Revert = new QPushButton(ContentEditor_BASE);
00095 pushButton_Revert->setObjectName(QString::fromUtf8("pushButton_Revert"));
00096 pushButton_Revert->setEnabled(false);
00097
00098 hboxLayout1->addWidget(pushButton_Revert);
00099
00100 spacerItem1 = new QSpacerItem(0, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00101
00102 hboxLayout1->addItem(spacerItem1);
00103
00104 pushButton_Export = new QPushButton(ContentEditor_BASE);
00105 pushButton_Export->setObjectName(QString::fromUtf8("pushButton_Export"));
00106 pushButton_Export->setEnabled(false);
00107
00108 hboxLayout1->addWidget(pushButton_Export);
00109
00110 pushButton_Browse = new QPushButton(ContentEditor_BASE);
00111 pushButton_Browse->setObjectName(QString::fromUtf8("pushButton_Browse"));
00112 pushButton_Browse->setEnabled(false);
00113
00114 hboxLayout1->addWidget(pushButton_Browse);
00115
00116 pushButton_Cancel = new QPushButton(ContentEditor_BASE);
00117 pushButton_Cancel->setObjectName(QString::fromUtf8("pushButton_Cancel"));
00118
00119 hboxLayout1->addWidget(pushButton_Cancel);
00120
00121 pushButton_OK = new QPushButton(ContentEditor_BASE);
00122 pushButton_OK->setObjectName(QString::fromUtf8("pushButton_OK"));
00123 pushButton_OK->setDefault(true);
00124
00125 hboxLayout1->addWidget(pushButton_OK);
00126
00127
00128 vboxLayout->addLayout(hboxLayout1);
00129
00130 QWidget::setTabOrder(textEdit, comboBox_ContentType);
00131 QWidget::setTabOrder(comboBox_ContentType, pushButton_Browse);
00132 QWidget::setTabOrder(pushButton_Browse, pushButton_Cancel);
00133 QWidget::setTabOrder(pushButton_Cancel, pushButton_OK);
00134 QWidget::setTabOrder(pushButton_OK, pushButton_Revert);
00135
00136 retranslateUi(ContentEditor_BASE);
00137 QObject::connect(pushButton_OK, SIGNAL(clicked()), ContentEditor_BASE, SLOT(accept()));
00138 QObject::connect(pushButton_Cancel, SIGNAL(clicked()), ContentEditor_BASE, SLOT(reject()));
00139
00140 QMetaObject::connectSlotsByName(ContentEditor_BASE);
00141 }
00142
00143 void retranslateUi(QDialog *ContentEditor_BASE)
00144 {
00145 ContentEditor_BASE->setWindowTitle(QApplication::translate("ContentEditor_BASE", "Content Editor", 0, QApplication::UnicodeUTF8));
00146 label_ViewAsType->setText(QApplication::translate("ContentEditor_BASE", "View content as:", 0, QApplication::UnicodeUTF8));
00147 comboBox_ContentType->clear();
00148 comboBox_ContentType->insertItems(0, QStringList()
00149 << QApplication::translate("ContentEditor_BASE", "Text", 0, QApplication::UnicodeUTF8)
00150 << QApplication::translate("ContentEditor_BASE", "Hex", 0, QApplication::UnicodeUTF8)
00151 );
00152 pushButton_Revert->setText(QApplication::translate("ContentEditor_BASE", "Revert", 0, QApplication::UnicodeUTF8));
00153 pushButton_Export->setText(QApplication::translate("ContentEditor_BASE", "Export", 0, QApplication::UnicodeUTF8));
00154 pushButton_Browse->setText(QApplication::translate("ContentEditor_BASE", "Browse", 0, QApplication::UnicodeUTF8));
00155 pushButton_Cancel->setText(QApplication::translate("ContentEditor_BASE", "Cancel", 0, QApplication::UnicodeUTF8));
00156 pushButton_OK->setText(QApplication::translate("ContentEditor_BASE", "OK", 0, QApplication::UnicodeUTF8));
00157 Q_UNUSED(ContentEditor_BASE);
00158 }
00159
00160 };
00161
00162 namespace Ui {
00163 class ContentEditor_BASE: public Ui_ContentEditor_BASE {};
00164 }
00165
00166 #endif // UI_CONTENTEDITOR_BASE_H