LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dbaui::DlgSize Class Referencefinal

#include <dlgsize.hxx>

Inheritance diagram for dbaui::DlgSize:
[legend]
Collaboration diagram for dbaui::DlgSize:
[legend]

Public Member Functions

 DlgSize (weld::Window *pParent, sal_Int32 nVal, bool bRow, sal_Int32 _nAlternativeStandard=-1)
 
virtual ~DlgSize () override
 
sal_Int32 GetValue () 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

void SetValue (sal_Int32 nVal)
 
 DECL_LINK (CbClickHdl, weld::Toggleable &, void)
 

Private Attributes

sal_Int32 m_nPrevValue
 
std::unique_ptr< weld::MetricSpinButtonm_xMF_VALUE
 
std::unique_ptr< weld::CheckButtonm_xCB_STANDARD
 

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 26 of file dlgsize.hxx.

Constructor & Destructor Documentation

◆ DlgSize()

dbaui::DlgSize::DlgSize ( weld::Window pParent,
sal_Int32  nVal,
bool  bRow,
sal_Int32  _nAlternativeStandard = -1 
)

Definition at line 28 of file dlgsize.cxx.

References CM, DEF_COL_WIDTH, DEF_ROW_HEIGHT, LINK, m_nPrevValue, m_xCB_STANDARD, and SetValue().

◆ ~DlgSize()

dbaui::DlgSize::~DlgSize ( )
overridevirtual

Definition at line 50 of file dlgsize.cxx.

Member Function Documentation

◆ DECL_LINK()

dbaui::DlgSize::DECL_LINK ( CbClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ GetValue()

sal_Int32 dbaui::DlgSize::GetValue ( ) const

◆ SetValue()

void dbaui::DlgSize::SetValue ( sal_Int32  nVal)
private

Definition at line 54 of file dlgsize.cxx.

References m_xMF_VALUE.

Referenced by DlgSize().

Member Data Documentation

◆ m_nPrevValue

sal_Int32 dbaui::DlgSize::m_nPrevValue
private

Definition at line 29 of file dlgsize.hxx.

Referenced by DlgSize().

◆ m_xCB_STANDARD

std::unique_ptr<weld::CheckButton> dbaui::DlgSize::m_xCB_STANDARD
private

Definition at line 35 of file dlgsize.hxx.

Referenced by DlgSize(), and GetValue().

◆ m_xMF_VALUE

std::unique_ptr<weld::MetricSpinButton> dbaui::DlgSize::m_xMF_VALUE
private

Definition at line 34 of file dlgsize.hxx.

Referenced by GetValue(), and SetValue().


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