|
|
@@ -1043,6 +1043,14 @@
|
|
|
"documentation": {}
|
|
|
},
|
|
|
{
|
|
|
+ "label": "QMainWindow",
|
|
|
+ "importPath": "PyQt5.QtWidgets",
|
|
|
+ "description": "PyQt5.QtWidgets",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtWidgets",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
"label": "QApplication",
|
|
|
"importPath": "PyQt5.QtWidgets",
|
|
|
"description": "PyQt5.QtWidgets",
|
|
|
@@ -1051,6 +1059,102 @@
|
|
|
"documentation": {}
|
|
|
},
|
|
|
{
|
|
|
+ "label": "QLabel",
|
|
|
+ "importPath": "PyQt5.QtWidgets",
|
|
|
+ "description": "PyQt5.QtWidgets",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtWidgets",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QMainWindow",
|
|
|
+ "importPath": "PyQt5.QtWidgets",
|
|
|
+ "description": "PyQt5.QtWidgets",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtWidgets",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QApplication",
|
|
|
+ "importPath": "PyQt5.QtWidgets",
|
|
|
+ "description": "PyQt5.QtWidgets",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtWidgets",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QLabel",
|
|
|
+ "importPath": "PyQt5.QtWidgets",
|
|
|
+ "description": "PyQt5.QtWidgets",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtWidgets",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QApplication",
|
|
|
+ "importPath": "PyQt5.QtWidgets",
|
|
|
+ "description": "PyQt5.QtWidgets",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtWidgets",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QMainWindow",
|
|
|
+ "importPath": "PyQt5.QtWidgets",
|
|
|
+ "description": "PyQt5.QtWidgets",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtWidgets",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QLabel",
|
|
|
+ "importPath": "PyQt5.QtWidgets",
|
|
|
+ "description": "PyQt5.QtWidgets",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtWidgets",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QMainWindow",
|
|
|
+ "importPath": "PyQt5.QtWidgets",
|
|
|
+ "description": "PyQt5.QtWidgets",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtWidgets",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QVBoxLayout",
|
|
|
+ "importPath": "PyQt5.QtWidgets",
|
|
|
+ "description": "PyQt5.QtWidgets",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtWidgets",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QLabel",
|
|
|
+ "importPath": "PyQt5.QtWidgets",
|
|
|
+ "description": "PyQt5.QtWidgets",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtWidgets",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QPushButton",
|
|
|
+ "importPath": "PyQt5.QtWidgets",
|
|
|
+ "description": "PyQt5.QtWidgets",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtWidgets",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QWidget",
|
|
|
+ "importPath": "PyQt5.QtWidgets",
|
|
|
+ "description": "PyQt5.QtWidgets",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtWidgets",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
"label": "QMainWindow",
|
|
|
"importPath": "PyQt5.QtWidgets",
|
|
|
"description": "PyQt5.QtWidgets",
|
|
|
@@ -1059,6 +1163,14 @@
|
|
|
"documentation": {}
|
|
|
},
|
|
|
{
|
|
|
+ "label": "QVBoxLayout",
|
|
|
+ "importPath": "PyQt5.QtWidgets",
|
|
|
+ "description": "PyQt5.QtWidgets",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtWidgets",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
"label": "QLabel",
|
|
|
"importPath": "PyQt5.QtWidgets",
|
|
|
"description": "PyQt5.QtWidgets",
|
|
|
@@ -1067,6 +1179,22 @@
|
|
|
"documentation": {}
|
|
|
},
|
|
|
{
|
|
|
+ "label": "QPushButton",
|
|
|
+ "importPath": "PyQt5.QtWidgets",
|
|
|
+ "description": "PyQt5.QtWidgets",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtWidgets",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QWidget",
|
|
|
+ "importPath": "PyQt5.QtWidgets",
|
|
|
+ "description": "PyQt5.QtWidgets",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtWidgets",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
"label": "QApplication",
|
|
|
"importPath": "PyQt5.QtWidgets",
|
|
|
"description": "PyQt5.QtWidgets",
|
|
|
@@ -1883,6 +2011,86 @@
|
|
|
"documentation": {}
|
|
|
},
|
|
|
{
|
|
|
+ "label": "Qt",
|
|
|
+ "importPath": "PyQt5.QtCore",
|
|
|
+ "description": "PyQt5.QtCore",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtCore",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "Qt",
|
|
|
+ "importPath": "PyQt5.QtCore",
|
|
|
+ "description": "PyQt5.QtCore",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtCore",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QRunnable",
|
|
|
+ "importPath": "PyQt5.QtCore",
|
|
|
+ "description": "PyQt5.QtCore",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtCore",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "pyqtSlot",
|
|
|
+ "importPath": "PyQt5.QtCore",
|
|
|
+ "description": "PyQt5.QtCore",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtCore",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QThreadPool",
|
|
|
+ "importPath": "PyQt5.QtCore",
|
|
|
+ "description": "PyQt5.QtCore",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtCore",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QTimer",
|
|
|
+ "importPath": "PyQt5.QtCore",
|
|
|
+ "description": "PyQt5.QtCore",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtCore",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QRunnable",
|
|
|
+ "importPath": "PyQt5.QtCore",
|
|
|
+ "description": "PyQt5.QtCore",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtCore",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "pyqtSlot",
|
|
|
+ "importPath": "PyQt5.QtCore",
|
|
|
+ "description": "PyQt5.QtCore",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtCore",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QThreadPool",
|
|
|
+ "importPath": "PyQt5.QtCore",
|
|
|
+ "description": "PyQt5.QtCore",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtCore",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QTimer",
|
|
|
+ "importPath": "PyQt5.QtCore",
|
|
|
+ "description": "PyQt5.QtCore",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtCore",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
"label": "QSize",
|
|
|
"importPath": "PyQt5.QtCore",
|
|
|
"description": "PyQt5.QtCore",
|
|
|
@@ -2187,6 +2395,38 @@
|
|
|
"documentation": {}
|
|
|
},
|
|
|
{
|
|
|
+ "label": "QPainter",
|
|
|
+ "importPath": "PyQt5.QtGui",
|
|
|
+ "description": "PyQt5.QtGui",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtGui",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QPixmap",
|
|
|
+ "importPath": "PyQt5.QtGui",
|
|
|
+ "description": "PyQt5.QtGui",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtGui",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QPixmap",
|
|
|
+ "importPath": "PyQt5.QtGui",
|
|
|
+ "description": "PyQt5.QtGui",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtGui",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "QPainter",
|
|
|
+ "importPath": "PyQt5.QtGui",
|
|
|
+ "description": "PyQt5.QtGui",
|
|
|
+ "isExtraImport": true,
|
|
|
+ "detail": "PyQt5.QtGui",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
"label": "QColor",
|
|
|
"importPath": "PyQt5.QtGui",
|
|
|
"description": "PyQt5.QtGui",
|
|
|
@@ -2340,6 +2580,15 @@
|
|
|
"documentation": {}
|
|
|
},
|
|
|
{
|
|
|
+ "label": "time",
|
|
|
+ "kind": 6,
|
|
|
+ "isExtraImport": true,
|
|
|
+ "importPath": "time",
|
|
|
+ "description": "time",
|
|
|
+ "detail": "time",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
"label": "QSqlDatabase",
|
|
|
"importPath": "PyQt5.QtSql",
|
|
|
"description": "PyQt5.QtSql",
|
|
|
@@ -3523,6 +3772,60 @@
|
|
|
{
|
|
|
"label": "MainWindow",
|
|
|
"kind": 6,
|
|
|
+ "importPath": "bitmap.paint_line",
|
|
|
+ "description": "bitmap.paint_line",
|
|
|
+ "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.label = QLabel()\n canvas = QPixmap(400, 300)\n canvas.fill(Qt.white)\n self.label.setPixmap(canvas)\n self.setCentralWidget(self.label)\n self.last_x, self.last_y = None, None\n def mouseMoveEvent(self, e):",
|
|
|
+ "detail": "bitmap.paint_line",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "app",
|
|
|
+ "kind": 5,
|
|
|
+ "importPath": "bitmap.paint_line",
|
|
|
+ "description": "bitmap.paint_line",
|
|
|
+ "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
|
|
|
+ "detail": "bitmap.paint_line",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "window",
|
|
|
+ "kind": 5,
|
|
|
+ "importPath": "bitmap.paint_line",
|
|
|
+ "description": "bitmap.paint_line",
|
|
|
+ "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
|
|
|
+ "detail": "bitmap.paint_line",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "MainWindow",
|
|
|
+ "kind": 6,
|
|
|
+ "importPath": "bitmap.paint_start",
|
|
|
+ "description": "bitmap.paint_start",
|
|
|
+ "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.label = QLabel()\n canvas = QPixmap(400, 300)\n canvas.fill(Qt.white)\n self.label.setPixmap(canvas)\n self.setCentralWidget(self.label)\n def mouseMoveEvent(self, e):\n painter = QPainter(self.label.pixmap())",
|
|
|
+ "detail": "bitmap.paint_start",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "app",
|
|
|
+ "kind": 5,
|
|
|
+ "importPath": "bitmap.paint_start",
|
|
|
+ "description": "bitmap.paint_start",
|
|
|
+ "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
|
|
|
+ "detail": "bitmap.paint_start",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "window",
|
|
|
+ "kind": 5,
|
|
|
+ "importPath": "bitmap.paint_start",
|
|
|
+ "description": "bitmap.paint_start",
|
|
|
+ "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
|
|
|
+ "detail": "bitmap.paint_start",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "MainWindow",
|
|
|
+ "kind": 6,
|
|
|
"importPath": "bitmap.stub",
|
|
|
"description": "bitmap.stub",
|
|
|
"peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.initUI()\n def initUI(self):\n self.label = QLabel()\n canvas = QPixmap(400, 300)\n canvas.fill(Qt.white)\n self.label.setPixmap(canvas)\n self.setCentralWidget(self.label)",
|
|
|
@@ -3530,6 +3833,42 @@
|
|
|
"documentation": {}
|
|
|
},
|
|
|
{
|
|
|
+ "label": "Worker",
|
|
|
+ "kind": 6,
|
|
|
+ "importPath": "concurrent.qrunnable_1",
|
|
|
+ "description": "concurrent.qrunnable_1",
|
|
|
+ "peekOfCode": "class Worker(QRunnable):\n \"\"\"\n Worker thread\n \"\"\"\n @pyqtSlot()\n def run(self):\n \"\"\"\n Your code goes in this function\n \"\"\"\n print(\"Thread start\")",
|
|
|
+ "detail": "concurrent.qrunnable_1",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "MainWindow",
|
|
|
+ "kind": 6,
|
|
|
+ "importPath": "concurrent.qrunnable_1",
|
|
|
+ "description": "concurrent.qrunnable_1",
|
|
|
+ "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.counter = 0\n self.threadpool = QThreadPool()\n print(\"Multithreading with maximum %d threads\" %\n self.threadpool.maxThreadCount())\n self.ui()\n def ui(self):\n layout = QVBoxLayout()",
|
|
|
+ "detail": "concurrent.qrunnable_1",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "Worker",
|
|
|
+ "kind": 6,
|
|
|
+ "importPath": "concurrent.qrunnable_start_2",
|
|
|
+ "description": "concurrent.qrunnable_start_2",
|
|
|
+ "peekOfCode": "class Worker(QRunnable):\n \"\"\"\n Worker thread\n \"\"\"\n @pyqtSlot()\n def run(self):\n \"\"\"\n Your code goes in this function\n \"\"\"\n print(\"Thread start\")",
|
|
|
+ "detail": "concurrent.qrunnable_start_2",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "MainWindow",
|
|
|
+ "kind": 6,
|
|
|
+ "importPath": "concurrent.qrunnable_start_2",
|
|
|
+ "description": "concurrent.qrunnable_start_2",
|
|
|
+ "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.counter = 0\n self.threadpool = QThreadPool()\n print(\"Multithreading with maximum %d threads\" %\n self.threadpool.maxThreadCount())\n self.ui()\n def ui(self):\n layout = QVBoxLayout()",
|
|
|
+ "detail": "concurrent.qrunnable_start_2",
|
|
|
+ "documentation": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
"label": "MainWindow",
|
|
|
"kind": 6,
|
|
|
"importPath": "databases.tableview",
|