score
Home
Classes
Namespaces
Files
Loading...
Searching...
No Matches
AddressBarWidget.hpp
1
#pragma once
2
#include <score/model/path/ObjectPath.hpp>
3
4
#include <QWidget>
5
6
#include <score_plugin_scenario_export.h>
7
8
#include <verdigris>
9
10
class
QHBoxLayout;
11
namespace
score
12
{
13
struct
DocumentContext;
14
}
15
namespace
Scenario
16
{
17
class
IntervalModel;
18
26
class
SCORE_PLUGIN_SCENARIO_EXPORT
AddressBarWidget
final :
public
QWidget
27
{
28
W_OBJECT(
AddressBarWidget
)
29
public
:
30
explicit
AddressBarWidget
(
31
const
score::DocumentContext
& ctx, QWidget* parent =
nullptr
);
32
~AddressBarWidget
()
override
;
33
34
void
setTargetObject(
ObjectPath
&& path);
35
36
public
:
37
void
intervalSelected(
IntervalModel
* itv)
38
E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, intervalSelected, itv)
39
40
private
:
41
void
clear();
42
43
const
score::DocumentContext
& m_ctx;
44
QHBoxLayout* m_layout{};
45
std::vector<QWidget*> m_items;
46
ObjectPath
m_currentPath;
47
};
48
}
ObjectPath
The ObjectPath class.
Definition
ObjectPath.hpp:37
Scenario::AddressBarWidget
Clickable path of the interval shown in the central view.
Definition
AddressBarWidget.hpp:27
Scenario::IntervalModel
Definition
IntervalModel.hpp:50
Scenario
Main plug-in of score.
Definition
score-plugin-dataflow/Dataflow/PortItem.hpp:13
score
Base toolkit upon which the software is built.
Definition
Application.cpp:116
score::DocumentContext
Definition
DocumentContext.hpp:18