Vuo
2.1.0
editor
VuoErrorPopover.hh
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
VuoPopover.hh
"
13
class
VuoCompilerIssue
;
14
18
class
VuoErrorPopover
:
public
VuoPopover
19
{
20
Q_OBJECT
21
public
:
22
explicit
VuoErrorPopover
(
VuoCompilerIssue
&issue, QWidget *parent);
23
24
public
slots:
25
void
setWindowLevelAndVisibility
(
bool
top);
26
void
setWindowLevel
(
bool
top);
27
28
protected
:
29
void
paintEvent
(QPaintEvent *event);
30
bool
eventFilter
(QObject *obj, QEvent *event);
31
32
private
slots:
33
void
helpButtonClicked();
34
void
updateColor(
bool
isDark);
35
36
private
:
37
void
setStyle();
38
void
setArrowSide(Qt::AnchorPoint arrowSide);
39
40
QString helpPath;
41
QLabel *textLabel;
42
QVBoxLayout *layout;
43
Qt::AnchorPoint arrowSide;
44
int
arrowTipY;
45
46
// User interaction
47
bool
dragInProgress;
48
QPoint positionBeforeDrag;
49
};
Generated on Mon Jul 6 2020 03:55:03 for Vuo by
1.8.17