Skip to content Skip to sidebar Skip to footer
Showing posts with the label 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

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?

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

Enable Native Macos Mojave Dark Theme Pyside2/python Apps On Qt 5.12

I would like to know to enable the native MacOS Mojave Dark Theme (and if could be multiplatform wi… Read more Enable Native Macos Mojave Dark Theme Pyside2/python Apps On Qt 5.12

Pyinstaller And Qml Files

How can I include the QML file into my Python project as a single executable. When I run pyinstalle… Read more Pyinstaller And Qml Files

Add Feature For Previous Question Pyside2 Qlistview And Qtableview

The previous question was PySide2 QListView QTableView sync problem Imagine to have another dict4 i… Read more Add Feature For Previous Question Pyside2 Qlistview And Qtableview

Parent A Qtreewidgetitem To An Existing Qtreewidgetitem To Second Column Maintaining The First Column

I created a QTreeWidget and parented a QTreeWidgetItem using the QTreeWidget.addTopLevelItem method… Read more Parent A Qtreewidgetitem To An Existing Qtreewidgetitem To Second Column Maintaining The First Column

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?

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

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

Qabstratcttablemodel - Removerows

Code is almost complete. Here's the deal: It is python and PySide. I have a QAbstractTableMode… Read more Qabstratcttablemodel - Removerows

How To Get Return Value From Pyqt's Qwebenginepage.runjavascript()

I'm creating a simple QWebEngineView where I'm trying to retrieve a string by calling a js … Read more How To Get Return Value From Pyqt's Qwebenginepage.runjavascript()

Breadcrumbs Navigation Using Qtoolbar And Qlistview

I have JSON data something like this {'books':{ 'web':{ 'front-end… Read more Breadcrumbs Navigation Using Qtoolbar And Qlistview

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?

Cannot Use Applicationwindow (qml) On Pyside2

I'm trying to run a simple Qt application using QML and more specifically ApplicationWindow. My… Read more Cannot Use Applicationwindow (qml) On Pyside2

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)?

How To Set Values In Qml Using Pyside2?

From PySide2 i want to write values into qml. This values change dynamically. For PyQt5 example her… Read more How To Set Values In Qml Using Pyside2?

Importing QML From A Resource (QRC) File With PySide2

I have added a simple QML component ('qml/MyButton') to my 'resource.qrc' file: … Read more Importing QML From A Resource (QRC) File With PySide2