projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5ed05b6
)
Settings Dialog: Visually break up items in the about listing
author
Soeren Apel
<soeren@apelpie.net>
Fri, 26 May 2017 20:42:38 +0000
(22:42 +0200)
committer
Soeren Apel
<soeren@apelpie.net>
Sat, 27 May 2017 08:05:37 +0000
(10:05 +0200)
pv/dialogs/settings.cpp
patch
|
blob
|
history
diff --git
a/pv/dialogs/settings.cpp
b/pv/dialogs/settings.cpp
index 5e2be818c34c60f3634c976f503a12c635728764..f2f9e2692a753624b2750a5771405a7bce038660 100644
(file)
--- a/
pv/dialogs/settings.cpp
+++ b/
pv/dialogs/settings.cpp
@@
-251,6
+251,7
@@
QWidget *Settings::get_about_page(QWidget *parent) const
#endif
/* Set up the supported field */
#endif
/* Set up the supported field */
+ s.append("<tr><td colspan=\"2\"></td></tr>");
s.append("<tr><td colspan=\"2\"><b>" +
tr("Supported hardware drivers:") + "</b></td></tr>");
for (auto entry : context->drivers()) {
s.append("<tr><td colspan=\"2\"><b>" +
tr("Supported hardware drivers:") + "</b></td></tr>");
for (auto entry : context->drivers()) {
@@
-259,6
+260,7
@@
QWidget *Settings::get_about_page(QWidget *parent) const
QString::fromUtf8(entry.second->long_name().c_str())));
}
QString::fromUtf8(entry.second->long_name().c_str())));
}
+ s.append("<tr><td colspan=\"2\"></td></tr>");
s.append("<tr><td colspan=\"2\"><b>" +
tr("Supported input formats:") + "</b></td></tr>");
for (auto entry : context->input_formats()) {
s.append("<tr><td colspan=\"2\"><b>" +
tr("Supported input formats:") + "</b></td></tr>");
for (auto entry : context->input_formats()) {
@@
-267,6
+269,7
@@
QWidget *Settings::get_about_page(QWidget *parent) const
QString::fromUtf8(entry.second->description().c_str())));
}
QString::fromUtf8(entry.second->description().c_str())));
}
+ s.append("<tr><td colspan=\"2\"></td></tr>");
s.append("<tr><td colspan=\"2\"><b>" +
tr("Supported output formats:") + "</b></td></tr>");
for (auto entry : context->output_formats()) {
s.append("<tr><td colspan=\"2\"><b>" +
tr("Supported output formats:") + "</b></td></tr>");
for (auto entry : context->output_formats()) {
@@
-276,6
+279,7
@@
QWidget *Settings::get_about_page(QWidget *parent) const
}
#ifdef ENABLE_DECODE
}
#ifdef ENABLE_DECODE
+ s.append("<tr><td colspan=\"2\"></td></tr>");
s.append("<tr><td colspan=\"2\"><b>" +
tr("Supported protocol decoders:") + "</b></td></tr>");
GSList *sl = g_slist_copy((GSList *)srd_decoder_list());
s.append("<tr><td colspan=\"2\"><b>" +
tr("Supported protocol decoders:") + "</b></td></tr>");
GSList *sl = g_slist_copy((GSList *)srd_decoder_list());