QGIS API Documentation 4.3.0-Master (16649ce5cc6)
Loading...
Searching...
No Matches
qgsprocessingscripteditordialog.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsprocessingscripteditordialog.h
3 ------------------------
4 Date : September 2026
5 Copyright : (C) 2026 Nyall Dawson
6 Email : nyall dot dawson at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGSPROCESSINGSCRIPTEDITORDIALOG_H
17#define QGSPROCESSINGSCRIPTEDITORDIALOG_H
18
19#include "ui_qgsprocessingscripteditordialogbase.h"
20
21#include "qgis.h"
22#include "qgis_gui.h"
23
25
27
34class GUI_EXPORT QgsProcessingScriptEditorDialog : public QMainWindow, private Ui::QgsProcessingScriptEditorDialogBase
35{
36 Q_OBJECT
37 public:
38 QgsProcessingScriptEditorDialog( QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags flags = Qt::WindowFlags() );
39 ~QgsProcessingScriptEditorDialog() override;
40
44 virtual QgsCodeEditorPython *codeEditor() = 0;
45
46 QWidget *editorContainer();
47 QAction *actionToggleComment();
48 QAction *actionOpenScript();
49 QAction *actionSaveScript();
50 QAction *actionSaveScriptAs();
51 QAction *actionRunScript();
52 QAction *actionCut();
53 QAction *actionCopy();
54 QAction *actionPaste();
55 QAction *actionUndo();
56 QAction *actionRedo();
57 QAction *actionFindReplace();
58 QAction *actionIncreaseFontSize();
59 QAction *actionDecreaseFontSize();
60};
61
63
64#endif // QGSPROCESSINGSCRIPTEDITORDIALOG_H
A Python editor based on QScintilla2.
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:52