projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #615 by opening the output stream only if needed
[pulseview.git]
/
pv
/
view
/
ruler.hpp
diff --git
a/pv/view/ruler.hpp
b/pv/view/ruler.hpp
index 418d398295806ca927670c429f5a8c09ed3162f1..50bbf2cdc0038075d8fbdea98cc0ba2b3af938fa 100644
(file)
--- a/
pv/view/ruler.hpp
+++ b/
pv/view/ruler.hpp
@@
-18,8
+18,8
@@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef PULSEVIEW_PV_VIEW_RULER_H
-#define PULSEVIEW_PV_VIEW_RULER_H
+#ifndef PULSEVIEW_PV_VIEW_RULER_H
PP
+#define PULSEVIEW_PV_VIEW_RULER_H
PP
#include <memory>
#include <memory>
@@
-48,9
+48,6
@@
private:
public:
Ruler(View &parent);
public:
Ruler(View &parent);
-public:
- void clear_selection();
-
public:
QSize sizeHint() const;
public:
QSize sizeHint() const;
@@
-79,14
+76,8
@@
private:
private:
void paintEvent(QPaintEvent *event);
private:
void paintEvent(QPaintEvent *event);
- void mouseMoveEvent(QMouseEvent *e);
- void mousePressEvent(QMouseEvent *e);
- void mouseReleaseEvent(QMouseEvent *);
-
void mouseDoubleClickEvent(QMouseEvent *e);
void mouseDoubleClickEvent(QMouseEvent *e);
- void keyPressEvent(QKeyEvent *e);
-
private:
/**
* Draw a hover arrow under the cursor position.
private:
/**
* Draw a hover arrow under the cursor position.
@@
-104,4
+95,4
@@
private Q_SLOTS:
} // namespace view
} // namespace pv
} // namespace view
} // namespace pv
-#endif // PULSEVIEW_PV_VIEW_RULER_H
+#endif // PULSEVIEW_PV_VIEW_RULER_H
PP