LibreOffice Module svx (master) 1
|
#include <chinese_translationdialog.hxx>
Public Member Functions | |
ChineseTranslationDialog (weld::Window *pParent) | |
virtual | ~ChineseTranslationDialog () override |
void | getSettings (bool &rbDirectionToSimplified, bool &rbTranslateCommonTerms) const |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
DECL_LINK (DictionaryHdl, weld::Button &, void) | |
DECL_LINK (OkHdl, weld::Button &, void) | |
Private Attributes | |
std::unique_ptr< weld::Button > | m_xBP_OK |
std::unique_ptr< weld::Button > | m_xPB_Editterms |
std::unique_ptr< weld::RadioButton > | m_xRB_To_Simplified |
std::unique_ptr< weld::RadioButton > | m_xRB_To_Traditional |
std::unique_ptr< weld::CheckButton > | m_xCB_Translate_Commonterms |
std::unique_ptr< ChineseDictionaryDialog > | m_xDictionaryDialog |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 28 of file chinese_translationdialog.hxx.
|
explicit |
Definition at line 33 of file chinese_translationdialog.cxx.
References Any, SvtLinguConfig::GetProperty(), LINK, m_xBP_OK, m_xCB_Translate_Commonterms, m_xPB_Editterms, m_xRB_To_Simplified, m_xRB_To_Traditional, UPN_IS_DIRECTION_TO_SIMPLIFIED, and UPN_IS_TRANSLATE_COMMON_TERMS.
|
overridevirtual |
Definition at line 58 of file chinese_translationdialog.cxx.
|
private |
|
private |
void textconversiondlgs::ChineseTranslationDialog::getSettings | ( | bool & | rbDirectionToSimplified, |
bool & | rbTranslateCommonTerms | ||
) | const |
Definition at line 62 of file chinese_translationdialog.cxx.
References m_xCB_Translate_Commonterms, and m_xRB_To_Simplified.
|
private |
Definition at line 41 of file chinese_translationdialog.hxx.
Referenced by ChineseTranslationDialog().
|
private |
Definition at line 45 of file chinese_translationdialog.hxx.
Referenced by ChineseTranslationDialog(), and getSettings().
|
private |
Definition at line 46 of file chinese_translationdialog.hxx.
|
private |
Definition at line 42 of file chinese_translationdialog.hxx.
Referenced by ChineseTranslationDialog().
|
private |
Definition at line 43 of file chinese_translationdialog.hxx.
Referenced by ChineseTranslationDialog(), and getSettings().
|
private |
Definition at line 44 of file chinese_translationdialog.hxx.
Referenced by ChineseTranslationDialog().