WebBrowser/StatusBar/JavaScriptSettingsDialog.ui

Fri, 16 Feb 2018 20:11:36 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 16 Feb 2018 20:11:36 +0100
changeset 6151
29564aad2f97
parent 5526
11337e4fba52
child 6398
caf724f53840
permissions
-rw-r--r--

JavaScriptEnabled: Added a configuration option to globally disable/enable JavaScript support.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>JavaScriptSettingsDialog</class>
 <widget class="QDialog" name="JavaScriptSettingsDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>400</width>
    <height>179</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>JavaScript Settings</string>
  </property>
  <property name="sizeGripEnabled">
   <bool>true</bool>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
    <widget class="QGroupBox" name="javaScriptGroup">
     <property name="toolTip">
      <string>Select to enable JavaScript support</string>
     </property>
     <property name="title">
      <string>Enable JavaScript</string>
     </property>
     <property name="checkable">
      <bool>true</bool>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout_2">
      <item>
       <widget class="QCheckBox" name="jsOpenWindowsCheckBox">
        <property name="toolTip">
         <string>Select to allow JavaScript to open windows</string>
        </property>
        <property name="text">
         <string>Allow to open windows</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="jsActivateWindowsCheckBox">
        <property name="toolTip">
         <string>Select to allow JavaScript to activate windows</string>
        </property>
        <property name="text">
         <string>Allow to activate 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>Allow to access the clipboard</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QDialogButtonBox" name="buttonBox">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="standardButtons">
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <resources/>
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>JavaScriptSettingsDialog</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>248</x>
     <y>254</y>
    </hint>
    <hint type="destinationlabel">
     <x>157</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>JavaScriptSettingsDialog</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>316</x>
     <y>260</y>
    </hint>
    <hint type="destinationlabel">
     <x>286</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>

eric ide

mercurial