--- a/WebBrowser/StatusBar/JavaScriptSettingsDialog.ui Tue May 03 19:42:26 2016 +0200 +++ b/WebBrowser/StatusBar/JavaScriptSettingsDialog.ui Wed May 04 19:12:40 2016 +0200 @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>650</width> - <height>153</height> + <width>400</width> + <height>111</height> </rect> </property> <property name="windowTitle"> @@ -18,51 +18,33 @@ </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> - <widget class="QGroupBox" name="javaScriptGroup"> + <widget class="QCheckBox" name="jsOpenWindowsCheckBox"> <property name="toolTip"> - <string>Select to enable JavaScript</string> + <string>Select to allow JavaScript to open windows</string> + </property> + <property name="text"> + <string>JavaScript can open windows</string> </property> - <property name="title"> - <string>Enable JavaScript</string> - </property> - <property name="checkable"> - <bool>true</bool> - </property> - <property name="checked"> - <bool>false</bool> + </widget> + </item> + <item> + <widget class="QCheckBox" name="jsCloseWindowsCheckBox"> + <property name="toolTip"> + <string>Select to allow JavaScript to close windows</string> </property> - <layout class="QGridLayout" name="gridLayout"> - <item row="0" column="0"> - <widget class="QCheckBox" name="jsOpenWindowsCheckBox"> - <property name="toolTip"> - <string>Select to allow JavaScript to open windows</string> - </property> - <property name="text"> - <string>JavaScript can open windows</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QCheckBox" name="jsCloseWindowsCheckBox"> - <property name="toolTip"> - <string>Select to allow JavaScript to close windows</string> - </property> - <property name="text"> - <string>JavaScript can close windows</string> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QCheckBox" name="jsClipboardCheckBox"> - <property name="toolTip"> - <string>Select to allow JavaScript to access the clipboard</string> - </property> - <property name="text"> - <string>JavaScript can access clipboard</string> - </property> - </widget> - </item> - </layout> + <property name="text"> + <string>JavaScript can close windows</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="jsClipboardCheckBox"> + <property name="toolTip"> + <string>Select to allow JavaScript to access the clipboard</string> + </property> + <property name="text"> + <string>JavaScript can access clipboard</string> + </property> </widget> </item> <item>