diff Ui_MainWindow.ui @ 33:f371d02fa09d

mark unread feed entries bold. Add a menu item to toggle between read/unread
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 30 Apr 2010 06:22:33 +0200
parents f9a3223182c5
children 22214d79ed41
line wrap: on
line diff
--- a/Ui_MainWindow.ui	Fri Apr 30 06:02:06 2010 +0200
+++ b/Ui_MainWindow.ui	Fri Apr 30 06:22:33 2010 +0200
@@ -66,7 +66,14 @@
     <addaction name="separator"/>
     <addaction name="actionQuit"/>
    </widget>
+   <widget class="QMenu" name="menuArticle">
+    <property name="title">
+     <string>Article</string>
+    </property>
+    <addaction name="actionMarkSelectedRead"/>
+   </widget>
    <addaction name="menuFeed"/>
+   <addaction name="menuArticle"/>
   </widget>
   <widget class="QStatusBar" name="statusbar"/>
   <action name="actionQuit">
@@ -90,6 +97,14 @@
     <string>xxx</string>
    </property>
   </action>
+  <action name="actionMarkSelectedRead">
+   <property name="text">
+    <string>Mark selected read</string>
+   </property>
+   <property name="shortcut">
+    <string>M</string>
+   </property>
+  </action>
  </widget>
  <customwidgets>
   <customwidget>
@@ -164,10 +179,27 @@
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>actionMarkSelectedRead</sender>
+   <signal>activated()</signal>
+   <receiver>MainWindow</receiver>
+   <slot>toggleReadOnSelectedEntry()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>-1</x>
+     <y>-1</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>495</x>
+     <y>374</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
  <slots>
   <slot>addFeed()</slot>
   <slot>feedSelected(QModelIndex)</slot>
   <slot>feedEntrySelected(QModelIndex)</slot>
+  <slot>toggleReadOnSelectedEntry()</slot>
  </slots>
 </ui>