src/eric7/Preferences/ConfigurationPages/HelpViewersPage.ui

Mon, 07 Nov 2022 17:19:58 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 07 Nov 2022 17:19:58 +0100
branch
eric7
changeset 9482
a2bc06a54d9d
parent 9413
80c06d472826
child 10628
6968d6c31b3e
permissions
-rw-r--r--

Corrected/acknowledged some bad import style and removed some obsolete code.

<?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>520</width>
    <height>177</height>
   </rect>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout_2">
   <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>
    <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