Improved translation mechanism
[someplayer] / src / ui / mainwindow.ui
index 38afdfc..e7af79f 100644 (file)
    </rect>
   </property>
   <property name="windowTitle">
-   <string>someplayer</string>
+   <string>SomePlayer</string>
   </property>
-  <widget class="QWidget" name="centralWidget"/>
+  <widget class="QWidget" name="centralWidget">
+   <layout class="QVBoxLayout" name="verticalLayout">
+    <property name="spacing">
+     <number>0</number>
+    </property>
+    <property name="margin">
+     <number>0</number>
+    </property>
+   </layout>
+  </widget>
   <widget class="QMenuBar" name="menuBar">
    <property name="geometry">
     <rect>
      <height>23</height>
     </rect>
    </property>
-   <widget class="QMenu" name="menuFile">
+   <property name="styleSheet">
+    <string notr="true"/>
+   </property>
+   <widget class="QMenu" name="menuHelp">
+    <property name="title">
+     <string>Main</string>
+    </property>
+    <addaction name="actionAbout"/>
+    <addaction name="actionSettings"/>
+   </widget>
+   <widget class="QMenu" name="menuLibrary">
+    <property name="title">
+     <string>Library</string>
+    </property>
+    <addaction name="actionManageLibrary"/>
+   </widget>
+   <widget class="QMenu" name="menuTools">
+    <property name="title">
+     <string>Tools</string>
+    </property>
+    <addaction name="actionSetTimer"/>
+    <addaction name="actionEqualizer"/>
+   </widget>
+   <widget class="QMenu" name="menuPlayer">
     <property name="title">
-     <string>File</string>
+     <string>Player</string>
     </property>
-    <addaction name="actionOpen"/>
+    <addaction name="actionSavePlaylist"/>
    </widget>
-   <addaction name="menuFile"/>
+   <addaction name="menuHelp"/>
+   <addaction name="menuPlayer"/>
+   <addaction name="menuLibrary"/>
+   <addaction name="menuTools"/>
   </widget>
-  <action name="actionOpen">
+  <action name="actionAbout">
    <property name="text">
-    <string>Open media</string>
+    <string>About</string>
    </property>
   </action>
-  <action name="actionQuit">
+  <action name="actionSettings">
    <property name="text">
-    <string>Quit</string>
+    <string>Settings</string>
+   </property>
+  </action>
+  <action name="actionManageLibrary">
+   <property name="text">
+    <string>Manage library</string>
+   </property>
+  </action>
+  <action name="actionEqualizer">
+   <property name="text">
+    <string>Equalizer</string>
+   </property>
+  </action>
+  <action name="actionSetTimer">
+   <property name="text">
+    <string>Set timer</string>
+   </property>
+  </action>
+  <action name="actionSavePlaylist">
+   <property name="text">
+    <string>Save playlist</string>
+   </property>
+   <property name="shortcut">
+    <string>Ctrl+S</string>
    </property>
   </action>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
  <resources/>
- <connections>
-  <connection>
-   <sender>actionQuit</sender>
-   <signal>triggered()</signal>
-   <receiver>MainWindow</receiver>
-   <slot>close()</slot>
-   <hints>
-    <hint type="sourcelabel">
-     <x>-1</x>
-     <y>-1</y>
-    </hint>
-    <hint type="destinationlabel">
-     <x>399</x>
-     <y>239</y>
-    </hint>
-   </hints>
-  </connection>
- </connections>
+ <connections/>
 </ui>