125 void keyPressEvent(
QKeyEvent* e)
override;
131 void handleTabKeyPressed();
137 void handleShiftTabKeyPressed();
143 void handleReturnKeyPressed();
148 void handleBackspaceKeyPressed(
QKeyEvent* e);
153 void handleDeleteKeyPressed(
QKeyEvent* e);
159 void handleInsertKeyPressed();
164 void handleRedoRequested();
176 void indentSelection(
bool indentUnindent);
185 int nextIndent(
bool indentUnindent,
int current_indent);
190 void handleAutocomplete();
197 void performCodeCompletion(std::tuple<std::string, std::string> completion);
202 bool mBaseFileModified;
A plain text edit widget that is intended for editing code.
Code editor to write python code.
bool isBaseFileModified()
void setFilename(const QString &name)
QString getAbsFilename() const
void keyPressed(QKeyEvent *e)
void setBaseFileModified(bool base_file_modified)
PythonCodeEditor(QWidget *parent=nullptr)
QString getRelFilename() const
QObject * parent() const const