thanks! makes sense.
Diving deeper into Qframe, is there a way to give it mouse clicked events like a push button?
i used the Qframe to make thumbnails, but now i need click and context menu actions. :?
thanks
thanks! makes sense.
Diving deeper into Qframe, is there a way to give it mouse clicked events like a push button?
i used the Qframe to make thumbnails, but now i need click and context menu actions. :?
thanks
Yes, you just need to overwrite the mouse event handler functions that you need, e.g. QWidget::mousePressEvent().
For context menu there are several options.
The easiest way is to add actions to the widget, see QWidget::addAction().
Cheers,
_
Bookmarks