Skip to main content

Shared PySide6 UI components for droplet desktop applications

Project description

dropletui

Shared PySide6 UI components for the droplet desktop applications.

dropletui centralizes theme tokens, application setup, controls, panels, splitters, status widgets, and demo components so droplegen, droplesim, and pylonguy can use the same UI and UX instead of maintaining separate copies.

Features

  • Unified dark PySide6 theme with shared colors, spacing, fonts, and control sizes
  • Reusable controls for buttons, line edits, combo boxes, spin boxes, and check boxes
  • Shared side and bottom panel constructors
  • Rounded draggable splitters with optional panel collapse and restore behavior
  • PyQtGraph theme configuration helpers
  • Demo app for quickly checking visual changes

Installation

From PyPI

pip install dropletui

From source

git clone https://github.com/merv1n34k/dropletui.git
cd dropletui
uv sync

Requirements

  • Python 3.12+
  • PySide6
  • pyqtgraph
  • uv

Usage

uv run dropletui-demo

In an application:

import dropletui as ui

app = ui.create_app("my app")
window = ...
window.show()
app.exec()

For aligned controls, prefer the semantic row helpers over hand-tuned layout spacing:

panel, layout = ui.section("Controls")
layout.addWidget(ui.control_row("Name", ui.line_edit(), label_width=64))
layout.addWidget(ui.control_row("Mode", ui.combo_box(["A", "B"]), label_width=64))
layout.addWidget(ui.button_row(ui.button("Apply", variant="primary")))

Release

Publishing to PyPI is handled by the Publish to PyPI GitHub Actions workflow when a GitHub release is published.

License

Distributed under the MIT License. See LICENSE for more information.

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

dropletui-0.1.2.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dropletui-0.1.2-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file dropletui-0.1.2.tar.gz.

File metadata

  • Download URL: dropletui-0.1.2.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dropletui-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3fa2fa7bab6064a21ccbfe7b2aef4717762b9dcd6837da66b2033929b056da9c
MD5 78bf7d611a86a5612bc62c422ff4f1e9
BLAKE2b-256 38cce4977697e33e56a349a87bd6504446b54a8caa390d35638b89ee5a55ee55

See more details on using hashes here.

Provenance

The following attestation bundles were made for dropletui-0.1.2.tar.gz:

Publisher: publish.yml on merv1n34k/dropletui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dropletui-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: dropletui-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dropletui-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 87836fdd33191d13900b39f1b1f7ebf8b8ee3c51f4c40291538fa1a1ae9a6757
MD5 0ef393c4fd1973926cf5fc4d0bfe5d80
BLAKE2b-256 5c7ec1efc51cec99dc17be4deae2ecc6e02aa9156bb0d1ebf02f4fb98986fb3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for dropletui-0.1.2-py3-none-any.whl:

Publisher: publish.yml on merv1n34k/dropletui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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