Quote Originally Posted by gibi70 View Post
I want to draw a one-pixel wide cosmetic black border all around the canvas, ...
Qt Code:
  1. canvas()->setLineWidth( 1 );
  2. canvas()->setFrameStyle( QFrame::Plain | QFrame::Box );
To copy to clipboard, switch view to plain text mode 

HTH,
Uwe