Antares Simulator
Power System Simulator
|
Public Types | |
enum | { searchResultTextHeight = 25 } |
Constructor & Destructor | |
ListboxPanel (Spotlight *parent, uint flags) | |
Default constructor. | |
virtual | ~ListboxPanel () |
Destructor. | |
void | updateItems (const Spotlight::IItem::VectorPtr &vptr, const Spotlight::SearchToken::VectorPtr &tokens) |
void | resetProvider (Spotlight::IProvider::Ptr provider) |
Reset the data provider. | |
void | onDraw (wxPaintEvent &evt) |
Event: draw the panel. | |
void | onMouseMotion (wxMouseEvent &evt) |
Event: mouse moved. | |
void | onMouseLeave (wxMouseEvent &) |
Event: mouse leave. | |
void | onEraseBackground (wxEraseEvent &) |
UI: Erase background, empty to avoid flickering. | |
void | recomputeBoundsForLonguestGroupName (wxDC &dc) |
Recompute the bounds of the longuest group name. | |
void | onMouseLeftUp (wxMouseEvent &evt) |
Event: Mouse Click. | |
void | onMouseDblClick (wxMouseEvent &evt) |
Event: Mouse Double Click. | |
void | doSelectItemFromMouseLeftUp () |
Delayed event. | |
void | doSelectItemFromMouseDblClick () |
Delayed event. | |
void Antares::Component::ListboxPanel::resetProvider | ( | Spotlight::IProvider::Ptr | provider | ) |
Reset the data provider.
It is likely that the provider has been changed from the component.