Fill in the help links. Make sure they do something when they're clicked.
Try to make the task list width match its contents. svn path=/trunk/; revision=52611
This commit is contained in:
parent
4520cc08e1
commit
2b0c8b1c71
|
@ -103,6 +103,8 @@ MainWelcome::MainWelcome(QWidget *parent) :
|
|||
welcome_ui_->interfaceTree->setAttribute(Qt::WA_MacShowFocusRect, false);
|
||||
#endif
|
||||
|
||||
task_list_->setMinimumWidth((task_list_->fontMetrics().height() * 7) // 2 + 1.5 + 1.5 + <mystery_width/> em
|
||||
+ task_list_->fontMetrics().width(QString("live packets from your network")));
|
||||
task_list_->setStyleSheet(QString(
|
||||
"QListWidget {"
|
||||
" margin-right: 2em;"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<widget class="QWidget" name="childContainer" native="true">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<layout class="QGridLayout" name="gridLayout" columnstretch="0,1">
|
||||
<item row="1" column="1">
|
||||
<widget class="QStackedWidget" name="taskStack">
|
||||
<property name="sizePolicy">
|
||||
|
@ -34,20 +34,11 @@
|
|||
</sizepolicy>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>2</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="captureContainer">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<property name="margin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
|
@ -132,11 +123,44 @@
|
|||
</widget>
|
||||
<widget class="QLabel" name="helpLinks">
|
||||
<property name="text">
|
||||
<string><html><head/><body><p>User's Guide</p><p><br/></p><p>Wiki</p></body></html></string>
|
||||
<string><html><head/>
|
||||
<body>
|
||||
|
||||
<h2><a href="http://www.wireshark.org/docs/wsug_html_chunked/">User's Guide</a></h2>
|
||||
<p>
|
||||
How to install Wireshark and how to use each of its features.<br/>
|
||||
Other formats and command-line man pages can be found on<br/>
|
||||
the <a href="http://www.wireshark.org/docs/">documentation page</a>.
|
||||
</p>
|
||||
|
||||
<h2><a href="http://wiki.wireshark.org/">The Wireshark Wiki</a></h2>
|
||||
<p>
|
||||
User-contributed pages on different aspects of using Wireshark.<br/>
|
||||
Capturing in different environments, filtering, specific protocols,<br/>
|
||||
and a variety of other information.
|
||||
</p>
|
||||
|
||||
<h2><a href="http://ask.wireshark.org/">Wireshark Q&amp;A</a></h2>
|
||||
<p>
|
||||
Question and answer site for Wireshark and protocol analysis.
|
||||
</p>
|
||||
|
||||
<h2><a href="http://www.wireshark.org/lists/">Mailing Lists</a></h2>
|
||||
<p>
|
||||
In-depth discussions about Wireshark and protocol analysis.
|
||||
</p>
|
||||
|
||||
</body></html></string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="textInteractionFlags">
|
||||
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -163,7 +187,7 @@
|
|||
<item>
|
||||
<property name="text">
|
||||
<string>Capture
|
||||
live packets from the network</string>
|
||||
live packets from your network</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
|
|
Loading…
Reference in New Issue