Skip to content

Commit 508d127

Browse files
mbernasocchim-kuhn
authored andcommitted
Add qgis.PyQt.Qt compat files (#3491)
* added PyQt.Qt * fix matthias comments
1 parent d9358e7 commit 508d127

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

python/PyQt/PyQt4/Qt.py

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# -*- coding: utf-8 -*-
2+
3+
"""
4+
***************************************************************************
5+
Qt.py
6+
---------------------
7+
Date : September 2016
8+
Copyright : (C) 2015 by Marco Bernasocchi
9+
Email : marco at opengis dot ch
10+
***************************************************************************
11+
* *
12+
* This program is free software; you can redistribute it and/or modify *
13+
* it under the terms of the GNU General Public License as published by *
14+
* the Free Software Foundation; either version 2 of the License, or *
15+
* (at your option) any later version. *
16+
* *
17+
***************************************************************************
18+
"""
19+
20+
__author__ = 'Marco Bernasocchi'
21+
__date__ = 'September 2016'
22+
__copyright__ = '(C) 2016, Marco Bernasocchi'
23+
# This will get replaced with a git SHA1 when you do a git archive
24+
__revision__ = '$Format:%H$'
25+
26+
27+
from PyQt4.Qt import *

python/PyQt/PyQt5/Qt.py

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# -*- coding: utf-8 -*-
2+
3+
"""
4+
***************************************************************************
5+
Qt.py
6+
---------------------
7+
Date : September 2016
8+
Copyright : (C) 2015 by Marco Bernasocchi
9+
Email : marco at opengis dot ch
10+
***************************************************************************
11+
* *
12+
* This program is free software; you can redistribute it and/or modify *
13+
* it under the terms of the GNU General Public License as published by *
14+
* the Free Software Foundation; either version 2 of the License, or *
15+
* (at your option) any later version. *
16+
* *
17+
***************************************************************************
18+
"""
19+
20+
__author__ = 'Marco Bernasocchi'
21+
__date__ = 'September 2016'
22+
__copyright__ = '(C) 2016, Marco Bernasocchi'
23+
# This will get replaced with a git SHA1 when you do a git archive
24+
__revision__ = '$Format:%H$'
25+
26+
27+
from PyQt5.Qt import *

0 commit comments

Comments
 (0)