QGraphicsItems user transformation

Vector Graphics

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5.8
Description:

Some simple classes (MagicScene, MagicPolygon and PolygonTool) witch can transform QGraphics engine into vector editor.

Those class allow you to resize and transform QGraphicItem (from user interface).

I hope somebody find it usefull.
Last changelog:

9 years ago

*Convexity check added

*added MagicScene class (No need to use MagicPolygon and PolygonTool)

*for adding a resizing QGraphics object create MagicScene and use method addResizingItem()

*added save and load state

*added tools for drawing

*bug fixed

*Moving of all objects

*Memory leaks fixed

FunnyDriver

9 years ago

A new Future -> Zoom

Report

juanruben

5 years ago

Hi. How does really work the applicaction? I was able to run it but cant handle de shapes. It only moves the handle objects, but with no effects.

Thanks in advance

Report

C

VictorK

5 years ago

In polygontool.cpp change
setFlags(ItemIsMovable | ItemIsSelectable | ItemIgnoresTransformations);

to

setFlags(ItemIsMovable | ItemIsSelectable | ItemSendsGeometryChanges);

Report

juanruben

5 years ago

Hi again..

Still Polygon Tool only adds points, and ellipse crashes. I am only trying to figure out how your code should work and see if the code could help me. Thanks a lot

Report

C

VictorK

9 years ago

Add comments what you want to see in future version)

Report

9 years ago

*Convexity check added

*added MagicScene class (No need to use MagicPolygon and PolygonTool)

*for adding a resizing QGraphics object create MagicScene and use method addResizingItem()

*added save and load state

*added tools for drawing

*bug fixed

*Moving of all objects

*Memory leaks fixed

12345678910
1
product-maker thahir1986 Nov 08 2010 9 excellent
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.0.3
updated Sep 07 2009
added Aug 31 2009
downloads today
0
page views today 3
System Tags app software