Skip to main content

PyQt6 Fluent MultiSelect ComboBox

PyPI version Python 3.9+ License: MIT

A beautiful, modern multi-select combo box widget for PyQt6 with Windows 11 Fluent Design styling.

✨ Features

  • 🎨 Fluent Design - Windows 11 inspired styling
  • 🌙 Dark & Light Themes - Built-in theme support
  • ✅ Multi-Select - Select multiple items with checkboxes
  • 🔄 Select All - Optional "Select All" functionality
  • 🎯 Max Selection - Limit the number of selections
  • ⌨️ Keyboard Support - Full keyboard navigation
  • 🖱️ Scroll Protection - Mouse wheel won't change selection accidentally
  • 🎭 Animations - Smooth arrow rotation animations
  • 📦 Zero Dependencies - Only requires PyQt6

📦 Installation

pip install fluent_multiselect

🚀 Quick Start

from PyQt6.QtWidgets import QApplication
from fluent_multiselect import FluentMultiSelectComboBox, Theme

app = QApplication([])

# Create combo box with dark theme
combo = FluentMultiSelectComboBox(theme=Theme.DARK)

# Add items
combo.addItems(["Python", "JavaScript", "TypeScript", "Rust", "Go"])

# Enable "Select All" option
combo.setSelectAllEnabled(True)

# Set placeholder text
combo.setPlaceholderText("Select languages...")

# Connect to selection changes
combo.selectionChanged.connect(lambda items: print(f"Selected: {items}"))

combo.show()
app.exec()

📖 Usage

Basic Usage

from fluent_multiselect import FluentMultiSelectComboBox, Theme

# Create with dark theme (default)
combo = FluentMultiSelectComboBox(theme=Theme.DARK)

# Or light theme
combo = FluentMultiSelectComboBox(theme=Theme.LIGHT)

# Add items
combo.addItem("Item 1")
combo.addItem("Item 2", data="custom_data")
combo.addItems(["Item 3", "Item 4", "Item 5"])

Selection Management

# Get selected items
selected_texts = combo.currentTexts()  # ["Item 1", "Item 3"]
selected_data = combo.currentData()     # Returns data values

# Set selection by text
combo.setCurrentTexts(["Item 1", "Item 3"])

# Set selection by indexes
combo.setCurrentIndexes([0, 2, 4])

# Select/deselect all
combo.selectAll()
combo.clearSelection()

Configuration

# Enable "Select All" option
combo.setSelectAllEnabled(True, text="Select All")

# Limit maximum selections
combo.setMaxSelectionCount(3)

# Close popup after each selection
combo.setCloseOnSelect(True)

# Custom delimiter for display
combo.setDisplayDelimiter(" | ")

# Placeholder text
combo.setPlaceholderText("Choose options...")

🔧 Requirements

  • Python 3.9+
  • PyQt6 >= 6.4.0

📄 License

MIT License - see LICENSE file for details.

Metadata

Release files for fluent-multiselect 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fluent-multiselect 0.1.0
File Size Uploaded Provenance Actions
fluent_multiselect-0.1.0.tar.gz 26.8 kB Without provenance Details for fluent_multiselect-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fluent-multiselect 0.1.0
File Interpreter ABI Platform Actions
fluent_multiselect-0.1.0-py3-none-any.whl Python 3 none any Details for fluent_multiselect-0.1.0-py3-none-any.whl

Total release size: 51.8 kB

Release files / fluent_multiselect-0.1.0.tar.gz

Download URL fluent_multiselect-0.1.0.tar.gz
Size 26.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2c2d9d8dbcc43f5dc915a57392f97fe34ccb1805047ab1c49578f11adcb5756b
BLAKE2b-256 checksum
How to use checksums
84b4564c8c70a024d1368f3259d05b451897f878060ac29a6bf1f99c48c37989
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / fluent_multiselect-0.1.0-py3-none-any.whl

Download URL fluent_multiselect-0.1.0-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
19a6a4f44a2734c9738c41c8888fb66492d4614c12ea63983ae217c9885ac0f7
BLAKE2b-256 checksum
How to use checksums
48f8c4049bfdfe6bf0b48518e854abb67efe56af1ae63801dc34399231ed1368
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Security for fluent-multiselect 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page