Loading...
Searching...
No Matches
Toolbar.hpp
1#pragma once
2#include <score/plugins/StringFactoryKey.hpp>
3
4#include <QPointer>
5
6#include <score_lib_base_export.h>
7
8class QToolBar;
9namespace score
10{
17class SCORE_LIB_BASE_EXPORT Toolbar
18{
19public:
20 Toolbar(QToolBar* tb, StringKey<Toolbar> key, int defaultRow, int defaultCol);
21
22 QToolBar* toolbar() const;
23
24 StringKey<Toolbar> key() const;
25
26 int row() const;
27 int column() const;
28
29private:
30 QPointer<QToolBar> m_impl{};
32
33 // If a row is used, it goes next
34 // Maybe it should be a list instead ?
35 int m_row = 0;
36 int m_col = 0;
37};
38}
Definition StringFactoryKey.hpp:10
A toolbar provided by an application plug-in.
Definition Toolbar.hpp:18
Base toolkit upon which the software is built.
Definition Application.cpp:83