Questions tagged as 'pyqt-5'

2
answers

How to play audio with PyQt?

Is there any way to run an audio file with PyQt? Is it possible to do this only with PyQt or do you need to install another library?     
asked by 11.11.2016 / 13:48
2
answers

How to disable a QLineEdit in Pyqt?

How do I disable a QLineEdit in Pyqt5? Example: inputUserName = QLineEdit(self) I would like to leave it disabled, same as Html , when we use the disabled attribute. Is it possible?     
asked by 26.07.2018 / 17:56
1
answer

Python - QDate to datetime conversion

I need to convert a date input by a QCalendar to datetime (from the datetime lib). How can I do it?     
asked by 24.07.2017 / 19:39
1
answer

How to submit when pressing ENTER on a QLineEdit?

I have a certain QLineEdit in my application that, when a QPushButton is clicked, the text of it is sent to the database. But I would like to be able to add this same event by pressing ENTER on that QLineEdit . How can...
asked by 24.03.2017 / 12:47
0
answers

What safe practices can I take to store a password in desktop applications?

I intend to make an application with Pyqt5 to issue notifications based on an API that I have. The user, of course, in a first access would have to use the login and password, to access the application. I would like to keep this user authenticat...
asked by 03.08.2018 / 22:03
1
answer

How to keep the window created by open PyQT5?

After a long study of the object orientation part, I started to study PyQT5. I was doubtful in the following code: class App(QWidget): def __init__(self): super().__init__() self.title='Hello, world!' self.left=10...
asked by 26.12.2018 / 10:57
0
answers

(Python + PyQt5) How to close one window after opening another?

Hello. I'm having a difficulty on a login form. When you enter the correct credentials, the next form opens, but the login form remains open. How do I close the login form after opening the next form? Here is the code below: from PyQt5.QtWidge...
asked by 13.12.2018 / 17:25
0
answers

How to make multiple dynamic charts with PyQt5?

I need to make four dynamic charts on a single screen but I can not figure how. I can only display one chart at a time. I used the code below as an example, but I can not create four graphs and display them. #! python3 #coding: utf-8 import...
asked by 16.10.2018 / 17:47
0
answers

Removing rows in PyQt

I need to remove a row in the Pyqt table. In fact it load the lines as per the filter. But at the time it's going to open it pulls the IDs of the lines out of the filter, how do I resolve this?     
asked by 20.04.2018 / 13:25
0
answers

PyQt5 - MainWindow opens and closes soon

main.py (dialog) if __name__ == '__main__': try: import sys from user_interface.ui.login import Ui_Dialog from PyQt5 import QtCore, QtGui, QtWidgets app = QtWidgets.QApplication(sys.argv) login_wi...
asked by 08.08.2017 / 14:38