Solved How Can I add pressed() signal to Qdialog ?
How can I add pressed() signal to Qdialog ?
is there any way?
What you mean?
You want a completely empty dialog where it will signal Pressed if u click anywhere?
No of course it's not completely empty.. There are many widgets on the Qdialog buttons progressbars etc.. But I want to catch if user press on dialog on an empty space..
well you can override
to catch such clicking
void yourdiaog::mousePressEvent(QMouseEvent *event)
and if u want a signal
just define it
if you want to connect to this signal from "outside"
:mousePressEvent(QMouseEvent *event) solved the issue thanks...