Mercurial > hg > Feedworm
comparison MainWindow.py @ 120:e830fa1cc7a2 backend
re-enabled PreferencesDialog
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 21 Aug 2011 04:04:37 +0200 |
parents | 04a730f9d07d |
children | 510a5d00e98a |
comparison
equal
deleted
inserted
replaced
119:04a730f9d07d | 120:e830fa1cc7a2 |
---|---|
2 #from AddFeed import AddFeed | 2 #from AddFeed import AddFeed |
3 from DisplayModel import DisplayModel | 3 from DisplayModel import DisplayModel |
4 from FeedEntryItemDelegate import FeedEntryItemDelegate | 4 from FeedEntryItemDelegate import FeedEntryItemDelegate |
5 from FeedEntryTableModel import FeedEntryTableModel | 5 from FeedEntryTableModel import FeedEntryTableModel |
6 from FeedSettings import FeedSettings | 6 from FeedSettings import FeedSettings |
7 #from PreferencesDialog import PreferencesDialog | 7 from PreferencesDialog import PreferencesDialog |
8 from PyQt4.QtCore import QUrl | 8 from PyQt4.QtCore import QUrl |
9 from PyQt4.QtGui import QApplication | 9 from PyQt4.QtGui import QApplication |
10 from PyQt4.QtGui import QMainWindow | 10 from PyQt4.QtGui import QMainWindow |
11 from PyQt4.QtGui import QWidget | 11 from PyQt4.QtGui import QWidget |
12 from Ui_MainWindow import Ui_MainWindow | 12 from Ui_MainWindow import Ui_MainWindow |
163 except Exception as exception: | 163 except Exception as exception: |
164 message = "Error while deleting feed: " + str(exception) | 164 message = "Error while deleting feed: " + str(exception) |
165 self._updateStatusBar(message) | 165 self._updateStatusBar(message) |
166 | 166 |
167 def showPreferences(self): | 167 def showPreferences(self): |
168 pass | 168 preferences = PreferencesDialog(self.backend) |
169 # preferences = PreferencesDialog(self.session) | 169 preferences.exec_() |
170 # preferences.exec_() | |
171 | 170 |
172 def showFeedSettings(self): | 171 def showFeedSettings(self): |
173 feedSettings = FeedSettings(self.session, self.selectedFeed) | 172 feedSettings = FeedSettings(self.session, self.selectedFeed) |
174 feedSettings.exec_() | 173 feedSettings.exec_() |
175 | 174 |