Qt5 C++ Drawing Rectangle (QPainter, QPen, QBrush) In Qt #25

preview_player
Показать описание
Join Qt6 C++ GUI & Mobile App Development Course in Udemy

In this Video Tutorial i want to show you how you can Draw Rectangle using QPainter, QPen And QBrush for drawing we use QPainter and for styling and coloring we use QPen and QBrush
Рекомендации по теме
Комментарии
Автор

I applied your example, but paintEvent never gets called. Do I need to register this function into somewhere?

NoName-iptt
Автор

great video. not too many qt videos out there

kebabprogamer
Автор

I want to add a text inside a polygon and also setBrush doesnt work for me, but setPen works. Can u help?

vasigaransenthilkumar
Автор

Sound could be a little higher, but anyways, thanks for the good & helpful tutorial

emrahe
Автор

hi i am shashi i want a program, when it run it has to ask user which type of shapes u want (circle, square, rectangle, traingel) after that it has to ask size, color, border color like that please could you help me

shashikumarsv
Автор

My code is perfect, but the rectangle is not displaying...

mukeshbadigineni