Mercurial > hg > RemoteViewer
comparison __main__.py @ 36:5b6e65b90784
Port to PyQt5
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Fri, 10 Nov 2017 01:26:41 +0100 |
parents | f889ad584f0a |
children |
comparison
equal
deleted
inserted
replaced
35:bb8b1d9c52b2 | 36:5b6e65b90784 |
---|---|
4 import sip | 4 import sip |
5 sip.setapi('QString', 2) | 5 sip.setapi('QString', 2) |
6 sip.setapi('QVariant', 2) | 6 sip.setapi('QVariant', 2) |
7 | 7 |
8 import sys | 8 import sys |
9 from PyQt4.QtGui import QApplication | 9 from PyQt5.QtWidgets import QApplication |
10 from RemoteViewer.RemoteViewer import RemoteViewer | 10 from RemoteViewer.RemoteViewer import RemoteViewer |
11 | 11 |
12 if __name__ == '__main__': | 12 if __name__ == '__main__': |
13 app = QApplication(sys.argv) | 13 app = QApplication(sys.argv) |
14 window = RemoteViewer() | 14 window = RemoteViewer() |