Questions tagged [PyQt] (279)

2
answers

Compile error in py ui,how to fix?

Ku friends,actually wanted to do a console application in Python(3.8.2). Distribute interface,trying to compile ui to py(with this team - pyside2-uic "C:\Users\Fox\Desktop\project R\calc\gui.ui" -x-o "C:\Users\Fox\Desktop\project R\calc\calc.py" ) and produces an error spoilerTraceback (most recent call last): File "c:\use...
haylie_Watsic asked April 19th 20 at 12:20
0
answer

How to set styles for QPlaintTextEdit?

I have QPlaintTextEdit I want to set styles for this edit. As you can separately set the styles for Text?
Zackary27 asked April 18th 20 at 13:12
1
answer

Why it's great PyQT?

In General, I noticed that if for example in a Label to put any smiley then app crashes without any error. How to fix it? Windows 10 Python 3.7.6
Citlalli.Metz9 asked April 18th 20 at 13:00
0
answer

How to change window style in PyQt5?

I have are these Windows How can I make a PyQt5 for example in this window?
anais.Prosacco52 asked April 18th 20 at 12:59
0
answer

Hangs during startup window, how to fix?

There is such code import asyncio from asyncio import transports from PySide2.QtWidgets import QMainWindow, QApplication from asyncqt import QEventLoop from interface import Ui_MainWindow class ClientProtocol(asyncio.Protocol): transport: transports.Transport window: 'MainWindow' def __init__(self, chat_window: 'Main...
pablo asked April 18th 20 at 12:47
1
answer

Can I return the color of the button that locked through the setEnabled?

I have this deck of cards. All cards except cards in the last row locked by using setEnabled(False). The image buttons were installed using the QIcon. Is it possible to return color-blocked buttons? If Yes, then please tell me how?
Nels asked April 18th 20 at 12:31
4
answers

Python for beginners: a tutorial there to create the GUI?

Studying Python. Prior to that, he was familiar with PHP, but there is a great desire to start writing Windows/Linux/MacOS application. Read the book E. Matiz - learning Python. Game programming, data visualization, web applications In General, basic knowledge of Python there, but how to create a GUI is unfortunately not ve...
marlin37 asked April 18th 20 at 12:20
1
answer

How to make rounded corner Qpixmaps?

You need a square image to do rounded corners. There is an object Qpixmaps. Or you can put in a label or in a QgraphicsView. What are the options for the fillet? StyleSheet, as you know, does not work in this case.
salma asked April 18th 20 at 12:13
1
answer

How to open the window by clicking on the button PyQt5?

I have a window that need to open by pressing the button OK in pyqt5. I can't never get to do it. Here's the code window: from PySide import QtCore, QtGui class Ui_FirstWindow(object): def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(191, 100) font = QtGui.QFont() font.setFamily("Arial") font.setP...
rodrick_Weima asked April 18th 20 at 12:12
0
answer

PyQtChart how to make automatic scalability the height?

How to make automatic scalability the height if a new candle above/below the current range? And how to make so that the screen was a maximum of 20 candles and they just shifted to the left when new, but did not get import sys from time import sleep from PyQt5.QtChart import QCandlestickSeries, QChart, QChartView, QCandlest...
Richie_Ondric asked April 16th 20 at 11:07