LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
textconversiondlgs::ChineseTranslationDialog Class Reference

#include <chinese_translationdialog.hxx>

Inheritance diagram for textconversiondlgs::ChineseTranslationDialog:
[legend]
Collaboration diagram for textconversiondlgs::ChineseTranslationDialog:
[legend]

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 DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () 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::Buttonm_xBP_OK
 
std::unique_ptr< weld::Buttonm_xPB_Editterms
 
std::unique_ptr< weld::RadioButtonm_xRB_To_Simplified
 
std::unique_ptr< weld::RadioButtonm_xRB_To_Traditional
 
std::unique_ptr< weld::CheckButtonm_xCB_Translate_Commonterms
 
std::unique_ptr< ChineseDictionaryDialogm_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::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 28 of file chinese_translationdialog.hxx.

Constructor & Destructor Documentation

◆ ChineseTranslationDialog()

textconversiondlgs::ChineseTranslationDialog::ChineseTranslationDialog ( weld::Window pParent)
explicit

◆ ~ChineseTranslationDialog()

textconversiondlgs::ChineseTranslationDialog::~ChineseTranslationDialog ( )
overridevirtual

Definition at line 58 of file chinese_translationdialog.cxx.

Member Function Documentation

◆ DECL_LINK() [1/2]

textconversiondlgs::ChineseTranslationDialog::DECL_LINK ( DictionaryHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/2]

textconversiondlgs::ChineseTranslationDialog::DECL_LINK ( OkHdl  ,
weld::Button ,
void   
)
private

◆ getSettings()

void textconversiondlgs::ChineseTranslationDialog::getSettings ( bool &  rbDirectionToSimplified,
bool &  rbTranslateCommonTerms 
) const

Member Data Documentation

◆ m_xBP_OK

std::unique_ptr<weld::Button> textconversiondlgs::ChineseTranslationDialog::m_xBP_OK
private

Definition at line 41 of file chinese_translationdialog.hxx.

Referenced by ChineseTranslationDialog().

◆ m_xCB_Translate_Commonterms

std::unique_ptr<weld::CheckButton> textconversiondlgs::ChineseTranslationDialog::m_xCB_Translate_Commonterms
private

Definition at line 45 of file chinese_translationdialog.hxx.

Referenced by ChineseTranslationDialog(), and getSettings().

◆ m_xDictionaryDialog

std::unique_ptr<ChineseDictionaryDialog> textconversiondlgs::ChineseTranslationDialog::m_xDictionaryDialog
private

Definition at line 46 of file chinese_translationdialog.hxx.

◆ m_xPB_Editterms

std::unique_ptr<weld::Button> textconversiondlgs::ChineseTranslationDialog::m_xPB_Editterms
private

Definition at line 42 of file chinese_translationdialog.hxx.

Referenced by ChineseTranslationDialog().

◆ m_xRB_To_Simplified

std::unique_ptr<weld::RadioButton> textconversiondlgs::ChineseTranslationDialog::m_xRB_To_Simplified
private

Definition at line 43 of file chinese_translationdialog.hxx.

Referenced by ChineseTranslationDialog(), and getSettings().

◆ m_xRB_To_Traditional

std::unique_ptr<weld::RadioButton> textconversiondlgs::ChineseTranslationDialog::m_xRB_To_Traditional
private

Definition at line 44 of file chinese_translationdialog.hxx.

Referenced by ChineseTranslationDialog().


The documentation for this class was generated from the following files: