#ifndef PULSEVIEW_PV_VIEWS_DECODEROUTPUT_VIEW_HPP
#define PULSEVIEW_PV_VIEWS_DECODEROUTPUT_VIEW_HPP
+#include <QComboBox>
+#include <QStackedWidget>
+
#include <pv/views/viewbase.hpp>
+#include "QHexView.hpp"
+
namespace pv {
class Session;
~View();
+ virtual ViewType get_type() const;
+
/**
* Resets the view to its default state after construction. It does however
* not reset the signal bases or any other connections with the session.
virtual void restore_settings(QSettings &settings);
private Q_SLOTS:
- void on_signal_name_changed();
+ void on_signal_name_changed(const QString &name);
+private:
+ QComboBox *signal_selector_, *format_selector_;
+ QStackedWidget *stacked_widget_;
+ QHexView *hex_view_;
};
} // namespace decoder_output