From: Joel Holdsworth Date: Sun, 13 May 2012 18:25:25 +0000 (+0100) Subject: Tidied about box supported table layout X-Git-Tag: pulseview-0.1.0~356 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=be20a3b8f5964a3303af1726e66671fa967a5fe7;p=pulseview.git Tidied about box supported table layout --- diff --git a/about.cpp b/about.cpp index e494e2ff..f030054e 100644 --- a/about.cpp +++ b/about.cpp @@ -54,41 +54,49 @@ About::About(QWidget *parent) : .arg(tr("GNU GPL, version 2 or later")) .arg(QApplication::organizationDomain())); + s.append(""); + /* Set up the supported field */ - s.append("" + tr("Supported hardware drivers:") + "
"); + s.append(""); drivers = sr_driver_list(); for (int i = 0; drivers[i]; ++i) { s.append(QString("") .arg(QString(drivers[i]->name)) .arg(QString(drivers[i]->longname))); } - s.append("
" + + tr("Supported hardware drivers:") + + "
%1%2

"); - s.append("" + tr("Supported input formats:") + ""); + s.append(""); inputs = sr_input_list(); for (int i = 0; inputs[i]; ++i) { s.append(QString("") .arg(QString(inputs[i]->id)) .arg(QString(inputs[i]->description))); } - s.append("
" + + tr("Supported input formats:") + + "
%1%2

"); - s.append("" + tr("Supported output formats:") + ""); + s.append(""); outputs = sr_output_list(); for (int i = 0; outputs[i]; ++i) { s.append(QString("") .arg(QString(outputs[i]->id)) .arg(QString(outputs[i]->description))); } - s.append("
" + + tr("Supported output formats:") + + "
%1%2

"); - s.append("" + tr("Supported protocol decoders:") + ""); + s.append(""); for (l = srd_decoder_list(); l; l = l->next) { dec = (struct srd_decoder *)l->data; s.append(QString("") .arg(QString(dec->id)) .arg(QString(dec->longname))); } + s.append("
" + + tr("Supported protocol decoders:") + + "
%1%2
"); supportedDoc.reset(new QTextDocument(this));