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

Qstackedwidget - Change Page One By One

Is there a way to change the page of a QStackedWidget without appointing to the actual index. self.… Read more Qstackedwidget - Change Page One By One

Python3 Qt Unicode File Name Problems

Similar to QDir and QDirIterator ignore files with non-ASCII filenames and UnicodeEncodeError: '… Read more Python3 Qt Unicode File Name Problems

Qtextedit.find() Doesn't Work In Python

Simple code demonstrating the problem: #!/usr/bin/env python import sys from PyQt4.QtCore import Q… Read more Qtextedit.find() Doesn't Work In Python

Pyside Qwebview And Downloading Unsupported Content

Below is the code for a minimal browser using PySide for demoing webapps and the like. It generally… Read more Pyside Qwebview And Downloading Unsupported Content

How Can I Access Python Code From Javascript In Pyqt 5.7?

I used to do it by attaching an object self.page().mainFrame().addToJavaScriptWindowObject('js_… Read more How Can I Access Python Code From Javascript In Pyqt 5.7?

In Pyqt, How Can I Save The Items And Selected Item In A Combobox

I populate my combo box and the user selects one of the options. Then they close everything. At a l… Read more In Pyqt, How Can I Save The Items And Selected Item In A Combobox