eliot-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Eliot-dev] eliot/qt/ui main_window.ui player_widget.ui tra...


From: Olivier Teulière
Subject: [Eliot-dev] eliot/qt/ui main_window.ui player_widget.ui tra...
Date: Sat, 02 Jan 2010 11:30:21 +0000

CVSROOT:        /cvsroot/eliot
Module name:    eliot
Changes by:     Olivier Teulière <ipkiss>       10/01/02 11:30:20

Modified files:
        qt/ui          : main_window.ui player_widget.ui 
                         training_widget.ui 

Log message:
        Improved some strings

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/eliot/qt/ui/main_window.ui?cvsroot=eliot&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/eliot/qt/ui/player_widget.ui?cvsroot=eliot&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/eliot/qt/ui/training_widget.ui?cvsroot=eliot&r1=1.4&r2=1.5

Patches:
Index: main_window.ui
===================================================================
RCS file: /cvsroot/eliot/eliot/qt/ui/main_window.ui,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- main_window.ui      15 Jan 2009 20:22:11 -0000      1.15
+++ main_window.ui      2 Jan 2010 11:30:20 -0000       1.16
@@ -1,7 +1,8 @@
-<ui version="4.0" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
  <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow" >
-  <property name="geometry" >
+ <widget class="QMainWindow" name="MainWindow">
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
@@ -9,142 +10,138 @@
     <height>617</height>
    </rect>
   </property>
-  <property name="windowTitle" >
+  <property name="windowTitle">
    <string>Eliot</string>
   </property>
-  <property name="windowIcon" >
-   <iconset resource="../eliot.qrc" >
+  <property name="windowIcon">
+   <iconset resource="../eliot.qrc">
     <normaloff>:/images/eliot.xpm</normaloff>:/images/eliot.xpm</iconset>
   </property>
-  <widget class="QWidget" name="centralwidget" >
-   <layout class="QVBoxLayout" name="verticalLayout_2" >
+  <widget class="QWidget" name="centralwidget">
+   <layout class="QVBoxLayout" name="verticalLayout_2">
     <item>
-     <widget class="QSplitter" name="splitterHoriz" >
-      <property name="orientation" >
+     <widget class="QSplitter" name="splitterHoriz">
+      <property name="orientation">
        <enum>Qt::Vertical</enum>
       </property>
-      <widget class="QSplitter" name="splitterVert" >
-       <property name="orientation" >
+      <widget class="QSplitter" name="splitterVert">
+       <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
-       <widget class="QGroupBox" name="groupBoxTest" >
-        <property name="sizePolicy" >
-         <sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
+       <widget class="QGroupBox" name="groupBoxTest">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
-        <property name="title" >
-         <string>_("Board")</string>
+        <property name="title">
+         <string>_(&quot;Board&quot;)</string>
         </property>
        </widget>
-       <widget class="QGroupBox" name="groupBoxHistory" >
-        <property name="sizePolicy" >
-         <sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
+       <widget class="QGroupBox" name="groupBoxHistory">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
-        <property name="title" >
-         <string>_("History")</string>
+        <property name="title">
+         <string>_(&quot;History&quot;)</string>
         </property>
        </widget>
       </widget>
-      <widget class="QGroupBox" name="groupBoxPlayers" >
-       <property name="title" >
-        <string>_("Players")</string>
+      <widget class="QGroupBox" name="groupBoxPlayers">
+       <property name="title">
+        <string>_(&quot;Players&quot;)</string>
        </property>
-       <layout class="QHBoxLayout" />
+       <layout class="QHBoxLayout"/>
       </widget>
      </widget>
     </item>
    </layout>
-   <zorder>splitterHoriz</zorder>
   </widget>
-  <widget class="QMenuBar" name="menubar" >
-   <property name="geometry" >
+  <widget class="QMenuBar" name="menubar">
+   <property name="geometry">
     <rect>
      <x>0</x>
      <y>0</y>
      <width>747</width>
-     <height>22</height>
+     <height>24</height>
     </rect>
    </property>
   </widget>
-  <widget class="QStatusBar" name="statusbar" />
-  <widget class="QToolBar" name="toolBar" >
-   <property name="contextMenuPolicy" >
+  <widget class="QStatusBar" name="statusbar"/>
+  <widget class="QToolBar" name="toolBar">
+   <property name="contextMenuPolicy">
     <enum>Qt::ActionsContextMenu</enum>
    </property>
-   <property name="windowTitle" >
-    <string>toolBar</string>
-   </property>
-   <attribute name="toolBarArea" >
+   <attribute name="toolBarArea">
     <enum>TopToolBarArea</enum>
    </attribute>
-   <attribute name="toolBarBreak" >
+   <attribute name="toolBarBreak">
     <bool>false</bool>
    </attribute>
   </widget>
-  <action name="action_WindowsBag" >
-   <property name="checkable" >
+  <action name="action_WindowsBag">
+   <property name="checkable">
     <bool>true</bool>
    </property>
-   <property name="text" >
-    <string>_("Bag")</string>
+   <property name="text">
+    <string>_(&quot;Bag&quot;)</string>
    </property>
-   <property name="statusTip" >
-    <string>_("Show/hide the remaining tiles in the bag")</string>
+   <property name="statusTip">
+    <string>_(&quot;Show/hide the remaining tiles in the bag&quot;)</string>
    </property>
-   <property name="shortcut" >
+   <property name="shortcut">
     <string>Ctrl+B</string>
    </property>
   </action>
-  <action name="action_WindowsBoard" >
-   <property name="checkable" >
+  <action name="action_WindowsBoard">
+   <property name="checkable">
     <bool>true</bool>
    </property>
-   <property name="text" >
-    <string>_("External board")</string>
+   <property name="text">
+    <string>_(&quot;External board&quot;)</string>
    </property>
-   <property name="statusTip" >
-    <string>_("Show/hide the external board")</string>
+   <property name="statusTip">
+    <string>_(&quot;Show/hide the external board&quot;)</string>
    </property>
-   <property name="shortcut" >
+   <property name="shortcut">
     <string>Ctrl+E</string>
    </property>
   </action>
-  <action name="action_WindowsHistory" >
-   <property name="checkable" >
+  <action name="action_WindowsHistory">
+   <property name="checkable">
     <bool>true</bool>
    </property>
-   <property name="text" >
-    <string>_("History")</string>
+   <property name="text">
+    <string>_(&quot;History&quot;)</string>
    </property>
-   <property name="statusTip" >
-    <string>_("Show/hide the game history")</string>
+   <property name="statusTip">
+    <string>_(&quot;Show/hide the game history&quot;)</string>
    </property>
-   <property name="shortcut" >
+   <property name="shortcut">
     <string>Ctrl+H</string>
    </property>
   </action>
-  <action name="action_WindowsDicTools" >
-   <property name="checkable" >
+  <action name="action_WindowsDicTools">
+   <property name="checkable">
     <bool>true</bool>
    </property>
-   <property name="text" >
-    <string>_("Dictionary tools")</string>
+   <property name="text">
+    <string>_(&quot;Dictionary tools&quot;)</string>
    </property>
-   <property name="statusTip" >
-    <string>_("Show/hide the dictionary tools")</string>
+   <property name="statusTip">
+    <string>_(&quot;Show/hide the dictionary tools&quot;)</string>
    </property>
-   <property name="shortcut" >
+   <property name="shortcut">
     <string>Ctrl+D</string>
    </property>
   </action>
  </widget>
  <resources>
-  <include location="../eliot.qrc" />
+  <include location="../eliot.qrc"/>
  </resources>
  <connections/>
 </ui>

Index: player_widget.ui
===================================================================
RCS file: /cvsroot/eliot/eliot/qt/ui/player_widget.ui,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- player_widget.ui    26 Jun 2009 21:27:13 -0000      1.6
+++ player_widget.ui    2 Jan 2010 11:30:20 -0000       1.7
@@ -44,9 +44,6 @@
      <property name="toolTip">
       <string>_(&quot;Enter the letters you want to change&quot;)</string>
      </property>
-     <property name="text">
-      <string>dummy</string>
-     </property>
     </widget>
    </item>
    <item row="2" column="2" colspan="2">
@@ -80,16 +77,11 @@
    <item row="1" column="1">
     <widget class="QLineEdit" name="lineEditPlay">
      <property name="toolTip">
-      <string>_(&quot;Enter the word to play (case-insensitive).
-A joker from the rack must be written in parentheses.
-E.g.: w(o)rd or W(O)RD&quot;)</string>
+      <string>_(&quot;Enter the word to play (case-insensitive). A joker from 
the rack must be written in parentheses. E.g.: w(o)rd or W(O)RD&quot;)</string>
      </property>
      <property name="statusTip">
       <string>_(&quot;Enter the word to play (case-insensitive). A joker from 
the rack must be written in parentheses. E.g.: w(o)rd or W(O)RD&quot;)</string>
      </property>
-     <property name="text">
-      <string>dummy</string>
-     </property>
     </widget>
    </item>
    <item row="1" column="4">
@@ -114,10 +106,7 @@
       </size>
      </property>
      <property name="toolTip">
-      <string>_(&quot;Enter the coordinates of the word.
-Specify the row before the column for horizontal words,
- and the column before the row for vertical words.
-E.g.: H4 or 4H&quot;)</string>
+      <string>_(&quot;Enter the coordinates of the word. Specify the row 
before the column for horizontal words, and the column before the row for 
vertical words. E.g.: H4 or 4H&quot;)</string>
      </property>
      <property name="statusTip">
       <string>_(&quot;Enter the coordinates of the word. Specify the row 
before the column for horizontal words, and the column before the row for 
vertical words. E.g.: H4 or 4H&quot;)</string>

Index: training_widget.ui
===================================================================
RCS file: /cvsroot/eliot/eliot/qt/ui/training_widget.ui,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- training_widget.ui  19 Feb 2009 18:25:20 -0000      1.4
+++ training_widget.ui  2 Jan 2010 11:30:20 -0000       1.5
@@ -1,30 +1,28 @@
-<ui version="4.0" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
  <class>TrainingWidget</class>
- <widget class="QWidget" name="TrainingWidget" >
-  <property name="geometry" >
+ <widget class="QWidget" name="TrainingWidget">
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>511</width>
+    <width>516</width>
     <height>300</height>
    </rect>
   </property>
-  <property name="windowTitle" >
-   <string>Form</string>
-  </property>
-  <layout class="QVBoxLayout" name="verticalLayout" >
+  <layout class="QVBoxLayout" name="verticalLayout">
    <item>
-    <layout class="QHBoxLayout" >
+    <layout class="QHBoxLayout">
      <item>
-      <widget class="QLabel" name="label" >
-       <property name="text" >
-        <string>_("Rack:")</string>
+      <widget class="QLabel" name="label">
+       <property name="text">
+        <string>_(&quot;Rack:&quot;)</string>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QLineEdit" name="lineEditRack" >
-       <property name="minimumSize" >
+      <widget class="QLineEdit" name="lineEditRack">
+       <property name="minimumSize">
         <size>
          <width>60</width>
          <height>0</height>
@@ -33,130 +31,121 @@
       </widget>
      </item>
      <item>
-      <widget class="QLabel" name="label_2" >
-       <property name="text" >
-        <string>_("Play a word:")</string>
+      <widget class="QLabel" name="label_2">
+       <property name="text">
+        <string>_(&quot;Play a word:&quot;)</string>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QLineEdit" name="lineEditPlay" >
-       <property name="minimumSize" >
+      <widget class="QLineEdit" name="lineEditPlay">
+       <property name="minimumSize">
         <size>
          <width>60</width>
          <height>0</height>
         </size>
        </property>
