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 ( std::unique_ptr< weld::ToggleButton xButton)
explicit

Definition at line 2930 of file float3d.cxx.

References m_xButton.

Member Function Documentation

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

Definition at line 64 of file float3d.hxx.

bool LightButton::get_active ( ) const
inline

Definition at line 56 of file float3d.hxx.

Referenced by IMPL_LINK().

bool LightButton::get_prev_active ( ) const
inline

Definition at line 69 of file float3d.hxx.

Referenced by IMPL_LINK().

TriState LightButton::get_state ( ) const
inline

Definition at line 59 of file float3d.hxx.

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

Definition at line 62 of file float3d.hxx.

bool LightButton::isLightOn ( ) const
inline

Definition at line 54 of file float3d.hxx.

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

void LightButton::set_active ( bool  bActive)
inline

Definition at line 57 of file float3d.hxx.

Referenced by IMPL_LINK().

void LightButton::set_prev_active ( bool  bPrevActive)
inline

Definition at line 70 of file float3d.hxx.

Referenced by IMPL_LINK().

void LightButton::set_state ( TriState  eState)
inline

Definition at line 60 of file float3d.hxx.

void LightButton::switchLightOn ( bool  bOn)

Definition at line 2938 of file float3d.cxx.

References m_bLightOn, and m_xButton.

Referenced by IMPL_LINK().

Member Data Documentation

bool LightButton::m_bButtonPrevActive
private

Definition at line 75 of file float3d.hxx.

bool LightButton::m_bLightOn
private

Definition at line 74 of file float3d.hxx.

Referenced by switchLightOn().

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: