Mercurial > hg > Feedworm
comparison MainWindow.py @ 251:3ce39af93e77 pyqt5
Update to PyQt5
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 22 Oct 2017 03:40:44 +0200 |
parents | 5695197a3ca5 |
children |
comparison
equal
deleted
inserted
replaced
250:f715378371ab | 251:3ce39af93e77 |
---|---|
3 from PyQtLib.GenericListModel import GenericListModel | 3 from PyQtLib.GenericListModel import GenericListModel |
4 from PyQtLib.GenericTableModel import GenericTableModel | 4 from PyQtLib.GenericTableModel import GenericTableModel |
5 from FeedEntryItemDelegate import FeedEntryItemDelegate | 5 from FeedEntryItemDelegate import FeedEntryItemDelegate |
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 PyQt5.QtCore import QUrl |
9 from PyQt4.QtGui import QApplication, QDesktopServices, QMainWindow, QWidget | 9 from PyQt5.QtWidgets import QApplication, QMainWindow, QWidget |
10 from PyQt5.QtGui import QDesktopServices | |
10 from Ui_MainWindow import Ui_MainWindow | 11 from Ui_MainWindow import Ui_MainWindow |
11 | 12 |
12 STATUS_MESSAGE_DISPLAY_MILLIS = 20000 | 13 STATUS_MESSAGE_DISPLAY_MILLIS = 20000 |
13 | 14 |
14 class MainWindow(QMainWindow): | 15 class MainWindow(QMainWindow): |