QT Draw Pixmap # QT Creator # Radar
Create Pixmap
Step 1.
Create View
Create View
create view |
check the width and height |
Step 2.
Calculate Diameter and Center Point
Step 8.
Step 5.
prepare RadarScene.h file
use QWidget |
prepare function and parameter
Step 6.
prepare RadarScene.cpp file, Calculate diameter and center point
Step 7.
when called update() will execute paintEvent
paint Scene use Pixmap
return Pixmap
Create Timer to update View use timeout() signal
View like this
留言
張貼留言