src/eric7/Preferences/ConfigurationPages/HelpViewersPage.ui

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 10628
6968d6c31b3e
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>HelpViewersPage</class>
 <widget class="QWidget" name="HelpViewersPage">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>535</width>
    <height>403</height>
   </rect>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout_3">
   <item>
    <widget class="QLabel" name="headerLabel">
     <property name="text">
      <string>&lt;b&gt;Configure help viewers&lt;/b&gt;</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="Line" name="line17">
     <property name="frameShape">
      <enum>QFrame::HLine</enum>
     </property>
     <property name="frameShadow">
      <enum>QFrame::Sunken</enum>
     </property>
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="groupBox">
     <property name="title">
      <string>Help Viewer</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout">
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_2">
        <item>
         <widget class="QRadioButton" name="internalViewerButton">
          <property name="toolTip">
           <string>Select to use the internal help viewer</string>
          </property>
          <property name="text">
           <string>Internal Viewer</string>
          </property>
          <property name="checked">
           <bool>true</bool>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QRadioButton" name="helpBrowserButton">
          <property name="toolTip">
           <string>Select to use the Eric Web Browser</string>
          </property>
          <property name="text">
           <string>Eric Web Browser</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QRadioButton" name="qtAssistantButton">
          <property name="toolTip">
           <string>Select to use Qt Assistant</string>
          </property>
          <property name="text">
           <string>Qt Assistant</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QRadioButton" name="webBrowserButton">
          <property name="toolTip">
           <string>Select to use the configured web browser of the system</string>
          </property>
          <property name="text">
           <string>System Web Browser</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout">
        <item>
         <widget class="QRadioButton" name="customViewerButton">
          <property name="toolTip">
           <string>Select to use a custom viewer</string>
          </property>
          <property name="text">
           <string>Custom</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="EricPathPicker" name="customViewerPicker" native="true">
          <property name="enabled">
           <bool>false</bool>
          </property>
          <property name="sizePolicy">
           <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
          <property name="focusPolicy">
           <enum>Qt::StrongFocus</enum>
          </property>
          <property name="toolTip">
           <string>Enter the custom viewer to be used</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="Line" name="line">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QLabel" name="TextLabel1_2_2_2">
     <property name="text">
      <string>&lt;font color=&quot;#FF0000&quot;&gt;&lt;b&gt;Note:&lt;/b&gt; All settings below are activated at the next startup of the application.&lt;/font&gt;</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="groupBox_2">
     <property name="title">
      <string>Internal Viewer</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout_2">
      <item>
       <widget class="QCheckBox" name="enforceQTBCheckBox">
        <property name="toolTip">
         <string>Select this in order to enforce the use of the QTextBrowser based help viewer implementation.</string>
        </property>
        <property name="whatsThis">
         <string>&lt;b&gt;Enforce 'QTextBrowser' based viewer&lt;/b&gt;
&lt;p&gt;Select this in order to enforce the use of the QTextBrowser based help viewer implementation. Without this option the viewer implementation will be selected automatically from QWebEngine or QTextBrowser (in that order).&lt;/p&gt;</string>
        </property>
        <property name="text">
         <string>Enforce 'QTextBrowser' based viewer</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <spacer>
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>479</width>
       <height>121</height>
      </size>
     </property>
    </spacer>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>EricPathPicker</class>
   <extends>QWidget</extends>
   <header>eric7/EricWidgets/EricPathPicker.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>internalViewerButton</tabstop>
  <tabstop>helpBrowserButton</tabstop>
  <tabstop>qtAssistantButton</tabstop>
  <tabstop>webBrowserButton</tabstop>
  <tabstop>customViewerButton</tabstop>
  <tabstop>customViewerPicker</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>customViewerButton</sender>
   <signal>toggled(bool)</signal>
   <receiver>customViewerPicker</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>496</x>
     <y>72</y>
    </hint>
    <hint type="destinationlabel">
     <x>493</x>
     <y>90</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>

eric ide

mercurial