LibreOffice Module starmath (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SmFontDialog Class Reference

#include <dialog.hxx>

Inheritance diagram for SmFontDialog:
[legend]
Collaboration diagram for SmFontDialog:
[legend]

Public Member Functions

 SmFontDialog (weld::Window *pParent, OutputDevice *pFntListDevice, bool bHideCheckboxes)
 
virtual ~SmFontDialog () override
 
const vcl::FontGetFont () const
 
void SetFont (const vcl::Font &rFont)
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 DECL_LINK (FontSelectHdl, weld::ComboBox &, void)
 
 DECL_LINK (AttrChangeHdl, weld::Toggleable &, void)
 

Private Attributes

vcl::Font maFont
 
SmShowFont m_aShowFont
 
std::unique_ptr< weld::EntryTreeViewm_xFontBox
 
std::unique_ptr< weld::Widgetm_xAttrFrame
 
std::unique_ptr< weld::CheckButtonm_xBoldCheckBox
 
std::unique_ptr< weld::CheckButtonm_xItalicCheckBox
 
std::unique_ptr< weld::CustomWeldm_xShowFont
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 82 of file dialog.hxx.

Constructor & Destructor Documentation

◆ SmFontDialog()

SmFontDialog::SmFontDialog ( weld::Window pParent,
OutputDevice pFntListDevice,
bool  bHideCheckboxes 
)

◆ ~SmFontDialog()

SmFontDialog::~SmFontDialog ( )
overridevirtual

Definition at line 350 of file dialog.cxx.

Member Function Documentation

◆ DECL_LINK() [1/2]

SmFontDialog::DECL_LINK ( AttrChangeHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/2]

SmFontDialog::DECL_LINK ( FontSelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ GetFont()

const vcl::Font & SmFontDialog::GetFont ( ) const
inline

Definition at line 99 of file dialog.hxx.

References maFont.

Referenced by SmFontPickList::ReadFrom().

◆ SetFont()

void SmFontDialog::SetFont ( const vcl::Font rFont)

Member Data Documentation

◆ m_aShowFont

SmShowFont SmFontDialog::m_aShowFont
private

Definition at line 85 of file dialog.hxx.

Referenced by SetFont().

◆ m_xAttrFrame

std::unique_ptr<weld::Widget> SmFontDialog::m_xAttrFrame
private

Definition at line 87 of file dialog.hxx.

Referenced by SmFontDialog().

◆ m_xBoldCheckBox

std::unique_ptr<weld::CheckButton> SmFontDialog::m_xBoldCheckBox
private

Definition at line 88 of file dialog.hxx.

Referenced by SetFont(), and SmFontDialog().

◆ m_xFontBox

std::unique_ptr<weld::EntryTreeView> SmFontDialog::m_xFontBox
private

Definition at line 86 of file dialog.hxx.

Referenced by SetFont(), and SmFontDialog().

◆ m_xItalicCheckBox

std::unique_ptr<weld::CheckButton> SmFontDialog::m_xItalicCheckBox
private

Definition at line 89 of file dialog.hxx.

Referenced by SetFont(), and SmFontDialog().

◆ m_xShowFont

std::unique_ptr<weld::CustomWeld> SmFontDialog::m_xShowFont
private

Definition at line 90 of file dialog.hxx.

◆ maFont

vcl::Font SmFontDialog::maFont
private

Definition at line 84 of file dialog.hxx.

Referenced by GetFont(), SetFont(), and SmFontDialog().


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