Unable to install pyqt6-tools
Python GUIs Forum
by Akash
5d ago
Hello, whin i tried to install pyqt6-tools using pip i get this error, Preparing metadata (pyproject.toml) … error error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [26 lines of output] pyproject.toml: line 7: using ‘[tool.sip.metadata]’ to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use ‘[project]’ instead Traceback (most recent call last): File “C:\Users\Akash\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py”, line 353, in main ..read more
Visit website
How to render a DEM with combined Hillshading and Pseudo-Colors (QGIS like) with PyQt5?
Python GUIs Forum
by Marco_Maceri
3w ago
Hi Community, I am new to many things around here, and for this reason I’d need and appreciate some help from experienced people. For a project of mine which has nothing to do with GIS, I’d like to to render the digital elevation model of a geographic region with combined Hill-Shading and PseudoColors, same as in QGIS. Here there is what I’m aiming to (min 2 to 3.40): https://www.youtube.com/watch?v=EMwPT7tABCg&list=PLC_fQYHjsTR3XMlwj2wDwv0B1ycaAW9S7 Not even ChatGPT can help me out with this? Can anyone suggest the pathway? Thanks in advance 1 post - 1 participant Read full topic ..read more
Visit website
Record Insert failure with QSqlRelationalTableModel
Python GUIs Forum
by peterloron
3w ago
I have an application (posted below) which has a QSqlRelationalTableModel connected to a simple Sqlite db with two tables. The data from the db shows up in the QTableView as expected, which the referenced data properly filled in. However, when I try to insert a record, I get the following error: NOT NULL constraint failed: people.city Unable to fetch row It seems like the value I set in the record for the people.city field isn’t making it into the insert? Any help would be appreciated. Thanks. #!/usr/bin/env python import sys from PyQt6.QtSql import * from PyQt6.QtCore import Qt from PyQt6.Q ..read more
Visit website
Plot with Matplotlib in PyQT5
Python GUIs Forum
by leahwang1962
3w ago
Hi, your code in the below link runs fine. But if I debug it in Pycharm, it has error: self.setCentralWidget(sc) TypeError: setCentralWidget(self, widget: QWidget): argument 1 has unexpected type ‘MplCanvas’ Python GUIs – 22 Jan 20 Matplotlib plots in PyQt5, embedding charts in your GUI applications Integrate Matplotlib plots within your PyQt5 applications for dynamic data visualization. This tutorial guides you through embedding interactive Matplotlib charts, enhancing your GUI projects with powerful graphing capabilities including real-time... Would you help to correct the error. 1 post - 1 ..read more
Visit website
Issue with GUI screen switching in Python QT5 code
Python GUIs Forum
by greenelephant
1M ago
I have exhausted all the possible remedies ChatGPT could offer me in resolving my issue. Basically I cant use a GUI command button on 2 seperate GUI screens to alternate between hiding one screen and showing the other (and vice-versa) without the python console complaining about ‘circular imports’. So ChatGPT came up with a solution to create a python file that will mediate between GUI screen transmission. As stated i Have four files initgui .py - This is the main python file to launch the program junction.py - This is the mediator file between the two bottom python files intro.py - This is t ..read more
Visit website
Drag and drop issue: widgets dragged out of container disappear
Python GUIs Forum
by Margo-tail
1M ago
Hello, everybody! I read this article Drag and Drop widgets in PySide6 with this Drop-in Sortable Widget and i had a similar task in my project with moving buttons by drag-and-drop. I faced a problem: If I drop an item in an inaccessible area, it disappears from the list. How can this be prevented? How can I change dropEvent? Thanks for your answers in advance. def dropEvent(self, e): widget = e.source() # Use drop target location for destination, then remove it. self._drag_target_indicator.hide() index = self.blayout.indexOf(self._drag_target_indicator) if index is ..read more
Visit website
The problem with drag-and-drop
Python GUIs Forum
by Margo-tail
1M ago
Hello, everybody! I read this article Drag and Drop widgets in PySide6 with this Drop-in Sortable Widget and i had a similar task in my project with moving buttons by drag-and-drop. I faced a problem: If I drop an item in an inaccessible area, it disappears from the list. How can this be prevented? How can I change dropEvent? Thanks for your answers in advance. def dropEvent(self, e): widget = e.source() # Use drop target location for destination, then remove it. self._drag_target_indicator.hide() index = self.blayout.indexOf(self._drag_target_indicator) if index is ..read more
Visit website
Popsicle: a new Python GUI library based on JUCE
Python GUIs Forum
by kunitoki
1M ago
Hello here! There is a new GUI framework that is growing fast lately, which deserve to get more attention. If you know and love JUCE, but also if you don’t and just like to try out new tools, there is literally no excuse to not try out popsicle! 1 post - 1 participant Read full topic ..read more
Visit website
ResizeColumnsToContents not working with QSortFilterProxyModel and TableView
Python GUIs Forum
by peterloron
1M ago
Hello. In my app I have a TableView which obtains data from a Sqlite db. If I connect the QSqlTableModel to the view, things work as expected with regards to the resizeColumnsToContents setting. However, when I add QSortFilterProxyModel into the mix, the columns are not resized as expected. I’m probably missing something simple, but I can’t find it. #!/usr/bin/env python import sys import os from PyQt6.QtSql import * from PyQt6.QtCore import Qt, QSortFilterProxyModel, QRegularExpression from PyQt6.QtWidgets import (QApplication, QMainWindow, QVBoxLayout, QTableView, QMessageBox, QLineEdit, Q ..read more
Visit website
New kid on the block
Python GUIs Forum
by kunitoki
1M ago
Hello here! There is a new GUI framework that is growing fast lately, which deserve to get more attention. If you know and love JUCE, but also if you don’t and just like to try out new tools, there is literally no excuse to not try out popsicle! 1 post - 1 participant Read full topic ..read more
Visit website

Follow Python GUIs Forum on FeedSpot

Continue with Google
Continue with Apple
OR