qt-designer

Process finished with exit code -1073740791 (0xC0000409) error not opening a website

Process finished with exit code -1073740791 (0xC0000409) error not opening a website Question: I am creating a desktop app using PyQt5 and QtDesginer. I have a login page connected to a database, and the user is asked to enter username and password. In the designer, I created a window that opens a certain link. The …

Total answers: 2

Getting PySide2 QCharts to show up when using Qt Designer

Getting PySide2 QCharts to show up when using Qt Designer Question: I’ve have a similar problem to the question here: How to insert QChartView in form with Qt Designer? So I created my MainWindow of my UI in Qt Designer and I’m trying to get a QtChart to show up inside one of the tabs …

Total answers: 2

How to insert a web browser in Python QT Designer

How to insert a web browser in Python QT Designer Question: I have created a simple user interface in QT Designer 5 and would like to include a widget that displays a webpage. I use the following code to use the ui file with python: from PyQt5 import uic, QtWidgets import sys app = QtWidgets.QApplication(sys.argv) …

Total answers: 2

What does "Process finished with exit code 1" mean?

What does "Process finished with exit code 1" mean? Question: I tried to develop a simple currency program but I have a problem. When I click on Çevir, the program should calculate money (like an exchange). But I can’t do it. PyCharm writes Process finished with exit code 1 when I click Çevir from PyQt5 …

Total answers: 3

PyQt5: How to install/run Qt Designer

PyQt5: How to install/run Qt Designer Question: Feeling really stupid, right now, but the title says it all: How do you start the QtDesigner? I’ve installed PyQt5 via pip and I believe to have identified the directory it’s been installed in as C:Users%username%AppDataLocalProgramsPythonPython36Libsite-packagesPyQt5 Now what? There are a lot of .pyd files, some .dll’s, too, …

Total answers: 20

Qt Designer displaying in real time the output of a python script

Qt Designer displaying in real time the output of a python script Question: I have a few issues with an application I’m trying to write so I’ll start by giving a sort of a “big picture” description of all the interactions: I have a simple UI written in Qt Designer. This launches a series of …

Total answers: 3

Convert .ui file to .py file using Anaconda

Convert .ui file to .py file using Anaconda Question: Hi maybe this is a stupid question but I can’t find the error or what should I do to do this… I have a .ui file with my GUI designed on QT Designer, and I want to use it with Python. I have installed Anaconda 2 …

Total answers: 6

PyQt: No error msg (traceback) on exit

PyQt: No error msg (traceback) on exit Question: My PyQt application no longer prints the error (stderr?) to the console. I use QtDesigner and import the UI like this: from PyQt5 import QtCore, QtGui, QtWidgets import sys from PyQt5.uic import loadUiType Ui_MainWindow, QMainWindow = loadUiType(“test.ui”) class Main(QMainWindow, Ui_MainWindow): “””Main window””” def __init__(self,parent=None): super(Main, self).__init__(parent) self.setupUi(self) …

Total answers: 2

ImportError for kseparator in python file converted from .ui by pyqt ( using qt designer)

ImportError for kseparator in python file converted from .ui by pyqt ( using qt designer) Question: The python file converted from .ui created by qt designer shows ImportError: No module named kseparator. code is from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: def _fromUtf8(s): return s try: _encoding = QtGui.QApplication.UnicodeUTF8 def _translate(context, …

Total answers: 1

How do I load children from .ui file in PySide?

How do I load children from .ui file in PySide? Question: For now I’m loading them like this: if __name__ == ‘__main__’: app = QApplication(sys.argv) loader = QUiLoader() file = QFile(‘main.ui’) file.open(QFile.ReadOnly) window = loader.load(file) file.close() window.show() # Here: window.centralwidget.findChild(QListWidget, ‘listWidget’).addItems([‘Item {0}’.format(x) for x in range(100)]) sys.exit(app.exec_()) But I think it’s uncomfortably, is there any …

Total answers: 1