KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_executecommand_job_settings.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) 2024 Mark Roszko <[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
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
19 */
20
22
25class PROJECT;
26
27
29{
30public:
31 DIALOG_EXECUTECOMMAND_JOB_SETTINGS( wxWindow* aParent, JOB_SPECIAL_EXECUTE* aJob, PROJECT* aProject );
33
34 bool TransferDataFromWindow() override;
35 bool TransferDataToWindow() override;
36
37private:
38 void onSizeGrid( wxSizeEvent& event ) override;
39 void adjustPathSubsGridColumns( int aWidth );
40 void OnRecordOutputClicked( wxCommandEvent& event ) override;
41 void onCommandChanged( wxStyledTextEvent& aEvent );
42 void onVarGridDClick( wxGridEvent& aEvent );
43
47
48private:
52
54};
DIALOG_EXECUTECOMMAND_JOB_SETTINGS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Execute Command Job Settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
DIALOG_EXECUTECOMMAND_JOB_SETTINGS(wxWindow *aParent, JOB_SPECIAL_EXECUTE *aJob, PROJECT *aProject)
void populateEnvironReadOnlyTable()
Fill the variable table with the available variables and any referenced in the command,...
void OnRecordOutputClicked(wxCommandEvent &event) override
Container for project specific data.
Definition project.h:63
Add cut/copy/paste, dark theme, autocomplete and brace highlighting to a wxStyleTextCtrl instance.