Giter VIP home page Giter VIP logo

cacity / 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 20.73 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.

Home Page: https://khamisikibet.github.io/Docs-QT-PyQt-PySide-Custom-Widgets/

License: GNU General Public License v3.0

Python 85.29% SCSS 14.71%

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

GitHub GitHub top language GitHub code size in bytes GitHub issues

Custom Widgets Art

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

Testing

The examples folder in this repository contains a few code examples you can use to test and learn about the custom widgets.

Progress indicator example: Custom Progress bar

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,

Version 0.6.8:

  • Added full support for pyside6

How to use it.

Documentation:

  • Available custom widgets:

    • AnalogGaugeWidget - A digital analog widget using just a single QWidget. Read more
    • QCustomCheckBox - Customize and animate QCheckBox. Read more
    • QCustomProgressIndicator - Create a beautiful modern progress indicator for multiple tasks. Read more
    • QCustomQPushButton - Customize and animate QPushButton with preset themes and use iconify to animate the icons. Read more
    • QCustomQSlider - Easily move the slider to the current clicked position of a QSlider. Read more
    • QCustomQStackedWidget - Add beautiful transition animations and navigate through QStackedWidget. Read more
    • QCustomSlideMenu - Expand and collapse the size of your QWidgets i.e side menu, popup notifications, floating widgets etc. Read more
    • QMainWindow - Apply custom window title bar and navigation. Read more
  • Other extra functions:

    • ProjectMaker / project wizard - Used for creating a Qt-Python project on an empty folder. Read more
    • QCards - Apply the same syle ie drop-shadow effect to a group of QFrame, QWidget etc. Best for creating dashboard cards. Read more
    • QCustomQPushButtonGroup - Create a group of QPushButtons with different stylesheets for the current active or clicked button and other innactive buttons. Read more
    • Qt Theme Engine - Beautify your app. This feature will create multiple themes for QT for Python apps. Read more
    • QSettings - Easily save your app configurations that will be remembered even after restarting the app ie app theme from Qt Theme Engine`. Watch the tutorial
  • Or watch the tutorial videos here

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

khamisikibet avatar ameasere avatar t-brunet avatar boscs 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.