Loading...
Searching...
No Matches
Toolbar.hpp
1#pragma once
2#include <score/plugins/StringFactoryKey.hpp>
3
4#include <score_lib_base_export.h>
5
6class QToolBar;
7namespace score
8{
9class SCORE_LIB_BASE_EXPORT Toolbar
10{
11public:
12 Toolbar(QToolBar* tb, StringKey<Toolbar> key, int defaultRow, int defaultCol);
13
14 QToolBar* toolbar() const;
15
16 StringKey<Toolbar> key() const;
17
18 int row() const;
19 int column() const;
20
21private:
22 QToolBar* m_impl{};
24
25 // If a row is used, it goes next
26 // Maybe it should be a list instead ?
27 int m_row = 0;
28 int m_col = 0;
29};
30}
Definition StringFactoryKey.hpp:8
Definition Toolbar.hpp:10
Base toolkit upon which the software is built.
Definition Application.cpp:90