eric7/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardCharactersDialog.ui

branch
eric7
changeset 8312
800c432b34c8
parent 6942
2602857055c5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eric7/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardCharactersDialog.ui	Sat May 15 18:45:04 2021 +0200
@@ -0,0 +1,210 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>QRegularExpressionWizardCharactersDialog</class>
+ <widget class="QDialog" name="QRegularExpressionWizardCharactersDialog">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>850</width>
+    <height>500</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Editor for character sets</string>
+  </property>
+  <property name="sizeGripEnabled">
+   <bool>true</bool>
+  </property>
+  <layout class="QVBoxLayout" name="verticalLayout">
+   <item>
+    <widget class="QCheckBox" name="negativeCheckBox">
+     <property name="text">
+      <string>The defined characters should not match</string>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <widget class="QGroupBox" name="groupBox">
+     <property name="title">
+      <string>Predefined character ranges</string>
+     </property>
+     <layout class="QGridLayout" name="gridLayout">
+      <item row="0" column="0">
+       <widget class="QCheckBox" name="wordCharCheckBox">
+        <property name="text">
+         <string>Word character</string>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="1">
+       <widget class="QCheckBox" name="digitsCheckBox">
+        <property name="text">
+         <string>Digit</string>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="2">
+       <widget class="QCheckBox" name="newlineCheckBox">
+        <property name="text">
+         <string>Newline</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="0">
+       <widget class="QCheckBox" name="nonWordCharCheckBox">
+        <property name="text">
+         <string>Non-word character</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="1">
+       <widget class="QCheckBox" name="nonDigitsCheckBox">
+        <property name="text">
+         <string>Non-digit</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="2">
+       <widget class="QCheckBox" name="nonNewlineCheckBox">
+        <property name="text">
+         <string>Non-newline</string>
+        </property>
+       </widget>
+      </item>
+      <item row="2" column="0">
+       <widget class="QCheckBox" name="whitespaceCheckBox">
+        <property name="text">
+         <string>Whitespace character</string>
+        </property>
+       </widget>
+      </item>
+      <item row="2" column="1">
+       <widget class="QCheckBox" name="horizontalWhitespaceCheckBox">
+        <property name="text">
+         <string>Horizontal whitespace character</string>
+        </property>
+       </widget>
+      </item>
+      <item row="2" column="2">
+       <widget class="QCheckBox" name="verticalWhitespaceCheckBox">
+        <property name="text">
+         <string>Vertical whitespace character</string>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="0">
+       <widget class="QCheckBox" name="nonWhitespaceCheckBox">
+        <property name="text">
+         <string>Non-whitespace character</string>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="1">
+       <widget class="QCheckBox" name="nonHorizontalWhitespaceCheckBox">
+        <property name="text">
+         <string>Non-horizontal whitespace character</string>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="2">
+       <widget class="QCheckBox" name="nonVerticalWhitespaceCheckBox">
+        <property name="text">
+         <string>Non-vertical whitespace character</string>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item>
+    <widget class="QGroupBox" name="singlesBox">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
+     <property name="title">
+      <string>Single character</string>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <widget class="QGroupBox" name="rangesBox">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
+     <property name="title">
+      <string>Character ranges</string>
+     </property>
+    </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>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
+  <tabstop>negativeCheckBox</tabstop>
+  <tabstop>wordCharCheckBox</tabstop>
+  <tabstop>nonWordCharCheckBox</tabstop>
+  <tabstop>digitsCheckBox</tabstop>
+  <tabstop>nonDigitsCheckBox</tabstop>
+  <tabstop>newlineCheckBox</tabstop>
+  <tabstop>nonNewlineCheckBox</tabstop>
+  <tabstop>whitespaceCheckBox</tabstop>
+  <tabstop>nonWhitespaceCheckBox</tabstop>
+  <tabstop>horizontalWhitespaceCheckBox</tabstop>
+  <tabstop>nonHorizontalWhitespaceCheckBox</tabstop>
+  <tabstop>verticalWhitespaceCheckBox</tabstop>
+  <tabstop>nonVerticalWhitespaceCheckBox</tabstop>
+  <tabstop>buttonBox</tabstop>
+ </tabstops>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>buttonBox</sender>
+   <signal>accepted()</signal>
+   <receiver>QRegularExpressionWizardCharactersDialog</receiver>
+   <slot>accept()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>157</x>
+     <y>476</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>157</x>
+     <y>498</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>buttonBox</sender>
+   <signal>rejected()</signal>
+   <receiver>QRegularExpressionWizardCharactersDialog</receiver>
+   <slot>reject()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>269</x>
+     <y>477</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>269</x>
+     <y>499</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
+</ui>

eric ide

mercurial