| 
    KiCad PCB EDA Suite
    
   | 
 
Extension of STATUS_POPUP for displaying a single line text. More...
#include <status_popup.h>
  
Public Member Functions | |
| STATUS_TEXT_POPUP (wxWindow *aParent) | |
| virtual | ~STATUS_TEXT_POPUP () | 
| void | SetText (const wxString &aText) | 
| Display a text.   | |
| void | SetTextColor (const wxColour &aColor) | 
| Change text color.   | |
| 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) | 
| void | onExpire (wxTimerEvent &aEvent) | 
| Expire timer even handler.   | |
Protected Attributes | |
| wxStaticText * | m_statusLine | 
| wxPanel * | m_panel | 
| wxBoxSizer * | m_topSizer | 
| wxTimer | m_expireTimer | 
Extension of STATUS_POPUP for displaying a single line text.
Definition at line 82 of file status_popup.h.
| STATUS_TEXT_POPUP::STATUS_TEXT_POPUP | ( | wxWindow * | aParent | ) | 
Definition at line 119 of file status_popup.cpp.
References STATUS_POPUP::m_panel, m_statusLine, STATUS_POPUP::m_topSizer, and STATUS_POPUP::STATUS_POPUP().
      
  | 
  inlinevirtual | 
Definition at line 86 of file status_popup.h.
      
  | 
  inherited | 
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().
      
  | 
  inlineinherited | 
Definition at line 62 of file status_popup.h.
References m_panel.
Referenced by PAD_TOOL::EnumeratePads(), and POSITION_RELATIVE_TOOL::InteractiveOffset().
      
  | 
  virtualinherited | 
Definition at line 88 of file status_popup.cpp.
References ToWxPoint().
      
  | 
  virtualinherited | 
Definition at line 94 of file status_popup.cpp.
Referenced by PAD_TOOL::EnumeratePads(), and POSITION_RELATIVE_TOOL::InteractiveOffset().
      
  | 
  protectedinherited | 
Definition at line 58 of file status_popup.cpp.
References EDA_DRAW_FRAME::GetCanvas(), and EDA_DRAW_PANEL_GAL::OnEvent().
Referenced by STATUS_POPUP().
      
  | 
  protectedinherited | 
Expire timer even handler.
Definition at line 113 of file status_popup.cpp.
Referenced by STATUS_POPUP().
      
  | 
  virtualinherited | 
Definition at line 74 of file status_popup.cpp.
Referenced by PAD_TOOL::EnumeratePads(), POSITION_RELATIVE_TOOL::InteractiveOffset(), and PopupFor().
      
  | 
  virtualinherited | 
Definition at line 81 of file status_popup.cpp.
| void STATUS_TEXT_POPUP::SetText | ( | const wxString & | aText | ) | 
Display a text.
| aText | text to be displayed. | 
Definition at line 131 of file status_popup.cpp.
References m_statusLine, and STATUS_POPUP::updateSize().
Referenced by PAD_TOOL::EnumeratePads(), and POSITION_RELATIVE_TOOL::InteractiveOffset().
| void STATUS_TEXT_POPUP::SetTextColor | ( | const wxColour & | aColor | ) | 
Change text color.
| aColor | new text color. | 
Definition at line 138 of file status_popup.cpp.
References m_statusLine.
      
  | 
  protectedinherited | 
Definition at line 106 of file status_popup.cpp.
References m_panel, and m_topSizer.
Referenced by STATUS_TEXT_POPUP::SetText().
      
  | 
  protectedinherited | 
Definition at line 75 of file status_popup.h.
Referenced by Expire(), and STATUS_POPUP().
      
  | 
  protectedinherited | 
Definition at line 73 of file status_popup.h.
Referenced by GetPanel(), STATUS_POPUP(), STATUS_TEXT_POPUP::STATUS_TEXT_POPUP(), and updateSize().
      
  | 
  protected | 
Definition at line 103 of file status_popup.h.
Referenced by SetText(), SetTextColor(), and STATUS_TEXT_POPUP().
      
  | 
  protectedinherited | 
Definition at line 74 of file status_popup.h.
Referenced by STATUS_POPUP(), STATUS_TEXT_POPUP::STATUS_TEXT_POPUP(), and updateSize().