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)
 
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_clicked (const Link< weld::Button &, void > &rLink)
 

Private Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 192 of file hangulhanjadlg.cxx.

Constructor & Destructor Documentation

svx::RubyRadioButton::RubyRadioButton ( std::unique_ptr< weld::RadioButton xControl)

Definition at line 213 of file hangulhanjadlg.cxx.

References Application::GetDefaultDevice(), m_xControl, and m_xVirDev.

Member Function Documentation

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

Definition at line 202 of file hangulhanjadlg.cxx.

References m_xControl.

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

Definition at line 200 of file hangulhanjadlg.cxx.

References m_xControl.

Size svx::RubyRadioButton::GetOptimalSize ( ) const
private
void svx::RubyRadioButton::init ( const OUString &  rPrimaryText,
const OUString &  rSecondaryText,
const PseudoRubyText::RubyPosition rPosition 
)
void svx::RubyRadioButton::Paint ( vcl::RenderContext rRenderContext)
private

Definition at line 233 of file hangulhanjadlg.cxx.

References OutputDevice::GetOutputSizePixel(), m_aRubyText, and svx::PseudoRubyText::Paint().

Referenced by init().

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

Definition at line 199 of file hangulhanjadlg.cxx.

References m_xControl.

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

Definition at line 198 of file hangulhanjadlg.cxx.

References m_xControl.

Member Data Documentation

PseudoRubyText svx::RubyRadioButton::m_aRubyText
private

Definition at line 210 of file hangulhanjadlg.cxx.

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

std::unique_ptr<weld::RadioButton> svx::RubyRadioButton::m_xControl
private
ScopedVclPtr<VirtualDevice> svx::RubyRadioButton::m_xVirDev
private

Definition at line 208 of file hangulhanjadlg.cxx.

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


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