LibreOffice Module svx (master) 1
|
#include <colorwindow.hxx>
Public Member Functions | |
MenuOrToolMenuButton (weld::MenuButton *pMenuButton) | |
MenuOrToolMenuButton (weld::Toolbar *pToolbar, OUString sIdent) | |
MenuOrToolMenuButton (SvxColorToolBoxControl *pControl, ToolBox *pToolbar, ToolBoxItemId nId) | |
~MenuOrToolMenuButton () | |
MenuOrToolMenuButton (MenuOrToolMenuButton const &)=default | |
MenuOrToolMenuButton (MenuOrToolMenuButton &&)=default | |
MenuOrToolMenuButton & | operator= (MenuOrToolMenuButton const &)=default |
MenuOrToolMenuButton & | operator= (MenuOrToolMenuButton &&)=default |
bool | get_active () const |
void | set_inactive () const |
weld::Widget * | get_widget () const |
Private Attributes | |
weld::MenuButton * | m_pMenuButton |
weld::Toolbar * | m_pToolbar |
OUString | m_aIdent |
SvxColorToolBoxControl * | m_pControl |
VclPtr< ToolBox > | m_xToolBox |
ToolBoxItemId | m_nId |
Definition at line 52 of file colorwindow.hxx.
MenuOrToolMenuButton::MenuOrToolMenuButton | ( | weld::MenuButton * | pMenuButton | ) |
Definition at line 4426 of file tbcontrl.cxx.
MenuOrToolMenuButton::MenuOrToolMenuButton | ( | weld::Toolbar * | pToolbar, |
OUString | sIdent | ||
) |
Definition at line 4434 of file tbcontrl.cxx.
MenuOrToolMenuButton::MenuOrToolMenuButton | ( | SvxColorToolBoxControl * | pControl, |
ToolBox * | pToolbar, | ||
ToolBoxItemId | nId | ||
) |
Definition at line 4443 of file tbcontrl.cxx.
References nId.
MenuOrToolMenuButton::~MenuOrToolMenuButton | ( | ) |
Definition at line 4452 of file tbcontrl.cxx.
|
default |
|
default |
bool MenuOrToolMenuButton::get_active | ( | ) | const |
Definition at line 4456 of file tbcontrl.cxx.
References weld::Toggleable::get_active(), weld::Toolbar::get_menu_item_active(), m_aIdent, m_nId, m_pMenuButton, m_pToolbar, and m_xToolBox.
weld::Widget * MenuOrToolMenuButton::get_widget | ( | ) | const |
Definition at line 4482 of file tbcontrl.cxx.
References m_pMenuButton, m_pToolbar, and m_xToolBox.
|
default |
|
default |
void MenuOrToolMenuButton::set_inactive | ( | ) | const |
Definition at line 4465 of file tbcontrl.cxx.
References weld::Toggleable::get_active(), weld::Toolbar::get_menu_item_active(), m_aIdent, m_pControl, m_pMenuButton, m_pToolbar, weld::Toggleable::set_active(), and weld::Toolbar::set_menu_item_active().
|
private |
Definition at line 59 of file colorwindow.hxx.
Referenced by get_active(), and set_inactive().
|
private |
Definition at line 63 of file colorwindow.hxx.
Referenced by get_active().
|
private |
Definition at line 61 of file colorwindow.hxx.
Referenced by set_inactive().
|
private |
Definition at line 56 of file colorwindow.hxx.
Referenced by get_active(), get_widget(), and set_inactive().
|
private |
Definition at line 58 of file colorwindow.hxx.
Referenced by get_active(), get_widget(), and set_inactive().
Definition at line 62 of file colorwindow.hxx.
Referenced by get_active(), and get_widget().