es.davy.ai

Preguntas y respuestas de programación confiables

¿Tienes una pregunta?

Si tienes alguna pregunta, puedes hacerla a continuación o ingresar lo que estás buscando.

Tag: PYQT5

¿Cómo puedo cambiar mi hoja de estilo de fondo con fluidez en PyQt5?

import sys from PyQt5.QtWidgets import QApplication, QMainWindow from gui import Ui_MainWindow from PyQt5.QtCore import QTimer class Nem_Gui(QMainWindow): def __init__(self): super(Nem_Gui,self).__init__() self.ui=Ui_MainWindow() self.ui.setupUi(self) self.count=0 self.styleSheet=”QFrame#circular_progress{\n border-radius:150;\n background-color: qconicalgradient(cx:0.5, cy:0.5, angle:90, stop:{STOP_1} rgba(0, 0, 0, 255), stop:{STOP_2} rgba(85, 85, 255, 255));\n}” #CONFIGURAR EL TEMPORIZADOR self.timerbar=QTimer(self) self.timerbar.start(35) self.timerbar.timeout.connect(self.get) def get(self): if self.count>=100: self.timerbar.stop() . . . Read more

No se puede instalar PyQt5 en PyCharm.

Cada vez que intento instalar PyQt5 en PyCharm, recibo este error: Entonces intento ejecutar el comando desde la terminal del sistema, como se sugiere en la captura de pantalla, y obtengo esto: zsh: command not found: pip En su lugar, uso este comando: python3 -m pip install PyQt5 y muestra . . . Read more