![]() |
PulseView
unreleased development snapshot
A Qt-based sigrok GUI
|
#include <header.hpp>
Public Member Functions | |
Header (View &parent) | |
QSize | sizeHint () const |
QSize | extended_size_hint () const |
![]() | |
MarginWidget (View &parent) | |
Private Slots | |
void | on_group () |
void | on_ungroup () |
Private Member Functions | |
vector< shared_ptr< ViewItem > > | items () |
shared_ptr< ViewItem > | get_mouse_over_item (const QPoint &pt) |
void | paintEvent (QPaintEvent *event) |
void | contextMenuEvent (QContextMenuEvent *event) |
void | keyPressEvent (QKeyEvent *event) |
Static Private Attributes | |
static const int | Padding = 12 |
Additional Inherited Members | |
![]() | |
void | clear_selection () |
![]() | |
void | selection_changed () |
![]() | |
virtual void | on_popup_closed () |
![]() | |
virtual void | item_clicked (const shared_ptr< ViewItem > &item) |
void | show_popup (const shared_ptr< ViewItem > &item) |
![]() | |
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 () |
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) |
![]() | |
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_ |
The Header class provides an area for Trace labels to be shown, trace-related settings to be edited, trace groups to be shown and similar. Essentially, it is the main management area of the View itself and shown on the left-hand side of the trace area.
Definition at line 46 of file header.hpp.
pv::views::trace::Header::Header | ( | View & | parent | ) |
Definition at line 59 of file header.cpp.
|
privatevirtual |
Reimplemented from pv::views::trace::MarginWidget.
Definition at line 122 of file header.cpp.
|
virtual |
The extended area that the header widget would like to be sized to.
Implements pv::views::trace::MarginWidget.
Definition at line 75 of file header.cpp.
|
privatevirtual |
Gets the first view item which has a label that contains pt
.
pt | the point to search with. |
shared_ptr
if no item was found. Implements pv::views::trace::ViewWidget.
Definition at line 87 of file header.cpp.
|
privatevirtual |
Gets the row items.
Implements pv::views::trace::ViewWidget.
Definition at line 80 of file header.cpp.
|
privatevirtual |
Reimplemented from pv::views::trace::MarginWidget.
Definition at line 148 of file header.cpp.
|
privateslot |
Definition at line 160 of file header.cpp.
|
privateslot |
Definition at line 197 of file header.cpp.
|
private |
QSize pv::views::trace::Header::sizeHint | ( | ) | const |
Definition at line 64 of file header.cpp.
|
staticprivate |
Definition at line 51 of file header.hpp.