KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_remote_symbol_config.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 modify it
7
* under the terms of the GNU General Public License as published by the
8
* Free Software Foundation; either version 3 of the License, or (at your
9
* 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, you may find one here:
18
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
19
* or you may search the http://www.gnu.org website for the version 2 license,
20
* or you may write to the Free Software Foundation, Inc.,
21
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
22
*/
23
24
#ifndef DIALOG_REMOTE_SYMBOL_CONFIG_H
25
#define DIALOG_REMOTE_SYMBOL_CONFIG_H
26
27
#include <
dialog_shim.h
>
28
#include <
eeschema_settings.h
>
29
30
class
wxTextCtrl;
31
class
wxStaticText;
32
class
wxRadioButton;
33
class
wxButton;
34
35
class
EESCHEMA_SETTINGS
;
36
37
class
DIALOG_REMOTE_SYMBOL_CONFIG
:
public
DIALOG_SHIM
38
{
39
public
:
40
explicit
DIALOG_REMOTE_SYMBOL_CONFIG
( wxWindow* aParent );
41
42
bool
TransferDataToWindow
()
override
;
43
bool
TransferDataFromWindow
()
override
;
44
45
private
:
46
void
onBrowseDestination
( wxCommandEvent& aEvent );
47
void
onResetDefaults
( wxCommandEvent& aEvent );
48
void
onPrefixChanged
( wxCommandEvent& aEvent );
49
50
void
applyRemoteSettings
(
const
EESCHEMA_SETTINGS::REMOTE_SYMBOL_CONFIG
& aConfig );
51
void
updatePrefixHint
();
52
53
private
:
54
wxTextCtrl*
m_destinationCtrl
;
55
wxTextCtrl*
m_prefixCtrl
;
56
wxStaticText*
m_prefixHint
;
57
wxRadioButton*
m_projectRadio
;
58
wxRadioButton*
m_globalRadio
;
59
wxButton*
m_resetButton
;
60
wxButton*
m_browseButton
;
61
62
EESCHEMA_SETTINGS
*
m_settings
;
63
};
64
65
66
#endif
// DIALOG_REMOTE_SYMBOL_CONFIG_H
DIALOG_REMOTE_SYMBOL_CONFIG::DIALOG_REMOTE_SYMBOL_CONFIG
DIALOG_REMOTE_SYMBOL_CONFIG(wxWindow *aParent)
Definition
dialog_remote_symbol_config.cpp:43
DIALOG_REMOTE_SYMBOL_CONFIG::m_globalRadio
wxRadioButton * m_globalRadio
Definition
dialog_remote_symbol_config.h:58
DIALOG_REMOTE_SYMBOL_CONFIG::TransferDataFromWindow
bool TransferDataFromWindow() override
Definition
dialog_remote_symbol_config.cpp:141
DIALOG_REMOTE_SYMBOL_CONFIG::m_prefixHint
wxStaticText * m_prefixHint
Definition
dialog_remote_symbol_config.h:56
DIALOG_REMOTE_SYMBOL_CONFIG::m_prefixCtrl
wxTextCtrl * m_prefixCtrl
Definition
dialog_remote_symbol_config.h:55
DIALOG_REMOTE_SYMBOL_CONFIG::m_destinationCtrl
wxTextCtrl * m_destinationCtrl
Definition
dialog_remote_symbol_config.h:54
DIALOG_REMOTE_SYMBOL_CONFIG::TransferDataToWindow
bool TransferDataToWindow() override
Definition
dialog_remote_symbol_config.cpp:127
DIALOG_REMOTE_SYMBOL_CONFIG::updatePrefixHint
void updatePrefixHint()
Definition
dialog_remote_symbol_config.cpp:251
DIALOG_REMOTE_SYMBOL_CONFIG::m_browseButton
wxButton * m_browseButton
Definition
dialog_remote_symbol_config.h:60
DIALOG_REMOTE_SYMBOL_CONFIG::onResetDefaults
void onResetDefaults(wxCommandEvent &aEvent)
Definition
dialog_remote_symbol_config.cpp:220
DIALOG_REMOTE_SYMBOL_CONFIG::m_settings
EESCHEMA_SETTINGS * m_settings
Definition
dialog_remote_symbol_config.h:62
DIALOG_REMOTE_SYMBOL_CONFIG::applyRemoteSettings
void applyRemoteSettings(const EESCHEMA_SETTINGS::REMOTE_SYMBOL_CONFIG &aConfig)
Definition
dialog_remote_symbol_config.cpp:236
DIALOG_REMOTE_SYMBOL_CONFIG::onBrowseDestination
void onBrowseDestination(wxCommandEvent &aEvent)
Definition
dialog_remote_symbol_config.cpp:177
DIALOG_REMOTE_SYMBOL_CONFIG::m_projectRadio
wxRadioButton * m_projectRadio
Definition
dialog_remote_symbol_config.h:57
DIALOG_REMOTE_SYMBOL_CONFIG::m_resetButton
wxButton * m_resetButton
Definition
dialog_remote_symbol_config.h:59
DIALOG_REMOTE_SYMBOL_CONFIG::onPrefixChanged
void onPrefixChanged(wxCommandEvent &aEvent)
Definition
dialog_remote_symbol_config.cpp:229
DIALOG_SHIM::DIALOG_SHIM
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
Definition
dialog_shim.cpp:70
EESCHEMA_SETTINGS
Definition
eeschema_settings.h:62
dialog_shim.h
eeschema_settings.h
EESCHEMA_SETTINGS::REMOTE_SYMBOL_CONFIG
Definition
eeschema_settings.h:117
src
eeschema
dialogs
dialog_remote_symbol_config.h
Generated on Fri Dec 5 2025 00:06:57 for KiCad PCB EDA Suite by
1.13.2