29#ifndef PT_FORMS_WIDGET_H
30#define PT_FORMS_WIDGET_H
32#include <Pt/Forms/Api.h>
33#include <Pt/Forms/Responder.h>
34#include <Pt/Forms/Cursor.h>
36#include <Pt/Gfx/Scaling.h>
37#include <Pt/Gfx/Point.h>
38#include <Pt/Gfx/Size.h>
39#include <Pt/Gfx/Rect.h>
41#include <Pt/Connectable.h>
125 const std::string&
name()
const;
175 Gfx::PointF
toParent(
const Gfx::PointF& pos)
const;
185 Gfx::PointF
toGlobal(
const Gfx::PointF& pos)
const;
247 virtual void show(
bool b =
true);
259 virtual void enable(
bool isEnable =
true);
277 virtual void move(
const Gfx::PointF& pos);
281 const Gfx::SizeF&
size()
const;
345 virtual void resize(
const Gfx::SizeF& s);
423 virtual Gfx::PointF
onToParent(
const Gfx::PointF& pos)
const = 0;
436 virtual Gfx::PointF
onToGlobal(
const Gfx::PointF& pos)
const;
487 const Gfx::SizeF& maxSize);
680 std::vector<Widget*> _peers;
695 Gfx::SizeF _minimumSize;
696 Gfx::SizeF _maximumSize;
699 Forms::Cursor _cursor;
Connection Management for Signal and Slot Objects.
Definition Connectable.h:50
Base class for typed events.
Definition Event.h:66
Conversion between logical units and pixels.
Definition Scaling.h:52
Multicast Signal to call multiple slots.
Definition Signal.h:190
uint_type uint64_t
Unsigned 64-bit integer type.
Definition Api-Types.h:66
Core module.
Definition Allocator.h:33