Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pyside2

Running A Long Python Calculation In A Thread, With Logging To A Qt Window, Crashes After A Short While

I have a large module from a separate project, which I wanted to integrate into a GUI. The module d… Read more Running A Long Python Calculation In A Thread, With Logging To A Qt Window, Crashes After A Short While

How To Create A Basic Custom Qgraphicseffect In Qt?

I have been trying to create a basic QGraphicsEffect to change the colors of the widget, but first … Read more How To Create A Basic Custom Qgraphicseffect In Qt?

Pyside How To See Qml Errors In Python Console?

I have the following code: if __name__ == '__main__': os.environ['QT_QUICK_CONTROLS… Read more Pyside How To See Qml Errors In Python Console?

How To Exclude Unnecessary Qt *.so Files When Packaging An Application?

After the successful packaging of my PySide app using PyInstaller, I've found lots of different… Read more How To Exclude Unnecessary Qt *.so Files When Packaging An Application?

How To Have Qhboxlayout To Have Fixed Ratio?

Just like in the image below, I have a QHBoxLayout. Inside this 2 QVBoxLayout where I add a series … Read more How To Have Qhboxlayout To Have Fixed Ratio?

Pyside2 Qthread Crash

I want to use PySide2 Qtcore.Qthread because of Qtcore.Signal, but I end up with this error: Proces… Read more Pyside2 Qthread Crash

Modulenotfounderror: No Module Named 'qwebengineview'

I have been using the QT designer tool which saves GUIs as a XML template. PySide2 is able to cover… Read more Modulenotfounderror: No Module Named 'qwebengineview'

How To Have Qt Run Asynchroneously For Interactive Use Like Matplotlib's Ion Mode?

I want to be able to launch a Qt interface from the python interpreter, with the command line retur… Read more How To Have Qt Run Asynchroneously For Interactive Use Like Matplotlib's Ion Mode?

Pyqt5 & Pyside2 / Could Not Load The Qt Platform Plugin "windows" In "" Even Though It Was Found

Development environment 1. Windows 10 / Python 3.6.8 / Pyinstaller 3.4 / PyQt5 5.10 2. Windows 10… Read more Pyqt5 & Pyside2 / Could Not Load The Qt Platform Plugin "windows" In "" Even Though It Was Found

Get Mouse Press Event From Any Widget

I have a QMainWindow application that has multiple widgets (buttons, labels, etc.) inside it. How c… Read more Get Mouse Press Event From Any Widget

Execute Command To A Python Script From Separate Python Script?

I'm trying to send a command from one python script to another running in terminal. I'm run… Read more Execute Command To A Python Script From Separate Python Script?

Embed Pyqtgraph To Pyside2

I'd like to implement a PyQtGraph PlotWidget into a PySide2 application. With PyQt5 everything … Read more Embed Pyqtgraph To Pyside2

Pyside2 Not Closing Correctly With Basic Example

When I run the basic script: import sys from PySide2.QtWidgets import QApplication, QLabel app = Q… Read more Pyside2 Not Closing Correctly With Basic Example

Qml Findchild From A Different Component

The objective: I'm writing a Gui front-end for a Matplotlib-based library for nested samples (p… Read more Qml Findchild From A Different Component

How To Add "select One..." To Qcombobox When Using Qabstracttablemodel (model/view)?

I'm using a QAbstractTableModel to populate a QComboBox. This works great, but I wish to always… Read more How To Add "select One..." To Qcombobox When Using Qabstracttablemodel (model/view)?

Qml Calendar And Google Calendar Api In Python Events Integration

I'm currently working on creating a QML Calendar that will ideally display events from a Google… Read more Qml Calendar And Google Calendar Api In Python Events Integration

Signal With Named Parameter

I am trying to replicate below example using PySide2. https://evileg.com/en/post/242/ But as PySide… Read more Signal With Named Parameter