00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_ANTHYWORDEDITOR_H
00011 #define UI_ANTHYWORDEDITOR_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/QComboBox>
00019 #include <QtGui/QDialog>
00020 #include <QtGui/QDialogButtonBox>
00021 #include <QtGui/QFormLayout>
00022 #include <QtGui/QHeaderView>
00023 #include <QtGui/QLabel>
00024 #include <QtGui/QLineEdit>
00025 #include <QtGui/QSlider>
00026 #include <QtGui/QStackedWidget>
00027 #include <QtGui/QVBoxLayout>
00028 #include <QtGui/QWidget>
00029
00030 QT_BEGIN_NAMESPACE
00031
00032 class Ui_AnthyWordEditor
00033 {
00034 public:
00035 QVBoxLayout *verticalLayout;
00036 QFormLayout *formLayout;
00037 QLabel *label;
00038 QLineEdit *sound;
00039 QLabel *label_2;
00040 QLabel *label_3;
00041 QComboBox *wordType;
00042 QStackedWidget *stackedWidget;
00043 QWidget *generalNoun;
00044 QVBoxLayout *verticalLayout_3;
00045 QCheckBox *nounNa;
00046 QCheckBox *nounSa;
00047 QCheckBox *nounSuru;
00048 QCheckBox *nounOnly;
00049 QCheckBox *nounGa;
00050 QWidget *adjective;
00051 QVBoxLayout *verticalLayout_4;
00052 QCheckBox *adjectiveTo;
00053 QCheckBox *adjectiveTaru;
00054 QCheckBox *adjectiveSuru;
00055 QCheckBox *adjectiveOnly;
00056 QLabel *label_4;
00057 QSlider *frequency;
00058 QLineEdit *spelling;
00059 QDialogButtonBox *buttonBox;
00060
00061 void setupUi(QDialog *AnthyWordEditor)
00062 {
00063 if (AnthyWordEditor->objectName().isEmpty())
00064 AnthyWordEditor->setObjectName(QString::fromUtf8("AnthyWordEditor"));
00065 AnthyWordEditor->resize(240, 327);
00066 verticalLayout = new QVBoxLayout(AnthyWordEditor);
00067 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
00068 formLayout = new QFormLayout();
00069 formLayout->setObjectName(QString::fromUtf8("formLayout"));
00070 formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
00071 label = new QLabel(AnthyWordEditor);
00072 label->setObjectName(QString::fromUtf8("label"));
00073
00074 formLayout->setWidget(0, QFormLayout::LabelRole, label);
00075
00076 sound = new QLineEdit(AnthyWordEditor);
00077 sound->setObjectName(QString::fromUtf8("sound"));
00078
00079 formLayout->setWidget(0, QFormLayout::FieldRole, sound);
00080
00081 label_2 = new QLabel(AnthyWordEditor);
00082 label_2->setObjectName(QString::fromUtf8("label_2"));
00083
00084 formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
00085
00086 label_3 = new QLabel(AnthyWordEditor);
00087 label_3->setObjectName(QString::fromUtf8("label_3"));
00088
00089 formLayout->setWidget(2, QFormLayout::LabelRole, label_3);
00090
00091 wordType = new QComboBox(AnthyWordEditor);
00092 wordType->setObjectName(QString::fromUtf8("wordType"));
00093
00094 formLayout->setWidget(2, QFormLayout::FieldRole, wordType);
00095
00096 stackedWidget = new QStackedWidget(AnthyWordEditor);
00097 stackedWidget->setObjectName(QString::fromUtf8("stackedWidget"));
00098 generalNoun = new QWidget();
00099 generalNoun->setObjectName(QString::fromUtf8("generalNoun"));
00100 verticalLayout_3 = new QVBoxLayout(generalNoun);
00101 verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
00102 nounNa = new QCheckBox(generalNoun);
00103 nounNa->setObjectName(QString::fromUtf8("nounNa"));
00104
00105 verticalLayout_3->addWidget(nounNa);
00106
00107 nounSa = new QCheckBox(generalNoun);
00108 nounSa->setObjectName(QString::fromUtf8("nounSa"));
00109
00110 verticalLayout_3->addWidget(nounSa);
00111
00112 nounSuru = new QCheckBox(generalNoun);
00113 nounSuru->setObjectName(QString::fromUtf8("nounSuru"));
00114
00115 verticalLayout_3->addWidget(nounSuru);
00116
00117 nounOnly = new QCheckBox(generalNoun);
00118 nounOnly->setObjectName(QString::fromUtf8("nounOnly"));
00119
00120 verticalLayout_3->addWidget(nounOnly);
00121
00122 nounGa = new QCheckBox(generalNoun);
00123 nounGa->setObjectName(QString::fromUtf8("nounGa"));
00124
00125 verticalLayout_3->addWidget(nounGa);
00126
00127 stackedWidget->addWidget(generalNoun);
00128 adjective = new QWidget();
00129 adjective->setObjectName(QString::fromUtf8("adjective"));
00130 verticalLayout_4 = new QVBoxLayout(adjective);
00131 verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
00132 adjectiveTo = new QCheckBox(adjective);
00133 adjectiveTo->setObjectName(QString::fromUtf8("adjectiveTo"));
00134
00135 verticalLayout_4->addWidget(adjectiveTo);
00136
00137 adjectiveTaru = new QCheckBox(adjective);
00138 adjectiveTaru->setObjectName(QString::fromUtf8("adjectiveTaru"));
00139
00140 verticalLayout_4->addWidget(adjectiveTaru);
00141
00142 adjectiveSuru = new QCheckBox(adjective);
00143 adjectiveSuru->setObjectName(QString::fromUtf8("adjectiveSuru"));
00144
00145 verticalLayout_4->addWidget(adjectiveSuru);
00146
00147 adjectiveOnly = new QCheckBox(adjective);
00148 adjectiveOnly->setObjectName(QString::fromUtf8("adjectiveOnly"));
00149
00150 verticalLayout_4->addWidget(adjectiveOnly);
00151
00152 stackedWidget->addWidget(adjective);
00153
00154 formLayout->setWidget(3, QFormLayout::FieldRole, stackedWidget);
00155
00156 label_4 = new QLabel(AnthyWordEditor);
00157 label_4->setObjectName(QString::fromUtf8("label_4"));
00158
00159 formLayout->setWidget(4, QFormLayout::LabelRole, label_4);
00160
00161 frequency = new QSlider(AnthyWordEditor);
00162 frequency->setObjectName(QString::fromUtf8("frequency"));
00163 frequency->setMaximum(1000);
00164 frequency->setSingleStep(10);
00165 frequency->setPageStep(100);
00166 frequency->setValue(500);
00167 frequency->setOrientation(Qt::Horizontal);
00168
00169 formLayout->setWidget(4, QFormLayout::FieldRole, frequency);
00170
00171 spelling = new QLineEdit(AnthyWordEditor);
00172 spelling->setObjectName(QString::fromUtf8("spelling"));
00173
00174 formLayout->setWidget(1, QFormLayout::FieldRole, spelling);
00175
00176
00177 verticalLayout->addLayout(formLayout);
00178
00179 buttonBox = new QDialogButtonBox(AnthyWordEditor);
00180 buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
00181 buttonBox->setOrientation(Qt::Horizontal);
00182 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
00183
00184 verticalLayout->addWidget(buttonBox);
00185
00186 #ifndef QT_NO_SHORTCUT
00187 label->setBuddy(sound);
00188 label_2->setBuddy(spelling);
00189 label_3->setBuddy(wordType);
00190 #endif // QT_NO_SHORTCUT
00191 QWidget::setTabOrder(sound, spelling);
00192 QWidget::setTabOrder(spelling, wordType);
00193 QWidget::setTabOrder(wordType, nounNa);
00194 QWidget::setTabOrder(nounNa, nounSa);
00195 QWidget::setTabOrder(nounSa, nounSuru);
00196 QWidget::setTabOrder(nounSuru, nounOnly);
00197 QWidget::setTabOrder(nounOnly, nounGa);
00198 QWidget::setTabOrder(nounGa, adjectiveTo);
00199 QWidget::setTabOrder(adjectiveTo, adjectiveTaru);
00200 QWidget::setTabOrder(adjectiveTaru, adjectiveSuru);
00201 QWidget::setTabOrder(adjectiveSuru, adjectiveOnly);
00202 QWidget::setTabOrder(adjectiveOnly, frequency);
00203 QWidget::setTabOrder(frequency, buttonBox);
00204
00205 retranslateUi(AnthyWordEditor);
00206 QObject::connect(buttonBox, SIGNAL(accepted()), AnthyWordEditor, SLOT(accept()));
00207 QObject::connect(buttonBox, SIGNAL(rejected()), AnthyWordEditor, SLOT(reject()));
00208
00209 stackedWidget->setCurrentIndex(0);
00210
00211
00212 QMetaObject::connectSlotsByName(AnthyWordEditor);
00213 }
00214
00215 void retranslateUi(QDialog *AnthyWordEditor)
00216 {
00217 AnthyWordEditor->setWindowTitle(QApplication::translate("AnthyWordEditor", "Edit word", 0, QApplication::UnicodeUTF8));
00218 label->setText(QApplication::translate("AnthyWordEditor", "&Sound:", 0, QApplication::UnicodeUTF8));
00219 sound->setText(QString());
00220 label_2->setText(QApplication::translate("AnthyWordEditor", "S&pelling:", 0, QApplication::UnicodeUTF8));
00221 label_3->setText(QApplication::translate("AnthyWordEditor", "&Type:", 0, QApplication::UnicodeUTF8));
00222 wordType->clear();
00223 wordType->insertItems(0, QStringList()
00224 << QApplication::translate("AnthyWordEditor", "General Noun", 0, QApplication::UnicodeUTF8)
00225 << QApplication::translate("AnthyWordEditor", "Name of People", 0, QApplication::UnicodeUTF8)
00226 << QApplication::translate("AnthyWordEditor", "Geographic Name", 0, QApplication::UnicodeUTF8)
00227 << QApplication::translate("AnthyWordEditor", "Adjective", 0, QApplication::UnicodeUTF8)
00228 << QApplication::translate("AnthyWordEditor", "Adverb", 0, QApplication::UnicodeUTF8)
00229 << QApplication::translate("AnthyWordEditor", "Single Kanji Character", 0, QApplication::UnicodeUTF8)
00230 );
00231 nounNa->setText(QApplication::translate("AnthyWordEditor", "-na", 0, QApplication::UnicodeUTF8));
00232 nounSa->setText(QApplication::translate("AnthyWordEditor", "-sa", 0, QApplication::UnicodeUTF8));
00233 nounSuru->setText(QApplication::translate("AnthyWordEditor", "-suru", 0, QApplication::UnicodeUTF8));
00234 nounOnly->setText(QApplication::translate("AnthyWordEditor", "-", 0, QApplication::UnicodeUTF8));
00235 nounGa->setText(QApplication::translate("AnthyWordEditor", "-ga", 0, QApplication::UnicodeUTF8));
00236 adjectiveTo->setText(QApplication::translate("AnthyWordEditor", "-to", 0, QApplication::UnicodeUTF8));
00237 adjectiveTaru->setText(QApplication::translate("AnthyWordEditor", "-taru", 0, QApplication::UnicodeUTF8));
00238 adjectiveSuru->setText(QApplication::translate("AnthyWordEditor", "-suru", 0, QApplication::UnicodeUTF8));
00239 adjectiveOnly->setText(QApplication::translate("AnthyWordEditor", "-", 0, QApplication::UnicodeUTF8));
00240 label_4->setText(QApplication::translate("AnthyWordEditor", "Frequency:", 0, QApplication::UnicodeUTF8));
00241 spelling->setText(QString());
00242 }
00243
00244 };
00245
00246 namespace Ui {
00247 class AnthyWordEditor: public Ui_AnthyWordEditor {};
00248 }
00249
00250 QT_END_NAMESPACE
00251
00252 #endif // UI_ANTHYWORDEDITOR_H