41 SetOutputSizePixel(aSize);
51 GetDrawingArea()->set_size_request(aSize.
Width(), aSize.
Height());
52 SetOutputSizePixel(aSize);
56 const OUString& rItemText,
57 const OUString& rItemText2 )
74 const sal_uInt16 nItemId = rUDEvt.
GetItemId();
118 pDev->
DrawText(aStrRect,
maItems[nItemId-1].maItemText, DrawTextFlags::EndEllipsis);
121 pDev->
DrawText(aStrRect,
maItems[nItemId-1].maItemText2, DrawTextFlags::EndEllipsis);
static const AllSettings & GetSettings()
void SetFont(const vcl::Font &rNewFont)
void DrawRect(const tools::Rectangle &rRect)
void Push(vcl::PushFlags nFlags=vcl::PushFlags::ALL)
void DrawText(const Point &rStartPt, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, std::vector< tools::Rectangle > *pVector=nullptr, OUString *pDisplayText=nullptr, const SalLayoutGlyphs *pLayoutCache=nullptr)
constexpr tools::Long Height() const
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
vcl::RenderContext * GetRenderContext() const
const tools::Rectangle & GetRect() const
sal_uInt16 GetItemId() const
void InsertItem(sal_uInt16 nItemId, const Image &rImage)
void SetItemText(sal_uInt16 nItemId, const OUString &rStr)
sal_uInt16 GetSelectedItemId() const
void SetColCount(sal_uInt16 nNewCols=1)
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
void SetFontSize(const Size &)
void SetColor(const Color &)
const Size & GetFontSize() const
constexpr ::Color COL_TRANSPARENT(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)