KiCad PCB EDA Suite
dialog_pns_diff_pair_dimensions.h
Go to the documentation of this file.
1 /*
2  * KiRouter - a push-and-(sometimes-)shove PCB router
3  *
4  * Copyright (C) 2014-2015 CERN
5  * Copyright (C) 2016 KiCad Developers, see AUTHORS.txt for contributors.
6  * Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
7  *
8  * This program is free software: you can redistribute it and/or modify it
9  * under the terms of the GNU General Public License as published by the
10  * Free Software Foundation, either version 3 of the License, or (at your
11  * option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License along
19  * with this program. If not, see <http://www.gnu.or/licenses/>.
20  */
21 
26 #ifndef __dialog_diff_pair_dimensions_settings__
27 #define __dialog_diff_pair_dimensions_settings__
28 
29 #include <wx_unit_binder.h>
30 
32 
33 namespace PNS {
34 
35 class SIZES_SETTINGS;
36 
37 }
38 
40 {
41 public:
42  DIALOG_PNS_DIFF_PAIR_DIMENSIONS( wxWindow* aParent, PNS::SIZES_SETTINGS& aSizes );
43 
44 private:
45  void updateCheckbox();
46 
47  virtual void OnOkClick( wxCommandEvent& aEvent ) override;
48  virtual void OnViaTraceGapEqualCheck( wxCommandEvent& event ) override;
49 
53 
55 };
56 
57 #endif // __dialog_pns_settings__
DIALOG_PNS_DIFF_PAIR_DIMENSIONS(wxWindow *aParent, PNS::SIZES_SETTINGS &aSizes)
Push and Shove diff pair dimensions (gap) settings dialog.
virtual void OnViaTraceGapEqualCheck(wxCommandEvent &event) override
Class DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE.
virtual void OnOkClick(wxCommandEvent &aEvent) override
Push and Shove diff pair dimensions (gap) settings dialog.