file viewer can be called from File menu or context menu in editor if word under cursor is a file

This commit is contained in:
Axel Kohlmeyer
2024-07-21 18:37:06 -04:00
parent 97ffabda0e
commit 7dc0ace48f
5 changed files with 80 additions and 2 deletions

View File

@ -61,6 +61,7 @@ public:
protected:
void open_file(const QString &filename);
void view_file(const QString &filename);
void write_file(const QString &filename);
void update_recents(const QString &filename = "");
void update_variables();
@ -75,6 +76,7 @@ public slots:
private slots:
void new_document();
void open();
void view();
void open_recent();
void start_exe();
void save();