comparison Ui_MainWindow.ui @ 39:0c2578196643

Disable the article menu by default, enable it when the first article is selected
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 14 May 2010 06:48:48 +0200
parents 22214d79ed41
children c858aab71e5b
comparison
equal deleted inserted replaced
38:11bac653edfd 39:0c2578196643
60 </property> 60 </property>
61 <widget class="QMenu" name="menuFeed"> 61 <widget class="QMenu" name="menuFeed">
62 <property name="title"> 62 <property name="title">
63 <string>Feed</string> 63 <string>Feed</string>
64 </property> 64 </property>
65 <addaction name="actionAdd"/> 65 <addaction name="actionAddFeed"/>
66 <addaction name="actionFeedSettings"/>
67 </widget>
68 <widget class="QMenu" name="menuArticle">
69 <property name="enabled">
70 <bool>false</bool>
71 </property>
72 <property name="title">
73 <string>Article</string>
74 </property>
75 <addaction name="actionMarkSelectedRead"/>
76 <addaction name="actionOpenLink"/>
77 <addaction name="actionOpenInBrowser"/>
78 </widget>
79 <widget class="QMenu" name="menuFeedworm">
80 <property name="title">
81 <string>Feedworm</string>
82 </property>
83 <addaction name="actionPreferences"/>
66 <addaction name="separator"/> 84 <addaction name="separator"/>
67 <addaction name="actionQuit"/> 85 <addaction name="actionQuit"/>
68 </widget> 86 </widget>
69 <widget class="QMenu" name="menuArticle"> 87 <addaction name="menuFeedworm"/>
70 <property name="title">
71 <string>Article</string>
72 </property>
73 <addaction name="actionMarkSelectedRead"/>
74 <addaction name="actionOpenInBrowser"/>
75 </widget>
76 <addaction name="menuFeed"/> 88 <addaction name="menuFeed"/>
77 <addaction name="menuArticle"/> 89 <addaction name="menuArticle"/>
78 </widget> 90 </widget>
79 <widget class="QStatusBar" name="statusbar"/> 91 <widget class="QStatusBar" name="statusbar"/>
80 <action name="actionQuit"> 92 <action name="actionQuit">
83 </property> 95 </property>
84 <property name="shortcut"> 96 <property name="shortcut">
85 <string>Ctrl+Q</string> 97 <string>Ctrl+Q</string>
86 </property> 98 </property>
87 </action> 99 </action>
88 <action name="actionAdd"> 100 <action name="actionAddFeed">
89 <property name="text"> 101 <property name="text">
90 <string>Add ...</string> 102 <string>Add ...</string>
91 </property> 103 </property>
92 <property name="shortcut"> 104 <property name="shortcut">
93 <string>Ctrl+A</string> 105 <string>Ctrl+A</string>
110 <property name="text"> 122 <property name="text">
111 <string>Open in browser</string> 123 <string>Open in browser</string>
112 </property> 124 </property>
113 <property name="shortcut"> 125 <property name="shortcut">
114 <string>Ctrl+O</string> 126 <string>Ctrl+O</string>
127 </property>
128 </action>
129 <action name="actionOpenLink">
130 <property name="text">
131 <string>Open link</string>
132 </property>
133 <property name="shortcut">
134 <string>L</string>
135 </property>
136 </action>
137 <action name="actionPreferences">
138 <property name="enabled">
139 <bool>false</bool>
140 </property>
141 <property name="text">
142 <string>Preferences</string>
143 </property>
144 </action>
145 <action name="actionFeedSettings">
146 <property name="enabled">
147 <bool>false</bool>
148 </property>
149 <property name="text">
150 <string>Settings ...</string>
115 </property> 151 </property>
116 </action> 152 </action>
117 </widget> 153 </widget>
118 <customwidgets> 154 <customwidgets>
119 <customwidget> 155 <customwidget>
139 <y>299</y> 175 <y>299</y>
140 </hint> 176 </hint>
141 </hints> 177 </hints>
142 </connection> 178 </connection>
143 <connection> 179 <connection>
144 <sender>actionAdd</sender> 180 <sender>actionAddFeed</sender>
145 <signal>activated()</signal> 181 <signal>activated()</signal>
146 <receiver>MainWindow</receiver> 182 <receiver>MainWindow</receiver>
147 <slot>addFeed()</slot> 183 <slot>addFeed()</slot>
148 <hints> 184 <hints>
149 <hint type="sourcelabel"> 185 <hint type="sourcelabel">
203 <y>374</y> 239 <y>374</y>
204 </hint> 240 </hint>
205 </hints> 241 </hints>
206 </connection> 242 </connection>
207 <connection> 243 <connection>
244 <sender>actionOpenLink</sender>
245 <signal>activated()</signal>
246 <receiver>MainWindow</receiver>
247 <slot>openLinkFromSelectedEntry()</slot>
248 <hints>
249 <hint type="sourcelabel">
250 <x>-1</x>
251 <y>-1</y>
252 </hint>
253 <hint type="destinationlabel">
254 <x>495</x>
255 <y>374</y>
256 </hint>
257 </hints>
258 </connection>
259 <connection>
208 <sender>actionOpenInBrowser</sender> 260 <sender>actionOpenInBrowser</sender>
209 <signal>activated()</signal> 261 <signal>activated()</signal>
210 <receiver>MainWindow</receiver> 262 <receiver>MainWindow</receiver>
211 <slot>openSelectedEntry()</slot> 263 <slot>openSelectedEntryInBrowser()</slot>
212 <hints> 264 <hints>
213 <hint type="sourcelabel"> 265 <hint type="sourcelabel">
214 <x>-1</x> 266 <x>-1</x>
215 <y>-1</y> 267 <y>-1</y>
216 </hint> 268 </hint>
224 <slots> 276 <slots>
225 <slot>addFeed()</slot> 277 <slot>addFeed()</slot>
226 <slot>feedSelected(QModelIndex)</slot> 278 <slot>feedSelected(QModelIndex)</slot>
227 <slot>feedEntrySelected(QModelIndex)</slot> 279 <slot>feedEntrySelected(QModelIndex)</slot>
228 <slot>toggleReadOnSelectedEntry()</slot> 280 <slot>toggleReadOnSelectedEntry()</slot>
229 <slot>openSelectedEntry()</slot> 281 <slot>openSelectedEntryInBrowser()</slot>
282 <slot>openLinkFromSelectedEntry()</slot>
230 </slots> 283 </slots>
231 </ui> 284 </ui>