add buttons 'one page left/right' to projectView tab bar

Disable the QTabWidget internal scroll buttons and add own buttons for
scroll 'one page left' and scroll 'one page right'. The scrolled
diagrams will be activated.
This commit is contained in:
ChuckNr11
2026-04-05 22:39:53 +02:00
parent 679647f52a
commit 2ed8d76e2d
2 changed files with 61 additions and 20 deletions

View File

@@ -168,8 +168,10 @@ class ProjectView : public QWidget
// attributes
private:
QAction *m_add_new_diagram,
*m_first_view,
*m_end_view;
*m_first_view,
*m_end_view,
*m_next_view_left,
*m_next_view_right;
QETProject *m_project;
QVBoxLayout *layout_;
QWidget *fallback_widget_;