Questions tagged [PyQt] (279)

1
answer

How to use qsettings to tableWidget (PyQt5)?

How to make after the closing of the tableWidget and everything inside remained? Give examples of code with explanations please!!!
eula.Pur asked April 4th 20 at 13:44
1
answer

How to call the dialog box select the folder in Python using PyQt5 module?

I learned to do desktop apps with the tkinter module. In tkinter it is very easy to cause the folder selection window, it I easily found in Google. But for PyQt5 I could not find it. Please tell me how you can call the folder selection window using the module of PyQt5?
thaddeus_Fah asked April 4th 20 at 13:42
0
answer

How to insert a map OSM or any other application in PyQt5?

Hello, I want to integrate OSM map or in any other application in PyQt5. Until build the application executable with om everything works, but after Assembly in pyInstaller and run the exe, says: "The geoservices provider is not supported." I would be very grateful for your help.from PyQt5 import QtWidgets, QtCore, QtQuickWi...
Horace_Ernser asked April 4th 20 at 13:29
0
answer

How to display folders and files tree in a qtreeview instead?

Please tell me how to put in the treeView of the folders and files tree from the directory specified in lineEdit? #!/usr/bin/python from PyQt5 import QtCore, QtGui, QtWidgets from form import Ui_MainWindow import sys app = QtWidgets.QApplication(sys.argv) MainWindow = QtWidgets.QMainWindow() ui = Ui_MainWindow() ui.setupUi...
Edythe.Strosin asked April 4th 20 at 13:26
1
answer

Why can't I see the data?

Error self.tableWidget.setItem(1,2 ,QTableWidgetItem("HALLO")) TypeError: 'PySide.QtGui.QTableWidget.setItem' called with wrong argument types: PySide.QtGui.QTableWidget.setItem(int, int, QTableWidgetItem) Supported signatures: PySide.QtGui.QTableWidget.setItem(int, int, PySide.QtGui.QTableWidgetItem)from PyQt5.QtWidgets...
stefanie.Stanton asked April 4th 20 at 12:45
1
answer

Why QSettings never saves?

What's wrong with the code why it does not save and displays QVariant::save: unable to save type 'QObject*' (type id: 39).#import subprocess from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtCore import QSize, QCoreApplication, QSettings from food import Ui_MainWindow ORGANIZATION_NAME = 'Example App' ORGANIZATION...
Claude.Franecki asked April 4th 20 at 12:27
1
answer

How to pass a variable from a Widget in a MainWindow using pyqtSignal, and why it's not working?

There Is A MainWindow. It has a button Btn and label_СС. By clicking on the button opens a separate widget, which has a tableWidget and label_2. Through the method cellClicked the value in the table cell quietly transferred inside a widget label_2 (in the form of a variable inside of a function). But can't figure out how ...
muriel_Larkin asked April 4th 20 at 12:17
0
answer

PyQtGraph. How to store a large number of graph elements?

In the program of the coming data, one float and one datetime. Somewhere every 4 seconds. But it is somewhere around 20,000 a day and day not alone. float is recorded on a curve in the natural order of the parish. datetime should appear when you hover over the corresponding float. All this stuff should be monitored by the u...
Jean.Kihn41 asked April 4th 20 at 01:39
0
answer

How to bind a ScrollBar to a label?

Can't figure out how to bind the scrollbar to a label.from PyQt5 import QtCore, QtGui, QtWidgets import sys class Ui_Form(object): def setupUi(self, Form): Form.setObjectName("Form") Form.resize(980, 829) self.scrollArea = QtWidgets.QScrollArea(Form) self.scrollArea.setGeometry(QtCore.QRect(10, 10, 911, 811)) self.scro...
skyla.Baumbach asked April 4th 20 at 01:04
1
answer

PyQt5 use QWebEngineView how to get html page?

Good afternoon everyone! PyQt5 use it as a browser QWebEngineView. Download page - trying to get html but not work, what am I doing wrong. Here is my codeimport sys import time from PyQt5.QtCore import QUrl from PyQt5.QtWebEngineWidgets import QWebEngineView from PyQt5.QtWidgets import QApplication def callback_function(h...
Stephany.Paucek72 asked April 4th 20 at 00:37