|
Antares Simulator
Power System Simulator
|
A simple panel with a caption. More...
#include <captionpanel.h>
Public Member Functions | |
Constructors & Destructor | |
| CaptionPanel (wxWindow *parent) | |
| Default contructor. More... | |
| CaptionPanel (wxWindow *parent, const wxString &caption) | |
| Constructor. More... | |
| ~CaptionPanel () | |
| Destructor. | |
Public Member Functions inherited from Antares::Component::Panel | |
| Panel (wxWindow *parent) | |
| Constructor. | |
| virtual | ~Panel () |
| Destructor. | |
| virtual void | onMouseDown (wxMouseEvent &) |
| Click down. | |
| virtual void | onMouseUp (wxMouseEvent &) |
| Click up. | |
| virtual void | onMouseClick () |
| The panel has been clicked (delayed) | |
| virtual void | onMouseEnter () |
| The mouse has entered. | |
| virtual void | onMouseLeave () |
| The mouse has leaved. | |
| virtual void | onMouseMoved (int, int) |
| The mouse has moved. | |
Caption | |
| const wxString & | caption () const |
| Get the caption of the panel. | |
| void | caption (const wxString &s) |
| Set the caption of the panel. | |
| void | onDraw (wxPaintEvent &evt) |
| Event: The panel has to paint itself. | |
| void | onResize (wxSizeEvent &evt) |
| Event: The panel is been resizing. | |
Additional Inherited Members | |
Static Public Member Functions inherited from Antares::Component::Panel | |
| static void | OnMouseMoveFromExternalComponent () |
| Event triggered by any other component (not derived from Panel) | |
Protected Member Functions inherited from Antares::Component::Panel | |
| virtual bool | triggerMouseClickEvent () const |
A simple panel with a caption.
| Antares::Component::CaptionPanel::CaptionPanel | ( | wxWindow * | parent | ) |
Default contructor.
| parent | The parent control |
| Antares::Component::CaptionPanel::CaptionPanel | ( | wxWindow * | parent, |
| const wxString & | caption | ||
| ) |
Constructor.
| parent | The parent control |
| caption | Caption of the panel |