From 238419770d6bc2d5e4db3dd6e15fec32eb2a3dc6 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 25 Jul 2015 19:43:42 +0200 Subject: [PATCH] about: Show the list of supported output formats. PulseView now officially supports output formats, so list them too. --- pv/dialogs/about.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pv/dialogs/about.cpp b/pv/dialogs/about.cpp index 693472ee..28ba92f2 100644 --- a/pv/dialogs/about.cpp +++ b/pv/dialogs/about.cpp @@ -76,6 +76,15 @@ About::About(shared_ptr context, QWidget *parent) : .arg(QString::fromUtf8(entry.second->description().c_str()))); } + s.append("" + + tr("Supported output formats:") + + ""); + for (auto entry : context->output_formats()) { + s.append(QString("%1%2") + .arg(QString::fromUtf8(entry.first.c_str())) + .arg(QString::fromUtf8(entry.second->description().c_str()))); + } + #ifdef ENABLE_DECODE s.append("" + tr("Supported protocol decoders:") + -- 2.30.2