KiCad PCB EDA Suite
|
#include <pns_tune_status_popup.h>
Public Member Functions | |
PNS_TUNE_STATUS_POPUP (wxWindow *aParent) | |
~PNS_TUNE_STATUS_POPUP () override | |
void | UpdateStatus (PNS::ROUTER *aRouter) |
void | SetText (const wxString &aText) |
Display a text. More... | |
void | SetTextColor (const wxColour &aColor) |
Change text color. More... | |
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. More... | |
wxWindow * | GetPanel () |
Protected Member Functions | |
void | updateSize () |
void | onCharHook (wxKeyEvent &aEvent) |
Expire timer even handler. More... | |
void | onExpire (wxTimerEvent &aEvent) |
Protected Attributes | |
wxStaticText * | m_statusLine |
wxPanel * | m_panel |
wxBoxSizer * | m_topSizer |
wxTimer | m_expireTimer |
Definition at line 37 of file pns_tune_status_popup.h.
|
inline |
Definition at line 40 of file pns_tune_status_popup.h.
|
inlineoverride |
Definition at line 46 of file pns_tune_status_popup.h.
|
inherited |
Hide the popup after a specified time.
aMsecs | is the time expressed in milliseconds |
Definition at line 97 of file status_popup.cpp.
References STATUS_POPUP::m_expireTimer.
Referenced by STATUS_POPUP::PopupFor().
|
inlineinherited |
Definition at line 62 of file status_popup.h.
References STATUS_POPUP::m_panel.
Referenced by EDIT_TOOL::doMoveSelection(), PAD_TOOL::EnumeratePads(), and LENGTH_TUNER_TOOL::performTuning().
|
virtualinherited |
Definition at line 85 of file status_popup.cpp.
References ToWxPoint().
|
virtualinherited |
Definition at line 91 of file status_popup.cpp.
Referenced by EDIT_TOOL::doMoveSelection(), PAD_TOOL::EnumeratePads(), and LENGTH_TUNER_TOOL::updateStatusPopup().
|
protectedinherited |
Expire timer even handler.
Definition at line 55 of file status_popup.cpp.
References EDA_DRAW_FRAME::GetCanvas(), and EDA_DRAW_PANEL_GAL::OnEvent().
Referenced by STATUS_POPUP::STATUS_POPUP().
|
protectedinherited |
Definition at line 110 of file status_popup.cpp.
Referenced by STATUS_POPUP::STATUS_POPUP().
|
virtualinherited |
Definition at line 71 of file status_popup.cpp.
Referenced by EDIT_TOOL::doMoveSelection(), PAD_TOOL::EnumeratePads(), LENGTH_TUNER_TOOL::performTuning(), and STATUS_POPUP::PopupFor().
|
virtualinherited |
Definition at line 78 of file status_popup.cpp.
References STATUS_POPUP::Expire(), and STATUS_POPUP::Popup().
|
inherited |
Display a text.
aText | is the text to be displayed. |
Definition at line 127 of file status_popup.cpp.
References STATUS_TEXT_POPUP::m_statusLine, and STATUS_POPUP::updateSize().
Referenced by EDIT_TOOL::doMoveSelection(), PAD_TOOL::EnumeratePads(), and UpdateStatus().
|
inherited |
Change text color.
aColor | is the new text color. |
Definition at line 134 of file status_popup.cpp.
References STATUS_TEXT_POPUP::m_statusLine.
Referenced by UpdateStatus().
|
protectedinherited |
Definition at line 103 of file status_popup.cpp.
References STATUS_POPUP::m_panel, and STATUS_POPUP::m_topSizer.
Referenced by STATUS_TEXT_POPUP::SetText().
void PNS_TUNE_STATUS_POPUP::UpdateStatus | ( | PNS::ROUTER * | aRouter | ) |
Definition at line 28 of file pns_tune_status_popup.cpp.
References UNITS_PROVIDER::GetUserUnits(), PNS::ROUTER::Placer(), STATUS_TEXT_POPUP::SetText(), STATUS_TEXT_POPUP::SetTextColor(), KIGFX::COLOR4D::ToHSL(), PNS::MEANDER_PLACER_BASE::TOO_LONG, PNS::MEANDER_PLACER_BASE::TOO_SHORT, PNS::MEANDER_PLACER_BASE::TUNED, PNS::MEANDER_PLACER_BASE::TuningInfo(), and PNS::MEANDER_PLACER_BASE::TuningStatus().
Referenced by LENGTH_TUNER_TOOL::updateStatusPopup().
|
protectedinherited |
Definition at line 75 of file status_popup.h.
Referenced by STATUS_POPUP::Expire().
|
protectedinherited |
Definition at line 73 of file status_popup.h.
Referenced by STATUS_POPUP::GetPanel(), STATUS_POPUP::STATUS_POPUP(), STATUS_TEXT_POPUP::STATUS_TEXT_POPUP(), and STATUS_POPUP::updateSize().
|
protectedinherited |
Definition at line 103 of file status_popup.h.
Referenced by STATUS_TEXT_POPUP::SetText(), STATUS_TEXT_POPUP::SetTextColor(), and STATUS_TEXT_POPUP::STATUS_TEXT_POPUP().
|
protectedinherited |
Definition at line 74 of file status_popup.h.
Referenced by STATUS_POPUP::STATUS_POPUP(), STATUS_TEXT_POPUP::STATUS_TEXT_POPUP(), and STATUS_POPUP::updateSize().