PulseView  unreleased development snapshot
A Qt-based sigrok GUI
pv::dialogs::InputOutputOptions Class Reference

#include <inputoutputoptions.hpp>

Inheritance diagram for pv::dialogs::InputOutputOptions:
Collaboration diagram for pv::dialogs::InputOutputOptions:

Public Member Functions

 InputOutputOptions (const QString &title, const map< string, shared_ptr< sigrok::Option >> &options, QWidget *parent)
 
const map< string, Glib::VariantBase > & options () const
 

Protected Member Functions

void accept ()
 

Private Attributes

QVBoxLayout layout_
 
QDialogButtonBox button_box_
 
pv::binding::InputOutput binding_
 

Detailed Description

Presents the selection of inpout/output options to the user.

Definition at line 40 of file inputoutputoptions.hpp.

Constructor & Destructor Documentation

pv::dialogs::InputOutputOptions::InputOutputOptions ( const QString &  title,
const map< string, shared_ptr< sigrok::Option >> &  options,
QWidget *  parent 
)

Constructor.

Parameters
titlethe title of the dialog.
optionsthe map of options to use as a template.
parentthe parent widget of the dialog.

Definition at line 35 of file inputoutputoptions.cpp.

Here is the call graph for this function:

Member Function Documentation

void pv::dialogs::InputOutputOptions::accept ( )
protected

Definition at line 59 of file inputoutputoptions.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const map< string, VariantBase > & pv::dialogs::InputOutputOptions::options ( ) const

Gets the map of selected options.

Returns
the options.

Definition at line 54 of file inputoutputoptions.cpp.

Here is the call graph for this function:

Member Data Documentation

pv::binding::InputOutput pv::dialogs::InputOutputOptions::binding_
private

Definition at line 67 of file inputoutputoptions.hpp.

QDialogButtonBox pv::dialogs::InputOutputOptions::button_box_
private

Definition at line 66 of file inputoutputoptions.hpp.

QVBoxLayout pv::dialogs::InputOutputOptions::layout_
private

Definition at line 65 of file inputoutputoptions.hpp.


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