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

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

How To Use Qpainter In A Qwidget In Pyqt4

My code below currently opens a 500x500 QMainWindow that is blank. I am simply trying to draw a cir… Read more How To Use Qpainter In A Qwidget In Pyqt4

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

Why Is My Qgraphicsitem Not Selectable?

I copied some code snippets and made my own version of it. The initial snippet (which I don't h… Read more Why Is My Qgraphicsitem Not Selectable?

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

Threading: Pyqt Crashes With "unknown Request In Queue While Dequeuing"

One part of an application I'm developing needs to send some emails to a small group of people.… Read more Threading: Pyqt Crashes With "unknown Request In Queue While Dequeuing"

Set Lineedit Value To A Label In An Another Class (pyqt4)

I am new to Qt want to set an entry/lineEdit field value to a Label available in another frame whic… Read more Set Lineedit Value To A Label In An Another Class (pyqt4)

Setting Up Statechanged Signal In Qstackedwidget, Pyqt

I have an example of QStacked Widget code from internet, which generates its own layout for each ch… Read more Setting Up Statechanged Signal In Qstackedwidget, Pyqt

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

Issue With My Check Box In Pyqt And Python

I have a checkbox named 'selectAllCheckBox'. When this in checked state, all the checkboxes… Read more Issue With My Check Box In Pyqt And Python

Adding An Item In Matplotlib´s Toolbar

I created a matplotlib´s figure in a QMainWindow, using PyQt and I am trying to add a button to the… Read more Adding An Item In Matplotlib´s Toolbar

Pyqt4 Qthread / Movetothread Not Working Depending On Context?

I'm trying to understand why the following code immediately exits, but works if I create the th… Read more Pyqt4 Qthread / Movetothread Not Working Depending On Context?

Right Click Contextmenu On Qpushbutton

For my app I have created a GUI in Qt Designer and converted it into python(2.6) code. On some of t… Read more Right Click Contextmenu On Qpushbutton

Pyqt: Modifying Widget Object From Another Function

I am making Multi-Page application in PyQt4, so whenever user does specific action (clicking a butt… Read more Pyqt: Modifying Widget Object From Another Function

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

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

Use Pyttsx In Pyqt

I am making Gui for my chatbot in pyqt but i have a bit problem in this area of code. def __init__(… Read more Use Pyttsx In Pyqt

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

How To Change Font Size Of First Item In Combo Box Pyqt4

How do I change the font of the displayed item in the Combo Box. When the Combo Box displays all t… Read more How To Change Font Size Of First Item In Combo Box 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