Currently gutter only shows linenumbers. Code is mostly from http://doc.qt.io/qt-5/qtwidgets-widgets-codeeditor-example.html There is a little bit included in this commit from a first try to make toobars adept to the current tab. Code #2
24 lines
540 B
C++
24 lines
540 B
C++
#ifndef PGLPAGE_H
|
|
#define PGLPAGE_H
|
|
|
|
#include <QWidget>
|
|
|
|
/// Provides a pluggable system for toolbar buttons and menu actions
|
|
///
|
|
/// We will need several kind of actions
|
|
/// - create actions, these will create a new document or load from file , always available in menu
|
|
/// - save actions available when on tab
|
|
/// - edit actions
|
|
/// - custom menu?
|
|
///
|
|
/// Can we use same groupings for toolbars and menu's
|
|
/// How about additional toolbars?
|
|
///
|
|
class PglPage: public QWidget{
|
|
public:
|
|
using QWidget::QWidget;
|
|
|
|
|
|
};
|
|
|
|
#endif // PGLPAGE_H
|