Qt: Make About->Plugins scrollable

Bug: 11427
Change-Id: Iebc693bc2a035bad3bc2491af4b5a12c9e7d2fa5
Reviewed-on: https://code.wireshark.org/review/12201
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Stig Bjørlykke 2015-11-26 20:31:12 +01:00 committed by Anders Broman
parent d4277c3520
commit 15086a808e
2 changed files with 5 additions and 14 deletions

View File

@ -266,7 +266,7 @@ AboutDialog::AboutDialog(QWidget *parent) :
message += plugins_scan();
message += "</table>";
ui->label_plugins->setText(message);
ui->te_plugins->setHtml(message);
/* Shortcuts */
bool have_shortcuts = false;

View File

@ -194,21 +194,12 @@
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QLabel" name="label_plugins">
<property name="text">
<string/>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="alignment">
<set>Qt::AlignHCenter|Qt::AlignTop</set>
</property>
<property name="openExternalLinks">
<widget class="QTextEdit" name="te_plugins">
<property name="tabChangesFocus">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::TextBrowserInteraction</set>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>