PulseView  unreleased development snapshot
A Qt-based sigrok GUI
pv::popups::Channels Class Reference

#include <channels.hpp>

Inheritance diagram for pv::popups::Channels:
Collaboration diagram for pv::popups::Channels:

Public Member Functions

 Channels (Session &session, QWidget *parent)
 
- Public Member Functions inherited from pv::widgets::Popup
 Popup (QWidget *parent)
 
const QPoint & point () const
 
Position position () const
 
void set_position (const QPoint point, Position pos)
 
bool eventFilter (QObject *obj, QEvent *event)
 
virtual void show ()
 

Private Slots

void on_channel_checked (QObject *widget)
 
void enable_all_channels ()
 
void disable_all_channels ()
 
void enable_all_logic_channels ()
 
void disable_all_logic_channels ()
 
void enable_all_analog_channels ()
 
void disable_all_analog_channels ()
 
void enable_all_named_channels ()
 
void disable_all_unnamed_channels ()
 
void enable_all_changing_channels ()
 
void disable_all_non_changing_channels ()
 

Private Member Functions

void set_all_channels (bool set)
 
void enable_channels_conditionally (function< bool(const shared_ptr< data::SignalBase >)> cond_func)
 
void disable_channels_conditionally (function< bool(const shared_ptr< data::SignalBase >)> cond_func)
 
void populate_group (shared_ptr< sigrok::ChannelGroup > group, const vector< shared_ptr< pv::data::SignalBase > > sigs)
 
void showEvent (QShowEvent *event)
 

Private Attributes

pv::Sessionsession_
 
QFormLayout layout_
 
bool updating_channels_
 
vector< shared_ptr< pv::binding::Device > > group_bindings_
 
map< QCheckBox *, shared_ptr< pv::data::SignalBase > > check_box_signal_map_
 
map< shared_ptr< sigrok::ChannelGroup >, QLabel * > group_label_map_
 
QGridLayout filter_buttons_bar_
 
QPushButton enable_all_channels_
 
QPushButton disable_all_channels_
 
QPushButton enable_all_logic_channels_
 
QPushButton disable_all_logic_channels_
 
QPushButton enable_all_analog_channels_
 
QPushButton disable_all_analog_channels_
 
QPushButton enable_all_named_channels_
 
QPushButton disable_all_unnamed_channels_
 
QPushButton enable_all_changing_channels_
 
QPushButton disable_all_non_changing_channels_
 
QSignalMapper check_box_mapper_
 

Additional Inherited Members

- Public Types inherited from pv::widgets::Popup
enum  Position { Right, Top, Left, Bottom }
 
- Signals inherited from pv::widgets::Popup
void closed ()
 
- Protected Member Functions inherited from pv::widgets::Popup
void showEvent (QShowEvent *)
 

Detailed Description

Definition at line 64 of file channels.hpp.

Constructor & Destructor Documentation

pv::popups::Channels::Channels ( Session session,
QWidget *  parent 
)

Definition at line 58 of file channels.cpp.

Here is the call graph for this function:

Member Function Documentation

void pv::popups::Channels::disable_all_analog_channels ( )
privateslot

Definition at line 413 of file channels.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::popups::Channels::disable_all_channels ( )
privateslot

Definition at line 390 of file channels.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::popups::Channels::disable_all_logic_channels ( )
privateslot

Definition at line 401 of file channels.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::popups::Channels::disable_all_non_changing_channels ( )
privateslot

Definition at line 464 of file channels.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::popups::Channels::disable_all_unnamed_channels ( )
privateslot

Definition at line 425 of file channels.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::popups::Channels::disable_channels_conditionally ( function< bool(const shared_ptr< data::SignalBase >)>  cond_func)
private

Definition at line 205 of file channels.cpp.

Here is the caller graph for this function:

void pv::popups::Channels::enable_all_analog_channels ( )
privateslot

Definition at line 407 of file channels.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::popups::Channels::enable_all_changing_channels ( )
privateslot

Definition at line 431 of file channels.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::popups::Channels::enable_all_channels ( )
privateslot

Definition at line 385 of file channels.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::popups::Channels::enable_all_logic_channels ( )
privateslot

Definition at line 395 of file channels.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::popups::Channels::enable_all_named_channels ( )
privateslot

Definition at line 419 of file channels.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::popups::Channels::enable_channels_conditionally ( function< bool(const shared_ptr< data::SignalBase >)>  cond_func)
private

Definition at line 186 of file channels.cpp.

Here is the caller graph for this function:

void pv::popups::Channels::on_channel_checked ( QObject widget)
privateslot

Definition at line 363 of file channels.cpp.

Here is the caller graph for this function:

void pv::popups::Channels::populate_group ( shared_ptr< sigrok::ChannelGroup >  group,
const vector< shared_ptr< pv::data::SignalBase > >  sigs 
)
private

Definition at line 224 of file channels.cpp.

Here is the caller graph for this function:

void pv::popups::Channels::set_all_channels ( bool  set)
private

Definition at line 170 of file channels.cpp.

Here is the caller graph for this function:

void pv::popups::Channels::showEvent ( QShowEvent *  event)
private

Definition at line 330 of file channels.cpp.

Here is the call graph for this function:

Member Data Documentation

QSignalMapper pv::popups::Channels::check_box_mapper_
private

Definition at line 120 of file channels.hpp.

map< QCheckBox*, shared_ptr<pv::data::SignalBase> > pv::popups::Channels::check_box_signal_map_
private

Definition at line 110 of file channels.hpp.

QPushButton pv::popups::Channels::disable_all_analog_channels_
private

Definition at line 116 of file channels.hpp.

QPushButton pv::popups::Channels::disable_all_channels_
private

Definition at line 114 of file channels.hpp.

QPushButton pv::popups::Channels::disable_all_logic_channels_
private

Definition at line 115 of file channels.hpp.

QPushButton pv::popups::Channels::disable_all_non_changing_channels_
private

Definition at line 118 of file channels.hpp.

QPushButton pv::popups::Channels::disable_all_unnamed_channels_
private

Definition at line 117 of file channels.hpp.

QPushButton pv::popups::Channels::enable_all_analog_channels_
private

Definition at line 116 of file channels.hpp.

QPushButton pv::popups::Channels::enable_all_changing_channels_
private

Definition at line 118 of file channels.hpp.

QPushButton pv::popups::Channels::enable_all_channels_
private

Definition at line 114 of file channels.hpp.

QPushButton pv::popups::Channels::enable_all_logic_channels_
private

Definition at line 115 of file channels.hpp.

QPushButton pv::popups::Channels::enable_all_named_channels_
private

Definition at line 117 of file channels.hpp.

QGridLayout pv::popups::Channels::filter_buttons_bar_
private

Definition at line 113 of file channels.hpp.

vector< shared_ptr<pv::binding::Device> > pv::popups::Channels::group_bindings_
private

Definition at line 109 of file channels.hpp.

map< shared_ptr<sigrok::ChannelGroup>, QLabel*> pv::popups::Channels::group_label_map_
private

Definition at line 111 of file channels.hpp.

QFormLayout pv::popups::Channels::layout_
private

Definition at line 105 of file channels.hpp.

pv::Session& pv::popups::Channels::session_
private

Definition at line 103 of file channels.hpp.

bool pv::popups::Channels::updating_channels_
private

Definition at line 107 of file channels.hpp.


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