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

#include <dpgroupdlg.hxx>

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

Public Member Functions

 ScDPDateGroupDlg (weld::Window *pParent, const ScDPNumGroupInfo &rInfo, sal_Int32 nDatePart, const Date &rNullDate)
 
virtual ~ScDPDateGroupDlg () override
 
ScDPNumGroupInfo GetGroupInfo () const
 
sal_Int32 GetDatePart () const
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 DECL_LINK (ClickHdl, weld::Button &, void)
 
 DECL_LINK (CheckHdl, const weld::TreeView::iter_col &, void)
 
void Check ()
 

Private Attributes

std::unique_ptr< weld::RadioButtonmxRbAutoStart
 
std::unique_ptr< weld::RadioButtonmxRbManStart
 
std::unique_ptr< SvtCalendarBoxmxEdStart
 
std::unique_ptr< weld::RadioButtonmxRbAutoEnd
 
std::unique_ptr< weld::RadioButtonmxRbManEnd
 
std::unique_ptr< SvtCalendarBoxmxEdEnd
 
std::unique_ptr< weld::RadioButtonmxRbNumDays
 
std::unique_ptr< weld::RadioButtonmxRbUnits
 
std::unique_ptr< weld::SpinButtonmxEdNumDays
 
std::unique_ptr< weld::TreeViewmxLbUnits
 
std::unique_ptr< weld::ButtonmxBtnOk
 
ScDPDateGroupEditHelper maStartHelper
 
ScDPDateGroupEditHelper maEndHelper
 

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 109 of file dpgroupdlg.hxx.

Constructor & Destructor Documentation

ScDPDateGroupDlg::ScDPDateGroupDlg ( weld::Window pParent,
const ScDPNumGroupInfo rInfo,
sal_Int32  nDatePart,
const Date rNullDate 
)
explicit
ScDPDateGroupDlg::~ScDPDateGroupDlg ( )
overridevirtual

Definition at line 264 of file dpgroupdlg.cxx.

Member Function Documentation

void ScDPDateGroupDlg::Check ( )
private

Definition at line 341 of file dpgroupdlg.cxx.

References mxBtnOk, and mxLbUnits.

ScDPDateGroupDlg::DECL_LINK ( ClickHdl  ,
weld::Button ,
void   
)
private
ScDPDateGroupDlg::DECL_LINK ( CheckHdl  ,
const weld::TreeView::iter_col ,
void   
)
private
sal_Int32 ScDPDateGroupDlg::GetDatePart ( ) const

Definition at line 288 of file dpgroupdlg.cxx.

References mxLbUnits, mxRbNumDays, nCount, and TRISTATE_TRUE.

ScDPNumGroupInfo ScDPDateGroupDlg::GetGroupInfo ( ) const

Member Data Documentation

ScDPDateGroupEditHelper ScDPDateGroupDlg::maEndHelper
private

Definition at line 136 of file dpgroupdlg.hxx.

Referenced by GetGroupInfo(), and ScDPDateGroupDlg().

ScDPDateGroupEditHelper ScDPDateGroupDlg::maStartHelper
private

Definition at line 135 of file dpgroupdlg.hxx.

Referenced by GetGroupInfo(), and ScDPDateGroupDlg().

std::unique_ptr<weld::Button> ScDPDateGroupDlg::mxBtnOk
private

Definition at line 134 of file dpgroupdlg.hxx.

Referenced by Check().

std::unique_ptr<SvtCalendarBox> ScDPDateGroupDlg::mxEdEnd
private

Definition at line 129 of file dpgroupdlg.hxx.

Referenced by ScDPDateGroupDlg().

std::unique_ptr<weld::SpinButton> ScDPDateGroupDlg::mxEdNumDays
private

Definition at line 132 of file dpgroupdlg.hxx.

Referenced by GetGroupInfo(), and ScDPDateGroupDlg().

std::unique_ptr<SvtCalendarBox> ScDPDateGroupDlg::mxEdStart
private

Definition at line 126 of file dpgroupdlg.hxx.

Referenced by ScDPDateGroupDlg().

std::unique_ptr<weld::TreeView> ScDPDateGroupDlg::mxLbUnits
private

Definition at line 133 of file dpgroupdlg.hxx.

Referenced by Check(), GetDatePart(), and ScDPDateGroupDlg().

std::unique_ptr<weld::RadioButton> ScDPDateGroupDlg::mxRbAutoEnd
private

Definition at line 127 of file dpgroupdlg.hxx.

std::unique_ptr<weld::RadioButton> ScDPDateGroupDlg::mxRbAutoStart
private

Definition at line 124 of file dpgroupdlg.hxx.

std::unique_ptr<weld::RadioButton> ScDPDateGroupDlg::mxRbManEnd
private

Definition at line 128 of file dpgroupdlg.hxx.

std::unique_ptr<weld::RadioButton> ScDPDateGroupDlg::mxRbManStart
private

Definition at line 125 of file dpgroupdlg.hxx.

std::unique_ptr<weld::RadioButton> ScDPDateGroupDlg::mxRbNumDays
private

Definition at line 130 of file dpgroupdlg.hxx.

Referenced by GetDatePart(), GetGroupInfo(), and ScDPDateGroupDlg().

std::unique_ptr<weld::RadioButton> ScDPDateGroupDlg::mxRbUnits
private

Definition at line 131 of file dpgroupdlg.hxx.

Referenced by ScDPDateGroupDlg().


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