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

#include <string.hpp>

Inheritance diagram for pv::prop::String:
Collaboration diagram for pv::prop::String:

Public Member Functions

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

Private Slots

void on_text_edited (const QString &)
 

Private Attributes

QLineEdit * line_edit_
 

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 string.hpp.

Constructor & Destructor Documentation

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

Definition at line 35 of file string.cpp.

Member Function Documentation

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

Implements pv::prop::Property.

Definition at line 68 of file string.cpp.

Here is the caller graph for this function:

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

Implements pv::prop::Property.

Definition at line 43 of file string.cpp.

Here is the call graph for this function:

void pv::prop::String::on_text_edited ( const QString &  )
privateslot

Definition at line 79 of file string.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

QLineEdit* pv::prop::String::line_edit_
private

Definition at line 46 of file string.hpp.


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