1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #ifndef TEXTEDITPYTHON_H |
6 | #define TEXTEDITPYTHON_H |
7 | |
8 | #include "textedittabwidget/textedit.h" |
9 | |
10 | class TextEditPythonPrivate; |
11 | class TextEditPython : public TextEdit |
12 | { |
13 | Q_OBJECT |
14 | TextEditPythonPrivate *const d; |
15 | public: |
16 | explicit TextEditPython(QWidget * parent = nullptr); |
17 | virtual ~TextEditPython(); |
18 | virtual QString supportLanguage(); |
19 | static QString implLanguage(); |
20 | |
21 | virtual StyleLsp *getStyleLsp() const; |
22 | virtual StyleSci *getStyleSci() const; |
23 | virtual StyleJsonFile *getStyleFile() const; |
24 | }; |
25 | |
26 | #endif // TEXTEDITPYTHON_H |
27 | |