PulseView  unreleased development snapshot
A Qt-based sigrok GUI
pv::views::trace::StandardBar Class Reference

#include <standardbar.hpp>

Inheritance diagram for pv::views::trace::StandardBar:
Collaboration diagram for pv::views::trace::StandardBar:

Signals

void segment_selected (int segment_id)
 

Public Member Functions

 StandardBar (Session &session, QWidget *parent, trace::View *view, bool add_default_widgets=true)
 
Sessionsession () const
 
QAction * action_view_zoom_in () const
 
QAction * action_view_zoom_out () const
 
QAction * action_view_zoom_fit () const
 
QAction * action_view_show_cursors () const
 

Protected Slots

void on_actionViewZoomIn_triggered ()
 
void on_actionViewZoomOut_triggered ()
 
void on_actionViewZoomFit_triggered (bool checked)
 
void on_actionViewShowCursors_triggered ()
 
void on_cursor_state_changed (bool show)
 
void on_actionSDMLast_triggered ()
 
void on_actionSDMLastComplete_triggered ()
 
void on_actionSDMSingle_triggered ()
 
void on_always_zoom_to_fit_changed (bool state)
 
void on_new_segment (int new_segment_id)
 
void on_segment_changed (int segment_id)
 
void on_segment_selected (int ui_segment_id)
 
void on_segment_display_mode_changed (int mode, bool segment_selectable)
 

Protected Member Functions

virtual void add_toolbar_widgets ()
 
virtual void show_multi_segment_ui (const bool state)
 

Protected Attributes

Sessionsession_
 
trace::Viewview_
 
QAction *const action_view_zoom_in_
 
QAction *const action_view_zoom_out_
 
QAction *const action_view_zoom_fit_
 
QAction *const action_view_show_cursors_
 
QToolButtonsegment_display_mode_selector_
 
QAction *const action_sdm_last_
 
QAction *const action_sdm_last_complete_
 
QAction *const action_sdm_single_
 
QSpinBox * segment_selector_
 

Private Attributes

vector< QAction * > multi_segment_actions_
 

Detailed Description

Definition at line 49 of file standardbar.hpp.

Constructor & Destructor Documentation

pv::views::trace::StandardBar::StandardBar ( Session session,
QWidget *  parent,
trace::View view,
bool  add_default_widgets = true 
)

Definition at line 36 of file standardbar.cpp.

Here is the call graph for this function:

Member Function Documentation

QAction * pv::views::trace::StandardBar::action_view_show_cursors ( ) const

Definition at line 181 of file standardbar.cpp.

Here is the caller graph for this function:

QAction * pv::views::trace::StandardBar::action_view_zoom_fit ( ) const

Definition at line 176 of file standardbar.cpp.

QAction * pv::views::trace::StandardBar::action_view_zoom_in ( ) const

Definition at line 166 of file standardbar.cpp.

QAction * pv::views::trace::StandardBar::action_view_zoom_out ( ) const

Definition at line 171 of file standardbar.cpp.

void pv::views::trace::StandardBar::add_toolbar_widgets ( )
protectedvirtual

Reimplemented in pv::toolbars::MainBar.

Definition at line 140 of file standardbar.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::StandardBar::on_actionSDMLast_triggered ( )
protectedslot

Definition at line 211 of file standardbar.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::StandardBar::on_actionSDMLastComplete_triggered ( )
protectedslot

Definition at line 216 of file standardbar.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::StandardBar::on_actionSDMSingle_triggered ( )
protectedslot

Definition at line 221 of file standardbar.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::StandardBar::on_actionViewShowCursors_triggered ( )
protectedslot

Definition at line 201 of file standardbar.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::StandardBar::on_actionViewZoomFit_triggered ( bool  checked)
protectedslot

Definition at line 196 of file standardbar.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::StandardBar::on_actionViewZoomIn_triggered ( )
protectedslot

Definition at line 186 of file standardbar.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::StandardBar::on_actionViewZoomOut_triggered ( )
protectedslot

Definition at line 191 of file standardbar.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::StandardBar::on_always_zoom_to_fit_changed ( bool  state)
protectedslot

Definition at line 226 of file standardbar.cpp.

Here is the caller graph for this function:

void pv::views::trace::StandardBar::on_cursor_state_changed ( bool  show)
protectedslot

Definition at line 296 of file standardbar.cpp.

Here is the caller graph for this function:

void pv::views::trace::StandardBar::on_new_segment ( int  new_segment_id)
protectedslot

Definition at line 231 of file standardbar.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::StandardBar::on_segment_changed ( int  segment_id)
protectedslot

Definition at line 240 of file standardbar.cpp.

Here is the caller graph for this function:

void pv::views::trace::StandardBar::on_segment_display_mode_changed ( int  mode,
bool  segment_selectable 
)
protectedslot

Definition at line 277 of file standardbar.cpp.

Here is the caller graph for this function:

void pv::views::trace::StandardBar::on_segment_selected ( int  ui_segment_id)
protectedslot

Definition at line 258 of file standardbar.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::StandardBar::segment_selected ( int  segment_id)
signal

Definition at line 199 of file moc_standardbar.cpp.

Here is the caller graph for this function:

Session & pv::views::trace::StandardBar::session ( ) const

Definition at line 135 of file standardbar.cpp.

void pv::views::trace::StandardBar::show_multi_segment_ui ( const bool  state)
protectedvirtual

Definition at line 157 of file standardbar.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

QAction* const pv::views::trace::StandardBar::action_sdm_last_
protected

Definition at line 78 of file standardbar.hpp.

QAction* const pv::views::trace::StandardBar::action_sdm_last_complete_
protected

Definition at line 79 of file standardbar.hpp.

QAction* const pv::views::trace::StandardBar::action_sdm_single_
protected

Definition at line 80 of file standardbar.hpp.

QAction* const pv::views::trace::StandardBar::action_view_show_cursors_
protected

Definition at line 75 of file standardbar.hpp.

QAction* const pv::views::trace::StandardBar::action_view_zoom_fit_
protected

Definition at line 74 of file standardbar.hpp.

QAction* const pv::views::trace::StandardBar::action_view_zoom_in_
protected

Definition at line 72 of file standardbar.hpp.

QAction* const pv::views::trace::StandardBar::action_view_zoom_out_
protected

Definition at line 73 of file standardbar.hpp.

vector<QAction*> pv::views::trace::StandardBar::multi_segment_actions_
private

Definition at line 109 of file standardbar.hpp.

QToolButton* pv::views::trace::StandardBar::segment_display_mode_selector_
protected

Definition at line 77 of file standardbar.hpp.

QSpinBox* pv::views::trace::StandardBar::segment_selector_
protected

Definition at line 82 of file standardbar.hpp.

Session& pv::views::trace::StandardBar::session_
protected

Definition at line 69 of file standardbar.hpp.

trace::View* pv::views::trace::StandardBar::view_
protected

Definition at line 70 of file standardbar.hpp.


The documentation for this class was generated from the following files: