Skip to main content

QuteStyle is an expandable application framework for PySide6

Project description

QuteStyle logo

QuteStyle

QuteStyle is an expandable application framework for PySide6 and heavily inspired by PyDracula. The main goal of this project is to provide a simple and easy to use application frame that can be used to create a new application. It is mainly suited for applications that rely on a center widget for user interaction. Functionality is extendable by having different widgets that can be loaded into that center widget area.

Project status

Python Versions Qt Versions License Code style: black

Tests

pre-commit.ci status CodeQL Build Status Code Coverage

Package

PyPI PyPI - Wheel

Features

  • Easy integration of already existing widgets
  • Preset themes that easily can be modified
  • Custom widgets
  • Splash screen
  • Build-in release history
  • Used and developed in a productive environment

Themes and Styled Widgets

QuteStyle provides five themes, defining the color composition of the app. Additionally, the user can define new themes (check this out). We provide five themes, for example a dark and light mode Darcula and Highbridge Grey. We defined custom widgets, such that they fit to the overall style and implemented new behaviour. A selection can be found in the Test-App:

Highbridge GreyDarcula

Requirements

Installation Method

pip install qute-style

Usage

import sys

from qute_style_examples.sample_main_window import StyledMainWindow
from qute_style.qs_application import QuteStyleApplication
from qute_style.update_window import AppData

class MyApplication(QuteStyleApplication):
    # take a look at qute_style_examples.sample_main_window and qute_style_examples.sample_widgets
    # to find out more about setting up a main window and the widgets that it
    # should display
    MAIN_WINDOW_CLASS = StyledMainWindow
    # add basic information about your application
    APP_DATA = AppData(
        "Test-App",
        "2.3.4",
        ":/svg_images/logo_qute_style.svg",
        ":/svg_images/logo_qute_style.svg",
        "",
        "Test Version",
    )

if __name__ == "__main__":

    APP_NAME = "Test-App"

    app = MyApplication(sys.argv)
    sys.exit(app.exec())

For further information, see our documentation.

Example

Check out our example app by running:

python -m qute_style_examples

License

The original design idea is from Wanderson-Magalhaes and his project PyDracula (MIT License). The svg files are derived from Material design icons (Apache License Version 2.0). Other files are covered by QuteStyle's MIT license.

Contributing

All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.

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

qute_style-1.0.4.tar.gz (583.4 kB view details)

Uploaded Source

Built Distribution

qute_style-1.0.4-py3-none-any.whl (657.0 kB view details)

Uploaded Python 3

File details

Details for the file qute_style-1.0.4.tar.gz.

File metadata

  • Download URL: qute_style-1.0.4.tar.gz
  • Upload date:
  • Size: 583.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.0 Linux/5.15.0-1037-azure

File hashes

Hashes for qute_style-1.0.4.tar.gz
Algorithm Hash digest
SHA256 06d46bb93361a8864f5c2fee68929485c0777e387c76e66ed1dd9e9ba791a5da
MD5 930bc39ca00becd0ba010fcac40b30a5
BLAKE2b-256 57f597924f40a7f596e7bb56141e0fd7faaa822e2cfb9e142479d2a655457d81

See more details on using hashes here.

File details

Details for the file qute_style-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: qute_style-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 657.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.0 Linux/5.15.0-1037-azure

File hashes

Hashes for qute_style-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9cc746a771b009699928e904822c374ac09d1266893335595a9b9e9f469c650e
MD5 51079f72d3c7f10f7309c4637abcb9df
BLAKE2b-256 9de56623bad26ac02e26ad3126b839d9485f084bab36165f625ba2677e505d43

See more details on using hashes here.

Supported by

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