LibreOffice Module cui (master)
1
|
#include <toolbarmodedlg.hxx>
Public Member Functions | |
ToolbarmodeDialog (weld::Window *pWindow) | |
virtual | ~ToolbarmodeDialog () override |
![]() | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
![]() | |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OString &rHelpId) |
OString | 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::ToggleButton &, 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 bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
![]() | |
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 83 of file toolbarmodedlg.cxx.
References CuiResId(), GetCurrentApp(), GetCurrentMode(), i, LINK, m_pApply, m_pApplyAll, m_pInfoLabel, m_pRadioButtons, weld::GenericDialogController::m_xBuilder, SAL_N_ELEMENTS, UpdateImage(), and ~ToolbarmodeDialog().
|
overridevirtualdefault |
Referenced by ToolbarmodeDialog().
|
private |
|
private |
|
private |
Definition at line 134 of file toolbarmodedlg.cxx.
References i, m_pRadioButtons, and SAL_N_ELEMENTS.
Referenced by IMPL_LINK(), and IMPL_LINK_NOARG().
|
private |
Definition at line 144 of file toolbarmodedlg.cxx.
References aURL, VclPtr< VirtualDevice >::disposeAndClear(), ERRCODE_NONE, file_exists(), VclPtr< VirtualDevice >::get(), Graphic::GetBitmapEx(), Graphic::GetSizePixel(), GraphicFilter::LoadGraphic(), m_pImage, and Point.
Referenced by IMPL_LINK_NOARG(), and ToolbarmodeDialog().
|
private |
Definition at line 26 of file toolbarmodedlg.hxx.
Referenced by ToolbarmodeDialog().
|
private |
Definition at line 27 of file toolbarmodedlg.hxx.
Referenced by IMPL_LINK(), and ToolbarmodeDialog().
|
private |
Definition at line 25 of file toolbarmodedlg.hxx.
Referenced by UpdateImage().
|
private |
Definition at line 29 of file toolbarmodedlg.hxx.
Referenced by IMPL_LINK_NOARG(), and ToolbarmodeDialog().
|
private |
Definition at line 28 of file toolbarmodedlg.hxx.
Referenced by GetActiveRadioButton(), and ToolbarmodeDialog().