atlas news
    
Python GUIs
19  mai     09h00
PyQt6, PySide6, PyQt5 and PySide2 Books: Create GUI Applications with Python & Qt
   Hello Today I have released new digital editions of my PyQt PyQt PySide and PySide book Create GUI Applications with Python amp Qt PyQt Book nd Edition Create GUI Applications with Python amp Qt PySide Book nd Edition Create GUI Applications with Python amp Qt PyQt Book th
01  mai     09h00
Packaging PySide6 applications into a macOS app with PyInstaller (updated for 2022)
   There is not much fun in creating your own desktop applications if you can t share them with other people whether than means publishing it commercially sharing it online or just giving it to someone you know Sharing your apps allows other people to benefit from your hard work The good news is
09  avril     12h00
Packaging PyQt5 applications into a Linux package with PyInstaller (updated for 2022)
   In the previous tutorials we ve looked at packaging your PyQt applications for Windows and macOS turning them into EXE Installers and macOS bundles respectively But to make your application truly cross platform you should also provide installers for Linux In this tutorial we ll look at how
03  mars     09h00
Display numpy and pandas tables in PySide6 QTableView (updated for PySide6)
   In the previous chapter we covered an introduction to the Model View architecture However we only touched on one of the model views QListView There are two other Model Views available in Qt QTableView and QTreeView which provide tabular Excel like and tree file directory
01  mars     09h00
Packaging PySide6 applications for Windows with PyInstaller & InstallForge (updated for 2022)
   There is not much fun in creating your own desktop applications if you can t share them with other people whether than means publishing it commercially sharing it online or just giving it to someone you know Sharing your apps allows other people to benefit from your hard work The good news is
14  février     09h00
Using the PySide6 ModelView Architecture to build a simple Todo app (updated for PySide6)
   As you start to build more complex applications with PySide you ll likely come across issues keeping widgets in sync with your data Data stored in widgets e g a simple QListWidget is not readily available to manipulate from Python changes require you to get an item get the data and
07  février     06h00
Packaging PyQt5 applications into a macOS app with PyInstaller (updated for 2022)
   There is not much fun in creating your own desktop applications if you can t share them with other people whether than means publishing it commercially sharing it online or just giving it to someone you know Sharing your apps allows other people to benefit from your hard work The good news is
03  février     06h00
PyQt5 vs PyQt6: What are the differences, and is it time to upgrade?
   If you are already developing Python GUI apps with PyQt you might be asking yourself whether it s time to upgrade to PyQt and use the latest version of the Qt library In this article we ll look at the main differences between PyQt and PyQt benefits of upgrading and problems you might
31  janvier     07h00
PySide2 vs PySide6: What are the differences, and is it time to upgrade?
   If you are already developing Python GUI apps with PySide you might be asking yourself whether it s time to upgrade to PySide and use the latest version of the Qt library In this article we ll look at the main differences between PySide and PySide benefits of upgrading and problems you might
29  janvier     08h00
QPSQL driver not loaded: Using Postgres with Qt & Python on Windows
   If you re trying to use Postgres with PyQt or PySide PySide you may have come across an issue with loading the driver Qt correctly lists the driver as available in Qt but when trying to load it the load will fail This is because the Qt library depends on Postgres own library which must
    08h00
Packaging PyQt5 applications for Windows, with PyInstaller & InstallForge (updated for 2022)
   There is not much fun in creating your own desktop applications if you can t share them with other people whether than means publishing it commercially sharing it online or just giving it to someone you know Sharing your apps allows other people to benefit from your hard work The good news is
27  janvier     09h00
PySide6 Signals, Slots and Events - Signal, Slot, Mouse Events & Context menus (updated for PySide6)
   So far we ve created a window and added a simple push button widget to it but the button doesn t do anything That s not very useful at all when you create GUI applications you typically want them to do something What we need is a way to connect the action of pressing the button to making
11  janvier     09h00
PySide6 Layouts - Using QVBoxLayout, QHBoxLayout, QGridLayout, QStackedLayout to Position Widgets (updated for PySide6)
   So far we ve successfully created a window and we ve added a widget to it However we normally want to add more than one widget to a window and have some control over where it ends up To do this in Qt we use layouts There are basic layouts available in Qt which are listed in the following
06  janvier     13h00
Drag & drop widgets with PyQt Sort widgets visually with drag and drop in a container
   This week I had an interesting question from a reader of my PyQt book about how to handle dragging and dropping of widgets in a container showing the dragged widget as it is moved I m interested in managing movement of a QWidget with mouse in a container I ve implemented the application with
27  décembre     09h00
PySide6 Dialogs and Alerts - QMessageBox, QDialog, Custom Dialogs (updated for PySide6)
   Dialogs are useful GUI components that allow you to communicate with the user hence the name dialog They are commonly used for file Open Save settings preferences or for functions that do not fit into the main UI of the application They are small modal or blocking windows that sit in front
15  décembre     09h00
PyQt6 Signals, Slots and Events - pyqtSignal, pyqtSlot, Mouse Events & Context menus (updated for PyQt6)
   So far we ve created a window and added a simple push button widget to it but the button doesn t do anything That s not very useful at all when you create GUI applications you typically want them to do something What we need is a way to connect the action of pressing the button to making
07  décembre     06h00
Packaging PyQt6 applications for Windows, with PyInstaller & InstallForge (updated for PyQt6)
   There is not much fun in creating your own desktop applications if you can t share them with other people whether than means publishing it commercially sharing it online or just giving it to someone you know Sharing your apps allows other people to benefit from your hard work The good news is
01  décembre     16h57
Simple threading in PyQt PySide apps with .start() of QThreadPool How to move Python functions methods & PyQt PySide slots onto separate threads
   In PyQt version and PySide the start method of QThreadPool was extended to take a Python function a Python method or a PyQt PySide slot besides taking only a QRunnable object This simplifies running Python code in the background avoiding the hassle of creating a QRunnable
26  novembre     09h00
Create multiple windows in PySide6 (updated for PySide6)
   In an earlier tutorial we ve already covered how to open dialog windows These are special windows which by default grab the focus of the user and run their own event loop effectively blocking the execution of the rest of your app However quite often you will want to open a second window in
25  novembre     09h00
PyQt6 Layouts - Using QVBoxLayout, QHBoxLayout, QGridLayout, QStackedLayout to Position Widgets (updated for PyQt6)
   So far we ve successfully created a window and we ve added a widget to it However we normally want to add more than one widget to a window and have some control over where it ends up To do this in Qt we use layouts There are basic layouts available in Qt which are listed in the following