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

#include <colorwindow.hxx>

Collaboration diagram for MenuOrToolMenuButton:
[legend]

Public Member Functions

 MenuOrToolMenuButton (weld::MenuButton *pMenuButton)
 
 MenuOrToolMenuButton (weld::Toolbar *pToolbar, const OString &rIdent)
 
 MenuOrToolMenuButton (SvxColorToolBoxControl *pControl, ToolBox *pToolbar, sal_uInt16 nId)
 
 ~MenuOrToolMenuButton ()
 
 MenuOrToolMenuButton (MenuOrToolMenuButton const &)=default
 
 MenuOrToolMenuButton (MenuOrToolMenuButton &&)=default
 
MenuOrToolMenuButtonoperator= (MenuOrToolMenuButton const &)=default
 
MenuOrToolMenuButtonoperator= (MenuOrToolMenuButton &&)=default
 
bool get_active () const
 
void set_inactive () const
 
weld::Widgetget_widget () const
 

Private Attributes

weld::MenuButtonm_pMenuButton
 
weld::Toolbarm_pToolbar
 
OString m_aIdent
 
SvxColorToolBoxControlm_pControl
 
VclPtr< ToolBoxm_xToolBox
 
sal_uInt16 m_nId
 

Detailed Description

Definition at line 112 of file colorwindow.hxx.

Constructor & Destructor Documentation

MenuOrToolMenuButton::MenuOrToolMenuButton ( weld::MenuButton pMenuButton)

Definition at line 4349 of file tbcontrl.cxx.

References m_nId.

MenuOrToolMenuButton::MenuOrToolMenuButton ( weld::Toolbar pToolbar,
const OString &  rIdent 
)

Definition at line 4357 of file tbcontrl.cxx.

References m_nId.

MenuOrToolMenuButton::MenuOrToolMenuButton ( SvxColorToolBoxControl pControl,
ToolBox pToolbar,
sal_uInt16  nId 
)

Definition at line 4366 of file tbcontrl.cxx.

References m_nId.

MenuOrToolMenuButton::~MenuOrToolMenuButton ( )

Definition at line 4375 of file tbcontrl.cxx.

MenuOrToolMenuButton::MenuOrToolMenuButton ( MenuOrToolMenuButton const &  )
default
MenuOrToolMenuButton::MenuOrToolMenuButton ( MenuOrToolMenuButton &&  )
default

Member Function Documentation

bool MenuOrToolMenuButton::get_active ( ) const
weld::Widget * MenuOrToolMenuButton::get_widget ( ) const

Definition at line 4405 of file tbcontrl.cxx.

References vcl::Window::GetFrameWeld(), m_pMenuButton, m_pToolbar, and m_xToolBox.

MenuOrToolMenuButton& MenuOrToolMenuButton::operator= ( MenuOrToolMenuButton const &  )
default
MenuOrToolMenuButton& MenuOrToolMenuButton::operator= ( MenuOrToolMenuButton &&  )
default
void MenuOrToolMenuButton::set_inactive ( ) const

Member Data Documentation

OString MenuOrToolMenuButton::m_aIdent
private

Definition at line 119 of file colorwindow.hxx.

Referenced by get_active(), and set_inactive().

sal_uInt16 MenuOrToolMenuButton::m_nId
private

Definition at line 123 of file colorwindow.hxx.

Referenced by get_active().

SvxColorToolBoxControl* MenuOrToolMenuButton::m_pControl
private

Definition at line 121 of file colorwindow.hxx.

Referenced by set_inactive().

weld::MenuButton* MenuOrToolMenuButton::m_pMenuButton
private

Definition at line 116 of file colorwindow.hxx.

Referenced by get_active(), get_widget(), and set_inactive().

weld::Toolbar* MenuOrToolMenuButton::m_pToolbar
private

Definition at line 118 of file colorwindow.hxx.

Referenced by get_active(), get_widget(), and set_inactive().

VclPtr<ToolBox> MenuOrToolMenuButton::m_xToolBox
private

Definition at line 122 of file colorwindow.hxx.

Referenced by get_active(), and get_widget().


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