28#include <wx/stattext.h>
40 Bind( wxEVT_SYS_COLOUR_CHANGED,
55 wxFont titleFont = wxSystemSettings::GetFont( wxSYS_DEFAULT_GUI_FONT );
57 titleFont.SetPointSize( titleFont.GetPointSize() + 2 );
59 titleFont.SetWeight( wxFONTWEIGHT_BOLD );
61 wxFont helpFont = wxSystemSettings::GetFont( wxSYS_DEFAULT_GUI_FONT );
62 helpFont.SetStyle( wxFONTSTYLE_ITALIC );
65 const wxString& aHelpText,
bool enabled = true )
74 [&]( wxEvent& aEvent )
88 wxStaticText* label =
new wxStaticText(
m_scrolledWindow, wxID_ANY, wxEmptyString );
92 label->SetFont( titleFont );
95 help->SetFont( helpFont );
96 help->SetLabel( aHelpText );
98 btn->Bind( wxEVT_BUTTON, handler );
106 wxBoxSizer* textSizer =
new wxBoxSizer( wxVERTICAL );
108 textSizer->Add( label );
109 textSizer->Add(
help );
111 m_toolsSizer->Add( textSizer, 1, wxEXPAND | wxALIGN_CENTER_VERTICAL );
124 _(
"Edit the project schematic" ) );
127 _(
"Edit global and/or project schematic symbol libraries" ) );
130 _(
"Edit the project PCB design" ) );
133 _(
"Edit global and/or project PCB footprint libraries" ) );
136 _(
"Preview Gerber files" ) );
139 _(
"Convert bitmap images to schematic symbols or PCB footprints" ) );
142 _(
"Show tools for calculating resistance, current capacity, etc." ) );
145 _(
"Edit drawing sheet borders and title blocks for use in schematics and PCB "
150 _(
"Manage downloadable packages from KiCad and 3rd party repositories" ),
wxBitmapBundle KiBitmapBundle(BITMAPS aBitmap)
BITMAP_STORE * GetBitmapStore()
wxBitmapBundle KiDisabledBitmapBundle(BITMAPS aBitmap)
BITMAPS
A list of all bitmap identifiers.
void ThemeChanged()
Notifies the store that the icon theme has been changed by the user, so caches must be invalidated.
static TOOL_ACTION editPCB
static TOOL_ACTION editSchematic
static TOOL_ACTION convertImage
static TOOL_ACTION editDrawingSheet
static TOOL_ACTION editFootprints
static TOOL_ACTION showPluginManager
static TOOL_ACTION showCalculator
static TOOL_ACTION viewGerbers
static TOOL_ACTION editSymbols
The main KiCad project manager frame.
void SetPcmButton(BITMAP_BUTTON *aButton)
Class PANEL_KICAD_LAUNCHER_BASE.
wxFlexGridSizer * m_toolsSizer
wxScrolledWindow * m_scrolledWindow
TOOL_MANAGER * m_toolManager
void onThemeChanged(wxSysColourChangedEvent &aEvent)
PANEL_KICAD_LAUNCHER(wxWindow *aParent)
KICAD_MANAGER_FRAME * m_frame