diff options
author | Roland Knall <rknall@gmail.com> | 2016-10-17 15:01:24 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-10-19 07:43:45 +0000 |
commit | 864f750be560a7a739c7453f19a8f5679cf7d6b3 (patch) | |
tree | e7d4c74c127a477c13f70ee69c82c6f06274f9a1 /ui/qt/manage_interfaces_dialog.ui | |
parent | 5cbdbecc35f77c40142e2e5389e553931490eea0 (diff) | |
download | wireshark-864f750be560a7a739c7453f19a8f5679cf7d6b3.tar.gz |
ManageInterfacesDialog: Implement View/Data Model
Implement the same interface view/data model as used for
the interface_tree selection in this dialog, to encapsulate
all access to global_capture_devices from the dialog.
Change-Id: I0e568fe236d077befa2a79765638db8bb3ed1a3f
Reviewed-on: https://code.wireshark.org/review/18062
Petri-Dish: Roland Knall <rknall@gmail.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/manage_interfaces_dialog.ui')
-rw-r--r-- | ui/qt/manage_interfaces_dialog.ui | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/ui/qt/manage_interfaces_dialog.ui b/ui/qt/manage_interfaces_dialog.ui index 80b21c6981..8e09fa477a 100644 --- a/ui/qt/manage_interfaces_dialog.ui +++ b/ui/qt/manage_interfaces_dialog.ui @@ -23,7 +23,7 @@ <item> <widget class="QTabWidget" name="tabWidget"> <property name="currentIndex"> - <number>2</number> + <number>0</number> </property> <widget class="QWidget" name="localTab"> <property name="toolTip"> @@ -34,7 +34,7 @@ </attribute> <layout class="QVBoxLayout" name="verticalLayout"> <item> - <widget class="QTreeWidget" name="localList"> + <widget class="QTreeView" name="localView"> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> @@ -50,26 +50,6 @@ <property name="itemsExpandable"> <bool>false</bool> </property> - <column> - <property name="text"> - <string>Show</string> - </property> - </column> - <column> - <property name="text"> - <string>Friendly Name</string> - </property> - </column> - <column> - <property name="text"> - <string>Interface Name</string> - </property> - </column> - <column> - <property name="text"> - <string>Comment</string> - </property> - </column> </widget> </item> </layout> |