Project

General

Profile

Feature #2847

WImage Painting

Added by Anonymous over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Target version:
Start date:
03/24/2014
Due date:
% Done:

0%

Estimated time:

Description

i was taken wimage when i mouse click the that position i want to circle

how can i achive this problem

plz help and give me example

i am using paintedWidget it;s take resize(400,400),that only call an event paint method it's image painting problem

thanks

#1

Updated by Wim Dumon over 8 years ago

  • Status changed from New to Resolved

In the mouse click handler, remember the position where you want to paint a circle in a variable, and call WPaintedWidget::update()

In the specialization of WPaintedWidget::paintEvent() method, draw the circle.

BR,

Wim.

#2

Updated by Koen Deforche over 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF