create diagrams Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
jefferds
In need of some credit
In need of some credit
Posts: 9
Joined: Fri May 11, 2007 7:49 pm

create diagrams

Post by jefferds » Wed May 16, 2007 10:07 pm

hello, I would like to create an interface where I could build diagrams with line and components and I could define characteristics and functions for the diagram components. Which classes should I use to do that?
jefferds

Ugly!
Earned some good credits
Earned some good credits
Posts: 113
Joined: Mon May 09, 2005 5:11 am
Location: Argentina - BS AS

Re: create diagrams

Post by Ugly! » Fri May 18, 2007 2:09 pm

jefferds wrote:hello, I would like to create an interface where I could build diagrams with line and components and I could define characteristics and functions for the diagram components. Which classes should I use to do that?
This is kinda vague. Can you elaborate a little more? Would this be like a drawing application? Will you have to move things around? Will you be needing printing?

Regards, Mat
Just a newbie - Too many interests, not too many time.

Windows XP SP2
Kubuntu GNU/Linux - Feisty
wxActiveRecordGenerator (aka wxARG) maintainer
Find it at wxCode

jefferds
In need of some credit
In need of some credit
Posts: 9
Joined: Fri May 11, 2007 7:49 pm

Post by jefferds » Sat May 19, 2007 12:31 pm

It is a system simulation application, where will have toolbars with icons representing the system components and line to do the connection among them.

This arrangement of components and lines given a set of input dada for a
numeric simulation program of the system. I will need to print and to
generate graphs for the simulation results.

thanks for any clue!
jefferds

Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria » Sat May 19, 2007 2:23 pm

I am still not sure what kind of graphs you are trying to do

perhaps take a look at http://wxcode.sourceforge.net/components/wxchart/

If this is not what you want, it is always posssible to draw whatever you want in a DC, using either the wxWidgets drawing functions or OpenGL.

jefferds
In need of some credit
In need of some credit
Posts: 9
Joined: Fri May 11, 2007 7:49 pm

Post by jefferds » Sat May 19, 2007 9:05 pm

I want to do an application like Umbrello where the components of the diagrams are elements of a system to numeric simulation. Please see
http://uml.sourceforge.net/screen.php

thanks!
jefferds

redrgreen
Knows some wx things
Knows some wx things
Posts: 30
Joined: Tue Oct 26, 2004 9:44 am

Post by redrgreen » Mon May 21, 2007 4:57 pm

Since Umbrello is open source I would suggest that you download the source and study it, its not written in wxWidgets but is in C++ so perhaps you could modify it to use the wxWidgets library and in the process make it cross platform. Failing this you might get some ideas at least.

Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria » Mon May 21, 2007 6:37 pm

I don't think there exists any similar component already in wxWidgets - you will probably need to draw your own (see samplesa bout drawing, DCs and all that stuff...)

jefferds
In need of some credit
In need of some credit
Posts: 9
Joined: Fri May 11, 2007 7:49 pm

Post by jefferds » Fri May 25, 2007 8:54 pm

thank you, you already helped me enough!
jefferds

Post Reply