Skip to main content

PyQt color picker dialog

Project description

pyqt-color-picker

PyQt color picker dialog

Requirements

PyQt5 >= 5.8

Setup

python -m pip install pyqt-color-picker

Class, Method Overview

  • ColorPickerDialog(color=QColor(255, 255, 255)) - Color argument's type can be QColor, str.

  • getColor() -> QColor

Usage

Code Sample

dialog = ColorPickerDialog()

reply = dialog.exec()

if reply == QDialog.Accepted: 

  color = dialog.getColor() # return type is QColor

  //..

Preview

https://user-images.githubusercontent.com/55078043/144693507-7b078c86-8c71-4df5-869f-8380885b9108.mp4

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

pyqt-color-picker-0.0.14.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

pyqt_color_picker-0.0.14-py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 3

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