Hello everyone,
I want to implement a double click signal for push buttons that I create. I have read about QWidget::mouseDoubleClickEvent , but am unable to understand how to use this. Can someone help me out with a sample code for the same ?
Hello everyone,
I want to implement a double click signal for push buttons that I create. I have read about QWidget::mouseDoubleClickEvent , but am unable to understand how to use this. Can someone help me out with a sample code for the same ?
Qt Code:
void MyButton::mouseDoubleClickEvent() { emit doubleClicked(); }To copy to clipboard, switch view to plain text mode
Bookmarks