Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Antares::Component::ProgressBar Class Reference

A simple panel with a caption. More...

#include <progressbar.h>

Inheritance diagram for Antares::Component::ProgressBar:
Antares::Component::Panel

Public Member Functions

Constructors & Destructor
 ProgressBar (wxWindow *parent)
 Default contructor.
 
 ~ProgressBar ()
 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.
 

Value

double value () const
 Get the progress value.
 
void value (double v)
 Set the progress value.
 
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
 

Detailed Description

A simple panel with a caption.

Constructor & Destructor Documentation

◆ ProgressBar()

Antares::Component::ProgressBar::ProgressBar ( wxWindow * parent)

Default contructor.

Parameters
parentThe parent control

The documentation for this class was generated from the following files: