LibreOffice Module cui (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
svx::RubyRadioButton Class Reference
Collaboration diagram for svx::RubyRadioButton:
[legend]

Public Member Functions

 RubyRadioButton (std::unique_ptr< weld::RadioButton > xControl, std::unique_ptr< weld::Image > xImage)
 
void init (const OUString &rPrimaryText, const OUString &rSecondaryText, const PseudoRubyText::RubyPosition &rPosition)
 
void set_sensitive (bool sensitive)
 
void set_active (bool active)
 
bool get_active () const
 
void connect_toggled (const Link< weld::Toggleable &, void > &rLink)
 

Private Member Functions

Size GetOptimalSize () const
 
void Paint (vcl::RenderContext &rRenderContext)
 

Private Attributes

ScopedVclPtr< VirtualDevicem_xVirDev
 
std::unique_ptr< weld::RadioButtonm_xControl
 
std::unique_ptr< weld::Imagem_xImage
 
PseudoRubyText m_aRubyText
 

Detailed Description

Definition at line 193 of file hangulhanjadlg.cxx.

Constructor & Destructor Documentation

◆ RubyRadioButton()

svx::RubyRadioButton::RubyRadioButton ( std::unique_ptr< weld::RadioButton xControl,
std::unique_ptr< weld::Image xImage 
)

Definition at line 219 of file hangulhanjadlg.cxx.

References m_xControl, m_xControl, m_xVirDev, and weld::SetPointFont().

Member Function Documentation

◆ connect_toggled()

void svx::RubyRadioButton::connect_toggled ( const Link< weld::Toggleable &, void > &  rLink)
inline

Definition at line 207 of file hangulhanjadlg.cxx.

References m_xControl.

◆ get_active()

bool svx::RubyRadioButton::get_active ( ) const
inline

Definition at line 205 of file hangulhanjadlg.cxx.

References m_xControl.

◆ GetOptimalSize()

Size svx::RubyRadioButton::GetOptimalSize ( ) const
private

◆ init()

void svx::RubyRadioButton::init ( const OUString &  rPrimaryText,
const OUString &  rSecondaryText,
const PseudoRubyText::RubyPosition rPosition 
)

◆ Paint()

void svx::RubyRadioButton::Paint ( vcl::RenderContext rRenderContext)
private

◆ set_active()

void svx::RubyRadioButton::set_active ( bool  active)
inline

Definition at line 204 of file hangulhanjadlg.cxx.

References m_xControl.

◆ set_sensitive()

void svx::RubyRadioButton::set_sensitive ( bool  sensitive)
inline

Definition at line 199 of file hangulhanjadlg.cxx.

References m_xControl.

Member Data Documentation

◆ m_aRubyText

PseudoRubyText svx::RubyRadioButton::m_aRubyText
private

Definition at line 216 of file hangulhanjadlg.cxx.

Referenced by GetOptimalSize(), init(), and Paint().

◆ m_xControl

std::unique_ptr<weld::RadioButton> svx::RubyRadioButton::m_xControl
private

Definition at line 214 of file hangulhanjadlg.cxx.

Referenced by RubyRadioButton().

◆ m_xImage

std::unique_ptr<weld::Image> svx::RubyRadioButton::m_xImage
private

Definition at line 215 of file hangulhanjadlg.cxx.

Referenced by init().

◆ m_xVirDev

ScopedVclPtr<VirtualDevice> svx::RubyRadioButton::m_xVirDev
private

Definition at line 213 of file hangulhanjadlg.cxx.

Referenced by GetOptimalSize(), init(), and RubyRadioButton().


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