Public Member Functions | |
| ComboBox (Window *pParent, const Point &cPos, int iWidth, unsigned int nWindowLayoutFlags) | |
| ~ComboBox () | |
| 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 | KeyDown (const InputEvent &nInputEvent) |
| virtual void | KeyUp (const InputEvent &nInputEvent) |
| virtual void | OnClicked (const InputEvent &nInputEvent) |
| virtual Point | GetSizeHint (enumSizeHint nSizeHint) |
| ListView * | GetListView () |
| TextView * | GetTextView () |
| virtual void | OpenListView () |
| virtual void | CloseListView () |
| virtual void | OnPopulateListView () |
| virtual void | OnSelected (ListViewRow *pRow, const String &szText) |
Public Attributes | |
| signal0 | PopulateListView |
| signal2< ListViewRow *, const String & > | Selected |
Classes | |
| class | Private |
| ComboBox::ComboBox | ( | Window * | pParent, | |
| const Point & | cPos, | |||
| int | iWidth, | |||
| unsigned int | nWindowLayoutFlags | |||
| ) |
| ComboBox::~ComboBox | ( | ) |
| void ComboBox::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 ComboBox::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 ComboBox::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 ComboBox::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 ComboBox::FocusLost | ( | ) | [virtual] |
Reimplemented from SkyGI::Window.
| void ComboBox::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 ComboBox::KeyDown | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Reimplemented from SkyGI::Window.
| void ComboBox::KeyUp | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Reimplemented from SkyGI::Window.
| void ComboBox::OnClicked | ( | const InputEvent & | nInputEvent | ) | [virtual] |
| Point ComboBox::GetSizeHint | ( | enumSizeHint | nSizeHint | ) | [virtual] |
Get size hint
Reimplemented from SkyGI::Window.
| ListView * ComboBox::GetListView | ( | ) |
| TextView * ComboBox::GetTextView | ( | ) |
| void ComboBox::OpenListView | ( | ) | [virtual] |
| void ComboBox::CloseListView | ( | ) | [virtual] |
| void ComboBox::OnPopulateListView | ( | ) | [virtual] |
Called when the listview is about to open
| void ComboBox::OnSelected | ( | ListViewRow * | pRow, | |
| const String & | szText | |||
| ) | [virtual] |
Called when an listview entry has been selected or enter has been pressed in the textview
| pRow | - ListViewRow if a listview entry was selected. pRow is NULL if enter was pressed inside the textview | |
| szText | - Text from TextView or Text from selected listview entry if first listview entry node is from type ListViewStringNode |
| signal2<ListViewRow*, const String&> SkyGI::ComboBox::Selected |
1.5.1-p1