Mercurial > hg > Feedworm
comparison MainWindow.py @ 42:0c0d1760b737
Rename Preferences to PreferencesDialog
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Fri, 14 May 2010 08:08:17 +0200 |
parents | c858aab71e5b |
children | a8442c3487b5 |
comparison
equal
deleted
inserted
replaced
41:9fa1e33b67da | 42:0c0d1760b737 |
---|---|
1 | 1 |
2 from AddFeed import AddFeed | 2 from AddFeed import AddFeed |
3 from DisplayModel import DisplayModel | 3 from DisplayModel import DisplayModel |
4 from Feed import Feed | 4 from Feed import Feed |
5 from FeedEntry import FeedEntry | 5 from FeedEntry import FeedEntry |
6 from Preferences import Preferences | 6 from PreferencesDialog import PreferencesDialog |
7 from PyQt4 import QtGui | 7 from PyQt4 import QtGui |
8 from PyQt4.QtCore import QUrl | 8 from PyQt4.QtCore import QUrl |
9 from PyQt4.QtGui import QFont | 9 from PyQt4.QtGui import QFont |
10 from Ui_MainWindow import Ui_MainWindow | 10 from Ui_MainWindow import Ui_MainWindow |
11 import FeedUpdater | 11 import FeedUpdater |
67 url = QUrl(self.selectedEntry.link) | 67 url = QUrl(self.selectedEntry.link) |
68 self.ui.webView.load(url) | 68 self.ui.webView.load(url) |
69 self.ui.webView.show() | 69 self.ui.webView.show() |
70 | 70 |
71 def showPreferences(self): | 71 def showPreferences(self): |
72 preferences = Preferences(self.session) | 72 preferences = PreferencesDialog(self.session) |
73 preferences.exec_() | 73 preferences.exec_() |
74 | 74 |
75 | 75 |
76 class FeedEntryItemDelegate(QtGui.QStyledItemDelegate): | 76 class FeedEntryItemDelegate(QtGui.QStyledItemDelegate): |
77 def __init__(self): | 77 def __init__(self): |