Coder Social home page Coder Social logo

13542377756 / qt-pyqt-pyside-custom-widgets Goto Github PK

View Code? Open in Web Editor NEW

This project forked from khamisikibet/qt-pyqt-pyside-custom-widgets

0.0 0.0 0.0 13.87 MB

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: GNU General Public License v3.0

Python 50.59% CSS 29.93% HTML 11.34% SCSS 8.15%

qt-pyqt-pyside-custom-widgets's Introduction

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

qt-pyqt-pyside-custom-widgets's People

Contributors

ameasere avatar boscs avatar khamisikibet avatar t-brunet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.