Skip to main content

Yet another collection of those core widgets for a modern qt application.

Project description

Qore Widgets

PyPI - VersionPyPI - DownloadsGitHub License

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.

  1. Create the base widget in Qt Designer
  2. Right-click on the widget and select "Promote To..."
  3. Enter the desired Qore Widget name as the promoted class name, and "QoreWidgets.h" as the header file
  4. Use the pyside6-uic tool (also installed with PySide6) to convert the .ui file to a .py file
  5. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qorewidgets-0.2.2.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

QoreWidgets-0.2.2-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file qorewidgets-0.2.2.tar.gz.

File metadata

  • Download URL: qorewidgets-0.2.2.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for qorewidgets-0.2.2.tar.gz
Algorithm Hash digest
SHA256 679c025ae18311970bd20d37f07270fb515e37eea672bb6a1230766ae21f9bbb
MD5 d0b5678e6d1fe0e58487e19b97258d41
BLAKE2b-256 47f971f21965b44fef82f10f8f521214f36a74510f41d3810994f38975ac6094

See more details on using hashes here.

File details

Details for the file QoreWidgets-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: QoreWidgets-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for QoreWidgets-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4f78071029fb581bc101974327e887b2407de812f7c4f9cde62dda0e5bb452c5
MD5 9fc10cd688d8e92326b708af6807ee37
BLAKE2b-256 c00be2adb4190096c32f3779df40a6f372f4bbc1348192502e456b8f1daec91a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page