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

How To Get The Html Dom Of A Webpage And Its Frames

I would like to get the DOM of a website after js execution. I would also like to get all the cont… Read more How To Get The Html Dom Of A Webpage And Its Frames

Matplotlib Show Parasite Axes Using Oo Api

I am totally stumped at how to use parasite axes using the OO API (Figure embedded in PyQt4). I wan… Read more Matplotlib Show Parasite Axes Using Oo Api

Pyqt4: Less Round-about Way Of Removing Item From Qlistwidget?

I want to remove an item whose name I know. I came up with: item = lw.findItems(name, QtCore.Qt.Mat… Read more Pyqt4: Less Round-about Way Of Removing Item From Qlistwidget?

How To Programmatically Change/update Data In Python Pyqt4 Tableview?

I would like to have a table within a QWidget window and update the table each time the user enters… Read more How To Programmatically Change/update Data In Python Pyqt4 Tableview?

Pluggable Python Program

I want to make a PyQt4 program that supports plugins. Basically I want the user to be able to write… Read more Pluggable Python Program

How To Insert And Clear Placeholder In Qtextedit

I have a QTextEdit with setText() already but I want a the placeholder to clear when user selects t… Read more How To Insert And Clear Placeholder In Qtextedit

Pyqt4 Qprocess State Always 0, Various Slots Not Working Too

I am trying to figure out the way QProcess (Linux!) works because I'm going to need it for a pr… Read more Pyqt4 Qprocess State Always 0, Various Slots Not Working Too

Select Text Of Textedit Object With Qtextcursor, Qtextedit

I have a textEdit field and I want to process some selected text within this field (but not the for… Read more Select Text Of Textedit Object With Qtextcursor, Qtextedit

Qthreadpool - How To Interrupt / How To Use Wisely The Waitfordone Method

Background : I have a script that allows me to make spatial queries on a PostgreSQL database via an… Read more Qthreadpool - How To Interrupt / How To Use Wisely The Waitfordone Method

Replacing Layout On A Qwidget With Another Layout

I have a widget which changes when an option is toggled. This invalidates all layouts and widgets. … Read more Replacing Layout On A Qwidget With Another Layout

How Do I Get The Checked Items In A Qlistview?

I've populated a Qlistview from a file, each line in the file becomes a row. Now, I'd like … Read more How Do I Get The Checked Items In A Qlistview?

Pyqt Multiple Tablewidgets And Tabwidgets

My objective is to display 10 or more QTabWidget in a single QMainWindow, each tab holding a unique… Read more Pyqt Multiple Tablewidgets And Tabwidgets

Stylesheet For Nested Custom Widget Not Applied

I expect the following code to show a small black area inside outer main window: class Canvas(QWidg… Read more Stylesheet For Nested Custom Widget Not Applied

Send Additional Variable During Pyqt Pushbutton Click

I'm new to Python and PyQt and this is my first application. Currently when a button is clicked… Read more Send Additional Variable During Pyqt Pushbutton Click

Viewing Maps With Pyqt4 Qwebview Using Python 3

I am building a program that can show a map with a markers according to specific coordinates from a… Read more Viewing Maps With Pyqt4 Qwebview Using Python 3

Playing Sound With Pyqt4 And Qsound

To keep it short, after hours of looking for a way to play sound in pyqt4, I still can't figure… Read more Playing Sound With Pyqt4 And Qsound

Qt4 + Mplot3d Of Matplotlib

I am trying to embed a 3D plot in a Qt4 GUI (has other buttons), is this possible using matplotlib&… Read more Qt4 + Mplot3d Of Matplotlib

How Can I Retrieve Data From A Qtablewidget To Dataframe?

I have a QTableWidget in editable mode in which user puts in integer input , how can I generate a l… Read more How Can I Retrieve Data From A Qtablewidget To Dataframe?

Pyqt4 @pyqtslot: What Is The Result Kwarg For?

By reading this, two questions came up: 1. It says it is sometimes necessary to explicitly mark a… Read more Pyqt4 @pyqtslot: What Is The Result Kwarg For?

Installing Pyqt4 In A Virtualenv

I am trying to install PyQT4 in a virtualenv. I am running Python3.2.1. Here's what I've do… Read more Installing Pyqt4 In A Virtualenv