Mercurial > hg > Feedworm
comparison MainWindow.py @ 218:699d8f1cebd4
unify imports, especially Qt imports. Use consistent super syntax
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 27 Apr 2014 06:04:57 +0200 |
parents | bb3c851b18b1 |
children | 016c89dfd488 |
comparison
equal
deleted
inserted
replaced
217:bb3c851b18b1 | 218:699d8f1cebd4 |
---|---|
1 # -*- coding: utf-8 -*- | 1 # -*- coding: utf-8 -*- |
2 import subprocess | |
2 from AddFeed import AddFeed | 3 from AddFeed import AddFeed |
3 from DisplayModel import DisplayModel | 4 from DisplayModel import DisplayModel |
4 from FeedEntryItemDelegate import FeedEntryItemDelegate | 5 from FeedEntryItemDelegate import FeedEntryItemDelegate |
5 from FeedEntryTableModel import FeedEntryTableModel | 6 from FeedEntryTableModel import FeedEntryTableModel |
6 from FeedSettings import FeedSettings | 7 from FeedSettings import FeedSettings |
7 from PreferencesDialog import PreferencesDialog | 8 from PreferencesDialog import PreferencesDialog |
8 from PyQt4.QtCore import QUrl | 9 from PyQt4.QtCore import QUrl |
9 from PyQt4.QtGui import QApplication | 10 from PyQt4.QtGui import QApplication, QMainWindow, QWidget |
10 from PyQt4.QtGui import QMainWindow | |
11 from PyQt4.QtGui import QWidget | |
12 from Ui_MainWindow import Ui_MainWindow | 11 from Ui_MainWindow import Ui_MainWindow |
13 import subprocess | |
14 | 12 |
15 STATUS_MESSAGE_DISPLAY_MILLIS = 20000 | 13 STATUS_MESSAGE_DISPLAY_MILLIS = 20000 |
16 | 14 |
17 class MainWindow(QMainWindow): | 15 class MainWindow(QMainWindow): |
18 def __init__(self, backend=None): | 16 def __init__(self, backend=None): |