Questions tagged as 'pyqt5'

1
answer

Display Postgresql Table with Pyqt5

I have the following code, and I have been trying to visualize a Postgresql-10 table with Pyqt5 and it has not been possible, my script is: > from PyQt5 import QtCore, QtGui, QtWidgets from windowbd_2 import * from PyQt5.QtSql import QSq...
asked by 25.04.2018 / 22:59
2
answers

How to install PyQt5 in Windows

I tried to install PyQt5 but it gave me the following error Does anyone know how to fix this, how can I install it?     
asked by 10.04.2018 / 19:12
1
answer

Error sending value to a variable

I have this code that is from a media player however I get an error when trying to send the value of the selected file to the variable VIDEO_PATH . Here is the code: import sys from functools import partial from PyQt5.QtCore import QE...
asked by 27.03.2018 / 03:29
1
answer

KeyPressEvent does not detect key 0

I'm trying to capture the keys I press within QLineEdit , but the keyPressEvent() method does not return any results when I press any number or letter it just seems to react with key_Return : This is the sample code: impo...
asked by 21.03.2018 / 21:24
1
answer

Delete rows and send text to an item in a QTableWidget

I have a problem trying to send a text to an item in a tablewidget. This is the code I use: from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * from PyQt5 import uic from PyQt5.Qt import * class Principal(Q...
asked by 15.07.2018 / 23:32
1
answer

PyQt5 QNetworkAccesManager SSL error

I have a problem that I do not have with the solution, I am trying to access a site (https) using QNetworkAccesManager, I am Using PyQt5 (compiled by me) in Python 2.7.14 32Bit my code is this: from PyQt5.QtCore import QUrl, QCoreApplicatio...
asked by 06.04.2018 / 01:07
1
answer

Transparency in Windows PyQt Does Not Work

Good afternoon I want to generate a transparency effect in my main window. But when executing the code the transparency is not executed and only a black background is set: This is my code: import sys from PyQt5.QtWidgets import QMainWindow,...
asked by 07.03.2018 / 21:28
1
answer

Fill comboBox with result of lineEdit

I am making my first plugin for Qgis 3 with Plugin Builder, and I have the following form On the other hand I have a table in sqlServer that contains the following values. Nombre idLote Situacion 1 Contexto 1 Detalle...
asked by 04.08.2018 / 12:53
1
answer

How to update the delegate of a QTableView from a Thread

I would like to know if you know how to update a progress bar, which is drawn using a Delegate, the class is called QAbstractItemDelegate, this class was overwritten to draw a QWidget in a specific QProgressBar progress bar, use a QMainWindow as...
asked by 25.11.2017 / 05:28
0
answers

PyQt5 - start program

I have two separate script, on the one hand I have the program created in python3 which is called count.py and on the other hand I have created the GUI in PyQt5 called interface.py with the functionalities that I need. My question is this...
asked by 28.12.2018 / 10:42