24#define NOTEBOOK_HEADER_HEIGHT 30
86 m_pPopup.disposeAndClear();
90 for (
int i = 0;
i < GetChildCount();
i++)
92 if (GetChild(
i) != m_pButton)
97 pChild->SetParent(m_pPopup->getBox());
103 m_pPopup->hideSeparators(
true);
105 m_pPopup->getBox()->set_height_request(GetSizePixel().
Height());
IMPL_LINK(DropdownBox, PBClickHdl, Button *,, void)
#define NOTEBOOK_HEADER_HEIGHT
void HideContent() override
virtual ~DropdownBox() override
virtual void dispose() override
This is intended to be used to clear any locally held references to other Window-subclass objects.
DropdownBox(vcl::Window *pParent)
void ShowContent() override
VclPtr< NotebookbarPopup > m_pPopup
VclPtr< PushButton > m_pButton
constexpr tools::Long Width() const
static VclPtr< reference_type > Create(Arg &&... arg)
A construction helper for VclPtr.
virtual void dispose() override
This is intended to be used to clear any locally held references to other Window-subclass objects.
sal_uInt16 GetChildCount() const
virtual void SetOutputSizePixel(const Size &rNewSize)
void Show(bool bVisible=true, ShowFlags nFlags=ShowFlags::NONE)
void set_width_request(sal_Int32 nWidthRequest)
virtual Size GetSizePixel() const
void SetQuickHelpText(const OUString &rHelpText)
const OUString & GetQuickHelpText() const
vcl::Window * GetChild(sal_uInt16 nChild) const
#define LINK(Instance, Class, Member)
WinBits const WB_FLATBUTTON