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

#include <cuitabarea.hxx>

Public Member Functions

 ButtonBox ()
 
void AddButton (weld::ToggleButton *pButton)
 
sal_Int32 GetCurrentButtonPos ()
 
sal_Int32 GetButtonPos (weld::ToggleButton *pButton)
 
void SelectButton (weld::ToggleButton *pButton)
 

Private Member Functions

void SelectButtonImpl (sal_Int32 nPos)
 

Private Attributes

sal_Int32 mnCurrentButton
 
std::vector< weld::ToggleButton * > maButtonList
 
std::map< weld::ToggleButton *, sal_Int32 > maButtonToPos
 

Detailed Description

Definition at line 42 of file cuitabarea.hxx.

Constructor & Destructor Documentation

ButtonBox::ButtonBox ( )
inline

Definition at line 58 of file cuitabarea.hxx.

References NO_BUTTON_SELECTED.

Member Function Documentation

void ButtonBox::AddButton ( weld::ToggleButton pButton)
inline

Definition at line 62 of file cuitabarea.hxx.

Referenced by SvxAreaTabPage::SvxAreaTabPage().

sal_Int32 ButtonBox::GetButtonPos ( weld::ToggleButton pButton)
inline

Definition at line 68 of file cuitabarea.hxx.

Referenced by SelectButton(), and SvxAreaTabPage::SelectFillType().

sal_Int32 ButtonBox::GetCurrentButtonPos ( )
inline
void ButtonBox::SelectButton ( weld::ToggleButton pButton)
inline

Definition at line 76 of file cuitabarea.hxx.

References GetButtonPos(), nPos, and SelectButtonImpl().

Referenced by SvxAreaTabPage::SelectFillType().

void ButtonBox::SelectButtonImpl ( sal_Int32  nPos)
inlineprivate

Definition at line 48 of file cuitabarea.hxx.

References mnCurrentButton, and NO_BUTTON_SELECTED.

Referenced by SelectButton().

Member Data Documentation

std::vector<weld::ToggleButton*> ButtonBox::maButtonList
private

Definition at line 46 of file cuitabarea.hxx.

std::map<weld::ToggleButton*, sal_Int32 > ButtonBox::maButtonToPos
private

Definition at line 47 of file cuitabarea.hxx.

sal_Int32 ButtonBox::mnCurrentButton
private

Definition at line 45 of file cuitabarea.hxx.

Referenced by GetCurrentButtonPos(), and SelectButtonImpl().


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