Why this does not work ?
Qt Code:
{ mousePoint = event->globalPos(); }To copy to clipboard, switch view to plain text mode
Nothing happens.
Why this does not work ?
Qt Code:
{ mousePoint = event->globalPos(); }To copy to clipboard, switch view to plain text mode
Nothing happens.
You forget the
Nothing happens.
Qt Code:
{ mousePoint = event->globalPos(); lineEdit->show(); }To copy to clipboard, switch view to plain text mode
Why don't you push QLineEdit *lineEdit to the header initialise it in the constructor. and then just call setGeometry in the mousePressEvent
try to use
mousePoint = event->pos();
instead of
mousePoint = event->globalPos();
Bookmarks