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

Python Webkit Making Web-site Screenshots Using Virtual Framebuffer

The problem is that I need capture web-site screenshots without running X server. So theoretically … Read more Python Webkit Making Web-site Screenshots Using Virtual Framebuffer

Using Glfw Window Inside Pyqt Window

I have a user interface that I designed using QT designer, and converted using pyqt4. In this user … Read more Using Glfw Window Inside Pyqt Window

How Do I Add A Layout To A Qtablewidget In Pyqt?

I have my qtablewidget defined like this: def __init__(self, parent = None): super(Window, … Read more How Do I Add A Layout To A Qtablewidget In Pyqt?

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

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

How To Connect Qlineedit Focusoutevent

I have designed a window with a QLineEdit in PyQt4 with the help of Designer. I converted .ui to .p… Read more How To Connect Qlineedit Focusoutevent

Passing Parameter To A Pyqt Thread When Started

Is there any way we can pass a parameter to QThread when the thread is started (.start) ? I found a… Read more Passing Parameter To A Pyqt Thread When Started

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

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?

Qtableview: Sort By Header Index -1

I am using PyQt4 and have a QTableView with a 2 columns data. There is an extra column for an index… Read more Qtableview: Sort By Header Index -1

How To Use Findchildren?

I want to click a button and clear around 20 QLineEdits. I am trying to use findChildren() and put … Read more How To Use Findchildren?

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

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 Communicate Or Switch Between Two Windows In Pyqt?

I am developing an application using python and Qt. I have designed 2 Main windows ie..QMainWindow… Read more How To Communicate Or Switch Between Two Windows In Pyqt?

Is This Pyqt 4 Python Bug Or Wrongly Behaving Code?

Following code should create the QGraphicsView widget which owns one QGraphicsScene having text ins… Read more Is This Pyqt 4 Python Bug Or Wrongly Behaving Code?

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

Using Pyqt4, How Do You Set A Mousemoveevent To Only Work Inside Of A Qwidget In A Qmainwindow But Not In The Mainwindow

My current code below works for updating the x-y coordinates in 2 textBrowsers in my MainWindow, bu… Read more Using Pyqt4, How Do You Set A Mousemoveevent To Only Work Inside Of A Qwidget In A Qmainwindow But Not In The Mainwindow

Error When Calling Qtgui.qfiledialog.getexistingdirectory

In a pyqt code, I am trying to promote a dialog to the user and let the user to select a folder. It… Read more Error When Calling Qtgui.qfiledialog.getexistingdirectory

Pyqt Drop Event Without Subclassing?

This python pyqt code works how I intended. But, I don't like having to subclass QLineEdit so t… Read more Pyqt Drop Event Without Subclassing?

Pyinstaller But Keeping .py Files Upgradeable

I've managed to package my PyQt4 app as a 'standalone' application on windows, it works… Read more Pyinstaller But Keeping .py Files Upgradeable