LibreOffice Module starmath (master) 1
|
#include <dialog.hxx>
Public Member Functions | |
SmFontDialog (weld::Window *pParent, OutputDevice *pFntListDevice, bool bHideCheckboxes) | |
virtual | ~SmFontDialog () override |
const vcl::Font & | GetFont () 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 Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () 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::EntryTreeView > | m_xFontBox |
std::unique_ptr< weld::Widget > | m_xAttrFrame |
std::unique_ptr< weld::CheckButton > | m_xBoldCheckBox |
std::unique_ptr< weld::CheckButton > | m_xItalicCheckBox |
std::unique_ptr< weld::CustomWeld > | m_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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 82 of file dialog.hxx.
SmFontDialog::SmFontDialog | ( | weld::Window * | pParent, |
OutputDevice * | pFntListDevice, | ||
bool | bHideCheckboxes | ||
) |
Definition at line 307 of file dialog.cxx.
References FAMILY_DONTKNOW, vcl::Font::GetFamilyName(), FontList::GetFontName(), FontList::GetFontNameCount(), i, ITALIC_NONE, LINK, m_xAttrFrame, m_xBoldCheckBox, m_xFontBox, m_xItalicCheckBox, maFont, nCount, PITCH_DONTKNOW, vcl::Font::SetCharSet(), vcl::Font::SetFamily(), vcl::Font::SetFontSize(), vcl::Font::SetItalic(), vcl::Font::SetPitch(), vcl::Font::SetTransparent(), vcl::Font::SetWeight(), and WEIGHT_NORMAL.
|
overridevirtual |
Definition at line 350 of file dialog.cxx.
|
private |
|
private |
|
inline |
Definition at line 99 of file dialog.hxx.
References maFont.
Referenced by SmFontPickList::ReadFrom().
void SmFontDialog::SetFont | ( | const vcl::Font & | rFont | ) |
Definition at line 297 of file dialog.cxx.
References vcl::Font::GetFamilyName(), IsBold(), IsItalic(), m_aShowFont, m_xBoldCheckBox, m_xFontBox, m_xItalicCheckBox, maFont, and SmShowFont::SetFont().
Referenced by SmFontPickList::WriteTo().
|
private |
Definition at line 85 of file dialog.hxx.
Referenced by SetFont().
|
private |
Definition at line 87 of file dialog.hxx.
Referenced by SmFontDialog().
|
private |
Definition at line 88 of file dialog.hxx.
Referenced by SetFont(), and SmFontDialog().
|
private |
Definition at line 86 of file dialog.hxx.
Referenced by SetFont(), and SmFontDialog().
|
private |
Definition at line 89 of file dialog.hxx.
Referenced by SetFont(), and SmFontDialog().
|
private |
Definition at line 90 of file dialog.hxx.
|
private |
Definition at line 84 of file dialog.hxx.
Referenced by GetFont(), SetFont(), and SmFontDialog().