LibreOffice Module sc (master) 1
|
#include <dpgroupdlg.hxx>
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 Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () 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::RadioButton > | mxRbAutoStart |
std::unique_ptr< weld::RadioButton > | mxRbManStart |
std::unique_ptr< SvtCalendarBox > | mxEdStart |
std::unique_ptr< weld::RadioButton > | mxRbAutoEnd |
std::unique_ptr< weld::RadioButton > | mxRbManEnd |
std::unique_ptr< SvtCalendarBox > | mxEdEnd |
std::unique_ptr< weld::RadioButton > | mxRbNumDays |
std::unique_ptr< weld::RadioButton > | mxRbUnits |
std::unique_ptr< weld::SpinButton > | mxEdNumDays |
std::unique_ptr< weld::TreeView > | mxLbUnits |
std::unique_ptr< weld::Button > | mxBtnOk |
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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 108 of file dpgroupdlg.hxx.
|
explicit |
Definition at line 202 of file dpgroupdlg.cxx.
References weld::Check, LINK, maEndHelper, maStartHelper, ScDPNumGroupInfo::mbAutoEnd, ScDPNumGroupInfo::mbAutoStart, ScDPNumGroupInfo::mbDateValues, ScDPNumGroupInfo::mfEnd, ScDPNumGroupInfo::mfStart, ScDPNumGroupInfo::mfStep, mxEdEnd, mxEdNumDays, mxEdStart, mxLbUnits, mxRbNumDays, mxRbUnits, SAL_N_ELEMENTS, ScResId(), ScDPGroupEditHelper::SetValue(), TRISTATE_FALSE, and TRISTATE_TRUE.
|
overridevirtual |
Definition at line 267 of file dpgroupdlg.cxx.
|
private |
Definition at line 346 of file dpgroupdlg.cxx.
|
private |
|
private |
sal_Int32 ScDPDateGroupDlg::GetDatePart | ( | ) | const |
Definition at line 291 of file dpgroupdlg.cxx.
References mxLbUnits, mxRbNumDays, nCount, and TRISTATE_TRUE.
ScDPNumGroupInfo ScDPDateGroupDlg::GetGroupInfo | ( | ) | const |
Definition at line 271 of file dpgroupdlg.cxx.
References ScDPGroupEditHelper::GetValue(), ScDPGroupEditHelper::IsAuto(), maEndHelper, maStartHelper, ScDPNumGroupInfo::mbAutoEnd, ScDPNumGroupInfo::mbAutoStart, ScDPNumGroupInfo::mbDateValues, ScDPNumGroupInfo::mbEnable, ScDPNumGroupInfo::mfEnd, ScDPNumGroupInfo::mfStart, ScDPNumGroupInfo::mfStep, mxEdNumDays, and mxRbNumDays.
|
private |
Definition at line 135 of file dpgroupdlg.hxx.
Referenced by GetGroupInfo(), and ScDPDateGroupDlg().
|
private |
Definition at line 134 of file dpgroupdlg.hxx.
Referenced by GetGroupInfo(), and ScDPDateGroupDlg().
|
private |
Definition at line 133 of file dpgroupdlg.hxx.
Referenced by Check().
|
private |
Definition at line 128 of file dpgroupdlg.hxx.
Referenced by ScDPDateGroupDlg().
|
private |
Definition at line 131 of file dpgroupdlg.hxx.
Referenced by GetGroupInfo(), and ScDPDateGroupDlg().
|
private |
Definition at line 125 of file dpgroupdlg.hxx.
Referenced by ScDPDateGroupDlg().
|
private |
Definition at line 132 of file dpgroupdlg.hxx.
Referenced by Check(), GetDatePart(), and ScDPDateGroupDlg().
|
private |
Definition at line 126 of file dpgroupdlg.hxx.
|
private |
Definition at line 123 of file dpgroupdlg.hxx.
|
private |
Definition at line 127 of file dpgroupdlg.hxx.
|
private |
Definition at line 124 of file dpgroupdlg.hxx.
|
private |
Definition at line 129 of file dpgroupdlg.hxx.
Referenced by GetDatePart(), GetGroupInfo(), and ScDPDateGroupDlg().
|
private |
Definition at line 130 of file dpgroupdlg.hxx.
Referenced by ScDPDateGroupDlg().