projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made Decoder dialog export a map of probes, and routed through to pv::data::Decoder
[pulseview.git]
/
pv
/
mainwindow.h
diff --git
a/pv/mainwindow.h
b/pv/mainwindow.h
index 001c28b037033d5394088b94455b046198799e2f..b4b64f779de1419ac4686defedd67566c942aa5c 100644
(file)
--- a/
pv/mainwindow.h
+++ b/
pv/mainwindow.h
@@
-26,6
+26,7
@@
#include <boost/weak_ptr.hpp>
#include <QMainWindow>
#include <boost/weak_ptr.hpp>
#include <QMainWindow>
+#include <QSignalMapper>
#include "sigsession.h"
#include "sigsession.h"
@@
-73,6
+74,9
@@
private:
void update_device_list(
struct sr_dev_inst *selected_device = NULL);
void update_device_list(
struct sr_dev_inst *selected_device = NULL);
+ static gint decoder_name_cmp(gconstpointer a, gconstpointer b);
+ void setup_add_decoders(QMenu *parent);
+
private slots:
void load_file(QString file_name);
private slots:
void load_file(QString file_name);
@@
-95,6
+99,8
@@
private slots:
void device_selected();
void device_selected();
+ void add_decoder(QObject *action);
+
void run_stop();
void capture_state_changed(int state);
void run_stop();
void capture_state_changed(int state);
@@
-119,6
+125,10
@@
private:
QAction *_action_view_zoom_out;
QAction *_action_view_show_cursors;
QAction *_action_view_zoom_out;
QAction *_action_view_show_cursors;
+ QMenu *_menu_decoders;
+ QMenu *_menu_decoders_add;
+ QSignalMapper _decoders_add_mapper;
+
QMenu *_menu_help;
QAction *_action_about;
QMenu *_menu_help;
QAction *_action_about;