From: Uwe Hermann Date: Sat, 25 Jul 2015 17:43:42 +0000 (+0200) Subject: about: Show the list of supported output formats. X-Git-Tag: pulseview-0.3.0~161 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=238419770d6bc2d5e4db3dd6e15fec32eb2a3dc6;p=pulseview.git about: Show the list of supported output formats. PulseView now officially supports output formats, so list them too. --- 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:") +