Mercurial > hg > Feedworm
diff Ui_FeedSettings.ui @ 77:d292ab61ed6f
Add another setting to feed: when opening a feed entry in browser, you can force opening it in an external browser now. This is because some sites just crash the QWebView.
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sat, 14 Aug 2010 02:53:49 +0200 |
parents | 6bc6899f3330 |
children | d11c3f71ac40 |
line wrap: on
line diff
--- a/Ui_FeedSettings.ui Wed Aug 11 03:59:33 2010 +0200 +++ b/Ui_FeedSettings.ui Sat Aug 14 02:53:49 2010 +0200 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>400</width> - <height>126</height> + <height>140</height> </rect> </property> <property name="windowTitle"> @@ -21,7 +21,7 @@ <property name="geometry"> <rect> <x>20</x> - <y>80</y> + <y>100</y> <width>341</width> <height>32</height> </rect> @@ -69,6 +69,19 @@ <string>Title</string> </property> </widget> + <widget class="QCheckBox" name="alwaysOpenInBrowser"> + <property name="geometry"> + <rect> + <x>10</x> + <y>70</y> + <width>371</width> + <height>22</height> + </rect> + </property> + <property name="text"> + <string>when loading article's url, always use external browser</string> + </property> + </widget> </widget> <resources> <include location="Feedworm.qrc"/> @@ -138,9 +151,26 @@ </hint> </hints> </connection> + <connection> + <sender>alwaysOpenInBrowser</sender> + <signal>stateChanged(int)</signal> + <receiver>FeedSettings</receiver> + <slot>alwaysOpenInExternalBrowser()</slot> + <hints> + <hint type="sourcelabel"> + <x>195</x> + <y>80</y> + </hint> + <hint type="destinationlabel"> + <x>199</x> + <y>69</y> + </hint> + </hints> + </connection> </connections> <slots> <slot>autoLoadArticleChanged()</slot> <slot>editingTitleFinished()</slot> + <slot>alwaysOpenInExternalBrowser()</slot> </slots> </ui>