67 if( !settings->NeedsUserInput() )
89 wxString missingTablesText;
90 bool showWarning =
false;
100 missingTablesText.Append(
_(
"Symbol library table" ) +
"\n" );
104 missingTablesText.Append(
_(
"Footprint library table" ) +
"\n" );
108 missingTablesText.Append(
_(
"Design Block library table" ) +
"\n" );
121 std::shared_ptr<STARTWIZARD_PROVIDER_LIBRARIES_MODEL>
m_model;
140 m_model = std::make_shared<STARTWIZARD_PROVIDER_LIBRARIES_MODEL>();
wxBitmapBundle KiBitmapBundle(BITMAPS aBitmap, int aMinHeight)
static wxString DefaultGlobalTablePath(LIBRARY_TABLE_TYPE aType)
static std::vector< LIBRARY_TABLE_TYPE > InvalidGlobalTables()
static bool GlobalTablesValid()
static bool CreateGlobalTable(LIBRARY_TABLE_TYPE aType, bool aPopulateDefaultLibraries)
static bool IsTableValid(const wxString &aPath)
wxRadioButton * m_rbBlankTables
wxRadioButton * m_rbImport
PANEL_STARTWIZARD_LIBRARIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(550,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
wxRadioButton * m_rbDefaultTables
wxStaticBitmap * m_bmpWarning
wxStaticText * m_stRequiredTables
wxBoxSizer * m_sizerWarning
PANEL_STARTWIZARD_LIBRARIES(const std::shared_ptr< STARTWIZARD_PROVIDER_LIBRARIES_MODEL > &aModel, wxWindow *aParent, STARTWIZARD *aWizard)
bool TransferDataFromWindow() override
std::shared_ptr< STARTWIZARD_PROVIDER_LIBRARIES_MODEL > m_model
bool TransferDataToWindow() override
std::shared_ptr< STARTWIZARD_PROVIDER_LIBRARIES_MODEL > m_model
wxPanel * GetWizardPanel(wxWindow *aParent, STARTWIZARD *aWizard) override
void ApplyDefaults() override
Apply whatever actions and settings should happen if the user cancels the startup wizard.
bool NeedsUserInput() const override
STARTWIZARD_PROVIDER_LIBRARIES()
STARTWIZARD_PROVIDER(const wxString &aPageName)