-       <property name="toolTip" >
-        <string>_("Enter the word to play (case-insensitive).
-A joker from the rack must be written in parentheses.
-E.g.: w(o)rd or W(O)RD")</string>
-       </property>
-       <property name="statusTip" >
-        <string>_("Enter the word to play (case-insensitive). A joker from the 
rack must be written in parentheses. E.g.: w(o)rd or W(O)RD")</string>
+       <property name="toolTip">
+        <string>_(&quot;Enter the word to play (case-insensitive). A joker 
from the rack must be written in parentheses. E.g.: w(o)rd or 
W(O)RD&quot;)</string>
        </property>
-       <property name="text" >
-        <string>dummy</string>
+       <property name="statusTip">
+        <string>_(&quot;Enter the word to play (case-insensitive). A joker 
from the rack must be written in parentheses. E.g.: w(o)rd or 
W(O)RD&quot;)</string>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QLabel" name="label_3" >
-       <property name="text" >
-        <string>_("Ref.:")</string>
+      <widget class="QLabel" name="label_3">
+       <property name="text">
+        <string>_(&quot;Ref.:&quot;)</string>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QLineEdit" name="lineEditCoords" >
-       <property name="sizePolicy" >
-        <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
+      <widget class="QLineEdit" name="lineEditCoords">
+       <property name="sizePolicy">
+        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
-       <property name="maximumSize" >
+       <property name="maximumSize">
         <size>
          <width>45</width>
          <height>16777215</height>
         </size>
        </property>
-       <property name="toolTip" >
-        <string>_("Enter the coordinates of the word.
-Specify the row before the column for horizontal words,
- and the column before the row for vertical words.
-E.g.: H4 or 4H")</string>
+       <property name="toolTip">
+        <string>_(&quot;Enter the coordinates of the word. Specify the row 
before the column for horizontal words, and the column before the row for 
vertical words. E.g.: H4 or 4H&quot;)</string>
        </property>
-       <property name="statusTip" >
-        <string>_("Enter the coordinates of the word. Specify the row before 
the column for horizontal words, and the column before the row for vertical 
words. E.g.: H4 or 4H")</string>
+       <property name="statusTip">
+        <string>_(&quot;Enter the coordinates of the word. Specify the row 
before the column for horizontal words, and the column before the row for 
vertical words. E.g.: H4 or 4H&quot;)</string>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QPushButton" name="pushButtonPlay" >
-       <property name="text" >
-        <string>_("Play")</string>
+      <widget class="QPushButton" name="pushButtonPlay">
+       <property name="text">
+        <string>_(&quot;Play&quot;)</string>
        </property>
       </widget>
      </item>
     </layout>
    </item>
    <item>
-    <layout class="QHBoxLayout" >
+    <layout class="QHBoxLayout">
      <item>
-      <widget class="QPushButton" name="pushButtonRack" >
-       <property name="text" >
-        <string>_("New rack")</string>
+      <widget class="QPushButton" name="pushButtonRack">
+       <property name="text">
+        <string>_(&quot;New rack&quot;)</string>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QPushButton" name="pushButtonComplement" >
-       <property name="text" >
-        <string>_("Complement")</string>
+      <widget class="QPushButton" name="pushButtonComplement">
+       <property name="text">
+        <string>_(&quot;Complement&quot;)</string>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QPushButton" name="pushButtonSearch" >
-       <property name="enabled" >
+      <widget class="QPushButton" name="pushButtonSearch">
+       <property name="enabled">
         <bool>false</bool>
        </property>
-       <property name="text" >
-        <string>_("Search")</string>
+       <property name="text">
+        <string>_(&quot;Search&quot;)</string>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QPushButton" name="pushButtonPlaySelected" >
-       <property name="enabled" >
+      <widget class="QPushButton" name="pushButtonPlaySelected">
+       <property name="enabled">
         <bool>false</bool>
        </property>
-       <property name="text" >
-        <string>_("Play selected")</string>
+       <property name="text">
+        <string>_(&quot;Play selected&quot;)</string>
        </property>
       </widget>
      </item>
     </layout>
    </item>
    <item>
-    <widget class="QGroupBox" name="groupBox" >
-     <property name="title" >
-      <string>_("Search results")</string>
+    <widget class="QGroupBox" name="groupBox">
+     <property name="title">
+      <string>_(&quot;Search results&quot;)</string>
      </property>
-     <layout class="QVBoxLayout" >
+     <layout class="QVBoxLayout">
       <item>
-       <widget class="QTreeView" name="treeViewResults" >
-        <property name="editTriggers" >
+       <widget class="QTreeView" name="treeViewResults">
+        <property name="editTriggers">
          <set>QAbstractItemView::NoEditTriggers</set>
         </property>
-        <property name="sortingEnabled" >
+        <property name="sortingEnabled">
          <bool>true</bool>
         </property>
        </widget>
       </item>
      </layout>
-     <zorder>treeViewResults</zorder>
     </widget>
    </item>
   </layout>
@@ -169,11 +158,11 @@
    <receiver>pushButtonSearch</receiver>
    <slot>click()</slot>
    <hints>
-    <hint type="sourcelabel" >
+    <hint type="sourcelabel">
      <x>283</x>
      <y>31</y>
     </hint>
-    <hint type="destinationlabel" >
+    <hint type="destinationlabel">
      <x>281</x>
      <y>48</y>
     </hint>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]