projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MarginWidget: Moved in contextMenuEvent
[pulseview.git]
/
pv
/
view
/
ruler.hpp
diff --git
a/pv/view/ruler.hpp
b/pv/view/ruler.hpp
index 68e7eb5884fcc751d0723ec13afbb80253937a43..418d398295806ca927670c429f5a8c09ed3162f1 100644
(file)
--- a/
pv/view/ruler.hpp
+++ b/
pv/view/ruler.hpp
@@
-62,6
+62,11
@@
public:
QSize extended_size_hint() const;
private:
QSize extended_size_hint() const;
private:
+ /**
+ * Gets the time items.
+ */
+ std::vector< std::shared_ptr<pv::view::ViewItem> > items();
+
/**
* Gets the first view item which has a label that contains @c pt .
* @param pt the point to search with.
/**
* Gets the first view item which has a label that contains @c pt .
* @param pt the point to search with.
@@
-80,8
+85,6
@@
private:
void mouseDoubleClickEvent(QMouseEvent *e);
void mouseDoubleClickEvent(QMouseEvent *e);
- void contextMenuEvent(QContextMenuEvent *event);
-
void keyPressEvent(QKeyEvent *e);
private:
void keyPressEvent(QKeyEvent *e);
private: