projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make member variable underscores a suffix instead of a prefix
[pulseview.git]
/
pv
/
widgets
/
popup.h
diff --git
a/pv/widgets/popup.h
b/pv/widgets/popup.h
index e7c867acbad82ed0b49f4ea81d29ac0b4e71d35a..83ad7ee0fbd082ebb533fe7dafa280b6944d6a04 100644
(file)
--- a/
pv/widgets/popup.h
+++ b/
pv/widgets/popup.h
@@
-52,7
+52,13
@@
public:
void set_position(const QPoint point, Position pos);
void set_position(const QPoint point, Position pos);
+ bool eventFilter(QObject *obj, QEvent *evt);
+
+ void show();
+
private:
private:
+ bool space_for_arrow() const;
+
QPolygon arrow_polygon() const;
QRegion arrow_region() const;
QPolygon arrow_polygon() const;
QRegion arrow_region() const;
@@
-77,12
+83,12
@@
private:
protected:
void showEvent(QShowEvent *e);
protected:
void showEvent(QShowEvent *e);
-
signals
:
+
Q_SIGNALS
:
void closed();
private:
void closed();
private:
- QPoint
_point
;
- Position
_pos
;
+ QPoint
point_
;
+ Position
pos_
;
};
} // namespace widgets
};
} // namespace widgets