Can't find QColorDialog inside Qt designer
Unsolved
Qt for Python
-
Hello there, I just wanted to make a dialog that lets the user choose a color. The closest thing I found was KColorButton (part of kwidgetaddons) which I don't want to use yet.
I found this on the documentation https://doc.qt.io/qtforpython/PySide2/QtWidgets/QColorDialog.html and I was wondering why I couldn't find it inside Qt designer.
Do I have to code it manually? -
Hi,
No you don't. It's usually your system's color dialog.
The common way to use it is to call QColorDialog::getColor.
-
Alright thanks for the answer!