diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2016-06-05 20:22:32 +0200 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2016-06-06 06:29:44 +0000 |
commit | 88c914755c33fea06b2414cec6243929ec908c95 (patch) | |
tree | 797a22ca75728936c8bc750f8658773d906d1301 /ui/qt/import_text_dialog.ui | |
parent | 82cd99ec3b4e5efe42cc3a26f952a58d6d3d9964 (diff) |
Qt: Improved ImportTextDialog layout
Put direction indication label and checkbox in a HBox to align vertical.
Change-Id: I2aa7846aef25e9f080349e9dfef5c191b8d323e3
Reviewed-on: https://code.wireshark.org/review/15742
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/import_text_dialog.ui')
-rw-r--r-- | ui/qt/import_text_dialog.ui | 105 |
1 files changed, 61 insertions, 44 deletions
diff --git a/ui/qt/import_text_dialog.ui b/ui/qt/import_text_dialog.ui index e77ee1cef4..6201411bf1 100644 --- a/ui/qt/import_text_dialog.ui +++ b/ui/qt/import_text_dialog.ui @@ -173,54 +173,43 @@ </item> </layout> </item> - <item row="5" column="0"> - <widget class="QLabel" name="directionIndicationLabel"> - <property name="toolTip"> - <string>Whether or not the file contains information indicating the direction (inbound or outbound) of the packet.</string> - </property> - <property name="text"> - <string>Direction indication:</string> - </property> - </widget> - </item> - <item row="5" column="1"> - <widget class="QCheckBox" name="directionIndicationCheckBox"> - <property name="toolTip"> - <string>Whether or not the file contains information indicating the direction (inbound or outbound) of the packet.</string> - </property> - </widget> + <item row="5" column="0" colspan="2"> + <layout class="QHBoxLayout" name="horizontalLayout_5" stretch="0,0,0"> + <item> + <widget class="QLabel" name="directionIndicationLabel"> + <property name="toolTip"> + <string>Whether or not the file contains information indicating the direction (inbound or outbound) of the packet.</string> + </property> + <property name="text"> + <string>Direction indication:</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="directionIndicationCheckBox"> + <property name="toolTip"> + <string>Whether or not the file contains information indicating the direction (inbound or outbound) of the packet.</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_5"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> </item> </layout> </widget> </item> - <item row="2" column="1"> - <layout class="QHBoxLayout" name="horizontalLayout_4"> - <item> - <widget class="QLabel" name="label_11"> - <property name="text"> - <string>Maximum frame length:</string> - </property> - </widget> - </item> - <item> - <widget class="SyntaxLineEdit" name="maxLengthLineEdit"> - <property name="toolTip"> - <string>The maximum size of the frames to write to the import capture file (max 64000)</string> - </property> - </widget> - </item> - </layout> - </item> - <item row="3" column="0" colspan="2"> - <widget class="QDialogButtonBox" name="buttonBox"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="standardButtons"> - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Open</set> - </property> - </widget> - </item> <item row="1" column="0" colspan="2"> <widget class="QGroupBox" name="groupBox_2"> <property name="title"> @@ -444,6 +433,34 @@ </layout> </widget> </item> + <item row="2" column="1"> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <widget class="QLabel" name="label_11"> + <property name="text"> + <string>Maximum frame length:</string> + </property> + </widget> + </item> + <item> + <widget class="SyntaxLineEdit" name="maxLengthLineEdit"> + <property name="toolTip"> + <string>The maximum size of the frames to write to the import capture file (max 64000)</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="3" column="0" colspan="2"> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Open</set> + </property> + </widget> + </item> </layout> </widget> <customwidgets> |