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

Drag N Drop Button And Drop-down Menu Pyqt/qt Designer

I would like to know the 'best practice' to change the behavior of some buttons to do the f… Read more Drag N Drop Button And Drop-down Menu Pyqt/qt Designer

Pyqt: 'dynamically' Append To Qtextedit From Function

There is a button in my pyqt gui that when clicked runs a function that does some lengthy math calc… Read more Pyqt: 'dynamically' Append To Qtextedit From Function

Typeerror: Accept Missing 2 Required Arguments (still Functional)

This is a curiosity question. I have a block of code that executes upon an accepted.connect(). It … Read more Typeerror: Accept Missing 2 Required Arguments (still Functional)

Overlay Video With Custom Graphics Using Phonon & Pyqt

I am building a eye-tracking data visualization tool using PyQt4 and Phonon module. Essentially, I … Read more Overlay Video With Custom Graphics Using Phonon & Pyqt

How Do I Tell My Main Gui To Wait On A Worker Thread?

I have successfully outsourced an expensive routine in my PyQT4 GUI to a worker QThread to prevent … Read more How Do I Tell My Main Gui To Wait On A Worker Thread?

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 Can I Connect A Page's Function To A Qwizard's Next Button?

I have been looking at this example. I wrote my code based on it but I still can't figure out h… Read more How Can I Connect A Page's Function To A Qwizard's Next Button?

How To Show All Entered Text In Line Edit To Text Edit Widget In Pyqt4

Below is my code. I want to show all entered text in line edit to textedit widget. Whenever i enter… Read more How To Show All Entered Text In Line Edit To Text Edit Widget In Pyqt4

Qthreading Pyqtgraph Plotwidgets In Pyqt4

As a continuation of the question I got solved here some days ago, I've got a PyQt4 GUI which e… Read more Qthreading Pyqtgraph Plotwidgets In Pyqt4

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

How To Convert Qimage(qpixmap) To Pil Image In Python 3?

I would like to convert a image from QImage or Qpixmap class to PIL Image. I found this: Convert Py… Read more How To Convert Qimage(qpixmap) To Pil Image In Python 3?

Connecting Pyqt4 Signals In A Pyqt4 Qobject Class

I've got two classes; one for my window and one for my controlling object class window(baseClas… Read more Connecting Pyqt4 Signals In A Pyqt4 Qobject Class

How Do I Check If A Checkbox Is Checked Or Unchecked? (in Qtreewidget)

I have written the code below: from PyQt4 import QtCore, QtGui import sys class window(QtGui.QMain… Read more How Do I Check If A Checkbox Is Checked Or Unchecked? (in Qtreewidget)

Progress Bar With Pyqt

I have a program running many threads, one of them controls the interface and another launches some… Read more Progress Bar With Pyqt

Coordinates Of An Image Pyqt

I'm making an application for which I need to extract the coordinates of the image on mouse cli… Read more Coordinates Of An Image Pyqt

Is It Possible To Get Qwebkit To Display Pdf Files?

i have a link in my QWebkit, which points to a pdf file. But when the link is clicked, it can't… Read more Is It Possible To Get Qwebkit To Display Pdf Files?

Pyqt4 Jpeg/jpg Unsupported Image Format

I'm trying to get QImage (or anything in PyQt4, for that matter) to load a jpg file in a script… Read more Pyqt4 Jpeg/jpg Unsupported Image Format

Pyside, Pyqt4: How To Set A Validator When Editing A Cell In A Qtableview

In QLineEdit objects I can set a RegExp validator like this: validator = QtGui.QRegExpValidator(QtC… Read more Pyside, Pyqt4: How To Set A Validator When Editing A Cell In A Qtableview

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

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