KiCad PCB EDA Suite
|
A tiny, headerless popup window used to display useful status (e.g. More...
#include <status_popup.h>
Public Member Functions | |
STATUS_POPUP (wxWindow *aParent) | |
Transient mouse following popup window implementation. | |
virtual | ~STATUS_POPUP () |
virtual void | Popup (wxWindow *aFocus=nullptr) |
virtual void | PopupFor (int aMsecs) |
virtual void | Move (const wxPoint &aWhere) |
virtual void | Move (const VECTOR2I &aWhere) |
void | Expire (int aMsecs) |
Hide the popup after a specified time. | |
wxWindow * | GetPanel () |
Protected Member Functions | |
void | updateSize () |
void | onCharHook (wxKeyEvent &aEvent) |
Expire timer even handler. | |
void | onExpire (wxTimerEvent &aEvent) |
Protected Attributes | |
wxPanel * | m_panel |
wxBoxSizer * | m_topSizer |
wxTimer | m_expireTimer |
A tiny, headerless popup window used to display useful status (e.g.
line length tuning info) next to the mouse cursor.
Definition at line 45 of file status_popup.h.
STATUS_POPUP::STATUS_POPUP | ( | wxWindow * | aParent | ) |
Transient mouse following popup window implementation.
Definition at line 36 of file status_popup.cpp.
References m_panel, m_topSizer, onCharHook(), and onExpire().
|
inlinevirtual |
Definition at line 49 of file status_popup.h.
void STATUS_POPUP::Expire | ( | int | aMsecs | ) |
Hide the popup after a specified time.
aMsecs | is the time expressed in milliseconds |
Definition at line 100 of file status_popup.cpp.
References m_expireTimer.
Referenced by PopupFor().
|
inline |
Definition at line 63 of file status_popup.h.
References m_panel.
Referenced by PAD_TOOL::EnumeratePads(), and POSITION_RELATIVE_TOOL::PositionRelativeInteractively().
|
virtual |
Definition at line 88 of file status_popup.cpp.
References ToWxPoint().
|
virtual |
Definition at line 94 of file status_popup.cpp.
Referenced by PAD_TOOL::EnumeratePads(), and POSITION_RELATIVE_TOOL::PositionRelativeInteractively().
|
protected |
Expire timer even handler.
Definition at line 58 of file status_popup.cpp.
References EDA_DRAW_FRAME::GetCanvas(), and EDA_DRAW_PANEL_GAL::OnEvent().
Referenced by STATUS_POPUP().
|
protected |
Definition at line 113 of file status_popup.cpp.
Referenced by STATUS_POPUP().
|
virtual |
Definition at line 74 of file status_popup.cpp.
Referenced by PAD_TOOL::EnumeratePads(), PopupFor(), and POSITION_RELATIVE_TOOL::PositionRelativeInteractively().
|
virtual |
Definition at line 81 of file status_popup.cpp.
|
protected |
Definition at line 106 of file status_popup.cpp.
References m_panel, and m_topSizer.
Referenced by STATUS_TEXT_POPUP::SetText().
|
protected |
Definition at line 76 of file status_popup.h.
Referenced by Expire().
|
protected |
Definition at line 74 of file status_popup.h.
Referenced by GetPanel(), STATUS_POPUP(), STATUS_TEXT_POPUP::STATUS_TEXT_POPUP(), and updateSize().
|
protected |
Definition at line 75 of file status_popup.h.
Referenced by STATUS_POPUP(), STATUS_TEXT_POPUP::STATUS_TEXT_POPUP(), and updateSize().