score
Home
Classes
Namespaces
Files
Toolbar.hpp
1
#pragma once
2
#include <score/plugins/StringFactoryKey.hpp>
3
4
#include <score_lib_base_export.h>
5
6
class
QToolBar;
7
namespace
score
8
{
9
class
SCORE_LIB_BASE_EXPORT
Toolbar
10
{
11
public
:
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
21
private
:
22
QToolBar* m_impl{};
23
StringKey<Toolbar>
m_key;
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
}
StringKey
Definition:
StringFactoryKey.hpp:8
score::Toolbar
Definition:
Toolbar.hpp:10
score
Base toolkit upon which the software is built.
Definition:
Application.cpp:90