ProjectFlask/ConfigurationPage/FlaskPage.ui

changeset 11
da6ef8ab8268
parent 9
79094fb72c18
child 64
0ee58185b8df
diff -r 506c78268b18 -r da6ef8ab8268 ProjectFlask/ConfigurationPage/FlaskPage.ui
--- a/ProjectFlask/ConfigurationPage/FlaskPage.ui	Sun Nov 15 17:35:48 2020 +0100
+++ b/ProjectFlask/ConfigurationPage/FlaskPage.ui	Sun Nov 15 19:53:56 2020 +0100
@@ -7,10 +7,10 @@
     <x>0</x>
     <y>0</y>
     <width>500</width>
-    <height>508</height>
+    <height>740</height>
    </rect>
   </property>
-  <layout class="QVBoxLayout" name="verticalLayout">
+  <layout class="QVBoxLayout" name="verticalLayout_3">
    <item>
     <widget class="QLabel" name="headerLabel">
      <property name="text">
@@ -175,6 +175,47 @@
     </widget>
    </item>
    <item>
+    <widget class="QGroupBox" name="TranslationsGroup">
+     <property name="title">
+      <string>Translations Editor</string>
+     </property>
+     <layout class="QVBoxLayout" name="verticalLayout">
+      <item>
+       <widget class="QLabel" name="label_10">
+        <property name="minimumSize">
+         <size>
+          <width>0</width>
+          <height>40</height>
+         </size>
+        </property>
+        <property name="text">
+         <string>Enter the path of an editor to use to do the translations. Leave empty to disable this feature.</string>
+        </property>
+        <property name="wordWrap">
+         <bool>true</bool>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="E5PathPicker" name="translationsEditorPicker" native="true">
+        <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 path of the translations editor</string>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item>
     <spacer name="verticalSpacer">
      <property name="orientation">
       <enum>Qt::Vertical</enum>
@@ -189,6 +230,14 @@
    </item>
   </layout>
  </widget>
+ <customwidgets>
+  <customwidget>
+   <class>E5PathPicker</class>
+   <extends>QWidget</extends>
+   <header>E5Gui/E5PathPicker.h</header>
+   <container>1</container>
+  </customwidget>
+ </customwidgets>
  <tabstops>
   <tabstop>consoleCommandCombo</tabstop>
   <tabstop>externalBrowserCheckBox</tabstop>

eric ide

mercurial