dialog adjustments for Mac

This commit is contained in:
Vadim Kurland
2008-06-06 19:03:09 +00:00
parent d228333afb
commit 23892ea299
2 changed files with 126 additions and 139 deletions
+13 -1
View File
@@ -239,6 +239,18 @@
</item> </item>
<item row="3" column="0" > <item row="3" column="0" >
<widget class="QLabel" name="seclevelLabel" > <widget class="QLabel" name="seclevelLabel" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text" > <property name="text" >
<string>Security <string>Security
level:</string> level:</string>
@@ -355,7 +367,7 @@ If network zone for this interface consists of only one subnet, you can simply c
<number>1</number> <number>1</number>
</property> </property>
<property name="verticalSpacing" > <property name="verticalSpacing" >
<number>4</number> <number>8</number>
</property> </property>
<item row="1" column="0" > <item row="1" column="0" >
<widget class="QCheckBox" name="ext" > <widget class="QCheckBox" name="ext" >
+113 -138
View File
@@ -9,7 +9,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>739</width> <width>739</width>
<height>254</height> <height>392</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy" > <property name="sizePolicy" >
@@ -378,7 +378,7 @@
<number>8</number> <number>8</number>
</property> </property>
<property name="horizontalSpacing" > <property name="horizontalSpacing" >
<number>2</number> <number>8</number>
</property> </property>
<property name="verticalSpacing" > <property name="verticalSpacing" >
<number>8</number> <number>8</number>
@@ -393,10 +393,26 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0" colspan="2" > <item row="0" column="1" >
<widget class="QLineEdit" name="obj_name" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2" >
<widget class="QGroupBox" name="groupBox7" > <widget class="QGroupBox" name="groupBox7" >
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Maximum" > <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
@@ -404,39 +420,8 @@
<property name="title" > <property name="title" >
<string/> <string/>
</property> </property>
<layout class="QVBoxLayout" > <layout class="QGridLayout" >
<property name="spacing" > <item row="0" column="0" >
<number>0</number>
</property>
<property name="leftMargin" >
<number>2</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>2</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="textLabel9" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string/>
</property>
<property name="wordWrap" >
<bool>false</bool>
</property>
</widget>
</item>
<item>
<layout class="QGridLayout" > <layout class="QGridLayout" >
<property name="leftMargin" > <property name="leftMargin" >
<number>0</number> <number>0</number>
@@ -451,10 +436,10 @@
<number>0</number> <number>0</number>
</property> </property>
<property name="horizontalSpacing" > <property name="horizontalSpacing" >
<number>2</number> <number>4</number>
</property> </property>
<property name="verticalSpacing" > <property name="verticalSpacing" >
<number>2</number> <number>4</number>
</property> </property>
<item row="1" column="3" > <item row="1" column="3" >
<widget class="QCheckBox" name="psh_m" > <widget class="QCheckBox" name="psh_m" >
@@ -752,86 +737,76 @@
</item> </item>
</layout> </layout>
</item> </item>
<item> <item row="1" column="0" >
<spacer> <spacer>
<property name="orientation" > <property name="orientation" >
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeType" > <property name="sizeType" >
<enum>QSizePolicy::MinimumExpanding</enum> <enum>QSizePolicy::Fixed</enum>
</property> </property>
<property name="sizeHint" > <property name="sizeHint" >
<size> <size>
<width>20</width> <width>235</width>
<height>0</height> <height>16</height>
</size> </size>
</property> </property>
</spacer> </spacer>
</item> </item>
<item> <item row="2" column="0" >
<layout class="QHBoxLayout" > <widget class="QCheckBox" name="established" >
<property name="spacing" > <property name="sizePolicy" >
<number>2</number> <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<property name="leftMargin" > <property name="text" >
<number>0</number> <string>Established</string>
</property> </property>
<property name="topMargin" > </widget>
<number>0</number> </item>
<item row="3" column="0" >
<widget class="QLabel" name="textLabel1_4" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<property name="rightMargin" > <property name="text" >
<number>0</number> <string>Option "established" can be used if supported by the target firewall platform</string>
</property> </property>
<property name="bottomMargin" > <property name="alignment" >
<number>0</number> <set>Qt::AlignVCenter</set>
</property> </property>
<item> <property name="wordWrap" >
<widget class="QCheckBox" name="established" > <bool>true</bool>
<property name="text" > </property>
<string/> <property name="buddy" >
</property> <cstring>established</cstring>
</widget> </property>
</item> </widget>
<item> </item>
<widget class="QLabel" name="textLabel1_4" > <item row="4" column="0" >
<property name="sizePolicy" > <spacer>
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" > <property name="orientation" >
<horstretch>0</horstretch> <enum>Qt::Vertical</enum>
<verstretch>0</verstretch> </property>
</sizepolicy> <property name="sizeType" >
</property> <enum>QSizePolicy::Expanding</enum>
<property name="text" > </property>
<string>Use option "established" if supported by the target firewall platform</string> <property name="sizeHint" >
</property> <size>
<property name="alignment" > <width>91</width>
<set>Qt::AlignVCenter</set> <height>8</height>
</property> </size>
<property name="wordWrap" > </property>
<bool>true</bool> </spacer>
</property>
</widget>
</item>
</layout>
</item> </item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="0" column="1" >
<widget class="QLineEdit" name="obj_name" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
@@ -901,8 +876,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>88</x>
<y>20</y> <y>91</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -917,8 +892,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>403</x>
<y>20</y> <y>103</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -933,8 +908,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>403</x>
<y>20</y> <y>132</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -949,8 +924,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>403</x>
<y>20</y> <y>188</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -965,8 +940,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>403</x>
<y>20</y> <y>217</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -981,8 +956,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>502</x>
<y>20</y> <y>77</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -997,8 +972,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>144</x>
<y>20</y> <y>158</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -1013,8 +988,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>144</x>
<y>20</y> <y>176</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -1029,8 +1004,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>244</x>
<y>20</y> <y>158</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -1045,8 +1020,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>244</x>
<y>20</y> <y>176</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -1061,8 +1036,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>169</x>
<y>20</y> <y>158</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -1077,8 +1052,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>169</x>
<y>20</y> <y>176</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -1093,8 +1068,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>194</x>
<y>20</y> <y>158</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -1109,8 +1084,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>194</x>
<y>20</y> <y>176</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -1125,8 +1100,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>219</x>
<y>20</y> <y>158</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -1141,8 +1116,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>219</x>
<y>20</y> <y>176</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -1157,8 +1132,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>119</x>
<y>20</y> <y>158</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -1173,8 +1148,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>119</x>
<y>20</y> <y>176</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -1189,8 +1164,8 @@
<slot>toggleEstablished()</slot> <slot>toggleEstablished()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>46</x>
<y>20</y> <y>246</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>
@@ -1205,8 +1180,8 @@
<slot>changed()</slot> <slot>changed()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel" >
<x>20</x> <x>46</x>
<y>20</y> <y>246</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel" >
<x>20</x> <x>20</x>