QGraphicsItems user transformation

Vector Graphics

Source i (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
Become a Fan
5.7

Available as/for:
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:

*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


Ratings & Comments

5 Comments

FunnyDriver

A new Future -> Zoom

juanruben

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

VictorK

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

juanruben

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

VictorK

Add comments what you want to see in future version)

Pling
0 Affiliates
Details
license
version 0.0.3
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Vector Graphics:

potracegui
AntonioFasolato
last update date: 20 years ago

Score 5.0

gestalter
pylon2
last update date: 20 years ago

Score 5.0

Moho
lostmarble
last update date: 19 years ago

Score 5.0

Xara Xtreme
abligh
last update date: 19 years ago

Score 5.0

Inkscape
ryanlerch
last update date: 17 years ago

Score 5.7

Synfig
Genete
last update date: 12 years ago

Score 6.8



System Tags