forked from qt-creator/qt-creator
Python: use kits page in python wizards
Change-Id: I1f7aaf145443481546abb868c8c167186600b848 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <texteditor/textdocument.h>
|
||||
#include <texteditor/texteditor.h>
|
||||
|
||||
namespace Python::Internal {
|
||||
@@ -15,4 +16,17 @@ private:
|
||||
QObject m_guard;
|
||||
};
|
||||
|
||||
class PythonDocument : public TextEditor::TextDocument
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
PythonDocument();
|
||||
|
||||
void updateCurrentPython();
|
||||
void updatePython(const Utils::FilePath &python);
|
||||
|
||||
signals:
|
||||
void pythonUpdated(const Utils::FilePath &python);
|
||||
};
|
||||
|
||||
} // Python::Internal
|
||||
|
Reference in New Issue
Block a user