SqlBrowser/SqlConnectionWidget.py

changeset 3656
441956d8fce5
parent 3484
645c12de6b0c
child 4021
195a471c327b
equal deleted inserted replaced
3654:ffeb85cdc72d 3656:441956d8fce5
7 Module implementing a widget showing the SQL connections. 7 Module implementing a widget showing the SQL connections.
8 """ 8 """
9 9
10 from __future__ import unicode_literals 10 from __future__ import unicode_literals
11 11
12 from PyQt4.QtCore import pyqtSignal, Qt, qVersion 12 from PyQt5.QtCore import pyqtSignal, Qt, qVersion
13 from PyQt4.QtGui import QWidget, QHeaderView, QTreeWidget, QVBoxLayout, \ 13 from PyQt5.QtWidgets import QWidget, QHeaderView, QTreeWidget, QVBoxLayout, \
14 QTreeWidgetItem, QAction 14 QTreeWidgetItem, QAction
15 from PyQt4.QtSql import QSqlDatabase 15 from PyQt5.QtSql import QSqlDatabase
16 16
17 17
18 class SqlConnectionWidget(QWidget): 18 class SqlConnectionWidget(QWidget):
19 """ 19 """
20 Class implementing a widget showing the SQL connections. 20 Class implementing a widget showing the SQL connections.

eric ide

mercurial