diff options
Diffstat (limited to 'ui/qt/search_frame.ui')
-rw-r--r-- | ui/qt/search_frame.ui | 156 |
1 files changed, 116 insertions, 40 deletions
diff --git a/ui/qt/search_frame.ui b/ui/qt/search_frame.ui index c3bb9908..0229d6f9 100644 --- a/ui/qt/search_frame.ui +++ b/ui/qt/search_frame.ui @@ -19,7 +19,18 @@ <property name="frameShadow"> <enum>QFrame::Plain</enum> </property> - <layout class="QHBoxLayout" name="horizontalLayout" stretch="3,0,0,0,0,0,0,1,0,0"> + <layout class="QVBoxLayout" name="verticalLayout"> + <property name="spacing"> + <number>4</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <layout class="QHBoxLayout" name="horizontalLayout" stretch="3,0,0,0,1,0,0"> <property name="topMargin"> <number>0</number> </property> @@ -78,114 +89,179 @@ </spacer> </item> <item> - <widget class="QComboBox" name="charEncodingComboBox"> + <widget class="QComboBox" name="searchTypeComboBox"> <property name="toolTip"> - <string><html><head/><body><p>Search for strings containing narrow (UTF-8 and ASCII) or wide (UTF-16) characters.</p></body></html></string> + <string><html><head/><body><p>Search for data using display filter syntax (e.g. ip.addr==10.1.1.1), a hexadecimal string (e.g. fffffda5), a plain string (e.g. My String) or a regular expression (e.g. colou?r).</p></body></html></string> </property> <item> <property name="text"> - <string>Narrow & Wide</string> + <string>Display filter</string> </property> </item> <item> <property name="text"> - <string>Narrow (UTF-8 / ASCII)</string> + <string>Hex value</string> </property> </item> <item> <property name="text"> - <string>Wide (UTF-16)</string> + <string>String</string> + </property> + </item> + <item> + <property name="text"> + <string>Regular Expression</string> </property> </item> </widget> </item> <item> - <widget class="QCheckBox" name="caseCheckBox"> + <widget class="DisplayFilterEdit" name="searchLineEdit"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>1</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="findButton"> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>27</height> + </size> + </property> <property name="text"> - <string>Case sensitive</string> + <string>Find</string> + </property> + <property name="default"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="cancelButton"> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>27</height> + </size> + </property> + <property name="text"> + <string>Cancel</string> </property> </widget> </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="3,0,0,0,0,0,0,1"> + <property name="topMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> <item> - <spacer name="horizontalSpacer"> + <spacer name="horizontalSpacer_4"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> + <property name="sizeType"> + <enum>QSizePolicy::Fixed</enum> + </property> <property name="sizeHint" stdset="0"> <size> - <width>20</width> - <height>10</height> + <width>40</width> + <height>20</height> </size> </property> </spacer> </item> <item> - <widget class="QComboBox" name="searchTypeComboBox"> + <widget class="QLabel" name="optionLabel"> + <property name="text"> + <string><b>Options:</b></string> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="charEncodingComboBox"> <property name="toolTip"> - <string><html><head/><body><p>Search for data using display filter syntax (e.g. ip.addr==10.1.1.1), a hexadecimal string (e.g. fffffda5), a plain string (e.g. My String) or a regular expression (e.g. colou?r).</p></body></html></string> + <string><html><head/><body><p>Search for strings containing narrow (UTF-8 and ASCII) or wide (UTF-16) characters.</p></body></html></string> </property> <item> <property name="text"> - <string>Display filter</string> - </property> - </item> - <item> - <property name="text"> - <string>Hex value</string> + <string>Narrow & Wide</string> </property> </item> <item> <property name="text"> - <string>String</string> + <string>Narrow (UTF-8 / ASCII)</string> </property> </item> <item> <property name="text"> - <string>Regular Expression</string> + <string>Wide (UTF-16)</string> </property> </item> </widget> </item> <item> - <widget class="DisplayFilterEdit" name="searchLineEdit"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> - <horstretch>1</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <widget class="QCheckBox" name="caseCheckBox"> + <property name="text"> + <string>Case sensitive</string> </property> </widget> </item> <item> - <widget class="QPushButton" name="findButton"> - <property name="maximumSize"> + <spacer name="horizontalSpacer_5"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> <size> - <width>16777215</width> - <height>27</height> + <width>20</width> + <height>10</height> </size> </property> + </spacer> + </item> + <item> + <widget class="QCheckBox" name="dirCheckBox"> <property name="text"> - <string>Find</string> - </property> - <property name="default"> - <bool>true</bool> + <string>Backwards</string> </property> </widget> </item> <item> - <widget class="QPushButton" name="cancelButton"> - <property name="maximumSize"> + <spacer name="horizontalSpacer_6"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> <size> - <width>16777215</width> - <height>27</height> + <width>20</width> + <height>10</height> </size> </property> + </spacer> + </item> + <item> + <widget class="QCheckBox" name="multipleCheckBox"> + <property name="toolTip"> + <string><html><head/><body><p>Search for a subsequent occurrence in the current packet before advancing to the next packet.</p></body></html></string> + </property> <property name="text"> - <string>Cancel</string> + <string>Multiple occurrences</string> </property> </widget> </item> </layout> + </item> + </layout> </widget> <customwidgets> <customwidget> |