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

Embed Widgets Into Qwindow

Basically I want to create a window using QtGui.QWindow() instead of QtWidgets.QMainWindow(). I wan… Read more Embed Widgets Into Qwindow

How To Use Qgraphicsview::rubberbanddrag?

Can somebody please provide an explanation, or better yet a short example, of how to use the Rubber… Read more How To Use Qgraphicsview::rubberbanddrag?

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?

Pyqt5 Stylesheet Animation

I am using PyQt5 to build an app with multiple buttons. What I am trying to accomplish is to create… Read more Pyqt5 Stylesheet Animation

How To Apply Pyqt5 Event On A List With Values Instead Of Single Variable Value?

Based on SO question and answer given here I modified the answer where the value becomes a list. It… Read more How To Apply Pyqt5 Event On A List With Values Instead Of Single Variable Value?

Cannot Import Pyqtchart In Python 3.7

I am able to install PyQtChart without error using pip, but I cannot import it as Python (3.7.3) te… Read more Cannot Import Pyqtchart In Python 3.7

How To Move A Point Across The Screen In Pyqt5?

I'm trying to make a point move around the screen using PyQt5. I want the point to always be mo… Read more How To Move A Point Across The Screen In Pyqt5?

Qopenglwidget Only Updates When Resized

I've been given an opengl example demonstrating how to use a texture to display a 2d image. I&#… Read more Qopenglwidget Only Updates When Resized

Adding Items To A Qtableview Within Qcalendarwidget

I'm currently making a to-do application which has a calendar. Whenever the user has an event o… Read more Adding Items To A Qtableview Within Qcalendarwidget

Why Pyqt5 Import Failed In Python3.4 With `importerror: Dll Load Failed` In Windows 7?

I have 32-bit Python2.7 already installed in Windows 7 (64-bit Operating System) and I can use it w… Read more Why Pyqt5 Import Failed In Python3.4 With `importerror: Dll Load Failed` In Windows 7?

Resizing A Window With Pyqt5 - How Do I Reduce The Size Of A Widget To Allow The Window To Be Shrunk?

I'm trying to learn it by re-making an old command line C program I've got for working with… Read more Resizing A Window With Pyqt5 - How Do I Reduce The Size Of A Widget To Allow The Window To Be Shrunk?

Multithreaded Keyboard Detector For Linux And Windows

I would like to add a keyboard detection for Linux to my existing Keyboard Detector for Windows. So… Read more Multithreaded Keyboard Detector For Linux And Windows

Closing A Pyqt Widget In Ipython Notebook Without Using Sys.exit()

I am trying to run through some pyqt5 tutorials in the ipython notebook, but have an issue where ev… Read more Closing A Pyqt Widget In Ipython Notebook Without Using Sys.exit()

Hide The App From Screen But Not From Taskbar

I would like to hide the app from screen but not from taskbar, I tried this: app = QtWidgets.QAppli… Read more Hide The App From Screen But Not From Taskbar

Folium Popups With Qtwebchannel

I am displaying a folium generated HTML(for leaflet.js) in a QtWebEngineView. In the popups I have … Read more Folium Popups With Qtwebchannel

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

Pyqt5 Fails With Cryptic Message

I've created small app with model and view. Since the beginning PyQt5 crash each time something… Read more Pyqt5 Fails With Cryptic Message

How To Add Dynamic Data To A Qml Table

I'm trying to add rows to a table from Python. I'm using a TableView described with QML. I … Read more How To Add Dynamic Data To A Qml Table

Run Function In The Background And Update Ui

I am using PyQt to make a GUI for a project. Screenshot of GUI After inputting a number and submit… Read more Run Function In The Background And Update Ui

Pyqt Button Automatically Binds To On_..._clicked Function Without Connect Or Pyqtslot

I've been using pyqt5 with qt-designer for some weeks now. I'm used to connect signals to h… Read more Pyqt Button Automatically Binds To On_..._clicked Function Without Connect Or Pyqtslot