Quote Originally Posted by scascio View Post
I am not using grabMouse like you did
but what I read about that is that on widget at a time can grab the mouse.

So I am afraid that you can't do what you want that way.
Yes, I've just found the problem

grabMouse cannot be used, you're right, but my problem was in boundingRect method.
I returned:
Qt Code:
  1. QRectF boundingRect () const { return QRectF(); }
To copy to clipboard, switch view to plain text mode 
and this of course means that the buttons are 0 sized.

Now I return:
Qt Code:
  1. QRectF boundingRect () const { return QRectF(QPoint(0, 0), mVals.qsSize); }
To copy to clipboard, switch view to plain text mode 

and everything works fine

Thanks anyway.