Apparently no :-)
Monday morning I guess. I assumed all widgets had a clicked signal. Why don't they?
Anyway, here's the signal:
{
...
signals:
void clicked();
...
};
// Edit: or mouseReleaseEvent(...) according to your taste
void MyLineEdit::mousePressEvent(...)
{
emit clicked();
}
class MyLineEdit : public QLineEdit
{
...
signals:
void clicked();
...
};
// Edit: or mouseReleaseEvent(...) according to your taste
void MyLineEdit::mousePressEvent(...)
{
emit clicked();
}
To copy to clipboard, switch view to plain text mode
I think, but I guess I need to get some more cafeine to wake up.
Bookmarks