Implement insert and overwrite editing modes

This commit is contained in:
G.K.MacGregor
2021-02-14 17:35:11 +00:00
parent 917f4fa7d6
commit 27ad6701b4
6 changed files with 111 additions and 53 deletions

View File

@@ -27,6 +27,7 @@
#include <QGraphicsView>
#include <QMainWindow>
#include <QLabel>
#include <QPushButton>
#include <QToolButton>
#include "mainwidget.h"
@@ -77,6 +78,8 @@ private slots:
void zoomOut();
void zoomReset();
void toggleInsertMode();
private:
enum { m_MaxRecentFiles = 10 };
@@ -115,6 +118,7 @@ private:
QLabel *m_subPageLabel, *m_cursorPositionLabel;
QToolButton *m_previousSubPageButton, *m_nextSubPageButton;
QPushButton *m_insertModePushButton;
QRadioButton *m_levelRadioButton[4];
QString m_curFile;