PulseView
unreleased development snapshot
A Qt-based sigrok GUI
|
#include <marginwidget.hpp>
Public Member Functions | |
MarginWidget (View &parent) | |
virtual QSize | extended_size_hint () const =0 |
Protected Slots | |
virtual void | contextMenuEvent (QContextMenuEvent *event) |
virtual void | keyPressEvent (QKeyEvent *event) |
virtual void | on_popup_closed () |
Protected Member Functions | |
virtual void | item_clicked (const shared_ptr< ViewItem > &item) |
void | show_popup (const shared_ptr< ViewItem > &item) |
Protected Member Functions inherited from pv::views::trace::ViewWidget | |
ViewWidget (View &parent) | |
virtual void | item_hover (const shared_ptr< ViewItem > &item, QPoint pos) |
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 vector< shared_ptr< ViewItem > > | items ()=0 |
virtual shared_ptr< 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 *event) |
bool | event (QEvent *event) |
void | mousePressEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | keyPressEvent (QKeyEvent *event) |
void | keyReleaseEvent (QKeyEvent *event) |
void | leaveEvent (QEvent *event) |
Additional Inherited Members | |
Public Slots inherited from pv::views::trace::ViewWidget | |
void | clear_selection () |
Signals inherited from pv::views::trace::ViewWidget | |
void | selection_changed () |
Protected Attributes inherited from pv::views::trace::ViewWidget | |
pv::views::trace::View & | view_ |
QPoint | mouse_point_ |
QPoint | mouse_down_point_ |
pv::util::Timestamp | mouse_down_offset_ |
shared_ptr< ViewItem > | mouse_down_item_ |
Qt::KeyboardModifiers | mouse_modifiers_ |
Keyboard modifiers that were active when mouse was last moved or clicked. More... | |
bool | item_dragging_ |
Definition at line 37 of file marginwidget.hpp.
pv::views::trace::MarginWidget::MarginWidget | ( | View & | parent | ) |
Definition at line 35 of file marginwidget.cpp.
|
protectedvirtualslot |
Reimplemented in pv::views::trace::Ruler, and pv::views::trace::Header.
Definition at line 57 of file marginwidget.cpp.
|
pure virtual |
The extended area that the margin widget would like to be sized to.
Implemented in pv::views::trace::Ruler, and pv::views::trace::Header.
|
protectedvirtual |
Indicates the event an a view item has been clicked.
item | the view item that has been clicked. |
Reimplemented from pv::views::trace::ViewWidget.
Definition at line 41 of file marginwidget.cpp.
|
protectedvirtualslot |
Reimplemented in pv::views::trace::Header.
Definition at line 72 of file marginwidget.cpp.
|
protectedvirtualslot |
|
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.