20 #ifndef PULSEVIEW_PV_VIEWS_TRACE_VIEWPORT_HPP 21 #define PULSEVIEW_PV_VIEWS_TRACE_VIEWPORT_HPP 23 #include <boost/optional.hpp> 27 #include <QTouchEvent> 34 using std::shared_ptr;
69 void item_hover(
const shared_ptr<ViewItem> &item, QPoint pos);
80 void drag_by(
const QPoint &delta);
90 vector< shared_ptr<ViewItem> >
items();
120 #endif // PULSEVIEW_PV_VIEWS_TRACE_VIEWPORT_HPP void item_hover(const shared_ptr< ViewItem > &item, QPoint pos)
bool allow_vertical_dragging_
void mouseDoubleClickEvent(QMouseEvent *event)
void drag_by(const QPoint &delta)
T value(details::expression_node< T > *n)
shared_ptr< ViewItem > get_mouse_over_item(const QPoint &pt)
void paintEvent(QPaintEvent *event)
boost::optional< pv::util::Timestamp > drag_offset_
void wheelEvent(QWheelEvent *event)
void on_setting_changed(const QString &key, const QVariant &value)
vector< shared_ptr< ViewItem > > items()
bool touch_event(QTouchEvent *event)