MCPcopy Create free account
hub / github.com/PyQt5/PyQt / __init__

Method __init__

QTableWidget/SqlQuery.py:51–57  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

49class Window(QWidget, Ui_Form):
50
51 def __init__(self, *args, **kwargs):
52 super(Window, self).__init__(*args, **kwargs)
53 self.setupUi(self)
54 # sql的拼接字段
55 self.sql = {}
56 # 数据库连接
57 self.session = sessionmaker(bind=engine)()
58
59 @pyqtSlot()
60 def on_pushButtonQuery_clicked(self):

Callers

nothing calls this directly

Calls 1

setupUiMethod · 0.45

Tested by

no test coverage detected