projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added probes to decoder dialog
[pulseview.git]
/
pv
/
dialogs
/
decoder.h
diff --git
a/pv/dialogs/decoder.h
b/pv/dialogs/decoder.h
index eed33ac0f2dbdd9a67d73c36fa1519e16675776f..150d02c5cf8d4305fbd15e217cbb9cd17cbe480c 100644
(file)
--- a/
pv/dialogs/decoder.h
+++ b/
pv/dialogs/decoder.h
@@
-21,6
+21,11
@@
#ifndef PULSEVIEW_PV_DECODER_H
#define PULSEVIEW_PV_DECODER_H
#ifndef PULSEVIEW_PV_DECODER_H
#define PULSEVIEW_PV_DECODER_H
+#include <vector>
+#include <map>
+
+#include <boost/shared_ptr.hpp>
+
#include <QComboBox>
#include <QDialog>
#include <QDialogButtonBox>
#include <QComboBox>
#include <QDialog>
#include <QDialogButtonBox>
@@
-31,15
+36,28
@@
struct srd_decoder;
namespace pv {
struct srd_decoder;
namespace pv {
+
+namespace view {
+class Signal;
+}
+
namespace dialogs {
class Decoder : public QDialog
{
public:
namespace dialogs {
class Decoder : public QDialog
{
public:
- Decoder(QWidget *parent, const srd_decoder *decoder);
+ Decoder(QWidget *parent, const srd_decoder *decoder,
+ const std::vector< boost::shared_ptr<view::Signal> > &sigs);
+
+private:
+ QComboBox* create_probe_selector(
+ QWidget *parent, const char *name);
private:
const srd_decoder *const _decoder;
private:
const srd_decoder *const _decoder;
+ const std::vector< boost::shared_ptr<view::Signal> > &_sigs;
+
+ std::map<const srd_probe*, QComboBox*> _probe_selector_map;
QVBoxLayout _layout;
QVBoxLayout _layout;