Mercurial > hg > Feedworm
diff Ui_MainWindow.ui @ 37:22214d79ed41
database URL must be given as commandline argument now, no need for creating complicated config files. Add a menu entry for opening the selected article in browser.
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Fri, 14 May 2010 06:16:05 +0200 |
parents | f371d02fa09d |
children | 0c2578196643 |
line wrap: on
line diff
--- a/Ui_MainWindow.ui Wed May 05 03:10:15 2010 +0200 +++ b/Ui_MainWindow.ui Fri May 14 06:16:05 2010 +0200 @@ -71,6 +71,7 @@ <string>Article</string> </property> <addaction name="actionMarkSelectedRead"/> + <addaction name="actionOpenInBrowser"/> </widget> <addaction name="menuFeed"/> <addaction name="menuArticle"/> @@ -105,6 +106,14 @@ <string>M</string> </property> </action> + <action name="actionOpenInBrowser"> + <property name="text"> + <string>Open in browser</string> + </property> + <property name="shortcut"> + <string>Ctrl+O</string> + </property> + </action> </widget> <customwidgets> <customwidget> @@ -195,11 +204,28 @@ </hint> </hints> </connection> + <connection> + <sender>actionOpenInBrowser</sender> + <signal>activated()</signal> + <receiver>MainWindow</receiver> + <slot>openSelectedEntry()</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> + <slot>openSelectedEntry()</slot> </slots> </ui>