Unsolved generating a single dot?
-
How do you generate a dot? I could not find a function that would do that. by dot I mean, a dot like this .
Thanks
-
What do you mean by "generate"? Where do you want to get the dot? On a label, in some text input field, in QString?
-
@sierdzio
I want to create or draw dot like that of grids on some graphics software. Basically, I want to create a grid (not of lines but dots) to help with drawing. If I get to draw or create a single dot. then I could generate a grid. Thanks -
@VBsFAN This should help..
http://doc.qt.io/qt-5/qpen.html
Basically you just paint the pixel (size of your choosing) on the widget you want it painted on.
-
@ambershark
Thanks. I am sure it will be helpful. The link has a lot of stuff. Thanks