ok create a own widget with a pixmap added in label1 and below label2 the text u want to display ... override the void QWidget::mousePressEvent ( QMouseEvent * event ) and emit your custom signal
this signal will be emitted when user press or click on the widget ..Qt Code:
void { if (event->button() != Qt::LeftButton) { return; } emit myOwnSignal(); }To copy to clipboard, switch view to plain text mode![]()
Bookmarks