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 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 (ToggleHdl, weld::Toggleable &, 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 108 of file dpgroupdlg.hxx.

Constructor & Destructor Documentation

◆ ScDPDateGroupDlg()

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

◆ ~ScDPDateGroupDlg()

ScDPDateGroupDlg::~ScDPDateGroupDlg ( )
overridevirtual

Definition at line 267 of file dpgroupdlg.cxx.

Member Function Documentation

◆ Check()

void ScDPDateGroupDlg::Check ( )
private

Definition at line 346 of file dpgroupdlg.cxx.

References mxBtnOk, and mxLbUnits.

◆ DECL_LINK() [1/2]

ScDPDateGroupDlg::DECL_LINK ( CheckHdl  ,
const weld::TreeView::iter_col ,
void   
)
private

◆ DECL_LINK() [2/2]

ScDPDateGroupDlg::DECL_LINK ( ToggleHdl  ,
weld::Toggleable ,
void   
)
private

◆ GetDatePart()

sal_Int32 ScDPDateGroupDlg::GetDatePart ( ) const

Definition at line 291 of file dpgroupdlg.cxx.

References mxLbUnits, mxRbNumDays, nCount, and TRISTATE_TRUE.

◆ GetGroupInfo()

ScDPNumGroupInfo ScDPDateGroupDlg::GetGroupInfo ( ) const

Member Data Documentation

◆ maEndHelper

ScDPDateGroupEditHelper ScDPDateGroupDlg::maEndHelper
private

Definition at line 135 of file dpgroupdlg.hxx.

Referenced by GetGroupInfo(), and ScDPDateGroupDlg().

◆ maStartHelper

ScDPDateGroupEditHelper ScDPDateGroupDlg::maStartHelper
private

Definition at line 134 of file dpgroupdlg.hxx.

Referenced by GetGroupInfo(), and ScDPDateGroupDlg().

◆ mxBtnOk

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

Definition at line 133 of file dpgroupdlg.hxx.

Referenced by Check().

◆ mxEdEnd

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

Definition at line 128 of file dpgroupdlg.hxx.

Referenced by ScDPDateGroupDlg().

◆ mxEdNumDays

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

Definition at line 131 of file dpgroupdlg.hxx.

Referenced by GetGroupInfo(), and ScDPDateGroupDlg().

◆ mxEdStart

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

Definition at line 125 of file dpgroupdlg.hxx.

Referenced by ScDPDateGroupDlg().

◆ mxLbUnits

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

Definition at line 132 of file dpgroupdlg.hxx.

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

◆ mxRbAutoEnd

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

Definition at line 126 of file dpgroupdlg.hxx.

◆ mxRbAutoStart

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

Definition at line 123 of file dpgroupdlg.hxx.

◆ mxRbManEnd

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

Definition at line 127 of file dpgroupdlg.hxx.

◆ mxRbManStart

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

Definition at line 124 of file dpgroupdlg.hxx.

◆ mxRbNumDays

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

Definition at line 129 of file dpgroupdlg.hxx.

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

◆ mxRbUnits

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

Definition at line 130 of file dpgroupdlg.hxx.

Referenced by ScDPDateGroupDlg().


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