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

#include <dialog.hxx>

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

Public Member Functions

 SmAlignDialog (weld::Window *pParent)
 
virtual ~SmAlignDialog () override
 
void ReadFrom (const SmFormat &rFormat)
 
void WriteTo (SmFormat &rFormat) const
 
- 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 (DefaultButtonClickHdl, weld::Button &, void)
 

Private Attributes

std::unique_ptr< weld::RadioButtonm_xLeft
 
std::unique_ptr< weld::RadioButtonm_xCenter
 
std::unique_ptr< weld::RadioButtonm_xRight
 
std::unique_ptr< weld::Buttonm_xDefaultButton
 

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 225 of file dialog.hxx.

Constructor & Destructor Documentation

◆ SmAlignDialog()

SmAlignDialog::SmAlignDialog ( weld::Window pParent)

Definition at line 905 of file dialog.cxx.

References LINK, and m_xDefaultButton.

◆ ~SmAlignDialog()

SmAlignDialog::~SmAlignDialog ( )
overridevirtual

Definition at line 915 of file dialog.cxx.

Member Function Documentation

◆ DECL_LINK()

SmAlignDialog::DECL_LINK ( DefaultButtonClickHdl  ,
weld::Button ,
void   
)
private

◆ ReadFrom()

void SmAlignDialog::ReadFrom ( const SmFormat rFormat)

Definition at line 919 of file dialog.cxx.

References Center, SmFormat::GetHorAlign(), Left, m_xCenter, m_xLeft, m_xRight, and Right.

Referenced by SmDocShell::Execute().

◆ WriteTo()

void SmAlignDialog::WriteTo ( SmFormat rFormat) const

Member Data Documentation

◆ m_xCenter

std::unique_ptr<weld::RadioButton> SmAlignDialog::m_xCenter
private

Definition at line 228 of file dialog.hxx.

Referenced by ReadFrom().

◆ m_xDefaultButton

std::unique_ptr<weld::Button> SmAlignDialog::m_xDefaultButton
private

Definition at line 230 of file dialog.hxx.

Referenced by SmAlignDialog().

◆ m_xLeft

std::unique_ptr<weld::RadioButton> SmAlignDialog::m_xLeft
private

Definition at line 227 of file dialog.hxx.

Referenced by ReadFrom(), and WriteTo().

◆ m_xRight

std::unique_ptr<weld::RadioButton> SmAlignDialog::m_xRight
private

Definition at line 229 of file dialog.hxx.

Referenced by ReadFrom(), and WriteTo().


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