forked from osmocom/wireshark
Qt: set properties of about_dialog#label_wireshark in ui file.
Change-Id: I1fde99f9c2f282ec4709a04bcb8dcdf7bbbc72a8 Reviewed-on: https://code.wireshark.org/review/31152 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
16a1768ca5
commit
ffd5361662
|
@ -315,10 +315,6 @@ AboutDialog::AboutDialog(QWidget *parent) :
|
|||
message += "<p>Wireshark is Open Source Software released under the GNU General Public License.</p>\n\n";
|
||||
message += "<p>Check the man page and http://www.wireshark.org for more information.</p>\n\n";
|
||||
|
||||
ui->label_wireshark->setAlignment(Qt::AlignLeft | Qt::AlignVCenter);
|
||||
ui->label_wireshark->setTextFormat(Qt::RichText);
|
||||
ui->label_wireshark->setWordWrap(true);
|
||||
ui->label_wireshark->setTextInteractionFlags(Qt::TextSelectableByMouse);
|
||||
ui->label_wireshark->setText(message);
|
||||
|
||||
/* Check if it is a dev release... (VERSION_MINOR is odd in dev release) */
|
||||
|
|
|
@ -82,6 +82,15 @@
|
|||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="textFormat">
|
||||
<enum>Qt::RichText</enum>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="textInteractionFlags">
|
||||
<set>Qt::TextSelectableByMouse</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
|
Loading…
Reference in New Issue