From: Soeren Apel Date: Tue, 7 Apr 2020 19:12:58 +0000 (+0200) Subject: Add tabular decoder view X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=24d69d27584c7adec70bc0d6db764a3db04fce3c;p=pulseview.git Add tabular decoder view --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e157e7db..f429553e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -399,6 +399,9 @@ if(ENABLE_DECODE) pv/subwindows/decoder_selector/subwindow.cpp pv/views/decoder_binary/view.cpp pv/views/decoder_binary/QHexView.cpp + pv/views/tabular_decoder/item.cpp + pv/views/tabular_decoder/model.cpp + pv/views/tabular_decoder/view.cpp pv/views/trace/decodetrace.cpp pv/widgets/decodergroupbox.cpp pv/widgets/decodermenu.cpp @@ -409,6 +412,7 @@ if(ENABLE_DECODE) pv/subwindows/decoder_selector/subwindow.hpp pv/views/decoder_binary/view.hpp pv/views/decoder_binary/QHexView.hpp + pv/views/tabular_decoder/view.hpp pv/views/trace/decodetrace.hpp pv/widgets/decodergroupbox.hpp pv/widgets/decodermenu.hpp diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index ea9f01af..6758d77d 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -53,6 +53,7 @@ #ifdef ENABLE_DECODE #include "subwindows/decoder_selector/subwindow.hpp" #include "views/decoder_binary/view.hpp" +#include "views/tabular_decoder/view.hpp" #endif #include @@ -164,6 +165,8 @@ shared_ptr MainWindow::add_view(views::ViewType type, #ifdef ENABLE_DECODE if (type == views::ViewTypeDecoderBinary) v = make_shared(session, false, dock_main); + if (type == views::ViewTypeTabularDecoder) + v = make_shared(session, false, dock_main); #endif if (!v) diff --git a/pv/views/decoder_binary/view.cpp b/pv/views/decoder_binary/view.cpp index 5f55b191..797321fc 100644 --- a/pv/views/decoder_binary/view.cpp +++ b/pv/views/decoder_binary/view.cpp @@ -206,14 +206,14 @@ void View::remove_decode_signal(shared_ptr signal) void View::save_settings(QSettings &settings) const { - (void)settings; + ViewBase::save_settings(settings); } void View::restore_settings(QSettings &settings) { // Note: It is assumed that this function is only called once, // immediately after restoring a previous session. - (void)settings; + ViewBase::restore_settings(settings); } void View::reset_data() diff --git a/pv/views/tabular_decoder/item.cpp b/pv/views/tabular_decoder/item.cpp new file mode 100644 index 00000000..a4b79f33 --- /dev/null +++ b/pv/views/tabular_decoder/item.cpp @@ -0,0 +1,95 @@ +/* + * This file is part of the PulseView project. + * + * Copyright (C) 2020 Soeren Apel + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see . + */ + +#include "pv/views/tabular_decoder/view.hpp" + +using std::out_of_range; + +namespace pv { +namespace views { +namespace tabular_decoder { + +AnnotationCollectionItem::AnnotationCollectionItem(const vector& data, + shared_ptr parent) : + data_(data), + parent_(parent) +{ +} + +void AnnotationCollectionItem::appendSubItem(shared_ptr item) +{ + subItems_.push_back(item); +} + +shared_ptr AnnotationCollectionItem::subItem(int row) const +{ + try { + return subItems_.at(row); + } catch (out_of_range&) { + return nullptr; + } +} + +shared_ptr AnnotationCollectionItem::parent() const +{ + return parent_; +} + +shared_ptr AnnotationCollectionItem::findSubItem( + const QVariant& value, int column) +{ + for (shared_ptr item : subItems_) + if (item->data(column) == value) + return item; + + return nullptr; +} + +int AnnotationCollectionItem::subItemCount() const +{ + return subItems_.size(); +} + +int AnnotationCollectionItem::columnCount() const +{ + return data_.size(); +} + +int AnnotationCollectionItem::row() const +{ + if (parent_) + for (size_t i = 0; i < parent_->subItems_.size(); i++) + if (parent_->subItems_.at(i).get() == const_cast(this)) + return i; + + return 0; +} + +QVariant AnnotationCollectionItem::data(int column) const +{ + try { + return data_.at(column); + } catch (out_of_range&) { + return QVariant(); + } +} + +} // namespace tabular_decoder +} // namespace views +} // namespace pv diff --git a/pv/views/tabular_decoder/model.cpp b/pv/views/tabular_decoder/model.cpp new file mode 100644 index 00000000..35cdc958 --- /dev/null +++ b/pv/views/tabular_decoder/model.cpp @@ -0,0 +1,138 @@ +/* + * This file is part of the PulseView project. + * + * Copyright (C) 2020 Soeren Apel + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see . + */ + +#include + +#include "pv/views/tabular_decoder/view.hpp" + +using std::make_shared; + +namespace pv { +namespace views { +namespace tabular_decoder { + +AnnotationCollectionModel::AnnotationCollectionModel(QObject* parent) : + QAbstractItemModel(parent) +{ + vector header_data; + header_data.emplace_back(tr("ID")); // Column #0 + header_data.emplace_back(tr("Start Time")); // Column #1 + header_data.emplace_back(tr("End Time")); // Column #2 + header_data.emplace_back(tr("Ann Row Name")); // Column #3 + header_data.emplace_back(tr("Class Row Name")); // Column #4 + header_data.emplace_back(tr("Value")); // Column #5 + root_ = make_shared(header_data); +} + +QVariant AnnotationCollectionModel::data(const QModelIndex& index, int role) const +{ + if (!index.isValid()) + return QVariant(); + + if (role == Qt::DisplayRole) + { + AnnotationCollectionItem* item = + static_cast(index.internalPointer()); + + return item->data(index.column()); + } + + if ((role == Qt::FontRole) && (index.parent().isValid()) && (index.column() == 0)) + { + QFont font; + font.setItalic(true); + return QVariant(font); + } + + return QVariant(); +} + +Qt::ItemFlags AnnotationCollectionModel::flags(const QModelIndex& index) const +{ + if (!index.isValid()) + return nullptr; + + return Qt::ItemIsEnabled | Qt::ItemIsSelectable; +} + +QVariant AnnotationCollectionModel::headerData(int section, Qt::Orientation orientation, + int role) const +{ + if (orientation == Qt::Horizontal && role == Qt::DisplayRole) + return root_->data(section); + + return QVariant(); +} + +QModelIndex AnnotationCollectionModel::index(int row, int column, + const QModelIndex& parent_idx) const +{ + if (!hasIndex(row, column, parent_idx)) + return QModelIndex(); + + AnnotationCollectionItem* parent = root_.get(); + + if (parent_idx.isValid()) + parent = static_cast(parent_idx.internalPointer()); + + AnnotationCollectionItem* subItem = parent->subItem(row).get(); + + return subItem ? createIndex(row, column, subItem) : QModelIndex(); +} + +QModelIndex AnnotationCollectionModel::parent(const QModelIndex& index) const +{ + if (!index.isValid()) + return QModelIndex(); + + AnnotationCollectionItem* subItem = + static_cast(index.internalPointer()); + + shared_ptr parent = subItem->parent(); + + return (parent == root_) ? QModelIndex() : + createIndex(parent->row(), 0, parent.get()); +} + +int AnnotationCollectionModel::rowCount(const QModelIndex& parent_idx) const +{ + AnnotationCollectionItem* parent = root_.get(); + + if (parent_idx.column() > 0) + return 0; + + if (parent_idx.isValid()) + parent = static_cast(parent_idx.internalPointer()); + + return parent->subItemCount(); +} + +int AnnotationCollectionModel::columnCount(const QModelIndex& parent_idx) const +{ + if (parent_idx.isValid()) + return static_cast( + parent_idx.internalPointer())->columnCount(); + else + return root_->columnCount(); +} + + +} // namespace tabular_decoder +} // namespace views +} // namespace pv diff --git a/pv/views/tabular_decoder/view.cpp b/pv/views/tabular_decoder/view.cpp new file mode 100644 index 00000000..8c5859e3 --- /dev/null +++ b/pv/views/tabular_decoder/view.cpp @@ -0,0 +1,342 @@ +/* + * This file is part of the PulseView project. + * + * Copyright (C) 2020 Soeren Apel + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see . + */ + +#include + +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "view.hpp" + +#include "pv/globalsettings.hpp" +#include "pv/util.hpp" +#include "pv/data/decode/decoder.hpp" + +using pv::data::DecodeSignal; +using pv::data::SignalBase; +using pv::data::decode::Decoder; +using pv::util::Timestamp; + +using std::shared_ptr; + +namespace pv { +namespace views { +namespace tabular_decoder { + + +View::View(Session &session, bool is_main_view, QMainWindow *parent) : + ViewBase(session, is_main_view, parent), + + // Note: Place defaults in View::reset_view_state(), not here + parent_(parent), + decoder_selector_(new QComboBox()), + save_button_(new QToolButton()), + save_action_(new QAction(this)), + table_view_(new QTableView()), + model_(new AnnotationCollectionModel()), + signal_(nullptr) +{ + QVBoxLayout *root_layout = new QVBoxLayout(this); + root_layout->setContentsMargins(0, 0, 0, 0); + root_layout->addWidget(table_view_); + + // Create toolbar + QToolBar* toolbar = new QToolBar(); + toolbar->setContextMenuPolicy(Qt::PreventContextMenu); + parent->addToolBar(toolbar); + + // Populate toolbar + toolbar->addWidget(new QLabel(tr("Decoder:"))); + toolbar->addWidget(decoder_selector_); + toolbar->addSeparator(); + toolbar->addWidget(save_button_); + + connect(decoder_selector_, SIGNAL(currentIndexChanged(int)), + this, SLOT(on_selected_decoder_changed(int))); + + // Configure widgets + decoder_selector_->setSizeAdjustPolicy(QComboBox::AdjustToContents); + + // Configure actions + save_action_->setText(tr("&Save...")); + save_action_->setIcon(QIcon::fromTheme("document-save-as", + QIcon(":/icons/document-save-as.png"))); + save_action_->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_S)); + connect(save_action_, SIGNAL(triggered(bool)), + this, SLOT(on_actionSave_triggered())); + + QMenu *save_menu = new QMenu(); + connect(save_menu, SIGNAL(triggered(QAction*)), + this, SLOT(on_actionSave_triggered(QAction*))); + + save_button_->setMenu(save_menu); + save_button_->setDefaultAction(save_action_); + save_button_->setPopupMode(QToolButton::MenuButtonPopup); + + // Set up the table view + table_view_->setModel(model_); + table_view_->setSortingEnabled(true); + table_view_->sortByColumn(0, Qt::AscendingOrder); + + reset_view_state(); +} + +ViewType View::get_type() const +{ + return ViewTypeTabularDecoder; +} + +void View::reset_view_state() +{ + ViewBase::reset_view_state(); + + decoder_selector_->clear(); +} + +void View::clear_decode_signals() +{ + ViewBase::clear_decode_signals(); + + reset_data(); + reset_view_state(); +} + +void View::add_decode_signal(shared_ptr signal) +{ + ViewBase::add_decode_signal(signal); + + connect(signal.get(), SIGNAL(name_changed(const QString&)), + this, SLOT(on_signal_name_changed(const QString&))); + connect(signal.get(), SIGNAL(decoder_stacked(void*)), + this, SLOT(on_decoder_stacked(void*))); + connect(signal.get(), SIGNAL(decoder_removed(void*)), + this, SLOT(on_decoder_removed(void*))); + + // Add all decoders provided by this signal + auto stack = signal->decoder_stack(); + if (stack.size() > 1) { + for (const shared_ptr& dec : stack) { + QString title = QString("%1 (%2)").arg(signal->name(), dec->name()); + decoder_selector_->addItem(title, QVariant::fromValue((void*)dec.get())); + } + } else + if (!stack.empty()) { + shared_ptr& dec = stack.at(0); + decoder_selector_->addItem(signal->name(), QVariant::fromValue((void*)dec.get())); + } +} + +void View::remove_decode_signal(shared_ptr signal) +{ + // Remove all decoders provided by this signal + for (const shared_ptr& dec : signal->decoder_stack()) { + int index = decoder_selector_->findData(QVariant::fromValue((void*)dec.get())); + + if (index != -1) + decoder_selector_->removeItem(index); + } + + ViewBase::remove_decode_signal(signal); + + if (signal.get() == signal_) { + reset_data(); + update_data(); + reset_view_state(); + } +} + +void View::save_settings(QSettings &settings) const +{ + ViewBase::save_settings(settings); +} + +void View::restore_settings(QSettings &settings) +{ + // Note: It is assumed that this function is only called once, + // immediately after restoring a previous session. + ViewBase::restore_settings(settings); +} + +void View::reset_data() +{ + signal_ = nullptr; + decoder_ = nullptr; +} + +void View::update_data() +{ + if (!signal_) + return; + + // TBD +} + +void View::save_data() const +{ + assert(decoder_); + assert(signal_); + + if (!signal_) + return; + +/* GlobalSettings settings; + const QString dir = settings.value("MainWindow/SaveDirectory").toString(); + + const QString file_name = QFileDialog::getSaveFileName( + parent_, tr("Save Binary Data"), dir, tr("Binary Data Files (*.bin);;All Files (*)")); + + if (file_name.isEmpty()) + return; + + QFile file(file_name); + if (file.open(QIODevice::WriteOnly | QIODevice::Truncate)) { + pair selection = hex_view_->get_selection(); + + vector data; + data.resize(selection.second - selection.first + 1); + + signal_->get_merged_binary_data_chunks_by_offset(current_segment_, decoder_, + bin_class_id_, selection.first, selection.second, &data); + + int64_t bytes_written = file.write((const char*)data.data(), data.size()); + + if ((bytes_written == -1) || ((uint64_t)bytes_written != data.size())) { + QMessageBox msg(parent_); + msg.setText(tr("Error") + "\n\n" + tr("File %1 could not be written to.").arg(file_name)); + msg.setStandardButtons(QMessageBox::Ok); + msg.setIcon(QMessageBox::Warning); + msg.exec(); + return; + } + } */ +} + +void View::on_selected_decoder_changed(int index) +{ + if (signal_) + disconnect(signal_, SIGNAL(new_annotations())); + + reset_data(); + + decoder_ = (Decoder*)decoder_selector_->itemData(index).value(); + + // Find the signal that contains the selected decoder + for (const shared_ptr& ds : decode_signals_) + for (const shared_ptr& dec : ds->decoder_stack()) + if (decoder_ == dec.get()) + signal_ = ds.get(); + + if (signal_) { + connect(signal_, SIGNAL(new_annotations()), this, SLOT(on_new_annotations())); + } + + update_data(); +} + +void View::on_signal_name_changed(const QString &name) +{ + (void)name; + + SignalBase* sb = qobject_cast(QObject::sender()); + assert(sb); + + DecodeSignal* signal = dynamic_cast(sb); + assert(signal); + + // Update all decoder entries provided by this signal + auto stack = signal->decoder_stack(); + if (stack.size() > 1) { + for (const shared_ptr& dec : stack) { + QString title = QString("%1 (%2)").arg(signal->name(), dec->name()); + int index = decoder_selector_->findData(QVariant::fromValue((void*)dec.get())); + + if (index != -1) + decoder_selector_->setItemText(index, title); + } + } else + if (!stack.empty()) { + shared_ptr& dec = stack.at(0); + int index = decoder_selector_->findData(QVariant::fromValue((void*)dec.get())); + + if (index != -1) + decoder_selector_->setItemText(index, signal->name()); + } +} + +void View::on_new_annotations() +{ + if (!delayed_view_updater_.isActive()) + delayed_view_updater_.start(); +} + +void View::on_decoder_stacked(void* decoder) +{ + // TODO This doesn't change existing entries for the same signal - but it should as the naming scheme may change + + Decoder* d = static_cast(decoder); + + // Find the signal that contains the selected decoder + DecodeSignal* signal = nullptr; + + for (const shared_ptr& ds : decode_signals_) + for (const shared_ptr& dec : ds->decoder_stack()) + if (d == dec.get()) + signal = ds.get(); + + assert(signal); + + // Add the decoder to the list + QString title = QString("%1 (%2)").arg(signal->name(), d->name()); + decoder_selector_->addItem(title, QVariant::fromValue((void*)d)); +} + +void View::on_decoder_removed(void* decoder) +{ + Decoder* d = static_cast(decoder); + + // Remove the decoder from the list + int index = decoder_selector_->findData(QVariant::fromValue((void*)d)); + + if (index != -1) + decoder_selector_->removeItem(index); +} + +void View::on_actionSave_triggered(QAction* action) +{ + (void)action; + + save_data(); +} + +void View::perform_delayed_view_update() +{ + update_data(); +} + + +} // namespace tabular_decoder +} // namespace views +} // namespace pv diff --git a/pv/views/tabular_decoder/view.hpp b/pv/views/tabular_decoder/view.hpp new file mode 100644 index 00000000..83a45491 --- /dev/null +++ b/pv/views/tabular_decoder/view.hpp @@ -0,0 +1,147 @@ +/* + * This file is part of the PulseView project. + * + * Copyright (C) 2020 Soeren Apel + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see . + */ + +#ifndef PULSEVIEW_PV_VIEWS_TABULARDECODER_VIEW_HPP +#define PULSEVIEW_PV_VIEWS_TABULARDECODER_VIEW_HPP + +#include +#include +#include +#include + +#include "pv/views/viewbase.hpp" +#include "pv/data/decodesignal.hpp" + +namespace pv { +class Session; + +namespace views { + +namespace tabular_decoder { + +class AnnotationCollectionItem +{ +public: + AnnotationCollectionItem(const vector& data, + shared_ptr parent = nullptr); + + void appendSubItem(shared_ptr item); + + shared_ptr subItem(int row) const; + shared_ptr parent() const; + shared_ptr findSubItem(const QVariant& value, int column); + + int subItemCount() const; + int columnCount() const; + int row() const; + QVariant data(int column) const; + +private: + vector< shared_ptr > subItems_; + vector data_; + shared_ptr parent_; +}; + + +class AnnotationCollectionModel : public QAbstractItemModel +{ + Q_OBJECT + +public: + AnnotationCollectionModel(QObject* parent = nullptr); + + QVariant data(const QModelIndex& index, int role) const override; + Qt::ItemFlags flags(const QModelIndex& index) const override; + + QVariant headerData(int section, Qt::Orientation orientation, + int role = Qt::DisplayRole) const override; + QModelIndex index(int row, int column, + const QModelIndex& parent_idx = QModelIndex()) const override; + + QModelIndex parent(const QModelIndex& index) const override; + + int rowCount(const QModelIndex& parent_idx = QModelIndex()) const override; + int columnCount(const QModelIndex& parent_idx = QModelIndex()) const override; + +private: + shared_ptr root_; +}; + + +class View : public ViewBase +{ + Q_OBJECT + +public: + explicit View(Session &session, bool is_main_view=false, QMainWindow *parent = nullptr); + + 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 reset_view_state(); + + virtual void clear_decode_signals(); + virtual void add_decode_signal(shared_ptr signal); + virtual void remove_decode_signal(shared_ptr signal); + + virtual void save_settings(QSettings &settings) const; + virtual void restore_settings(QSettings &settings); + +private: + void reset_data(); + void update_data(); + + void save_data() const; + +private Q_SLOTS: + void on_selected_decoder_changed(int index); + void on_signal_name_changed(const QString &name); + void on_new_annotations(); + + void on_decoder_stacked(void* decoder); + void on_decoder_removed(void* decoder); + + void on_actionSave_triggered(QAction* action = nullptr); + + virtual void perform_delayed_view_update(); + +private: + QWidget* parent_; + + QComboBox *decoder_selector_; + + QToolButton* save_button_; + QAction* save_action_; + + QTableView* table_view_; + + AnnotationCollectionModel* model_; + + data::DecodeSignal *signal_; + const data::decode::Decoder *decoder_; +}; + +} // namespace tabular_decoder +} // namespace views +} // namespace pv + +#endif // PULSEVIEW_PV_VIEWS_TABULARDECODER_VIEW_HPP diff --git a/pv/views/viewbase.cpp b/pv/views/viewbase.cpp index 24e4bb9a..9e5a2887 100644 --- a/pv/views/viewbase.cpp +++ b/pv/views/viewbase.cpp @@ -36,7 +36,8 @@ namespace views { const char* ViewTypeNames[ViewTypeCount] = { "Trace View", #ifdef ENABLE_DECODE - "Binary Decoder Output View" + "Binary Decoder Output View", + "Tabular Decoder Output View" #endif }; diff --git a/pv/views/viewbase.hpp b/pv/views/viewbase.hpp index 585dfa0c..e3a3c6a4 100644 --- a/pv/views/viewbase.hpp +++ b/pv/views/viewbase.hpp @@ -56,6 +56,7 @@ enum ViewType { ViewTypeTrace, #ifdef ENABLE_DECODE ViewTypeDecoderBinary, + ViewTypeTabularDecoder, #endif ViewTypeCount // Indicates how many view types there are, must always be last }; diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e3362ac8..d800368b 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -176,6 +176,9 @@ if(ENABLE_DECODE) ${PROJECT_SOURCE_DIR}/pv/subwindows/decoder_selector/subwindow.cpp ${PROJECT_SOURCE_DIR}/pv/views/decoder_binary/view.cpp ${PROJECT_SOURCE_DIR}/pv/views/decoder_binary/QHexView.cpp + ${PROJECT_SOURCE_DIR}/pv/views/tabular_decoder/item.cpp + ${PROJECT_SOURCE_DIR}/pv/views/tabular_decoder/model.cpp + ${PROJECT_SOURCE_DIR}/pv/views/tabular_decoder/view.cpp ${PROJECT_SOURCE_DIR}/pv/views/trace/decodetrace.cpp ${PROJECT_SOURCE_DIR}/pv/widgets/decodergroupbox.cpp ${PROJECT_SOURCE_DIR}/pv/widgets/decodermenu.cpp @@ -186,6 +189,7 @@ if(ENABLE_DECODE) ${PROJECT_SOURCE_DIR}/pv/subwindows/decoder_selector/subwindow.hpp ${PROJECT_SOURCE_DIR}/pv/views/decoder_binary/view.hpp ${PROJECT_SOURCE_DIR}/pv/views/decoder_binary/QHexView.hpp + ${PROJECT_SOURCE_DIR}/pv/views/tabular_decoder/view.hpp ${PROJECT_SOURCE_DIR}/pv/views/trace/decodetrace.hpp ${PROJECT_SOURCE_DIR}/pv/widgets/decodergroupbox.hpp ${PROJECT_SOURCE_DIR}/pv/widgets/decodermenu.hpp