| 
    KiCad PCB EDA Suite
    
   | 
 
A better wxCollapsiblePane that. More...
#include <wx_collapsible_pane.h>
 Public Member Functions | |
| WX_COLLAPSIBLE_PANE () | |
| WX_COLLAPSIBLE_PANE (wxWindow *aParent, wxWindowID aId, const wxString &aLabel, const wxPoint &aPos=wxDefaultPosition, const wxSize &aSize=wxDefaultSize, long aStyle=wxBORDER_NONE, const wxValidator &aValidator=wxDefaultValidator, const wxString &aName=wxT("COLLAPSIBLE_PANE_HEADER")) | |
| ~WX_COLLAPSIBLE_PANE () | |
| bool | Create (wxWindow *aParent, wxWindowID aId, const wxString &aLabel, const wxPoint &aPos=wxDefaultPosition, const wxSize &aSize=wxDefaultSize, long aStyle=wxBORDER_NONE, const wxValidator &aValidator=wxDefaultValidator, const wxString &aName=wxT("COLLAPSIBLE_PANE_HEADER")) | 
| void | Collapse (bool aCollapse=true) | 
| void | Expand () | 
| bool | IsCollapsed () const | 
| bool | IsExpanded () const | 
| wxWindow * | GetPane () | 
| wxString | GetLabel () const override | 
| void | SetLabel (const wxString &aLabel) override | 
| bool | SetBackgroundColour (const wxColour &aColor) override | 
| bool | InformFirstDirection (int aDirection, int aSize, int aAvailableOtherDir) override | 
| wxSize | DoGetBestClientSize () const override | 
| bool | Layout () override | 
Private Member Functions | |
| void | init () | 
| int | getBorder () const | 
| void | onSize (wxSizeEvent &aEvent) | 
| void | onHeaderClicked (wxCommandEvent &aEvent) | 
Private Attributes | |
| wxWindow * | m_pane | 
| wxSizer * | m_sizer | 
| WX_COLLAPSIBLE_PANE_HEADER * | m_header | 
A better wxCollapsiblePane that.
Definition at line 105 of file wx_collapsible_pane.h.
      
  | 
  inline | 
Definition at line 108 of file wx_collapsible_pane.h.
References init().
      
  | 
  inline | 
Definition at line 113 of file wx_collapsible_pane.h.
| WX_COLLAPSIBLE_PANE::~WX_COLLAPSIBLE_PANE | ( | ) | 
Definition at line 78 of file wx_collapsible_pane.cpp.
References m_sizer.
| void WX_COLLAPSIBLE_PANE::Collapse | ( | bool | aCollapse = true | ) | 
Definition at line 88 of file wx_collapsible_pane.cpp.
References IsCollapsed(), m_header, and m_pane.
Referenced by Expand(), and onHeaderClicked().
| bool WX_COLLAPSIBLE_PANE::Create | ( | wxWindow * | aParent, | 
| wxWindowID | aId, | ||
| const wxString & | aLabel, | ||
| const wxPoint & | aPos = wxDefaultPosition, | ||
| const wxSize & | aSize = wxDefaultSize, | ||
| long | aStyle = wxBORDER_NONE, | ||
| const wxValidator & | aValidator = wxDefaultValidator, | ||
| const wxString & | aName = wxT( "COLLAPSIBLE_PANE_HEADER" ) ) | 
Definition at line 44 of file wx_collapsible_pane.cpp.
References getBorder(), m_header, m_pane, m_sizer, onHeaderClicked(), and onSize().
Referenced by WX_COLLAPSIBLE_PANE().
      
  | 
  override | 
Definition at line 140 of file wx_collapsible_pane.cpp.
References getBorder(), IsExpanded(), m_pane, and m_sizer.
      
  | 
  inline | 
Definition at line 134 of file wx_collapsible_pane.h.
References Collapse().
      
  | 
  private | 
Definition at line 177 of file wx_collapsible_pane.cpp.
References m_header.
Referenced by Create(), DoGetBestClientSize(), and Layout().
      
  | 
  inlineoverride | 
Definition at line 148 of file wx_collapsible_pane.h.
References m_header.
      
  | 
  inline | 
Definition at line 143 of file wx_collapsible_pane.h.
References m_pane.
Referenced by InformFirstDirection().
      
  | 
  override | 
Definition at line 124 of file wx_collapsible_pane.cpp.
References GetPane().
      
  | 
  private | 
Definition at line 70 of file wx_collapsible_pane.cpp.
References m_header, m_pane, and m_sizer.
Referenced by WX_COLLAPSIBLE_PANE(), and WX_COLLAPSIBLE_PANE().
| bool WX_COLLAPSIBLE_PANE::IsCollapsed | ( | ) | const | 
Definition at line 102 of file wx_collapsible_pane.cpp.
References m_pane.
Referenced by Collapse(), IsExpanded(), and onHeaderClicked().
      
  | 
  inline | 
Definition at line 141 of file wx_collapsible_pane.h.
References IsCollapsed().
Referenced by DoGetBestClientSize(), and Layout().
      
  | 
  override | 
Definition at line 156 of file wx_collapsible_pane.cpp.
References getBorder(), IsExpanded(), m_header, m_pane, and m_sizer.
Referenced by onSize(), and SetLabel().
      
  | 
  private | 
Definition at line 195 of file wx_collapsible_pane.cpp.
References Collapse(), IsCollapsed(), and m_header.
Referenced by Create().
      
  | 
  private | 
Definition at line 188 of file wx_collapsible_pane.cpp.
References Layout().
Referenced by Create().
      
  | 
  override | 
Definition at line 117 of file wx_collapsible_pane.cpp.
References m_header.
      
  | 
  override | 
Definition at line 108 of file wx_collapsible_pane.cpp.
      
  | 
  private | 
Definition at line 166 of file wx_collapsible_pane.h.
Referenced by Collapse(), Create(), getBorder(), GetLabel(), init(), Layout(), onHeaderClicked(), SetBackgroundColour(), and SetLabel().
      
  | 
  private | 
Definition at line 164 of file wx_collapsible_pane.h.
Referenced by Collapse(), Create(), DoGetBestClientSize(), GetPane(), init(), IsCollapsed(), and Layout().
      
  | 
  private | 
Definition at line 165 of file wx_collapsible_pane.h.
Referenced by Create(), DoGetBestClientSize(), init(), Layout(), and ~WX_COLLAPSIBLE_PANE().