LibreOffice Module cui (master) 1
|
#include <toolbarmodedlg.hxx>
Public Member Functions | |
ToolbarmodeDialog (weld::Window *pWindow) | |
virtual | ~ToolbarmodeDialog () override |
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 | |
void | UpdateImage (std::u16string_view sFileName) |
int | GetActiveRadioButton () |
DECL_LINK (SelectToolbarmode, weld::Toggleable &, void) | |
DECL_LINK (OnApplyClick, weld::Button &, void) | |
Private Attributes | |
std::unique_ptr< weld::Image > | m_pImage |
std::unique_ptr< weld::Button > | m_pApply |
std::unique_ptr< weld::Button > | m_pApplyAll |
std::unique_ptr< weld::RadioButton > | m_pRadioButtons [9] |
std::unique_ptr< weld::Label > | m_pInfoLabel |
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 18 of file toolbarmodedlg.hxx.
ToolbarmodeDialog::ToolbarmodeDialog | ( | weld::Window * | pWindow | ) |
Definition at line 81 of file toolbarmodedlg.cxx.
References CuiResId(), GetCurrentApp(), GetCurrentMode(), i, LINK, m_pApply, m_pApplyAll, m_pInfoLabel, m_pInfoLabel, m_pRadioButtons, SAL_N_ELEMENTS, and UpdateImage().
|
overridevirtualdefault |
|
private |
|
private |
|
private |
Definition at line 132 of file toolbarmodedlg.cxx.
References i, and m_pRadioButtons.
|
private |
Definition at line 142 of file toolbarmodedlg.cxx.
References aURL, VclPtr< class reference_type >::disposeAndClear(), ERRCODE_NONE, file_exists(), VclPtr< class reference_type >::get(), Graphic::GetBitmapEx(), Graphic::GetSizePixel(), GraphicFilter::LoadGraphic(), and m_pImage.
Referenced by ToolbarmodeDialog().
|
private |
Definition at line 26 of file toolbarmodedlg.hxx.
Referenced by ToolbarmodeDialog().
|
private |
Definition at line 27 of file toolbarmodedlg.hxx.
Referenced by ToolbarmodeDialog().
|
private |
Definition at line 25 of file toolbarmodedlg.hxx.
Referenced by UpdateImage().
|
private |
Definition at line 29 of file toolbarmodedlg.hxx.
Referenced by ToolbarmodeDialog().
|
private |
Definition at line 28 of file toolbarmodedlg.hxx.
Referenced by GetActiveRadioButton(), and ToolbarmodeDialog().