KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_packages_view_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
8#pragma once
9
10#include <wx/artprov.h>
11#include <wx/xrc/xmlres.h>
12#include <wx/intl.h>
13class HTML_WINDOW;
14class WX_PANEL;
15
16#include "widgets/wx_grid.h"
18#include <wx/string.h>
19#include <wx/srchctrl.h>
20#include <wx/gdicmn.h>
21#include <wx/font.h>
22#include <wx/colour.h>
23#include <wx/settings.h>
24#include <wx/button.h>
25#include <wx/bitmap.h>
26#include <wx/image.h>
27#include <wx/icon.h>
28#include <wx/sizer.h>
29#include <wx/scrolwin.h>
30#include <wx/panel.h>
31#include <wx/html/htmlwin.h>
32#include <wx/grid.h>
33#include <wx/checkbox.h>
34#include <wx/splitter.h>
35
37
38
42class PANEL_PACKAGES_VIEW_BASE : public wxPanel
43{
44 private:
45
46 protected:
49 wxSearchCtrl* m_searchCtrl;
51 wxScrolledWindow* m_packageListWindow;
53 wxScrolledWindow* m_infoScrollWindow;
55 wxBoxSizer* m_sizerVersions;
57 wxCheckBox* m_showAllVersions;
59 wxButton* m_buttonAction;
60
61 // Virtual event handlers, override them in your derived class
62 virtual void OnUpdateAllClicked( wxCommandEvent& event ) { event.Skip(); }
63 virtual void OnSizeInfoBox( wxSizeEvent& event ) { event.Skip(); }
64 virtual void OnURLClicked( wxHtmlLinkEvent& event ) { event.Skip(); }
65 virtual void OnInfoMouseWheel( wxMouseEvent& event ) { event.Skip(); }
66 virtual void OnVersionsCellClicked( wxGridEvent& event ) { event.Skip(); }
67 virtual void OnShowAllVersionsClicked( wxCommandEvent& event ) { event.Skip(); }
68 virtual void OnDownloadVersionClicked( wxCommandEvent& event ) { event.Skip(); }
69 virtual void OnVersionActionClicked( wxCommandEvent& event ) { event.Skip(); }
70
71
72 public:
73
74 PANEL_PACKAGES_VIEW_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
75
77
78 void m_splitter1OnIdle( wxIdleEvent& )
79 {
80 m_splitter1->SetSashPosition( 0 );
81 m_splitter1->Disconnect( wxEVT_IDLE, wxIdleEventHandler( PANEL_PACKAGES_VIEW_BASE::m_splitter1OnIdle ), NULL, this );
82 }
83
84};
85
const char * name
Definition: DXF_plotter.cpp:57
Add dark theme support to wxHtmlWindow.
Definition: html_window.h:35
Class PANEL_PACKAGES_VIEW_BASE.
WX_SPLITTER_WINDOW * m_splitter1
virtual void OnVersionActionClicked(wxCommandEvent &event)
wxScrolledWindow * m_packageListWindow
virtual void OnVersionsCellClicked(wxGridEvent &event)
void m_splitter1OnIdle(wxIdleEvent &)
virtual void OnUpdateAllClicked(wxCommandEvent &event)
virtual void OnURLClicked(wxHtmlLinkEvent &event)
virtual void OnShowAllVersionsClicked(wxCommandEvent &event)
virtual void OnInfoMouseWheel(wxMouseEvent &event)
virtual void OnSizeInfoBox(wxSizeEvent &event)
wxScrolledWindow * m_infoScrollWindow
virtual void OnDownloadVersionClicked(wxCommandEvent &event)