summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r--rbutil/rbutilqt/configure.cpp2
-rw-r--r--rbutil/rbutilqt/createvoicefrm.ui11
-rw-r--r--rbutil/rbutilqt/encttscfggui.cpp5
-rw-r--r--rbutil/rbutilqt/installtalkfrm.ui6
4 files changed, 21 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp
index b455727185..7669a103ae 100644
--- a/rbutil/rbutilqt/configure.cpp
+++ b/rbutil/rbutilqt/configure.cpp
@@ -655,7 +655,7 @@ void Config::configTts()
int index = ui.comboTts->currentIndex();
TTSBase* tts = TTSBase::getTTS(this,ui.comboTts->itemData(index).toString());
- EncTtsCfgGui gui(this,tts,TTSBase::getTTSName(RbSettings::value(RbSettings::Tts).toString()));
+ EncTtsCfgGui gui(this,tts,TTSBase::getTTSName(ui.comboTts->itemData(index).toString()));
gui.exec();
updateTtsState(ui.comboTts->currentIndex());
}
diff --git a/rbutil/rbutilqt/createvoicefrm.ui b/rbutil/rbutilqt/createvoicefrm.ui
index 17926eda98..968e0c1eba 100644
--- a/rbutil/rbutilqt/createvoicefrm.ui
+++ b/rbutil/rbutilqt/createvoicefrm.ui
@@ -43,7 +43,11 @@
</widget>
</item>
<item row="1" column="1" colspan="2" >
- <widget class="QComboBox" name="comboLanguage" />
+ <widget class="QComboBox" name="comboLanguage" >
+ <property name="accessibleName" >
+ <string>Language</string>
+ </property>
+ </widget>
</item>
<item row="2" column="1" colspan="2" >
<widget class="QGroupBox" name="groupBox_2" >
@@ -155,6 +159,9 @@
</item>
<item>
<widget class="QSpinBox" name="wavtrimthreshold" >
+ <property name="accessibleName" >
+ <string>Wavtrim Threshold</string>
+ </property>
<property name="maximum" >
<number>5000</number>
</property>
@@ -168,7 +175,9 @@
</layout>
</widget>
<tabstops>
+ <tabstop>comboLanguage</tabstop>
<tabstop>change</tabstop>
+ <tabstop>wavtrimthreshold</tabstop>
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
diff --git a/rbutil/rbutilqt/encttscfggui.cpp b/rbutil/rbutilqt/encttscfggui.cpp
index c38ff44df0..40fa1a4805 100644
--- a/rbutil/rbutilqt/encttscfggui.cpp
+++ b/rbutil/rbutilqt/encttscfggui.cpp
@@ -91,6 +91,7 @@ QLayout* EncTtsCfgGui::createWidgets(EncTtsSetting* setting)
case EncTtsSetting::eDOUBLE:
{
QDoubleSpinBox *spinBox = new QDoubleSpinBox(this);
+ spinBox->setAccessibleName(setting->name());
spinBox->setMinimum(setting->min().toDouble());
spinBox->setMaximum(setting->max().toDouble());
spinBox->setSingleStep(0.01);
@@ -102,6 +103,7 @@ QLayout* EncTtsCfgGui::createWidgets(EncTtsSetting* setting)
case EncTtsSetting::eINT:
{
QSpinBox *spinBox = new QSpinBox(this);
+ spinBox->setAccessibleName(setting->name());
spinBox->setMinimum(setting->min().toInt());
spinBox->setMaximum(setting->max().toInt());
spinBox->setValue(setting->current().toInt());
@@ -112,6 +114,7 @@ QLayout* EncTtsCfgGui::createWidgets(EncTtsSetting* setting)
case EncTtsSetting::eSTRING:
{
QLineEdit *lineEdit = new QLineEdit(this);
+ lineEdit->setAccessibleName(setting->name());
lineEdit->setText(setting->current().toString());
connect(lineEdit,SIGNAL(textChanged(QString)),this,SLOT(updateSetting()));
value = lineEdit;
@@ -125,6 +128,7 @@ QLayout* EncTtsCfgGui::createWidgets(EncTtsSetting* setting)
case EncTtsSetting::eSTRINGLIST:
{
QComboBox *comboBox = new QComboBox(this);
+ comboBox->setAccessibleName(setting->name());
comboBox->addItems(setting->list());
int index = comboBox->findText(setting->current().toString());
comboBox->setCurrentIndex(index);
@@ -135,6 +139,7 @@ QLayout* EncTtsCfgGui::createWidgets(EncTtsSetting* setting)
case EncTtsSetting::eBOOL:
{
QCheckBox *checkbox = new QCheckBox(this);
+ checkbox->setAccessibleName(setting->name());
checkbox->setCheckState(setting->current().toBool() == true ? Qt::Checked : Qt::Unchecked);
connect(checkbox,SIGNAL(stateChanged(int)),this,SLOT(updateSetting()));
value = checkbox;
diff --git a/rbutil/rbutilqt/installtalkfrm.ui b/rbutil/rbutilqt/installtalkfrm.ui
index 9e183e15a9..3b0f5a8c91 100644
--- a/rbutil/rbutilqt/installtalkfrm.ui
+++ b/rbutil/rbutilqt/installtalkfrm.ui
@@ -37,7 +37,11 @@
</widget>
</item>
<item row="1" column="1" colspan="2" >
- <widget class="QLineEdit" name="lineTalkFolder" />
+ <widget class="QLineEdit" name="lineTalkFolder" >
+ <property name="accessibleName" >
+ <string>Talkfile Folder</string>
+ </property>
+ </widget>
</item>
<item row="1" column="3" >
<widget class="QPushButton" name="buttonBrowse" >