summaryrefslogtreecommitdiff
path: root/ui/qt/preference_editor_frame.ui
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2016-02-18 20:48:23 +0100
committerStig Bjørlykke <stig@bjorlykke.org>2016-02-19 12:16:16 +0000
commit61f73a3262fe724b7b31f14e842a80c5121301dd (patch)
treec1e0ac7f8c52b76392e5c329c408e17a1c72c849 /ui/qt/preference_editor_frame.ui
parent4c1869f4871211b3c7518e4858b8372c27013acc (diff)
downloadwireshark-61f73a3262fe724b7b31f14e842a80c5121301dd.tar.gz
Qt: Update AccordionFrame widgets to use common layout
- Use QPushButton for buttons and set the "Find" button as default in SearchFrame. - Use QPushButton for buttons, added a "Packet:" label, and set the "Go to packet" button as default in GoToFrame. - Set Qt::WA_MacSmallSize in OS X for FilterExpressionFrame and PreferenceEditorFrame. - Removed QFrame::StyledPanel and QFrame::Raised from ColumnEditorFrame. - Update ui files to reflect that AccordionFrame is used for AddressEditorFrame, FilterExpressionFrame and PreferenceEditorFrame. Change-Id: Icfbfff973535317997109a1020dfe24ba932e098 Reviewed-on: https://code.wireshark.org/review/13995 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/preference_editor_frame.ui')
-rw-r--r--ui/qt/preference_editor_frame.ui12
1 files changed, 9 insertions, 3 deletions
diff --git a/ui/qt/preference_editor_frame.ui b/ui/qt/preference_editor_frame.ui
index 0b7ac881cd..84d5c58fbb 100644
--- a/ui/qt/preference_editor_frame.ui
+++ b/ui/qt/preference_editor_frame.ui
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PreferenceEditorFrame</class>
- <widget class="QFrame" name="PreferenceEditorFrame">
+ <widget class="AccordionFrame" name="PreferenceEditorFrame">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>458</width>
- <height>29</height>
+ <height>34</height>
</rect>
</property>
<property name="windowTitle">
@@ -70,7 +70,7 @@
</property>
<property name="sizeHint" stdset="0">
<size>
- <width>40</width>
+ <width>20</width>
<height>13</height>
</size>
</property>
@@ -93,6 +93,12 @@
</widget>
<customwidgets>
<customwidget>
+ <class>AccordionFrame</class>
+ <extends>QFrame</extends>
+ <header>accordion_frame.h</header>
+ <container>1</container>
+ </customwidget>
+ <customwidget>
<class>SyntaxLineEdit</class>
<extends>QLineEdit</extends>
<header>syntax_line_edit.h</header>