By simple pixels, you mean like how to draw a line on the screen ?
Please provide some more information :)
Once your problem is solved please do:
Use the Topic Tools button to mark as Solved and
Upvote the answer(s) that helped you to solve the issue postimage.org can be used for screenshots.
Get on the inside track at https://www.qtworldsummit.com/