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

How To Automate Mouse Drag Using Pytest-qt?

I have a pyqt window which tracks mouse movement while the mouse is pressed. I'm trying to writ… Read more How To Automate Mouse Drag Using Pytest-qt?

How To Return Value From Function Running By Qthread And Queue

Please explain how do we send/receive data from Thread managed by Queue.... First I subclass 'Q… Read more How To Return Value From Function Running By Qthread And Queue

Qtablewidget Becomes Slow For Large Tables

I want to create a Qt table widget which adds about 20 new rows per second (maxed at 10000). Old ro… Read more Qtablewidget Becomes Slow For Large Tables

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

Prevent Tab Cycling With Ctrl+tab By Default With Qtabwidget

I have the following example code that makes a three tab layout (with buttons on the third tab). By… Read more Prevent Tab Cycling With Ctrl+tab By Default With Qtabwidget

Plotting With Pyqtgraph Using External Data

I'm trying to plot data of diferentes sensors en realtime,so I decided to plot the data using … Read more Plotting With Pyqtgraph Using External Data

How To Remove Standart Menuitem From Qtextedit Context Menu

So, i'm pretty new in PySide and QT, and want to know how to remove menuitem (it does not matte… Read more How To Remove Standart Menuitem From Qtextedit Context Menu

Run Python Script In A Container In A Gui

I am looking for a way to run scripts in a container in my GUI. The GUI generate a script and i wan… Read more Run Python Script In A Container In A Gui

Pyqt4: Set Size Of Qgridlayout Depending On Size Of Qmainwindow

I'm writing a little Qt application with Python. I've created QMainWindow, which have a QGr… Read more Pyqt4: Set Size Of Qgridlayout Depending On Size Of Qmainwindow

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)

Python, Reference Class Instance/method In Decorated Function

I'm having a hard time finding a way to reference class instances in a decorator function. impo… Read more Python, Reference Class Instance/method In Decorated Function

Pyqt5 Program Created With Qtdesigner Doesnt Show Any Window When Opened From Terminal

I was working with QT Designer with no issues but today i started a fresh ubuntu 18.04 install, but… Read more Pyqt5 Program Created With Qtdesigner Doesnt Show Any Window When Opened From Terminal

Passing Argument To Pyqt Signal Connection

Is it possible to pass an argument to PyQt4 Signal connections? In my case I have n buttons with se… Read more Passing Argument To Pyqt Signal Connection

How To Get Id Of Last Inserted Row By Qsqlquery.lastinsertid() From Sql Server?

How can I get ID of last inserted row from SQL Server by PyQt4.QtSql module? Now I'm using SQL … Read more How To Get Id Of Last Inserted Row By Qsqlquery.lastinsertid() From Sql Server?

How Can I Access Python Code From Javascript In Pyqt 5.7?

I used to do it by attaching an object self.page().mainFrame().addToJavaScriptWindowObject('js_… Read more How Can I Access Python Code From Javascript In Pyqt 5.7?

In Pyqt5, How We Get The Name/object Name Of The Focus Widgets?

In Our PyQt5 Programme, we use Qline Edits, QcheckBox, QListwidget several times. How to know: Wh… Read more In Pyqt5, How We Get The Name/object Name Of The Focus Widgets?

Python: Using Output From Method's Class Inside Another Class

I am trying to develop my first app with PyQt5 (a memory game). I have created two classes: MainApp… Read more Python: Using Output From Method's Class Inside Another Class

How To Perform A Drag-and-drop Without Holding Down The Mouse Button?

1. Objective My purpose is to build a rightmouse-click-menu like this: When the user clicks on Gra… Read more How To Perform A Drag-and-drop Without Holding Down The Mouse Button?

What's The Correct Pattern For Threading In A Python Qt5 Application?

I'm trying to write a pyqt5 application with a long running, but not CPU intensive process. I&#… Read more What's The Correct Pattern For Threading In A Python Qt5 Application?

Change Text Color When Hovered Over A Link In Pyqt

I am trying to change the colour of the text when hovered over a link in QLabel. I couldn't ach… Read more Change Text Color When Hovered Over A Link In Pyqt