-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAnsleDictConfigDialog.h
47 lines (35 loc) · 1006 Bytes
/
AnsleDictConfigDialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef ANSLEDICTCONFIGDIALOG_H
#define ANSLEDICTCONFIGDIALOG_H
#include <QDialog>
#include "AnsleDictConfigFile.h"
#include "QtSpeech.h"
////////////////////////////////////////
//
namespace Ui {
class AnsleDictConfigDialog;
}
class AnsleDictConfigDialog : public QDialog
{
Q_OBJECT
public:
explicit AnsleDictConfigDialog(QWidget *parent = 0,ConfigFile *config = NULL);
~AnsleDictConfigDialog();
private slots:
void on_ApplyButton_clicked();
void on_CancelButton_clicked();
void on_OtherRadioButton_clicked(bool checked);
void on_RateHorizontalSlider_valueChanged(int value);
void on_ESpeakTTSRadioButton_clicked(bool checked);
void on_GoogleTTSRadioButton_clicked(bool checked);
public:
QString voiceMethode();
void initTTSCombox();
void otherTTSInit();
private:
Ui::AnsleDictConfigDialog *ui;
ConfigFile *speakConfig;
QString speakMethode;
QString QtSpeakTTS;
int QtSpeakTTSID;
};
#endif // ANSLEDICTCONFIGDIALOG_H