KiCad PCB EDA Suite
Loading...
Searching...
No Matches
eeschema/dialogs/dialog_table_properties.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 The KiCad Developers, see AUTHORS.txt for contributors.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <https://www.gnu.org/licenses/>.
18 */
19
20#ifndef DIALOG_TABLE_PROPERTIES_H
21#define DIALOG_TABLE_PROPERTIES_H
22
23#include <widgets/unit_binder.h>
24#include <dialogs/dialog_table_properties_base.h>
25
26
27class SCH_EDIT_FRAME;
28class SCH_TABLE;
29class WX_GRID;
30
31
33{
34public:
35 DIALOG_TABLE_PROPERTIES( SCH_EDIT_FRAME* aParentFrame, SCH_TABLE* aTable );
37
38private:
39 void sizeGridToTable();
40 void getContextualTextVars( const wxString& aCrossRef, wxArrayString* aTokens );
41
42 bool TransferDataToWindow() override;
43 bool TransferDataFromWindow() override;
44
45 void onBorderChecked( wxCommandEvent& aEvent ) override;
46 void onSize( wxSizeEvent& aEvent ) override;
47
48private:
51
53
56};
57
58
59
60#endif // DIALOG_TABLE_PROPERTIES_H
DIALOG_TABLE_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Table Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
DIALOG_TABLE_PROPERTIES(SCH_EDIT_FRAME *aParentFrame, SCH_TABLE *aTable)
void getContextualTextVars(const wxString &aCrossRef, wxArrayString *aTokens)
void onBorderChecked(wxCommandEvent &aEvent) override
Schematic editor (Eeschema) main window.