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 194 of file hangulhanjadlg.cxx.

Constructor & Destructor Documentation

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

Definition at line 220 of file hangulhanjadlg.cxx.

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

Member Function Documentation

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

Definition at line 208 of file hangulhanjadlg.cxx.

References m_xControl.

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

Definition at line 206 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 240 of file hangulhanjadlg.cxx.

References OutputDevice::GetOutputSizePixel(), m_aRubyText, and Point.

Referenced by init().

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

Definition at line 205 of file hangulhanjadlg.cxx.

References m_xControl.

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

Definition at line 200 of file hangulhanjadlg.cxx.

References m_xControl.

Member Data Documentation

PseudoRubyText svx::RubyRadioButton::m_aRubyText
private

Definition at line 217 of file hangulhanjadlg.cxx.

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

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

Definition at line 215 of file hangulhanjadlg.cxx.

Referenced by RubyRadioButton().

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

Definition at line 216 of file hangulhanjadlg.cxx.

Referenced by init().

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

Definition at line 214 of file hangulhanjadlg.cxx.

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


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