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

Matplotlib / Pyqt4: Transparent Figure

I am using Python with PyQt4 and I want to embed a matplotlib figure in the GUI. What's importa… Read more Matplotlib / Pyqt4: Transparent Figure

Pyqt Osx Media Keys

I'm creating a music player app with PyQT and I've defined a couple them as toolbar buttons… Read more Pyqt Osx Media Keys

How To Find The Active Pyqt Window And Bring It To The Front

I'm new to PyQt. I have been searching on how to find the window of my PyQt app which is curren… Read more How To Find The Active Pyqt Window And Bring It To The Front

Pyqt4 - Drag And Drop

Hey I had been going through this tutorial for understanding drag and drop methods in PyQt4. Howeve… Read more Pyqt4 - Drag And Drop

Pyqt5 Converting Signal Code From Pyqt4

I'm a newbie and am having difficulty changing a line of code from PyQT4 to PyQT5, its to do w… Read more Pyqt5 Converting Signal Code From Pyqt4

Qgraphicspixmapitem Won't Show Over The Other Qgraphicspixmapitem

What am I doing wrong here? I expect that 'image1.jpg' is shown over 'image.jpg' ,a… Read more Qgraphicspixmapitem Won't Show Over The Other Qgraphicspixmapitem

How To Connect A Signal From The Controller In Pyqt4? (ios Like Mvc Structure In Pyqt4)

Why doesn't the following example work? from PyQt4 import QtGui import sys class TestView(QtGu… Read more How To Connect A Signal From The Controller In Pyqt4? (ios Like Mvc Structure In Pyqt4)

Unable To Select Checkbox Inside Treeview

I tried creating a treeview with checkboxes but I'm unable to select the checkboxes. on the fla… Read more Unable To Select Checkbox Inside Treeview

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

Live Data Monitor: Pyqtgraph

I am working on a project where I will have to analyse signals coming from a device. I have a libra… Read more Live Data Monitor: Pyqtgraph

How To Make A Variable-column Grid Using Pyqt

I'm trying to display an array of image thumbnails using Python and Qt4. My problem is that I d… Read more How To Make A Variable-column Grid Using Pyqt

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

How To Force Pyqt5 Use For Qobject Class?

I'm developping a small graphic application using Python 3 and PyQt5. On the first computer I u… Read more How To Force Pyqt5 Use For Qobject Class?

Qtextedit As A Child Node For Qtreewidgetitem?

Is it possible to add a QTextEdit as a child in QTreeWidget? Here is my code we can create a QTreeW… Read more Qtextedit As A Child Node For Qtreewidgetitem?

Pyqt: How To Switch Widgets In Qstackedwidget

I have two buttons (wgtbtnA & wgtbtnB) placed on two different pages (page1 and page2, respecti… Read more Pyqt: How To Switch Widgets In Qstackedwidget

How To Convert Arabic Text From Pyqt4 To Utf-8

I made a Python 2 GUI application with PyQt4 that has two entries. The first takes the file name, a… Read more How To Convert Arabic Text From Pyqt4 To Utf-8

Printing Qprocess Stdout Only If It Contains A Substring

A PyQt4 app runs ping in a QProcess. A QTextEdit named self.output will output everything from ping… Read more Printing Qprocess Stdout Only If It Contains A Substring

Pyqt Window Focus

I am trying to give focus to a window if the user clicks on another window. Right now i have two wi… Read more Pyqt Window Focus

Show String Values On X-axis In Pyqtgraph

I want to display string values for ticks on x-axis in pyqtgraph. Right now I am unable to figure o… Read more Show String Values On X-axis In Pyqtgraph

Running A Pyqt Application Twice From One Prompt In Spyder

I run a pyqt4 application in spyder, I exit with QtGui.QMainWindow.close() and it returns me to the… Read more Running A Pyqt Application Twice From One Prompt In Spyder