Skip to content

k4sima/github-style-gui-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


An example of a simple Qml app that styles with a theme.


  • async python backend
  • Custom title bar
  • window drop shadow (test)
  • Custom dialog
  • Dynamic settings (json base)
  • Dynamic color theme (json base)
  • drawer menu (supports left, right, top, bottom)

01

App settings

settings.json

02

Convert resource.qrc to resource.py

pipenv run qrc_convert

Run

pipenv run run

debug mode

pipenv run_debug

Build

build.sh

python -m nuitka \
        --follow-imports \
        --onefile \
        --windows-icon-from-ico=app/resource/icon/app.ico \
        --plugin-enable=pyside6 \
        --include-qt-plugins=platforms,qml,imageformats,tls \
        --include-data-file=app/*.json=./app/ \
        --include-data-file=app/.env=./app/ \
        --include-data-file=app/apple.png=./app/ \
        --include-data-dir=app/qml=./app/qml \
        --include-data-dir=app/backend=./app/backend \
        --include-module=dotenv \
        --output-dir=build/app \
        run.py

or

pipenv run build

Referenced color

primer.style / primitives / colors

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy