Skip to content

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.

License

Notifications You must be signed in to change notification settings

SamuvelBhaskar/QT-PyQt-PySide-Custom-Widgets

 
 

Repository files navigation

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-PyQt-PySide-Custom-Widgets

Upgrade/install the latest version:

pip install --upgrade QT-PyQt-PySide-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: Custom Progress bar

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 Stylesheets By default, the json file named style.json will be loaded, so no need to specify. The file must me inside the root directory of your project, json directory, or jsonstyles directory 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

Analog Gauge Widget

Responsive Animated GUI

Resposive PyQt PySide GUI

Animated QStacked Widget

Custom QStacked Widgets

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 50.3%
  • CSS 30.1%
  • HTML 11.4%
  • SCSS 8.2%