NOISSUE improve toolbars
This commit is contained in:
18
application/widgets/WideBar.h
Normal file
18
application/widgets/WideBar.h
Normal file
@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include <QToolBar>
|
||||
|
||||
class WideBar : public QToolBar
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit WideBar(const QString &title, QWidget * parent = nullptr);
|
||||
explicit WideBar(QWidget * parent = nullptr);
|
||||
|
||||
void addAction(QAction *action);
|
||||
void insertSpacer(QAction *action);
|
||||
|
||||
private:
|
||||
QMap<QAction *, QAction *> m_actionMap;
|
||||
};
|
Reference in New Issue
Block a user