PyQt5 QColorDialog – Child at given point
In this article we will see how we can get the child of QColorDialog widget at the given point. QColorDialog widget consist of multiple widgets like QLabel, QPushButton, QSpinBox and many other widgets. Combining these widgets forms the color dialog.
In order to do this we use
childAt method with the QColorDialog object
Syntax : dialog.childAt(x, y)
Argument : It takes two integers argument
Return : It returns child object
Below is the implementation