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 beQColor
,str
. -
getColor() -> QColor
Usage
Code Sample
dialog = ColorPickerDialog()
reply = dialog.exec()
if reply == QDialog.Accepted:
color = dialog.getColor() # return type is QColor
//..
Preview
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
Built Distribution
Close
Hashes for pyqt_color_picker-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97e0c41e71f5ee312d0a3efa0351e639f9f67b5b34dd9d45d102ca4772862ea7 |
|
MD5 | 9c7cdaa588f3dcdc79c94a0746646608 |
|
BLAKE2b-256 | 974915e8687f28a4d6cbf75d185a994df95c54c47fe7945412a1e648ae452f10 |