src/eric7/Project/TranslationPropertiesDialog.ui

branch
eric7
changeset 9426
e2a52d98ad20
parent 9413
80c06d472826
diff -r b1707793e213 -r e2a52d98ad20 src/eric7/Project/TranslationPropertiesDialog.ui
--- a/src/eric7/Project/TranslationPropertiesDialog.ui	Thu Oct 20 08:23:37 2022 +0200
+++ b/src/eric7/Project/TranslationPropertiesDialog.ui	Thu Oct 20 10:22:41 2022 +0200
@@ -6,7 +6,7 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>592</width>
+    <width>700</width>
     <height>543</height>
    </rect>
   </property>
@@ -18,68 +18,95 @@
   </property>
   <layout class="QVBoxLayout" name="verticalLayout">
    <item>
-    <widget class="QLabel" name="textLabel1_3">
-     <property name="text">
-      <string>&amp;Translation Path Pattern:
-(Use '%language%' where the language code should be inserted, e.g. i18n/eric7_%language%.ts)</string>
-     </property>
-     <property name="wordWrap">
-      <bool>true</bool>
-     </property>
-     <property name="buddy">
-      <cstring>transPatternPicker</cstring>
-     </property>
-    </widget>
-   </item>
-   <item>
-    <widget class="EricPathPicker" name="transPatternPicker" 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 pattern for the translation files</string>
-     </property>
-     <property name="whatsThis">
-      <string>&lt;b&gt;Translation Pattern&lt;/b&gt;
+    <layout class="QGridLayout" name="gridLayout">
+     <item row="0" column="0">
+      <widget class="QLabel" name="label_2">
+       <property name="text">
+        <string>&amp;Translation Path Pattern:</string>
+       </property>
+       <property name="buddy">
+        <cstring>transPatternPicker</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="0" column="1">
+      <widget class="EricPathPicker" name="transPatternPicker" 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 pattern for the translation files</string>
+       </property>
+       <property name="whatsThis">
+        <string>&lt;b&gt;Translation Pattern&lt;/b&gt;
 &lt;p&gt;Enter the path pattern for the translation files using %language% at the place of the language code (e.g. /path_to_eric/i18n/eric7_%language%.ts). This will result in translation files like /path_to_eric/i18n/eric7_de.ts.&lt;/p&gt;</string>
-     </property>
-    </widget>
-   </item>
-   <item>
-    <widget class="QLabel" name="label">
-     <property name="text">
-      <string>&amp;Binary Translations Path:</string>
-     </property>
-     <property name="buddy">
-      <cstring>transBinPathPicker</cstring>
-     </property>
-    </widget>
-   </item>
-   <item>
-    <widget class="EricPathPicker" name="transBinPathPicker" 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 for the binary translation files (*.qm)</string>
-     </property>
-     <property name="whatsThis">
-      <string>&lt;b&gt;Binary Translations Path&lt;/b&gt;
+       </property>
+      </widget>
+     </item>
+     <item row="1" column="0" colspan="2">
+      <widget class="QLabel" name="textLabel1_3">
+       <property name="text">
+        <string>(Use '%language%' where the language code should be inserted, e.g. i18n/eric7_%language%.ts)</string>
+       </property>
+       <property name="wordWrap">
+        <bool>true</bool>
+       </property>
+      </widget>
+     </item>
+     <item row="2" column="0">
+      <widget class="QLabel" name="label">
+       <property name="text">
+        <string>&amp;Binary Translations Path:</string>
+       </property>
+       <property name="buddy">
+        <cstring>transBinPathPicker</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="2" column="1">
+      <widget class="EricPathPicker" name="transBinPathPicker" 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 for the binary translation files (*.qm)</string>
+       </property>
+       <property name="whatsThis">
+        <string>&lt;b&gt;Binary Translations Path&lt;/b&gt;
 &lt;p&gt;Enter the directory for the binary translation files (*.qm). Leave it empty to store them together with the *.ts files.&lt;/p&gt;</string>
-     </property>
-    </widget>
+       </property>
+      </widget>
+     </item>
+     <item row="3" column="0">
+      <widget class="QLabel" name="label_3">
+       <property name="text">
+        <string>&amp;Source Start Path:</string>
+       </property>
+       <property name="buddy">
+        <cstring>sourceStartPathEdit</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="3" column="1">
+      <widget class="QLineEdit" name="sourceStartPathEdit">
+       <property name="toolTip">
+        <string>Enter the start of the sources directory relative to the project directory</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
    </item>
    <item>
     <widget class="QGroupBox" name="exceptionsGroup">
@@ -179,6 +206,7 @@
  <tabstops>
   <tabstop>transPatternPicker</tabstop>
   <tabstop>transBinPathPicker</tabstop>
+  <tabstop>sourceStartPathEdit</tabstop>
   <tabstop>exceptionsList</tabstop>
   <tabstop>exceptionEdit</tabstop>
   <tabstop>deleteExceptionButton</tabstop>

eric ide

mercurial