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

#include <float3d.hxx>

Public Member Functions

 LightButton (std::unique_ptr< weld::ToggleButton > xButton)
 
void switchLightOn (bool bOn)
 
bool isLightOn () const
 
bool get_active () const
 
void set_active (bool bActive)
 
TriState get_state () const
 
void set_state (TriState eState)
 
weld::ToggleButtonget_widget () const
 
void connect_clicked (const Link< weld::Button &, void > &rLink)
 
bool get_prev_active () const
 
void set_prev_active (bool bPrevActive)
 

Private Attributes

std::unique_ptr< weld::ToggleButtonm_xButton
 
bool m_bLightOn
 
bool m_bButtonPrevActive
 

Detailed Description

Definition at line 48 of file float3d.hxx.

Constructor & Destructor Documentation

◆ LightButton()

LightButton::LightButton ( std::unique_ptr< weld::ToggleButton xButton)
explicit

Definition at line 2926 of file float3d.cxx.

References m_xButton.

Member Function Documentation

◆ connect_clicked()

void LightButton::connect_clicked ( const Link< weld::Button &, void > &  rLink)
inline

Definition at line 64 of file float3d.hxx.

◆ get_active()

bool LightButton::get_active ( ) const
inline

Definition at line 56 of file float3d.hxx.

Referenced by IMPL_LINK().

◆ get_prev_active()

bool LightButton::get_prev_active ( ) const
inline

Definition at line 69 of file float3d.hxx.

Referenced by IMPL_LINK().

◆ get_state()

TriState LightButton::get_state ( ) const
inline

Definition at line 59 of file float3d.hxx.

◆ get_widget()

weld::ToggleButton * LightButton::get_widget ( ) const
inline

Definition at line 62 of file float3d.hxx.

◆ isLightOn()

bool LightButton::isLightOn ( ) const
inline

Definition at line 54 of file float3d.hxx.

Referenced by Svx3DWin::ClickLight(), and IMPL_LINK().

◆ set_active()

void LightButton::set_active ( bool  bActive)
inline

Definition at line 57 of file float3d.hxx.

Referenced by IMPL_LINK().

◆ set_prev_active()

void LightButton::set_prev_active ( bool  bPrevActive)
inline

Definition at line 70 of file float3d.hxx.

Referenced by IMPL_LINK().

◆ set_state()

void LightButton::set_state ( TriState  eState)
inline

Definition at line 60 of file float3d.hxx.

◆ switchLightOn()

void LightButton::switchLightOn ( bool  bOn)

Definition at line 2934 of file float3d.cxx.

References m_bLightOn, and m_xButton.

Referenced by IMPL_LINK().

Member Data Documentation

◆ m_bButtonPrevActive

bool LightButton::m_bButtonPrevActive
private

Definition at line 75 of file float3d.hxx.

◆ m_bLightOn

bool LightButton::m_bLightOn
private

Definition at line 74 of file float3d.hxx.

Referenced by switchLightOn().

◆ m_xButton

std::unique_ptr<weld::ToggleButton> LightButton::m_xButton
private

Definition at line 73 of file float3d.hxx.

Referenced by LightButton(), and switchLightOn().


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