#include <Pt/Forms/TabView.h>
Tab bar for all tabbed controls.
Inherits Control.
Public Member Functions | |
| void | addPeer (Widget &peer) |
| Adds a peer. | |
| const Gfx::RectF & | bounds () const |
| Returns the current inner bounds. | |
| virtual void | enable (bool isEnable=true) |
| Enables the widget. | |
| Pt::Signal< const Pt::Event & > & | eventReceived () |
| Signals that an event needs to be processed. | |
| Gfx::PointF | fromGlobal (const Gfx::PointF &pos) const |
| Converts to local coordinate. | |
| Gfx::PointF | fromParent (const Gfx::PointF &pos) const |
| Converts from parent coordinate. | |
| Widget * | hitTest (const Gfx::PointF &pos) |
| Returns the descendant hit at a position. | |
| Pt::uint64_t | id () const |
| Returns the ID. | |
| void | invalidate () |
| Invalidates the state. | |
| bool | isAncestorOf (const Widget &child) const |
| Returns true if an ancestor of . | |
| bool | isConnected () const |
| Returns true if connected to a screen. | |
| bool | isDescendantOf (const Widget &top) const |
| Returns true if an descendant of . | |
| bool | isEnabled () const |
| Indicates whether the widget is enabled. | |
| bool | isVisible () const |
| Indicates whether the widget is visible. | |
| virtual void | move (const Gfx::PointF &pos) |
| Moves the widget to a position. | |
| const std::string & | name () const |
| Returns the name. | |
| Widget * | parent () |
| Returns the parent. | |
| const Widget * | parent () const |
| Returns the parent. | |
| const Gfx::PointF & | position () const |
| Returns the current position. | |
| void | processEvent (const Pt::Event &ev) |
| Process event. | |
| void | removePeer (Widget &peer) |
| Removes a peer. | |
| virtual void | repaint (const Gfx::RectF &rect) |
| Initiates a repaint cycle. | |
| virtual void | repaint () |
| Initiates a repaint cycle. | |
| virtual void | resize (const Gfx::SizeF &s) |
| Resizes the widget to a new size. | |
| double | scaleFactor () const |
| Returns the current scale factor. | |
| Screen * | screen () |
| Returns the connected screen. | |
| const Screen * | screen () const |
| Returns the connected screen. | |
| void | setCapture (bool capture) |
| Pointer input capture. | |
| void | setName (const std::string &n) |
| Sets the name. | |
| void | setNextResponder (Responder *r) |
| Sets the next responder. | |
| virtual void | show (bool b=true) |
| Shows the widget. | |
| Gfx::PointF | toGlobal (const Gfx::PointF &pos) const |
| Converts to global coordinate. | |
| Gfx::PointF | toParent (const Gfx::PointF &pos) const |
| Converts to parent coordinate. | |