LibreOffice Module sw (master) 1
|
#include <translatelangselect.hxx>
Public Member Functions | |
SwTranslateLangSelectDlg (weld::Window *pParent, SwWrtShell &rSh) | |
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 |
Static Public Member Functions | |
static std::optional< SwLanguageListItem > | GetSelectedLanguage () |
Static Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Static Public Attributes | |
static int | selectedLangIdx = -1 |
Private Member Functions | |
DECL_STATIC_LINK (SwTranslateLangSelectDlg, LangSelectHdl, weld::ComboBox &, void) | |
DECL_LINK (LangSelectCancelHdl, weld::Button &, void) | |
DECL_LINK (LangSelectTranslateHdl, weld::Button &, void) | |
Private Attributes | |
SwWrtShell & | m_rWrtSh |
std::unique_ptr< weld::ComboBox > | m_xLanguageListBox |
std::unique_ptr< weld::Button > | m_xBtnCancel |
std::unique_ptr< weld::Button > | m_xBtnTranslate |
bool | m_bTranslationStarted |
bool | m_bCancelTranslation |
Additional Inherited Members | |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 47 of file translatelangselect.hxx.
SwTranslateLangSelectDlg::SwTranslateLangSelectDlg | ( | weld::Window * | pParent, |
SwWrtShell & | rSh | ||
) |
Definition at line 78 of file translatelangselect.cxx.
References getLanguageVec(), LINK, m_xBtnCancel, m_xBtnTranslate, m_xLanguageListBox, and selectedLangIdx.
|
private |
|
private |
|
private |
|
static |
Definition at line 103 of file translatelangselect.cxx.
References getLanguageVec(), and selectedLangIdx.
Referenced by AbstractSwTranslateLangSelectDlg_Impl::GetSelectedLanguage().
|
private |
Definition at line 61 of file translatelangselect.hxx.
|
private |
Definition at line 60 of file translatelangselect.hxx.
|
private |
Definition at line 55 of file translatelangselect.hxx.
|
private |
Definition at line 57 of file translatelangselect.hxx.
Referenced by SwTranslateLangSelectDlg().
|
private |
Definition at line 58 of file translatelangselect.hxx.
Referenced by SwTranslateLangSelectDlg().
|
private |
Definition at line 56 of file translatelangselect.hxx.
Referenced by SwTranslateLangSelectDlg().
|
static |
Definition at line 50 of file translatelangselect.hxx.
Referenced by GetSelectedLanguage(), IMPL_LINK_NOARG(), IMPL_STATIC_LINK(), and SwTranslateLangSelectDlg().