KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_eeschema_annotation_options.h
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2022 Mike Williams <[email protected]>
5 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software: you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation, either version 3 of the License, or (at your
10 * option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#ifndef PANEL_EESCHEMA_ANNOTATION_OPTIONS_H
22#define PANEL_EESCHEMA_ANNOTATION_OPTIONS_H
23
24#include <widgets/unit_binder.h>
26
27class EDA_BASE_FRAME;
29
30
32{
33public:
34 PANEL_EESCHEMA_ANNOTATION_OPTIONS( wxWindow* aWindow, EDA_BASE_FRAME* schSettingsProvider );
35
36 bool TransferDataToWindow() override;
37 bool TransferDataFromWindow() override;
38
39 void ResetPanel() override;
40
41 void ImportSettingsFrom( SCHEMATIC_SETTINGS& aSettings );
42
43private:
45
47};
48
49
50#endif //PANEL_EESCHEMA_ANNOTATION_OPTIONS_H
The base frame for deriving all KiCad main window classes.
PANEL_EESCHEMA_ANNOTATION_OPTIONS_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)
void ImportSettingsFrom(SCHEMATIC_SETTINGS &aSettings)
void ResetPanel() override
Reset the contents of this panel.
PANEL_EESCHEMA_ANNOTATION_OPTIONS(wxWindow *aWindow, EDA_BASE_FRAME *schSettingsProvider)
These are loaded from Eeschema settings but then overwritten by the project settings.