PulseView
0.3.0
A Qt-based sigrok GUI
|
#include <marginwidget.hpp>
Public Member Functions | |
MarginWidget (pv::view::View &parent) | |
virtual QSize | extended_size_hint () const =0 |
Protected Member Functions | |
virtual void | item_clicked (const std::shared_ptr< pv::view::ViewItem > &item) |
void | show_popup (const std::shared_ptr< ViewItem > &item) |
virtual void | contextMenuEvent (QContextMenuEvent *event) |
virtual void | keyPressEvent (QKeyEvent *e) |
Protected Member Functions inherited from pv::view::ViewWidget | |
ViewWidget (View &parent) | |
virtual void | item_hover (const std::shared_ptr< pv::view::ViewItem > &item) |
bool | accept_drag () const |
bool | mouse_down () const |
void | drag_items (const QPoint &delta) |
virtual void | drag () |
virtual void | drag_by (const QPoint &delta) |
virtual void | drag_release () |
virtual std::vector< std::shared_ptr< pv::view::ViewItem > > | items ()=0 |
virtual std::shared_ptr< pv::view::ViewItem > | get_mouse_over_item (const QPoint &pt)=0 |
void | mouse_left_press_event (QMouseEvent *event) |
void | mouse_left_release_event (QMouseEvent *event) |
virtual bool | touch_event (QTouchEvent *e) |
bool | event (QEvent *event) |
void | mousePressEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | leaveEvent (QEvent *event) |
Additional Inherited Members | |
Public Slots inherited from pv::view::ViewWidget | |
void | clear_selection () |
Signals inherited from pv::view::ViewWidget | |
void | selection_changed () |
Protected Attributes inherited from pv::view::ViewWidget | |
pv::view::View & | view_ |
QPoint | mouse_point_ |
QPoint | mouse_down_point_ |
std::shared_ptr< ViewItem > | mouse_down_item_ |
bool | item_dragging_ |
Definition at line 35 of file marginwidget.hpp.
pv::view::MarginWidget::MarginWidget | ( | pv::view::View & | parent | ) |
Definition at line 35 of file marginwidget.cpp.
|
protectedvirtual |
Reimplemented in pv::view::Header.
Definition at line 54 of file marginwidget.cpp.
|
pure virtual |
The extended area that the margin widget would like to be sized to.
Implemented in pv::view::Ruler, and pv::view::Header.
|
protectedvirtual |
Indicates the event an a view item has been clicked.
item | the view item that has been clicked. |
Reimplemented from pv::view::ViewWidget.
Definition at line 41 of file marginwidget.cpp.
|
protectedvirtual |
Reimplemented in pv::view::Header.
Definition at line 65 of file marginwidget.cpp.
|
protected |
Shows the popup of a the specified ViewItem
.
item | The item to show the popup for. |
Definition at line 47 of file marginwidget.cpp.