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:
Collaboration diagram for ScDPDateGroupDlg:

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 (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 ( weld::Window pParent,
const ScDPNumGroupInfo rInfo,
sal_Int32  nDatePart,
const Date rNullDate 
ScDPDateGroupDlg::~ScDPDateGroupDlg ( )

Definition at line 267 of file dpgroupdlg.cxx.

Member Function Documentation

void ScDPDateGroupDlg::Check ( )

Definition at line 346 of file dpgroupdlg.cxx.

References mxBtnOk, and mxLbUnits.

ScDPDateGroupDlg::DECL_LINK ( ToggleHdl  ,
weld::Toggleable ,
ScDPDateGroupDlg::DECL_LINK ( CheckHdl  ,
const weld::TreeView::iter_col ,
sal_Int32 ScDPDateGroupDlg::GetDatePart ( ) const

Definition at line 291 of file dpgroupdlg.cxx.

References mxLbUnits, mxRbNumDays, nCount, and TRISTATE_TRUE.

ScDPNumGroupInfo ScDPDateGroupDlg::GetGroupInfo ( ) const

Member Data Documentation

ScDPDateGroupEditHelper ScDPDateGroupDlg::maEndHelper

Definition at line 135 of file dpgroupdlg.hxx.

Referenced by GetGroupInfo(), and ScDPDateGroupDlg().

ScDPDateGroupEditHelper ScDPDateGroupDlg::maStartHelper

Definition at line 134 of file dpgroupdlg.hxx.

Referenced by GetGroupInfo(), and ScDPDateGroupDlg().

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

Definition at line 133 of file dpgroupdlg.hxx.

Referenced by Check().

std::unique_ptr<SvtCalendarBox> ScDPDateGroupDlg::mxEdEnd

Definition at line 128 of file dpgroupdlg.hxx.

Referenced by ScDPDateGroupDlg().

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

Definition at line 131 of file dpgroupdlg.hxx.

Referenced by GetGroupInfo(), and ScDPDateGroupDlg().

std::unique_ptr<SvtCalendarBox> ScDPDateGroupDlg::mxEdStart

Definition at line 125 of file dpgroupdlg.hxx.

Referenced by ScDPDateGroupDlg().

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

Definition at line 132 of file dpgroupdlg.hxx.

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

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

Definition at line 126 of file dpgroupdlg.hxx.

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

Definition at line 123 of file dpgroupdlg.hxx.

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

Definition at line 127 of file dpgroupdlg.hxx.

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

Definition at line 124 of file dpgroupdlg.hxx.

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

Definition at line 129 of file dpgroupdlg.hxx.

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

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

Definition at line 130 of file dpgroupdlg.hxx.

Referenced by ScDPDateGroupDlg().

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