PulseView  0.3.0
A Qt-based sigrok GUI
pv::prop::Bool Class Reference

#include <bool.hpp>

Inheritance diagram for pv::prop::Bool:
Collaboration diagram for pv::prop::Bool:

Public Member Functions

 Bool (QString name, Getter getter, Setter setter)
 
virtual ~Bool ()
 
QWidget * get_widget (QWidget *parent, bool auto_commit)
 
bool labeled_widget () const
 
void commit ()
 
- Public Member Functions inherited from pv::prop::Property
const QString & name () const
 

Private Slots

void on_state_changed (int)
 

Private Attributes

QCheckBox * check_box_
 

Additional Inherited Members

- Public Types inherited from pv::prop::Property
typedef std::function< Glib::VariantBase()> Getter
 
typedef std::function< void(Glib::VariantBase)> Setter
 
- Protected Member Functions inherited from pv::prop::Property
 Property (QString name, Getter getter, Setter setter)
 
- Protected Attributes inherited from pv::prop::Property
const Getter getter_
 
const Setter setter_
 

Detailed Description

Definition at line 31 of file bool.hpp.

Constructor & Destructor Documentation

pv::prop::Bool::Bool ( QString  name,
Getter  getter,
Setter  setter 
)

Definition at line 30 of file bool.cpp.

pv::prop::Bool::~Bool ( )
virtual

Definition at line 36 of file bool.cpp.

Member Function Documentation

void pv::prop::Bool::commit ( )
virtual

Implements pv::prop::Property.

Definition at line 70 of file bool.cpp.

Here is the caller graph for this function:

QWidget * pv::prop::Bool::get_widget ( QWidget *  parent,
bool  auto_commit 
)
virtual

Implements pv::prop::Property.

Definition at line 40 of file bool.cpp.

Here is the call graph for this function:

bool pv::prop::Bool::labeled_widget ( ) const
virtual

Reimplemented from pv::prop::Property.

Definition at line 65 of file bool.cpp.

void pv::prop::Bool::on_state_changed ( int  )
privateslot

Definition at line 81 of file bool.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

QCheckBox* pv::prop::Bool::check_box_
private

Definition at line 49 of file bool.hpp.


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