veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

208
active users

#pyqt

0 posts0 participants0 posts today

Top Python GUI Frameworks in 2025

jobhop.co.uk/blog/411341/top-p

Explore the top Python GUI frameworks in 2025 that simplify the creation of powerful and interactive desktop applications. From PyQt to Kivy, discover the best tools for building seamless user interfaces with Python.

#Python2025
#PythonGUI
#PythonDevelopment
#GUISoftware
#PyQt
#Tkinter
#Kivy
#PythonFrameworks
#AppDevelopment
#TechTrends2025
#SoftwareDevelopment
#PythonTools

I have been making progress with my color converter/creation application built with PyQt. I just added a 4 point gradient tool this morning. This application will allow you to create, convert and manage all your colors in one place.

#Linux#Python#PyQt

The #QScrollBar widget is a scroll bar that enables the user to access parts of a document that is larger than the widget used to display it.
doc.qt.io/qtforpython-5/PySide

The #QScrollArea widget is used to display the contents of a child widget within a frame. If the widget exceeds the size of the frame, the view can provide scroll bars so that the entire area of the child widget can be viewed.
doc.qt.io/qtforpython-5/PySide

#Python#QT#PyQt

PyQt pen has cap styles that define how the end points of the lines are drawn.

1. The SquareCap (default) style is a square line end that covers the end point and extends beyond it by half the line width.

2. The FlatCap style is a square line end that does not cover the end point of the line.

3. The RoundCap style is a rounded line end covering the end point.

doc.qt.io/qtforpython-5/PySide

#Python#PyQt#Pen

QPainter is generally faster for simple, direct drawing operations while
QGraphicsScene is slower because it provides more options when managing larger number of 2D graphical items. QGraphicsScene provides optimized item lookup and spatial indexing.

#python#QT#pyqt
Continued thread

Why is this important you ask?

Because I am thinking of releasing a PyQt application for Linux soon that solves a particular problem. If I ever decided to release it on Microsoft Windows, I might have to change the application icon from PNG to ICO.

#png#ico#PyQt

One way to make money online as a programmer.

Step 1: Learn Python and/or PyQt (or any other programming language)
Step 2: Develop an open source application that solves a specific problem.
Step 3: Develop plugins or extensions that extend the application functionality. (Companies might sponsor addition features. If this happens, disregard Step 4 below.)
Step 4: Sell the additional functionality as a product or service.

#python#pyqt#pyqt5

With a huge diff of +3,972 / −3,667 lines, rewriting the project tree of @novelwriter to use a model/view set from the previous approach that synced changes between the data class and the view widget's internal model didn't result in less code.

But I think it resulted in an easier to maintain code, and hopefully more stable over time. Syncing the project state between two locations is just a little error-prone, and Qt's default implementation is also a bit buggy.

#Code#Python#Qt

My latest coding project is moving the project data structure of @novelwriter from a Qt standard tree view into a custom model/view set.

The old implementation based on a QTreeWidget is a shadow copy of the project data, which needs to be kept in sync and is the most error prone part of the code.

The new model/view set holds the proper tree structure in memory and handles consistency directly in the hierarchy. But there is *so* much functionality to port over!

#Code#Python#Qt

Any Qt + Python devs out there with any experience on calling deleteLater() from the Python side?

I have some costly dialogs I want cleared on close, and so far I've been running deleteLater() in the closeEvent, which is clearly a little risky. I do get the very rare segfault especially if I close one particular dialog which has a QTimer singleShot call. If the deleteLater() is called when it is running, I get a RunTImeError.

#Python#Qt#PyQt