QT-PyQt-PySide-Custom-Widgets
Awesome custom widgets made for QT Desktop Applications. Simplify your UI development process. These widgets can be used in QT Designer then imported to PySide code.
Installation
First time installer:
pip install QT-Custom-Widgets
Upgrade/install the latest version:
pip install --upgrade QT-Custom-Widgets
Installation Testing
Run the following code to see if the installation was successful.
# Run this from your terminal or create a python file,
# paste this code, then run
from Custom_Widgets.ProgressIndicator import test
test.main()
You should see the following interface:
How to use it.
- Read the full documentation plus video guides here
Watch the tutorial videos here
What is new?
Version 0.6.2:
-
Added support for loading multiple
JSON StylesheetsBy default, the json file namedstyle.jsonwill be loaded, so no need to specify. The file must me inside the root directory of your project,jsondirectory, orjsonstylesdirectory inside your project folder for it to be automatically loaded.If you have multiple JSON stylesheet files, then you can apply them to your GUI like this:
######################################################################## # APPLY JSON STYLESHEET ######################################################################## # self = QMainWindow class # self.ui = Ui_MainWindow / user interface class loadJsonStyle(self, self.ui, jsonFiles = { "mystyle.json", "mydirectory/myJsonStyle.json" }) ########################################################################
This feature is helpful especially when you have multiple windows files that will share only some parts of the stylesheet shuch app app title, settings etc.
-
Toggle logs: You can now switch app logs on or off. This can be done from a python file:
# Show Logs self.showCustomWidgetsLogs = True
# Hide Logs self.showCustomWidgetsLogs = False
From the JSON file:
{ "ShowLogs": true,
{ "ShowLogs": false,
Sample Images
Analog Gauge Widget
Responsive Animated GUI
Animated QStacked Widget
Release files for qt-custom-widgets 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| QT-Custom-Widgets-0.1.6.tar.gz | 116.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| QT_Custom_Widgets-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 364.9 kB
Release files / QT-Custom-Widgets-0.1.6.tar.gz
| Download URL | QT-Custom-Widgets-0.1.6.tar.gz |
|---|---|
| Size | 116.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a84302041bc3c807c1309ededa0c3acd7f16be0bef4cec0a4a6447f217f7c6a1
|
|
BLAKE2b-256 checksum How to use checksums |
8f5f9df978d7e496be5442c17cd8c12375d7a3e6c591d78ee6de0d47fcef8794
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.1.2 CPython/3.10.6
|
Release files / QT_Custom_Widgets-0.1.6-py3-none-any.whl
| Download URL | QT_Custom_Widgets-0.1.6-py3-none-any.whl |
|---|---|
| Size | 248.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ea28e226d2a4617b1d5e56324b6b77eac3abd5a01f86d3d51a942d21afe7ee1
|
|
BLAKE2b-256 checksum How to use checksums |
f8dc8590aa189e3d1ae21b7ce1ba892a0cbdf7308283257c02c89daa0ab50a74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.1.2 CPython/3.10.6
|