Тёмный
No video :(

C++ Qt 74 - QPainter and QPen 

VoidRealms
Подписаться 84 тыс.
Просмотров 101 тыс.
50% 1

QML Beginners: www.udemy.com/course/qml-for-...
Qt Core Beginners: www.udemy.com/course/qt-core-...
Qt Core Intermediate: www.udemy.com/course/qt-core-...
QT Core Advanced: www.udemy.com/course/qt-core-...
Qt Widgets Beginners: www.udemy.com/course/qt-widge...

Опубликовано:

 

9 май 2011

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 42   
@ivanenzhaev2373
@ivanenzhaev2373 4 года назад
You can add a definition to .cpp very quickly: - Right click on a method in .h - Choose: "Refactor" > "Add Definition in dialog.cpp" P.S. The F4 key - for quick switching between .h and .cpp
@xplinux22
@xplinux22 11 лет назад
I found this tutorial clear and quite enjoyable to watch. You have an excellent, soothing voice, great for tutorials! I was fuming for a while when you didn't notice the p1/p2 mistake, but it doesn't matter, you noticed it soon after anyway. Great job! Subscribed.
@user-zv5vz8pt9y
@user-zv5vz8pt9y 4 года назад
You are awesome!One of the best tutorials i have learned from.
@RadiergummiXD
@RadiergummiXD 3 года назад
THIS IS SO GOOD EXPLAINED! Thanks for this.
@raffodog
@raffodog 12 лет назад
Great, just what I was looking for, thanks a million!
@mrfishjr
@mrfishjr 12 лет назад
Thanks a lot, pal! I thought that i wasn't going to find a nice tutorial about this, but there you go! please, Keep up the wonderful job, man! =)
@msalomao
@msalomao 10 лет назад
Thank you so much for these videos!
@viniciusmonaco3666
@viniciusmonaco3666 2 года назад
VERY GOOD BRO, THANK THANK YOU SO GOOD!!!1111!!!!!
@iberryart
@iberryart 12 лет назад
Thank you very match! nice tutorial/ It very helpful
@akhmetovbakytzhan7785
@akhmetovbakytzhan7785 10 лет назад
Thx, I liked it :)
@sonulohani
@sonulohani 10 лет назад
Thanks man.
@aeagal
@aeagal 11 лет назад
Thank you!
@crash00023
@crash00023 12 лет назад
thanXx for your TuT. Thumbs up. Please keep them up.
@VoidRealms
@VoidRealms 13 лет назад
@AndrePL AWESOME!!!
@ricopin
@ricopin 12 лет назад
thabnk you a lot for making this tutorials!
@Hudsonkem
@Hudsonkem 9 лет назад
thx so much for ur job, so, I have a question, if I wanna draw on desktop, what I do? What the lib while control desktop drawings.
@chainonsmanquants1630
@chainonsmanquants1630 3 года назад
Thanks.
@silentwitness3363
@silentwitness3363 8 лет назад
thx!
@agsantiago22
@agsantiago22 11 лет назад
Hi, Brian. Great tutorials! Congrats! . Is there a way to use QPainter AND QMouseEvent? I mean, get the coordinates for QPoint using QMouseEvent? . Thanks in advance,
@campbellstarky2144
@campbellstarky2144 3 года назад
In production code would you actually redefine your paintpen, points, linepen etc in the paintEvent function? Seems like a lot of work wasted, because isn’t that being called on a busy loop in app.exec()? Thanks for these terrific tutorials, nearly a decade later they are still the best I can find for learning qt
@SuperMrChrisSC
@SuperMrChrisSC 10 лет назад
VoidRealms Could you explain why you use 'this' in QPainter painter(this)? I want to know what it takes so i can make another in the main.cpp :/
@Abdullah-mg5zl
@Abdullah-mg5zl 9 лет назад
The QPainter object has to take a POINTER to a Widget (or any QPaintDevice for that matter) that it will draw on. The "this" keyword is just a pointer to the class whos member function you are currently defining.
@angelvalmart498
@angelvalmart498 7 лет назад
Can I use QPainter out of paintEvent?
@andremarquessilva8733
@andremarquessilva8733 9 лет назад
And if I want to draw inside a widget. How do I do that? Thanks for the video
@selvaaai
@selvaaai 12 лет назад
Hi, I tried to daw on the label like this in qpaintevent but it fails. QPainter painter(this->ui->label); painter.setBrush(QBrush(Qt::red)); painter.drawRect(10, 10, 100, 100); Please help ..
@hanumantgaikwad6046
@hanumantgaikwad6046 3 года назад
This is amazing tutorial. Beside how to rotate text using Qpainter or using in qt??
@VoidRealms
@VoidRealms 3 года назад
doc.qt.io/qt-5/qtwidgets-painting-transformations-example.html
@franrokify
@franrokify 11 лет назад
Why we have to put "void paintEvent(QPaintEvent *e)" in dialog.h?
@qzorn4440
@qzorn4440 8 лет назад
now i get the point. thanks (\+_+/) .
@BogdanDaragan
@BogdanDaragan 12 лет назад
can u explain how to use OpenGL?
@ktch7069
@ktch7069 11 лет назад
Brian .. Your videos are very nice. Maybe you should consider taking bitcoins as donation on your site ?
@artteaparty
@artteaparty 7 лет назад
I need to make a drawing app (very simple paint), so I need to be able to let the user draw the line or other shapes just by mouse (Just as paint). I am going to watch all videos but for now, I am in a hurry to do this. Can you let me know which videos refer to related things? or even there is some related videos in this tutorial?
@st1llm3L1m1tless
@st1llm3L1m1tless 7 лет назад
did you ever find out how to do this I am in a similar situation
@artteaparty
@artteaparty 7 лет назад
Yes I did, I am too busy to explain but I can send you the final result if you want, just give me your email. :)
@st1llm3L1m1tless
@st1llm3L1m1tless 7 лет назад
poetic2698@gmail.com thanks alot
@franciscomolina2504
@franciscomolina2504 6 лет назад
You Guys can help a fellow developer as well? haha
@MiguelAlejandroJimenezRamirez
@MiguelAlejandroJimenezRamirez 8 лет назад
Hello I hope you can see this message. I followed your explannaition but I cannot see the line , and I don't understand why. if you have an email i'll send you my code but is basically exaclly like yours. SQo I don't know what is happenning. Thank you for your help
@fahadhos
@fahadhos 4 года назад
I want plus icon + for profile photo add
@EmuNext
@EmuNext 10 лет назад
Selva Barathi painter.fillRect(0, 0, 100, 100, paintBrush);
@jillgouhin6453
@jillgouhin6453 2 года назад
the video image is too poor, you need to fix it more
@VoidRealms
@VoidRealms 2 года назад
This video is from 10 years ago, I've actually started an entirely new series You can find the playlist in my RU-vid channel It's called QT6
@hvm2hvm
@hvm2hvm 11 лет назад
"hi brian, please do my homework for me". sigh, wannabe programmers...
Далее
C++ Qt 75 - QRect and QBrush
7:15
Просмотров 36 тыс.
ЮТУБ БЛОКИРУЮТ?
02:04
Просмотров 637 тыс.
Китайка Шрек всех Сожрал😂😆
00:20
the TRUTH about C++ (is it worth your time?)
3:17
Просмотров 659 тыс.
Harder Than It Seems? 5 Minute Timer in C++
20:10
Просмотров 163 тыс.
Why The Windows Phone Failed
24:08
Просмотров 233 тыс.
Move Semantics in C++
13:10
Просмотров 286 тыс.
C++ Qt 62 - Viewer Feedback Signals and Slots in depth
17:33
C++ vs Rust: which is faster?
21:15
Просмотров 385 тыс.
Qt C++ 09 QCustomPlot Add Point with Mouse Click
7:29
ЮТУБ БЛОКИРУЮТ?
02:04
Просмотров 637 тыс.