Public Member Functions | |
| CheckBox (Window *pParent, const Point pPos, const String &pText, unsigned int nWindowLayoutFlags, int iCommandID=-1) | |
| CheckBox (Window *pParent, const Rect rFrame, const String &pText, unsigned int nWindowLayoutFlags, int iCommandID=-1) | |
| virtual void | MouseDown (const InputEvent &nInputEvent) |
| virtual void | MouseUp (const InputEvent &nInputEvent) |
| virtual void | MouseEnter (const InputEvent &nInputEvent) |
| virtual void | MouseLeave (const InputEvent &nInputEvent) |
| virtual bool | FocusLost () |
| virtual void | Paint (const Rect &rDirty) |
| virtual void | Set (bool bValue, bool bNotify=false) |
| virtual bool | Get () |
| virtual Point | GetSizeHint (enumSizeHint nSizeHint) |
| virtual void | OnChanged (bool bSet) |
| virtual String | GetText () |
| virtual void | SetText (const String &cString) |
Public Attributes | |
| signal1< bool > | Changed |
textview.cpp, and thread.cpp.
| CheckBox::CheckBox | ( | Window * | pParent, | |
| const Point | pPos, | |||
| const String & | pText, | |||
| unsigned int | nWindowLayoutFlags, | |||
| int | iCommandID = -1 | |||
| ) |
| CheckBox::CheckBox | ( | Window * | pParent, | |
| const Rect | rFrame, | |||
| const String & | pText, | |||
| unsigned int | nWindowLayoutFlags, | |||
| int | iCommandID = -1 | |||
| ) |
| void CheckBox::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 CheckBox::MouseUp | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Mouse release
| nButton | - MouseButton which was released | |
| nMouseButtonMask | - Mask showing which additional mouse buttons were pressed when the mouse release occured | |
| nInputEvent | - INPUT_EVENT_MOUSE_RELEASE |
Reimplemented from SkyGI::Window.
| void CheckBox::MouseEnter | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Mouse enter
| pPosEnter | - Position the mouse cursor entered the window | |
| nMouseButtonMask | - Mask showing which mouse buttons were pressed when the mouse enter occured |
Reimplemented from SkyGI::Window.
| void CheckBox::MouseLeave | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Mouse leave
| pPosLeave | - Position the mouse cursor leaved the window at | |
| nMouseButtonMask | - Mask showing which mouse buttons were pressed when the mouse leave occured |
Reimplemented from SkyGI::Window.
| bool CheckBox::FocusLost | ( | ) | [virtual] |
Reimplemented from SkyGI::Window.
| void CheckBox::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.
| void CheckBox::Set | ( | bool | bValue, | |
| bool | bNotify = false | |||
| ) | [virtual] |
| bool CheckBox::Get | ( | ) | [virtual] |
| Point CheckBox::GetSizeHint | ( | enumSizeHint | nSizeHint | ) | [virtual] |
Get size hint
Reimplemented from SkyGI::Window.
| void CheckBox::OnChanged | ( | bool | bSet | ) | [virtual] |
| String CheckBox::GetText | ( | ) | [virtual] |
| void CheckBox::SetText | ( | const String & | cString | ) | [virtual] |
| signal1<bool> SkyGI::CheckBox::Changed |
1.5.1-p1