31 m_scintillaTricks( nullptr )
35 [
this]( wxKeyEvent& aEvent )
37 wxPostEvent(
this, wxCommandEvent( wxEVT_COMMAND_BUTTON_CLICKED, wxID_OK ) );
41 [
this]( wxStyledTextEvent& aEvent )
45 [](
const wxString& xRef, wxArrayString* tokens )
Class DIALOG_EXECUTECOMMAND_JOB_SETTINGS_BASE.
wxCheckBox * m_cbRecordOutput
wxCheckBox * m_cbIgnoreExitCode
wxStyledTextCtrl * m_textCtrlCommand
wxTextCtrl * m_textCtrlOutputPath
SCINTILLA_TRICKS * m_scintillaTricks
JOB_SPECIAL_EXECUTE * m_job
~DIALOG_EXECUTECOMMAND_JOB_SETTINGS()
bool TransferDataToWindow() override
bool TransferDataFromWindow() override
DIALOG_EXECUTECOMMAND_JOB_SETTINGS(wxWindow *aParent, JOB_SPECIAL_EXECUTE *aJob)
void OnRecordOutputClicked(wxCommandEvent &event) override
void SetupStandardButtons(std::map< int, wxString > aLabels={})
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
void SetConfiguredOutputPath(const wxString &aPath)
Sets the configured output path for the job, this path is always saved to file.
wxString GetConfiguredOutputPath() const
Returns the configured output path for the job.
Add cut/copy/paste, dark theme, autocomplete and brace highlighting to a wxStyleTextCtrl instance.
void DoTextVarAutocomplete(const std::function< void(const wxString &xRef, wxArrayString *tokens)> &getTokensFn)
Functions related to environment variables, including help functions.
KICOMMON_API void GetEnvVarAutocompleteTokens(wxArrayString *aVars)
Return autocomplete tokens for environment variables for Scintilla.