PyQt QPainter Quickstart

preview_player
Показать описание
This video is an introduction to the Paint System in PyQt.
We will explore how to create a QPixmap and paint to it creating a custom Icon for a button.

00:00 Intro
01:48 Basic Drawing Example
03:42 Setting up
05:48 Painting on a QPixmap
08:25 QPen (Outline)
10:26 QGradient Presets
11:52 QBrush (Fill)
14:06 Render Hint (AntiAliasing)
15:17 Why QPainter?
16:51 Resize event
18:24 Centering elements
20:08 Avoiding size errors

Relevant Links

Support me on:
Рекомендации по теме
Комментарии
Автор

Thank you so much and this is what exactly I was looking for.

rayshin
Автор

Thank you a lot!!!! This is great tutorial!

eugeneizmailov
Автор

how can i delete all QPainter Drawings

coderun