Qore Widgets
Yet another collection of those core widgets for a modern Qt application.
Backend Support: Currently only PySide6 is supported.
Widget List
| Qore Widget [Base Widget] |
Desc | Screenshot |
|---|---|---|
| SideTabWidget [TabWidget] |
A TabWidget with horizontal and foldable tabs. Animated. Support automatic expand on mouse hover. | |
| ImmersiveTitleBar [ImmersiveTitleBarContainer] |
A simple immersive title bar with icon, title, and close, maximize, minimize buttons. | |
| ImmersiveTitleBarContainer [QWidget] |
An immersive title bar Container with only buttons. Put any widgets you like. | |
| FramelessWindow [QMainWindow] |
A frameless window with resize grips. Better use it with the ImmersiveTitleBar. | / |
| LoadingOverlay [QWidget] |
Create a mask on the targeted widget with a rotating icon during long time tasks | |
| EmptyOverlay [QWidget] |
Automatically show/hide a empty indicator mask on the target item view/widget when it's empty or not | |
| ImmersiveMesageBox [QMessageBox] |
(todo) | |
| DrawerWidget | (todo) |
Installation
pip install qorewidgets
Usage
There are two ways to integrate QoreWidgets into your project:
Programmatically
Most Qore Widgets are designed as drop-in replacements for their corresponding base widgets.
With Qt Designer
Tip: If you installed PySide6 using pip, the designer is also installed as pyside6-designer executable.
- Create the base widget in Qt Designer
- Right-click on the widget and select "Promote To..."
- Enter the desired Qore Widget name as the promoted class name, and "QoreWidgets.h" as the header file
- Use the
pyside6-uictool (also installed with PySide6) to convert the .ui file to a .py file - the base widget will be replaced by the appropriate Qore Widget during the conversion
Refer to Qt Doc: using custom widgets in designer for more detailed instructions.
Documentation
For more infomation, check out the QoreWidgets Documentation.
Examples
The QoreWidgets Gallery app provides examples about how to use these widgets. To run the gallery app:
git clone https://github.com/du33169/QoreWidgets
cd QoreWidgets
pip install PySide6
python gallery/app.py
Note: the gallery app will first attempt to import QoreWidgets from installed python packages. If not installed, it will then import from the local src directory.
Styling
QoreWidgets mainly focus on functional enhancements with minimal decoration. However, they should fit in with your global theme or stylesheets, for example, PyQtDarkTheme.
Metadata
Release files for QoreWidgets 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qorewidgets-0.2.2.tar.gz | 16.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| QoreWidgets-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.0 kB
Release files / qorewidgets-0.2.2.tar.gz
| Download URL | qorewidgets-0.2.2.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
679c025ae18311970bd20d37f07270fb515e37eea672bb6a1230766ae21f9bbb
|
|
BLAKE2b-256 checksum How to use checksums |
47f971f21965b44fef82f10f8f521214f36a74510f41d3810994f38975ac6094
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / QoreWidgets-0.2.2-py3-none-any.whl
| Download URL | QoreWidgets-0.2.2-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f78071029fb581bc101974327e887b2407de812f7c4f9cde62dda0e5bb452c5
|
|
BLAKE2b-256 checksum How to use checksums |
c00be2adb4190096c32f3779df40a6f372f4bbc1348192502e456b8f1daec91a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|