DtkWidget
DTK Widget module
|
一个用于编辑和显示纯文本/富文本的控件 更多...
Public 成员函数 | |
DTextEdit (QWidget *parent=nullptr) | |
DTextEdit 构造函数, 实现一个用于编辑和显示纯文本和富文本的控件 | |
DTextEdit (const QString &text, QWidget *parent=nullptr) | |
bool | speechToTextIsEnabled () const |
DLineEdit::speechToTextIsEnabled | |
void | setSpeechToTextEnabled (bool enable) |
DLineEdit::setSpeechToTextEnabled 设置是否显示语音听写菜单项 | |
bool | textToSpeechIsEnabled () const |
DTextEdit::textToSpeechIsEnabled | |
void | setTextToSpeechEnabled (bool enable) |
DTextEdit::setTextToSpeechEnabled 设置是否显示语音朗读菜单项 | |
bool | textToTranslateIsEnabled () const |
DTextEdit::textToTranslateIsEnabled | |
void | setTextToTranslateEnabled (bool enable) |
DTextEdit::setTextToTranslateEnabled 设置是否显示文本翻译菜单项 | |
Protected 成员函数 | |
bool | event (QEvent *e) override |
void | contextMenuEvent (QContextMenuEvent *e) override |
virtual void | keyPressEvent (QKeyEvent *e) override |
一个用于编辑和显示纯文本/富文本的控件
DTextEdit类 继承于 QTextEdit类, 实现一个用于编辑和显示纯文本和富文本的控件
|
explicit |
DTextEdit 构造函数, 实现一个用于编辑和显示纯文本和富文本的控件
[in] | parent |
void DTextEdit::setSpeechToTextEnabled | ( | bool | enable | ) |
DLineEdit::setSpeechToTextEnabled 设置是否显示语音听写菜单项
[in] | enable | true显示 flase不显示 |
void DTextEdit::setTextToSpeechEnabled | ( | bool | enable | ) |
DTextEdit::setTextToSpeechEnabled 设置是否显示语音朗读菜单项
[in] | enable | true显示 flase不显示 |
void DTextEdit::setTextToTranslateEnabled | ( | bool | enable | ) |
DTextEdit::setTextToTranslateEnabled 设置是否显示文本翻译菜单项
[in] | enable | true显示 flase不显示 |
bool DTextEdit::speechToTextIsEnabled | ( | ) | const |
DLineEdit::speechToTextIsEnabled
bool DTextEdit::textToSpeechIsEnabled | ( | ) | const |
DTextEdit::textToSpeechIsEnabled
bool DTextEdit::textToTranslateIsEnabled | ( | ) | const |
DTextEdit::textToTranslateIsEnabled