ProjectKivy/CompleterKivyConfigWidget.ui

Sat, 09 Sep 2023 17:43:15 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 09 Sep 2023 17:43:15 +0200
branch
eric7
changeset 59
fb361b396c68
permissions
-rw-r--r--

Added a Typing Completer and an associated configuration page.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>CompleterKivyConfigWidget</class>
 <widget class="QWidget" name="CompleterKivyConfigWidget">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>528</width>
    <height>426</height>
   </rect>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <property name="leftMargin">
    <number>0</number>
   </property>
   <property name="rightMargin">
    <number>0</number>
   </property>
   <item>
    <widget class="QGroupBox" name="kivyGroup">
     <property name="focusPolicy">
      <enum>Qt::TabFocus</enum>
     </property>
     <property name="toolTip">
      <string>Select to enable Kivy typing aids</string>
     </property>
     <property name="title">
      <string>Enable Kivy typing aids</string>
     </property>
     <property name="checkable">
      <bool>true</bool>
     </property>
     <property name="checked">
      <bool>true</bool>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout_4">
      <item>
       <widget class="QCheckBox" name="kivyInsertClosingBraceCheckBox">
        <property name="toolTip">
         <string>Select to insert a closing parenthesis</string>
        </property>
        <property name="text">
         <string>Automatic parenthesis insertion</string>
        </property>
       </widget>
      </item>
      <item>
       <layout class="QHBoxLayout" name="_2">
        <item>
         <spacer>
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeType">
           <enum>QSizePolicy::Fixed</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>20</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
        <item>
         <widget class="QCheckBox" name="kivySkipBraceCheckBox">
          <property name="enabled">
           <bool>false</bool>
          </property>
          <property name="toolTip">
           <string>Select to skip matching braces when typing</string>
          </property>
          <property name="text">
           <string>Automatically skip matching braces when typing</string>
          </property>
         </widget>
        </item>
        <item>
         <spacer>
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>131</width>
            <height>21</height>
           </size>
          </property>
         </spacer>
        </item>
       </layout>
      </item>
      <item>
       <widget class="QCheckBox" name="kivyColonDetectionCheckBox">
        <property name="toolTip">
         <string>Select to skip a ':', if typed next to another ':'</string>
        </property>
        <property name="text">
         <string>Automatic colon detection</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="kivyAutoIndentationCheckBox">
        <property name="toolTip">
         <string>Select to indent after typing 'return'</string>
        </property>
        <property name="text">
         <string>Automatic indent after '(', '{', '[' and ':'</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="kivyInsertQuoteCheckBox">
        <property name="toolTip">
         <string>Select to insert the matching quote character</string>
        </property>
        <property name="text">
         <string>Automatic quote insertion</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="kivyInsertBlankColonCheckBox">
        <property name="toolTip">
         <string>Select to insert a blank after ':'</string>
        </property>
        <property name="text">
         <string>Automatic insertion of ' ' (blank) after ':'</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="kivyInsertBlankCommaCheckBox">
        <property name="toolTip">
         <string>Select to insert a blank after ','</string>
        </property>
        <property name="text">
         <string>Automatic insertion of ' ' (blank) after ','</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>20</width>
       <height>40</height>
      </size>
     </property>
    </spacer>
   </item>
  </layout>
 </widget>
 <tabstops>
  <tabstop>kivyGroup</tabstop>
  <tabstop>kivyInsertClosingBraceCheckBox</tabstop>
  <tabstop>kivySkipBraceCheckBox</tabstop>
  <tabstop>kivyColonDetectionCheckBox</tabstop>
  <tabstop>kivyAutoIndentationCheckBox</tabstop>
  <tabstop>kivyInsertQuoteCheckBox</tabstop>
  <tabstop>kivyInsertBlankColonCheckBox</tabstop>
  <tabstop>kivyInsertBlankCommaCheckBox</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>kivyInsertClosingBraceCheckBox</sender>
   <signal>toggled(bool)</signal>
   <receiver>kivySkipBraceCheckBox</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>133</x>
     <y>52</y>
    </hint>
    <hint type="destinationlabel">
     <x>143</x>
     <y>79</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>

eric ide

mercurial