2020欧洲杯时间表

Questions tagged [pyqt5]

2020欧洲杯时间表 QT5 bindings for Python programming. This allows programmer to make QT5 graphical user interfaces using Python syntax.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

How to have a progress function with multiple inputs in PyQt? [duplicate]

I would like to connect the progress signal of a worker to a function that takes multiple arguments. I have a worker thread which I use to update a progress bar. This works fine if I use, for ...
0
votes
0answers
11 views

PyQt5 - Custom QWidget not showing up on parent widget

I am working on a game in which I have completed the engine and the networking layers. I am now working on some GUI for the game using PyQt5 (as the drawing isn't complex). I made a custom QWidget for ...
0
votes
0answers
17 views

Change color of updating curve depending on the value

How can I change color of an updating curve according to the current value in a pyqtgraph PlotWidget? In the code example below, I am creating a random number between 0 and 2. If below 1, the curve ...
-1
votes
1answer
21 views

Python3 Qt5 MainWindow

I have an application flow which looks like this. At startup a MainWindow is shown and asks the user to choose a project or create a new one. After a project is created or chosen from the list, I want ...
-1
votes
0answers
9 views

PyQt5 Seperating business logic and gui logic [duplicate]

I am writing an app, and I wanted to start using PyQt5. I am having an issue where a click button does absolutely nothing. The following code is what I wrote import createTODOMenu from PyQt5....
-2
votes
0answers
16 views

Packaging PyQt5 application to PyPI

I am trying to package a PyQt5 application to PyPI. The standard method of running a PyQt5 application is: if __name__ == "__main__": APP = QApplication(sys.argv) WIDGET = MainPage() APP....
-1
votes
0answers
19 views

Why is my second class not Opening? how to send input from first Class to second Class Label? [duplicate]

First Concern: Why is my "Second Window" (Second Class) not opening properly when a push button is being clicked from the "First Window" (First Class) ?? Second Concern: How can I send the text input ...
0
votes
0answers
27 views

Send data to Octobercms using PyQt [duplicate]

I have a barcode reader that reads the code of the citizenship card and verifies, on a server with OctoberCMS, if the user is registered. If you are registered, it returns the information of the user ...
2
votes
2answers
41 views

Dynamic Canvas Control

I would like to change Figure according to selected QRadiobutton. In my real code , I tried various way to do that with and without signal(Also, checked other topics.). To make it looks less ...
4
votes
1answer
25 views

Issue in QLineEdit with title()?

In my Programme. use two QLineEdit. First one is normal and second one is titled Line edit. First one/normal QLineEidt works smoothly, But In second textbox(QLineEdit), I cannot insert a text at ...
0
votes
0answers
9 views

pyqt5 QTextEdit not updating [duplicate]

The setText method for QTextEdit is hosed on my pyqt5: Qt version: 5.14.1 SIP version: 5.1.1 PyQt version: 5.14.1 MacOS Mojave, macbook pro It only updates infrequently. I can force it to update by ...
1
vote
1answer
19 views

Do signals contain data pyqt5?

I have trouble understanding whether signals contain some data or not. for example the signal windowTitleChanged contains a data of type str which needs to be passed to it's slot: self....
0
votes
0answers
11 views

how can I switch between QtTabWidgets created by QtDesigner by button click? in PyQt5 [closed]

am using python with PyQt5 framework, I have converted the .gui design using pyside2 to obtain a .py code, which is working correctly but, how will I navigate through the QtTabWidgets by clicking on ...
2
votes
1answer
16 views

How to insert Items from a list into QlistWidget?

I want to insert a list of items into a QlistWidget. Below is the code i am using: names = ['apple', 'banana', 'Cherry'] for item in names: self.listWidget.insertItems(item) But i am having an ...
2
votes
1answer
20 views

How to add a stacked layout in a tab widget in PyQt5?

I am trying to add multiple tables to a single tab of the QTabWidget with the help of QStackedLayout. Here is my code: class ui(QMainWindow): def __init__(self): super().__init__() ...

15 30 50 per page
1
2 3 4 5
603