projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added probes to decoder dialog
[pulseview.git]
/
pv
/
view
/
view.h
diff --git
a/pv/view/view.h
b/pv/view/view.h
index 18da73224e952a8bae50421fa59735d21438e419..f378e9116c24a6ccb0b3376cf2fe7d77ac18b7ba 100644
(file)
--- a/
pv/view/view.h
+++ b/
pv/view/view.h
@@
-23,6
+23,8
@@
#include <stdint.h>
#include <stdint.h>
+#include <boost/weak_ptr.hpp>
+
#include <QAbstractScrollArea>
#include <QSizeF>
#include <QAbstractScrollArea>
#include <QSizeF>
@@
-86,6
+88,8
@@
public:
*/
void set_scale_offset(double scale, double offset);
*/
void set_scale_offset(double scale, double offset);
+ std::list<boost::weak_ptr<SelectableItem> > selected_items() const;
+
/**
* Returns true if cursors are displayed. false otherwise.
*/
/**
* Returns true if cursors are displayed. false otherwise.
*/
@@
-106,6
+110,11
@@
public:
*/
CursorPair& cursors();
*/
CursorPair& cursors();
+ /**
+ * Returns a reference to the pair of cursors.
+ */
+ const CursorPair& cursors() const;
+
const QPoint& hover_point() const;
void normalize_layout();
const QPoint& hover_point() const;
void normalize_layout();
@@
-122,8
+131,6
@@
private:
void update_scroll();
void update_scroll();
- void reset_signal_layout();
-
private:
bool eventFilter(QObject *object, QEvent *event);
private:
bool eventFilter(QObject *object, QEvent *event);