[vlmc-devel] commit: wizard: fix lineedit retranslation issue (fixes #55) ( Ludovic Fauvet )

git at videolan.org git at videolan.org
Thu Apr 15 10:48:26 CEST 2010


vlmc | branch: master | Ludovic Fauvet <etix at l0cal.com> | Thu Apr 15 10:47:31 2010 +0200| [31e29d4ec75e89ae3dc9f74d8119c6ef2a728cab] | committer: Ludovic Fauvet 

wizard: fix lineedit retranslation issue (fixes #55)

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=31e29d4ec75e89ae3dc9f74d8119c6ef2a728cab
---

 src/Gui/wizard/ui/GeneralPage.ui |   24 ++++++++++++++++++++++--
 1 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/src/Gui/wizard/ui/GeneralPage.ui b/src/Gui/wizard/ui/GeneralPage.ui
index a0e7fbe..e9c6578 100644
--- a/src/Gui/wizard/ui/GeneralPage.ui
+++ b/src/Gui/wizard/ui/GeneralPage.ui
@@ -56,7 +56,7 @@
    <item row="2" column="1">
     <widget class="QLineEdit" name="lineEditName">
      <property name="text">
-      <string>Untitled</string>
+      <string notr="true"/>
      </property>
      <property name="maxLength">
       <number>200</number>
@@ -78,6 +78,19 @@
        <height>60</height>
       </size>
      </property>
+     <property name="html">
+      <string notr="true">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;table style=&quot;-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;&quot;&gt;
+&lt;tr&gt;
+&lt;td style=&quot;border: none;&quot;&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;</string>
+     </property>
+     <property name="acceptRichText">
+      <bool>false</bool>
+     </property>
     </widget>
    </item>
    <item row="4" column="0" colspan="2">
@@ -101,7 +114,11 @@
     </widget>
    </item>
    <item row="5" column="1">
-    <widget class="QLineEdit" name="lineEditWorkspace"/>
+    <widget class="QLineEdit" name="lineEditWorkspace">
+     <property name="text">
+      <string notr="true"/>
+     </property>
+    </widget>
    </item>
    <item row="6" column="1">
     <widget class="QPushButton" name="pushButtonBrowse">
@@ -131,6 +148,9 @@
    </item>
    <item row="7" column="1">
     <widget class="QLineEdit" name="lineEditProjectLocation">
+     <property name="text">
+      <string notr="true"/>
+     </property>
      <property name="readOnly">
       <bool>true</bool>
      </property>



More information about the Vlmc-devel mailing list