29#ifndef Pt_Forms_ListBox_H
30#define Pt_Forms_ListBox_H
32#include <Pt/Forms/Control.h>
33#include <Pt/Forms/ListBoxStyler.h>
34#include <Pt/Forms/ScrollView.h>
35#include <Pt/Forms/FlowLayout.h>
36#include <Pt/Forms/Icon.h>
37#include <Pt/Forms/Pixmap.h>
38#include <Pt/Gfx/Color.h>
39#include <Pt/Gfx/FontMetrics.h>
40#include <Pt/Gfx/Image.h>
41#include <Pt/SmartPtr.h>
44#include <Pt/Forms/ProgressBar.h>
119 {
return _iconSize; }
251 const Gfx::SizeF& iconSz,
252 const Gfx::SizeF& textSz);
267 const Gfx::SizeF& iconSz,
268 const Gfx::SizeF& textSz,
270 Gfx::RectF& iconRect,
271 Gfx::RectF& textRect);
304 const Gfx::RectF& iconRect,
306 const Gfx::PointF& iconPos,
314 const Gfx::RectF& textRect,
316 const Gfx::PointF& textPos,
334 Gfx::SizeF _iconSize;
340 Gfx::SizeF _measuredIconSz;
341 Gfx::SizeF _measuredTextSz;
343 Gfx::RectF _iconRect;
344 Gfx::RectF _textRect;
345 Gfx::PointF _iconPos;
346 Gfx::PointF _textPos;
360 friend class ListBox;
389 std::vector<ListBoxItem*> _selectedItems;
Active painting session on a Forms paint surface.
Definition PaintContext.h:51
Fill color, gradient or texture.
Definition Brush.h:151
8-bit ARGB color.
Definition Color.h:65
Ascent, descent and line height of a font.
Definition FontMetrics.h:50
Font family, size and style.
Definition Font.h:63
Slant
Describes the requested font slant.
Definition Font.h:83
Weight
Describes the requested font weight.
Definition Font.h:68
Outline color, width and style.
Definition Pen.h:59
Multicast Signal to call multiple slots.
Definition Signal.h:190
Unicode capable basic_string.
Definition Api-String.h:67
Core module.
Definition Allocator.h:33
Unicode character type.
Definition String.h:67