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, OUString sIdent)
 
 MenuOrToolMenuButton (SvxColorToolBoxControl *pControl, ToolBox *pToolbar, ToolBoxItemId 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
 
OUString m_aIdent
 
SvxColorToolBoxControlm_pControl
 
VclPtr< ToolBoxm_xToolBox
 
ToolBoxItemId m_nId
 

Detailed Description

Definition at line 52 of file colorwindow.hxx.

Constructor & Destructor Documentation

◆ MenuOrToolMenuButton() [1/5]

MenuOrToolMenuButton::MenuOrToolMenuButton ( weld::MenuButton pMenuButton)

Definition at line 4426 of file tbcontrl.cxx.

◆ MenuOrToolMenuButton() [2/5]

MenuOrToolMenuButton::MenuOrToolMenuButton ( weld::Toolbar pToolbar,
OUString  sIdent 
)

Definition at line 4434 of file tbcontrl.cxx.

◆ MenuOrToolMenuButton() [3/5]

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

Definition at line 4443 of file tbcontrl.cxx.

References nId.

◆ ~MenuOrToolMenuButton()

MenuOrToolMenuButton::~MenuOrToolMenuButton ( )

Definition at line 4452 of file tbcontrl.cxx.

◆ MenuOrToolMenuButton() [4/5]

MenuOrToolMenuButton::MenuOrToolMenuButton ( MenuOrToolMenuButton const &  )
default

◆ MenuOrToolMenuButton() [5/5]

MenuOrToolMenuButton::MenuOrToolMenuButton ( MenuOrToolMenuButton &&  )
default

Member Function Documentation

◆ get_active()

bool MenuOrToolMenuButton::get_active ( ) const

◆ get_widget()

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

Definition at line 4482 of file tbcontrl.cxx.

References m_pMenuButton, m_pToolbar, and m_xToolBox.

◆ operator=() [1/2]

MenuOrToolMenuButton & MenuOrToolMenuButton::operator= ( MenuOrToolMenuButton &&  )
default

◆ operator=() [2/2]

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

◆ set_inactive()

void MenuOrToolMenuButton::set_inactive ( ) const

Member Data Documentation

◆ m_aIdent

OUString MenuOrToolMenuButton::m_aIdent
private

Definition at line 59 of file colorwindow.hxx.

Referenced by get_active(), and set_inactive().

◆ m_nId

ToolBoxItemId MenuOrToolMenuButton::m_nId
private

Definition at line 63 of file colorwindow.hxx.

Referenced by get_active().

◆ m_pControl

SvxColorToolBoxControl* MenuOrToolMenuButton::m_pControl
private

Definition at line 61 of file colorwindow.hxx.

Referenced by set_inactive().

◆ m_pMenuButton

weld::MenuButton* MenuOrToolMenuButton::m_pMenuButton
private

Definition at line 56 of file colorwindow.hxx.

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

◆ m_pToolbar

weld::Toolbar* MenuOrToolMenuButton::m_pToolbar
private

Definition at line 58 of file colorwindow.hxx.

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

◆ m_xToolBox

VclPtr<ToolBox> MenuOrToolMenuButton::m_xToolBox
private

Definition at line 62 of file colorwindow.hxx.

Referenced by get_active(), and get_widget().


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