eric6/WebBrowser/StatusBar/JavaScriptSettingsDialog.ui

Sat, 27 Feb 2021 12:08:23 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 27 Feb 2021 12:08:23 +0100
changeset 8138
169e65a6787c
parent 6942
2602857055c5
permissions
-rw-r--r--

Shell: added functionality to show a prompt when the main client process has exited (e.g. a script ended).

<?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>209</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>JavaScript Settings</string>
  </property>
  <property name="sizeGripEnabled">
   <bool>true</bool>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout_2">
   <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">
      <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>
      <item>
       <widget class="QCheckBox" name="jsPasteCheckBox">
        <property name="toolTip">
         <string>Select to allow JavaScript to paste from the clipboard (this needs access to the clipboard)</string>
        </property>
        <property name="text">
         <string>Allow to paste from 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