Skip to main content

Custom PySide6 UI widgets for Python applications

Project description

plwidgets

plwidgets is a custom widget library built on top of PySide6, offering modern UI components like sliders, toggles, progress indicators, and more — designed to give your PyQt/PySide apps a polished look.


🖼 UI Preview

Demo interface


📦 Installation

pip install plwidgets

Note: You must have PySide6 installed. If not:

pip install PySide6

🧩 Available Widgets

Widget Description
PlCheckBox Custom checkbox with styling.
PlCheckButtonGroup Group of toggle buttons (single or multi-select).
PlComboBox Styled dropdown selector.
PlDialog Base dialog window container.
PlFlag Titled content container with a styled header.
PlFormWidget Labeled horizontal layout for form elements.
PlLineEdit Styled single-line text input.
PlLoadingIndicator Animated loading spinner.
PlOverlayDialog Modal overlay popup with blur or dimming.
PlProgressCircle Circular progress indicator with text.
PlPushButton Custom push button with hover and press effects.
PlRoundCheckButton Rounded toggle button (styled checkbox).
PlSearchBar Input with icon for search actions.
PlSlider Custom horizontal slider.
PlTabWidget Custom tab navigation with painted tabs.

🧪 Quick Example

from PySide6 import QtWidgets
from plwidgets import PlWidgets

app = QtWidgets.QApplication([])

window = PlWidgets.PlDialog()
layout = QtWidgets.QVBoxLayout(window)

slider = PlWidgets.PLSlider()
slider.enableStep(10)

toggle = PlWidgets.PlCheckBox()
toggle.setChecked(True)

layout.addWidget(slider)
layout.addWidget(toggle)

window.show()
app.exec()

🎨 Styling with QSS

All widgets support custom styles using Qt Style Sheets (QSS):

PLSlider {
    background-color: #cccccc;
    thumb-color: #3498db;
}

PlCheckBox {
    handle-color: #ffffff;
    background-color: #888888;
}

📚 API Reference

See the docs (WIP!) for detailed information on each widget.


📄 License

MIT License © Pierre-Lou Guilloré

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

plwidgets-0.1.1.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

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

plwidgets-0.1.1-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file plwidgets-0.1.1.tar.gz.

File metadata

  • Download URL: plwidgets-0.1.1.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.0

File hashes

Hashes for plwidgets-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a057b0bb82beceeef05333734fdc799fe84b979453e0ba24cd211fd22aca5a32
MD5 34cd99e02d42607be46fd005893340bb
BLAKE2b-256 9f9cf1ff5a20cc08c79d58bac1d6fc55e93d89256588c0a6a231207c8ca8bee8

See more details on using hashes here.

File details

Details for the file plwidgets-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: plwidgets-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.0

File hashes

Hashes for plwidgets-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54be284ccebe91a725ed81384e67d111be8f5af08b40304ce68c0dc9b0881fab
MD5 33d7df8ffe064627eaa4b7df5bfcbbfd
BLAKE2b-256 aef4e99152c86923e3f537f087fcd21fa08750780921de4aed4511e6ae66a1c5

See more details on using hashes here.

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