Public Member Functions | |
| TabView (Window *pParent, const Rect rFrame, unsigned int nWindowLayoutFlags) | |
| ~TabView () | |
| void | Append (const String &szCaption, Image *pImage, Window *pWindow) |
| void | Remove (Window *pWindow) |
| void | ReLayout () |
| void | Paint (const Rect &rDirty) |
| bool | Select (Window *pWindow) |
| virtual void | Sized (const Point &pDelta) |
| virtual void | MouseDown (const InputEvent &nInputEvent) |
| virtual void | OnSelected (Window *pWindow, bool bSelected) |
| virtual void | OnClicked (Window *pWindow, const InputEvent &nInputEvent) |
| bool | GetTabPosition (Window *pWindow, Rect &rRect) |
| bool | SetCaption (const String &szCaption, Window *pWindow) |
| String | GetCaption (Window *pWindow) |
| bool | SetImage (Image *pImage, Window *pWindow) |
| Window * | GetWindowAt (int iX) |
| Window * | GetSelected () |
| bool | SelectNext () |
Public Attributes | |
| signal2< Window *, bool > | Selected |
| signal2< Window *, const InputEvent & > | Clicked |
Classes | |
| class | Private |
| TabView::~TabView | ( | ) |
| void TabView::Remove | ( | Window * | pWindow | ) |
| void TabView::ReLayout | ( | ) |
| void TabView::Paint | ( | const Rect & | rDirty | ) | [virtual] |
Paint window content
| rDirty | - Dirty rectangular region which has to be redrawn. Prior entering this function the painters clip region is automatically set to this dirty region. |
Reimplemented from SkyGI::Window.
| bool TabView::Select | ( | Window * | pWindow | ) |
Select a tab
| void TabView::Sized | ( | const Point & | pDelta | ) | [virtual] |
Called when window is resized
| pDelta | - Size the window was resized |
Reimplemented from SkyGI::Window.
| void TabView::MouseDown | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Mouse pressed
| nButton | - MouseButton which was pressed | |
| nMouseButtonMask | - Mask showing which mouse buttons were pressed when the mouse press occured | |
| nInputEvent | - INPUT_EVENT_MOUSE_PRESS for a single and INPUTE_EVENT_MOUSE_DOUBLECLICK for a doubleclick |
Reimplemented from SkyGI::Window.
| void TabView::OnSelected | ( | Window * | pWindow, | |
| bool | bSelected | |||
| ) | [virtual] |
| void TabView::OnClicked | ( | Window * | pWindow, | |
| const InputEvent & | nInputEvent | |||
| ) | [virtual] |
Set the caption of a tab
Set the image of a tab
| Window * TabView::GetWindowAt | ( | int | iX | ) |
| Window * TabView::GetSelected | ( | ) |
| bool TabView::SelectNext | ( | ) |
| signal2<Window*, bool> SkyGI::TabView::Selected |
| signal2<Window*, const InputEvent&> SkyGI::TabView::Clicked |
1.5.1-p1