LibreOffice Module svtools (master) 1
|
#include <ctrlbox.hxx>
Public Member Functions | |
SvtCalendarBox (std::unique_ptr< weld::MenuButton > pControl, bool bUseLabel=true) | |
~SvtCalendarBox () | |
weld::MenuButton & | get_button () |
void | set_date (const Date &rDate) |
Date | get_date () const |
void | set_label (const OUString &rLabel) |
OUString | get_label () const |
void | set_sensitive (bool bSensitive) |
bool | get_sensitive () const |
void | set_visible (bool bSensitive) |
void | show () |
void | grab_focus () |
void | connect_activated (const Link< SvtCalendarBox &, void > &rActivatedHdl) |
void | connect_selected (const Link< SvtCalendarBox &, void > &rSelectHdl) |
void | connect_focus_in (const Link< weld::Widget &, void > &rLink) |
void | connect_focus_out (const Link< weld::Widget &, void > &rLink) |
Private Member Functions | |
DECL_DLLPRIVATE_LINK (SelectHdl, weld::Calendar &, void) | |
DECL_DLLPRIVATE_LINK (ActivateHdl, weld::Calendar &, void) | |
void | set_label_from_date () |
Private Attributes | |
bool | m_bUseLabel |
std::unique_ptr< weld::MenuButton > | m_xControl |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Widget > | m_xTopLevel |
std::unique_ptr< weld::Calendar > | m_xCalendar |
Link< SvtCalendarBox &, void > | m_aActivatedHdl |
Link< SvtCalendarBox &, void > | m_aSelectHdl |
Definition at line 281 of file ctrlbox.hxx.
SvtCalendarBox::SvtCalendarBox | ( | std::unique_ptr< weld::MenuButton > | pControl, |
bool | bUseLabel = true |
||
) |
Definition at line 1575 of file ctrlbox.cxx.
References get(), LINK, m_xCalendar, m_xControl, m_xControl, and m_xTopLevel.
SvtCalendarBox::~SvtCalendarBox | ( | ) |
Definition at line 1614 of file ctrlbox.cxx.
|
inline |
Definition at line 301 of file ctrlbox.hxx.
|
inline |
Definition at line 304 of file ctrlbox.hxx.
References m_xControl.
|
inline |
Definition at line 305 of file ctrlbox.hxx.
References m_xControl.
|
inline |
Definition at line 302 of file ctrlbox.hxx.
|
private |
|
private |
|
inline |
Definition at line 287 of file ctrlbox.hxx.
References m_xControl.
|
inline |
Definition at line 290 of file ctrlbox.hxx.
|
inline |
Definition at line 293 of file ctrlbox.hxx.
References m_xControl.
|
inline |
Definition at line 296 of file ctrlbox.hxx.
References m_xControl.
|
inline |
Definition at line 299 of file ctrlbox.hxx.
References m_xControl.
void SvtCalendarBox::set_date | ( | const Date & | rDate | ) |
Definition at line 1587 of file ctrlbox.cxx.
References m_xCalendar, and set_label_from_date().
|
inline |
Definition at line 292 of file ctrlbox.hxx.
References m_xControl.
|
private |
Definition at line 1593 of file ctrlbox.cxx.
References LocaleDataWrapper::getDate(), AllSettings::GetLocaleDataWrapper(), Application::GetSettings(), m_bUseLabel, m_xCalendar, and m_xControl.
Referenced by set_date().
|
inline |
Definition at line 295 of file ctrlbox.hxx.
References m_xControl.
|
inline |
Definition at line 297 of file ctrlbox.hxx.
References m_xControl.
|
inline |
Definition at line 298 of file ctrlbox.hxx.
|
private |
Definition at line 317 of file ctrlbox.hxx.
|
private |
Definition at line 318 of file ctrlbox.hxx.
|
private |
Definition at line 310 of file ctrlbox.hxx.
Referenced by set_label_from_date().
|
private |
Definition at line 313 of file ctrlbox.hxx.
|
private |
Definition at line 315 of file ctrlbox.hxx.
Referenced by set_date(), set_label_from_date(), and SvtCalendarBox().
|
private |
Definition at line 312 of file ctrlbox.hxx.
Referenced by set_label_from_date(), and SvtCalendarBox().
|
private |
Definition at line 314 of file ctrlbox.hxx.
Referenced by SvtCalendarBox().