|
virtual void | showEvent (QShowEvent *event) override |
|
virtual void | closeEvent (QCloseEvent *event) override |
|
bool | DoSave () |
| Saves the editor's content to the file Filename . More...
|
|
Definition at line 16 of file TextEditor.h.
◆ IndexType
◆ TextEditor()
TextEditor::TextEditor |
( |
QWidget * |
parent, |
|
|
const std::filesystem::path & |
Filename |
|
) |
| |
◆ ~TextEditor()
TextEditor::~TextEditor |
( |
| ) |
|
|
default |
◆ closeEvent()
void TextEditor::closeEvent |
( |
QCloseEvent * |
event | ) |
|
|
overrideprivatevirtual |
◆ DoSave()
bool TextEditor::DoSave |
( |
| ) |
|
|
private |
Saves the editor's content to the file Filename
.
- Returns
- Returns true in case of success, false otherwise.
Definition at line 87 of file TextEditor.cpp.
◆ GetFilename()
auto& TextEditor::GetFilename |
( |
| ) |
const |
|
inline |
◆ OnClose
void TextEditor::OnClose |
( |
| ) |
|
|
privateslot |
◆ OnSave
void TextEditor::OnSave |
( |
| ) |
|
|
privateslot |
◆ showEvent()
void TextEditor::showEvent |
( |
QShowEvent * |
event | ) |
|
|
overrideprivatevirtual |
◆ Filename
const std::filesystem::path TextEditor::Filename |
|
private |
◆ SyntaxHighlighter
QSyntaxHighlighter* TextEditor::SyntaxHighlighter = nullptr |
|
private |
◆ ui
Ui::TextEditor TextEditor::ui |
|
private |
The documentation for this class was generated from the following files: