LibreOffice Module vcl (master) 1
|
#include <layout.hxx>
Public Member Functions | |
VclExpander (vcl::Window *pParent) | |
virtual | ~VclExpander () override |
virtual void | dispose () override |
virtual vcl::Window * | get_child () override |
virtual const vcl::Window * | get_child () const override |
virtual bool | set_property (const OUString &rKey, const OUString &rValue) override |
bool | get_expanded () const |
void | set_expanded (bool bExpanded) |
void | set_label (const OUString &rLabel) |
OUString | get_label () const |
vcl::Window * | get_label_widget () |
const vcl::Window * | get_label_widget () const |
virtual void | StateChanged (StateChangedType nType) override |
void | SetExpandedHdl (const Link< VclExpander &, void > &rLink) |
virtual void | DumpAsPropertyTree (tools::JsonWriter &rJsonWriter) override |
virtual FactoryFunction | GetUITestFactory () const override |
Private Member Functions | |
virtual Size | calculateRequisition () const override |
virtual void | setAllocation (const Size &rAllocation) override |
DECL_LINK (ClickHdl, CheckBox &, void) | |
Private Attributes | |
bool | m_bResizeTopLevel |
VclPtr< DisclosureButton > | m_pDisclosureButton |
Link< VclExpander &, void > | maExpandedHdl |
Definition at line 455 of file layout.hxx.
VclExpander::VclExpander | ( | vcl::Window * | pParent | ) |
Definition at line 1672 of file layout.cxx.
References Create(), LINK, m_pDisclosureButton, CheckBox::SetToggleHdl(), and vcl::Window::Show().
|
overridevirtual |
Definition at line 1681 of file layout.cxx.
|
overrideprivatevirtual |
Definition at line 1726 of file layout.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), VclPtr< reference_type >::get(), get_child(), Size::Height(), CheckBox::IsChecked(), vcl::Window::IsVisible(), m_pDisclosureButton, WindowImpl::mpLastChild, Size::setHeight(), Size::setWidth(), and Size::Width().
|
private |
|
overridevirtual |
Definition at line 1706 of file layout.cxx.
References VclPtr< reference_type >::disposeAndClear(), and m_pDisclosureButton.
|
overridevirtual |
Definition at line 1839 of file layout.cxx.
References vcl::Window::DumpAsPropertyTree(), and tools::JsonWriter::put().
|
overridevirtual |
Definition at line 1712 of file layout.cxx.
References vcl::Window::GetWindow(), m_pDisclosureButton, WindowImpl::mpFirstChild, and Next.
|
overridevirtual |
Definition at line 1721 of file layout.cxx.
References get_child().
Referenced by calculateRequisition(), get_child(), setAllocation(), and StateChanged().
bool VclExpander::get_expanded | ( | ) | const |
Definition at line 1686 of file layout.cxx.
References CheckBox::IsChecked(), and m_pDisclosureButton.
Referenced by SalInstanceExpander::get_expanded(), and ExpanderUIObject::get_state().
OUString VclExpander::get_label | ( | ) | const |
Definition at line 1701 of file layout.cxx.
References vcl::Window::GetText(), and m_pDisclosureButton.
Referenced by SalInstanceExpander::get_label().
vcl::Window * VclExpander::get_label_widget | ( | ) |
Definition at line 1834 of file layout.cxx.
References get_label_widget().
Referenced by get_label_widget(), SalInstanceExpander::grab_focus(), and SalInstanceExpander::has_focus().
const vcl::Window * VclExpander::get_label_widget | ( | ) | const |
Definition at line 1829 of file layout.cxx.
References m_pDisclosureButton.
|
overridevirtual |
Definition at line 1845 of file layout.cxx.
References ExpanderUIObject::create().
void VclExpander::set_expanded | ( | bool | bExpanded | ) |
Definition at line 1691 of file layout.cxx.
References CheckBox::Check(), and m_pDisclosureButton.
Referenced by ExpanderUIObject::execute(), SalInstanceExpander::set_expanded(), and set_property().
void VclExpander::set_label | ( | const OUString & | rLabel | ) |
Definition at line 1696 of file layout.cxx.
References m_pDisclosureButton, and Control::SetText().
Referenced by SalInstanceExpander::set_label().
|
overridevirtual |
Definition at line 1806 of file layout.cxx.
References m_bResizeTopLevel, set_expanded(), and toBool().
|
overrideprivatevirtual |
Definition at line 1753 of file layout.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), Point::AdjustY(), VclPtr< reference_type >::get(), get_child(), Size::Height(), CheckBox::IsChecked(), vcl::Window::IsVisible(), m_pDisclosureButton, WindowImpl::mpLastChild, Size::setHeight(), Size::setWidth(), Size::Width(), Point::X(), and Point::Y().
|
inline |
Definition at line 471 of file layout.hxx.
Referenced by SalInstanceExpander::SalInstanceExpander(), and SalInstanceExpander::~SalInstanceExpander().
|
overridevirtual |
Definition at line 1817 of file layout.cxx.
References get_child(), InitShow, CheckBox::IsChecked(), m_pDisclosureButton, nType, and vcl::Window::Show().
|
private |
Definition at line 477 of file layout.hxx.
Referenced by set_property().
|
private |
Definition at line 478 of file layout.hxx.
Referenced by calculateRequisition(), dispose(), get_child(), get_expanded(), get_label(), get_label_widget(), set_expanded(), set_label(), setAllocation(), StateChanged(), and VclExpander().
|
private |
Definition at line 479 of file layout.hxx.