score
Home
Classes
Namespaces
Files
Loading...
Searching...
No Matches
CommentEdit.hpp
1
#pragma once
2
#include <QTextEdit>
3
4
#include <verdigris>
5
6
namespace
Scenario
7
{
8
class
CommentEdit
final :
public
QTextEdit
9
{
10
W_OBJECT(
CommentEdit
)
11
public
:
12
CommentEdit
(
const
QString& comment, QWidget* parent)
13
: QTextEdit{comment, parent}
14
{
15
setMouseTracking(
true
);
16
}
17
18
void
leaveEvent(QEvent* ev)
override
19
{
20
QTextEdit::leaveEvent(ev);
21
editingFinished();
22
}
23
24
public
:
25
void
editingFinished() W_SIGNAL(editingFinished);
26
};
27
}
Scenario::CommentEdit
Definition
CommentEdit.hpp:9
Scenario
Main plug-in of score.
Definition
score-plugin-dataflow/Dataflow/PortItem.hpp:13