eric6/Preferences/ConfigurationPages/EditorHighlightingStylesPage.ui

Sun, 04 Oct 2020 15:25:17 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 04 Oct 2020 15:25:17 +0200
changeset 7749
285855999b4e
parent 7537
4e2d6b12f67c
child 8028
a4f1b68c0737
permissions
-rw-r--r--

Configuration Dialog: optimized the display of the various configuration pages.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>EditorHighlightingStylesPage</class>
 <widget class="QWidget" name="EditorHighlightingStylesPage">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>550</width>
    <height>624</height>
   </rect>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
    <widget class="QLabel" name="headerLabel">
     <property name="text">
      <string>&lt;b&gt;Configure syntax highlighting&lt;/b&gt;</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="Line" name="line1">
     <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>
    <layout class="QHBoxLayout">
     <item>
      <widget class="QLabel" name="TextLabel1_3">
       <property name="toolTip">
        <string/>
       </property>
       <property name="text">
        <string>Lexer Language:</string>
       </property>
       <property name="buddy">
        <cstring></cstring>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QComboBox" name="lexerLanguageComboBox">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="toolTip">
        <string>Select the lexer language to be configured.</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QGroupBox" name="styleGroup">
     <property name="title">
      <string>Style Element</string>
     </property>
     <layout class="QGridLayout" name="gridLayout">
      <item row="0" column="0">
       <widget class="QTreeWidget" name="styleElementList">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
          <horstretch>2</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="selectionMode">
         <enum>QAbstractItemView::ExtendedSelection</enum>
        </property>
        <property name="rootIsDecorated">
         <bool>false</bool>
        </property>
        <property name="itemsExpandable">
         <bool>false</bool>
        </property>
        <property name="headerHidden">
         <bool>true</bool>
        </property>
        <column>
         <property name="text">
          <string notr="true">1</string>
         </property>
        </column>
       </widget>
      </item>
      <item row="0" column="1">
       <layout class="QVBoxLayout" name="verticalLayout_2">
        <item>
         <layout class="QHBoxLayout" name="horizontalLayout_2">
          <item>
           <spacer name="horizontalSpacer">
            <property name="orientation">
             <enum>Qt::Horizontal</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>13</width>
              <height>20</height>
             </size>
            </property>
           </spacer>
          </item>
          <item>
           <widget class="QToolButton" name="defaultSubstylesButton">
            <property name="toolTip">
             <string>Press to set all sub-styles to default values</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QToolButton" name="addSubstyleButton">
            <property name="toolTip">
             <string>Press to add a sub-style to the selected style</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QToolButton" name="deleteSubstyleButton">
            <property name="toolTip">
             <string>Press to to delete the selected sub-style</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QToolButton" name="editSubstyleButton">
            <property name="toolTip">
             <string>Press to edit the selected sub-style</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QToolButton" name="copySubstyleButton">
            <property name="toolTip">
             <string>Press to copy the selected sub-style</string>
            </property>
           </widget>
          </item>
          <item>
           <spacer name="horizontalSpacer_2">
            <property name="orientation">
             <enum>Qt::Horizontal</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>13</width>
              <height>20</height>
             </size>
            </property>
           </spacer>
          </item>
         </layout>
        </item>
        <item>
         <widget class="Line" name="line_3">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QPushButton" name="foregroundButton">
          <property name="toolTip">
           <string>Select the foreground color.</string>
          </property>
          <property name="text">
           <string>Foreground Color</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QPushButton" name="backgroundButton">
          <property name="toolTip">
           <string>Select the background color.</string>
          </property>
          <property name="text">
           <string>Background Color</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QPushButton" name="fontButton">
          <property name="toolTip">
           <string>Select the font.</string>
          </property>
          <property name="text">
           <string>Font</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QCheckBox" name="eolfillCheckBox">
          <property name="toolTip">
           <string>Select end of line fill.</string>
          </property>
          <property name="text">
           <string>Fill to end of line</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="Line" name="line">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QPushButton" name="defaultButton">
          <property name="toolTip">
           <string>Press to set the current style to its default values</string>
          </property>
          <property name="text">
           <string>to Default</string>
          </property>
         </widget>
        </item>
        <item>
         <spacer name="spacer">
          <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>20</width>
            <height>43</height>
           </size>
          </property>
         </spacer>
        </item>
        <item>
         <widget class="QPushButton" name="monospacedButton">
          <property name="toolTip">
           <string>Press to show only monospaced fonts</string>
          </property>
          <property name="text">
           <string>Monospaced Fonts Only</string>
          </property>
          <property name="checkable">
           <bool>true</bool>
          </property>
          <property name="checked">
           <bool>true</bool>
          </property>
         </widget>
        </item>
        <item>
         <spacer>
          <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>20</width>
            <height>38</height>
           </size>
          </property>
         </spacer>
        </item>
        <item>
         <widget class="QPushButton" name="allBackgroundColoursButton">
          <property name="toolTip">
           <string>Select the background color for all styles</string>
          </property>
          <property name="text">
           <string>All Background Colors</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QPushButton" name="allFontsButton">
          <property name="toolTip">
           <string>Select the font for all styles.</string>
          </property>
          <property name="text">
           <string>All Fonts</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QPushButton" name="allEolFillButton">
          <property name="toolTip">
           <string>Select the eol fill for all styles</string>
          </property>
          <property name="text">
           <string>All Fill to end of line</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="Line" name="line_2">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QPushButton" name="allDefaultButton">
          <property name="toolTip">
           <string>Press to set all styles to their default values</string>
          </property>
          <property name="text">
           <string>All to Default</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item row="1" column="0" colspan="2">
       <widget class="QLineEdit" name="sampleText">
        <property name="focusPolicy">
         <enum>Qt::NoFocus</enum>
        </property>
        <property name="text">
         <string>Sample Text</string>
        </property>
        <property name="alignment">
         <set>Qt::AlignHCenter</set>
        </property>
        <property name="readOnly">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="2" column="0" colspan="2">
       <widget class="QLabel" name="label">
        <property name="text">
         <string>&lt;b&gt;Note:&lt;/b&gt; The tick in the list above indicates the entrie's 'fill to end of line' setting.</string>
        </property>
        <property name="wordWrap">
         <bool>true</bool>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout">
     <item>
      <widget class="QPushButton" name="importCurrentButton">
       <property name="enabled">
        <bool>false</bool>
       </property>
       <property name="toolTip">
        <string>Imports all styles of the currently selected language</string>
       </property>
       <property name="text">
        <string>Import styles</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="exportCurrentButton">
       <property name="enabled">
        <bool>false</bool>
       </property>
       <property name="toolTip">
        <string>Exports all styles of the currently selected language</string>
       </property>
       <property name="text">
        <string>Export styles</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="importAllButton">
       <property name="toolTip">
        <string>Imports all styles of all languages</string>
       </property>
       <property name="text">
        <string>Import all styles</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="exportAllButton">
       <property name="toolTip">
        <string>Exports all styles of all languages</string>
       </property>
       <property name="text">
        <string>Export all styles</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
 <tabstops>
  <tabstop>lexerLanguageComboBox</tabstop>
  <tabstop>styleElementList</tabstop>
  <tabstop>defaultSubstylesButton</tabstop>
  <tabstop>addSubstyleButton</tabstop>
  <tabstop>deleteSubstyleButton</tabstop>
  <tabstop>editSubstyleButton</tabstop>
  <tabstop>copySubstyleButton</tabstop>
  <tabstop>foregroundButton</tabstop>
  <tabstop>backgroundButton</tabstop>
  <tabstop>fontButton</tabstop>
  <tabstop>eolfillCheckBox</tabstop>
  <tabstop>defaultButton</tabstop>
  <tabstop>monospacedButton</tabstop>
  <tabstop>allBackgroundColoursButton</tabstop>
  <tabstop>allFontsButton</tabstop>
  <tabstop>allEolFillButton</tabstop>
  <tabstop>allDefaultButton</tabstop>
  <tabstop>importCurrentButton</tabstop>
  <tabstop>exportCurrentButton</tabstop>
  <tabstop>importAllButton</tabstop>
  <tabstop>exportAllButton</tabstop>
 </tabstops>
 <resources/>
 <connections/>
</ui>

eric ide

mercurial