Re: [lazarus] graphical shapes library or component

2006-03-17 Thread Danny Milosavljevic
Hi,

Am Freitag, den 10.03.2006, 10:17 -0600 schrieb Matt Henley:
 A question on this one... once diacanvas wrapped qtk2q is working for
 lazarus.. would this be cross platform, say for Windows and OSX?

in the sense of works-out-of-the box: no.

It is as cross-platform as gtk+ 2 is. 
Currently that is:
- preinstalled on all end-user Desktop GNU/Linux distributions 
- needs to be installed on MS Windows (note that Novell improves MS
Windows support, so it's good and getting better and better)
- needs to be installed on MacOS X and runs with the X server thing they
provide (only)

I repeat: It is NOT cross platform as in works-immediately-everywhere :)

Hope that helps.

cheers,
  Danny

 
 
 On 3/3/06, Danny Milosavljevic [EMAIL PROTECTED] wrote:
  Hi,
 
  Am Montag, den 27.02.2006, 20:08 +0100 schrieb Marc Santhoff:
   Hi,
  
   is anoyone aware of a library or a (set of) componet(s) for pitchforking
   around some shapes, rectangles, elipses and the like and for creating
   connectors between this shapes?
  
   Of course it should be easily usable with fpc and lazarus. I'm searching
   for the basic things making up a graphical editor.
 
  diacanvas, wrapped for pascal with
  http://developer.berlios.de/projects/gtk2q/ . Last time I tried (a month
  or two ago) the compiler still had a problem with inter-package unit
  checksums (diacanvasq uses gtk2q, but when _it_ tries to use the gtk2q
  units it brags about checksum failure, so you could not use diacanvasq,
  only gtk2q directly) ... I kind of got demotivated/sidetracked, thus.
  Feel free to try again now.
 
  Now if you need a canvas to work with non-gtk stuff then the above would
  be a bad choice :)
 
  I don't know any VCL/FCLish canvas thingie.
 
  cheers,
Danny
 
 
  _
   To unsubscribe: mail [EMAIL PROTECTED] with
  unsubscribe as the Subject
 archives at http://www.lazarus.freepascal.org/mailarchives
 
 
 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
 

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] graphical shapes library or component

2006-03-10 Thread Matt Henley
A question on this one... once diacanvas wrapped qtk2q is working for
lazarus.. would this be cross platform, say for Windows and OSX?


On 3/3/06, Danny Milosavljevic [EMAIL PROTECTED] wrote:
 Hi,

 Am Montag, den 27.02.2006, 20:08 +0100 schrieb Marc Santhoff:
  Hi,
 
  is anoyone aware of a library or a (set of) componet(s) for pitchforking
  around some shapes, rectangles, elipses and the like and for creating
  connectors between this shapes?
 
  Of course it should be easily usable with fpc and lazarus. I'm searching
  for the basic things making up a graphical editor.

 diacanvas, wrapped for pascal with
 http://developer.berlios.de/projects/gtk2q/ . Last time I tried (a month
 or two ago) the compiler still had a problem with inter-package unit
 checksums (diacanvasq uses gtk2q, but when _it_ tries to use the gtk2q
 units it brags about checksum failure, so you could not use diacanvasq,
 only gtk2q directly) ... I kind of got demotivated/sidetracked, thus.
 Feel free to try again now.

 Now if you need a canvas to work with non-gtk stuff then the above would
 be a bad choice :)

 I don't know any VCL/FCLish canvas thingie.

 cheers,
   Danny


 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] graphical shapes library or component

2006-03-07 Thread Matt Henley
I am curious what you found in your search for visio like
functionality.  I am working with a group that is looking for
something very similar.. but it needs to be cross platform.

Matt Henley

On 2/27/06, Marc Santhoff [EMAIL PROTECTED] wrote:
 Hi,

 is anoyone aware of a library or a (set of) componet(s) for pitchforking
 around some shapes, rectangles, elipses and the like and for creating
 connectors between this shapes?

 Of course it should be easily usable with fpc and lazarus. I'm searching
 for the basic things making up a graphical editor.

 Btw. the wiki seems to be down atm: (61) Connection refused.

 TIA,
 Marc


 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] graphical shapes library or component

2006-03-07 Thread Marc Santhoff
Am Dienstag, den 07.03.2006, 16:12 -0600 schrieb Matt Henley:
 I am curious what you found in your search for visio like
 functionality.  I am working with a group that is looking for
 something very similar.. but it needs to be cross platform.

I found absolutely nothing up to now.

But to be honest I didn't search very seriously because of other more
important tasks, sorry.

Marc


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] graphical shapes library or component

2006-03-04 Thread Marc Santhoff
Am Freitag, den 03.03.2006, 19:45 +0200 schrieb Markku Niskanen:
 On Fri, 03 Mar 2006 17:15:05 +0100, Danny Milosavljevic
 [EMAIL PROTECTED] wrote:
 In gtk terminology that's a drawing area. A dia canvas is the complex
 thing that *stores* the shapes as objects and such...
 
   I have been really busy for the past few weeks but I have
   now tested the DXF library I used 6-7 years ago in Delphi.
   After the LCL corrections with arcs it seems to work now. 
   It stores the DXF objects as structures of some sort so it
   might be of some use.
 
   For the time being it just reads a DXF file and is capable
   of displaying it... and I suppose it can also detect the mouse
   movement on the object (I never used this feature).
 
   If anyone is interested I will mail it gladly.

May I ask which version of the DXF spec you are using?

In the past I had a lot trouble with DXF, mostly because Autodesk isn't
folowing their own definitions. Since Autocad 2000 or 2002 many files
from qcad(2) cannot be read by autocad.

If it would be possible to read in in the defective files and
(re)write them again in a proper manner seen from within autocad, I
would like to do some testing on it.

My last actions with Delphi and DXF were based on the library written by
a guy named John Biddiscombe dating from 1997, but I could not get in
contact with him.

Regards,
Marc


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] graphical shapes library or component

2006-03-04 Thread Markku Niskanen
On Sat, 04 Mar 2006 10:35:33 +0100, Marc Santhoff [EMAIL PROTECTED]
wrote:

May I ask which version of the DXF spec you are using?

As for the DXF version I have no idea whatsoever. The library is the
same you mentioned (John Biddiscombe 1997, based on earlier
work from 1995 by someone else).

I only used this in a soldering control software project where the
PCB drawing were exported as DXF and read to the application using
the library. The DXF format was chosen because someone in the
company had already started the work using it. It worked, though,
and I suppose a revised version is in use in some places even today.

All I did was correct some small memory leaks but all my changes
are in the final product which is closed source. I have the original
library here at home, still and if/when I have the time I will have a
look at it (or somebody else, if interested).

Markku
-- 
[EMAIL PROTECTED]

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] graphical shapes library or component

2006-03-03 Thread Danny Milosavljevic
Hi,

Am Montag, den 27.02.2006, 20:08 +0100 schrieb Marc Santhoff:
 Hi,
 
 is anoyone aware of a library or a (set of) componet(s) for pitchforking
 around some shapes, rectangles, elipses and the like and for creating
 connectors between this shapes?
 
 Of course it should be easily usable with fpc and lazarus. I'm searching
 for the basic things making up a graphical editor.

diacanvas, wrapped for pascal with
http://developer.berlios.de/projects/gtk2q/ . Last time I tried (a month
or two ago) the compiler still had a problem with inter-package unit
checksums (diacanvasq uses gtk2q, but when _it_ tries to use the gtk2q
units it brags about checksum failure, so you could not use diacanvasq,
only gtk2q directly) ... I kind of got demotivated/sidetracked, thus.
Feel free to try again now.

Now if you need a canvas to work with non-gtk stuff then the above would
be a bad choice :)

I don't know any VCL/FCLish canvas thingie.

cheers,
  Danny


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] graphical shapes library or component

2006-03-03 Thread Michael Van Canneyt



On Fri, 3 Mar 2006, Danny Milosavljevic wrote:


Hi,

Am Montag, den 27.02.2006, 20:08 +0100 schrieb Marc Santhoff:

Hi,

is anoyone aware of a library or a (set of) componet(s) for pitchforking
around some shapes, rectangles, elipses and the like and for creating
connectors between this shapes?

Of course it should be easily usable with fpc and lazarus. I'm searching
for the basic things making up a graphical editor.


diacanvas, wrapped for pascal with
http://developer.berlios.de/projects/gtk2q/ . Last time I tried (a month
or two ago) the compiler still had a problem with inter-package unit
checksums (diacanvasq uses gtk2q, but when _it_ tries to use the gtk2q
units it brags about checksum failure, so you could not use diacanvasq,
only gtk2q directly) ... I kind of got demotivated/sidetracked, thus.
Feel free to try again now.

Now if you need a canvas to work with non-gtk stuff then the above would
be a bad choice :)

I don't know any VCL/FCLish canvas thingie.


All canvases in Lazarus descend from TFPCustomCanvas, in the FCL.
(fpimage dir)
TFPImageCanvas has no external dependencies and is a fully functional
canvas.

Michael.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] graphical shapes library or component

2006-03-03 Thread Danny Milosavljevic
Hi,

Am Freitag, den 03.03.2006, 16:47 +0100 schrieb Michael Van Canneyt:
 
 On Fri, 3 Mar 2006, Danny Milosavljevic wrote:
 
  Hi,
 
  Am Montag, den 27.02.2006, 20:08 +0100 schrieb Marc Santhoff:
  Hi,
 
  is anoyone aware of a library or a (set of) componet(s) for pitchforking
  around some shapes, rectangles, elipses and the like and for creating
  connectors between this shapes?
 
  Of course it should be easily usable with fpc and lazarus. I'm searching
  for the basic things making up a graphical editor.
 
  diacanvas, wrapped for pascal with
  http://developer.berlios.de/projects/gtk2q/ . Last time I tried (a month
  or two ago) the compiler still had a problem with inter-package unit
  checksums (diacanvasq uses gtk2q, but when _it_ tries to use the gtk2q
  units it brags about checksum failure, so you could not use diacanvasq,
  only gtk2q directly) ... I kind of got demotivated/sidetracked, thus.
  Feel free to try again now.
 
  Now if you need a canvas to work with non-gtk stuff then the above would
  be a bad choice :)
 
  I don't know any VCL/FCLish canvas thingie.
 
 All canvases in Lazarus descend from TFPCustomCanvas, in the FCL.
 (fpimage dir)
 TFPImageCanvas has no external dependencies and is a fully functional
 canvas.

Really? Does that support remembering vector shapes and shape
manipulations via the mouse, interconnections between shapes and
attributes and undo and such? Interesting, must try :)

 
 Michael.

cheers,
  Danny


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] graphical shapes library or component

2006-03-03 Thread Danny Milosavljevic
Hi,

Am Freitag, den 03.03.2006, 16:59 +0100 schrieb Michael Van Canneyt:
 
 On Fri, 3 Mar 2006, Danny Milosavljevic wrote:
 
  Hi,
 
  Am Freitag, den 03.03.2006, 16:47 +0100 schrieb Michael Van Canneyt:
 
  On Fri, 3 Mar 2006, Danny Milosavljevic wrote:
 
  Hi,
 
  Am Montag, den 27.02.2006, 20:08 +0100 schrieb Marc Santhoff:
  Hi,
 
  is anoyone aware of a library or a (set of) componet(s) for pitchforking
  around some shapes, rectangles, elipses and the like and for creating
  connectors between this shapes?
 
  Of course it should be easily usable with fpc and lazarus. I'm searching
  for the basic things making up a graphical editor.
 
  diacanvas, wrapped for pascal with
  http://developer.berlios.de/projects/gtk2q/ . Last time I tried (a month
  or two ago) the compiler still had a problem with inter-package unit
  checksums (diacanvasq uses gtk2q, but when _it_ tries to use the gtk2q
  units it brags about checksum failure, so you could not use diacanvasq,
  only gtk2q directly) ... I kind of got demotivated/sidetracked, thus.
  Feel free to try again now.
 
  Now if you need a canvas to work with non-gtk stuff then the above would
  be a bad choice :)
 
  I don't know any VCL/FCLish canvas thingie.
 
  All canvases in Lazarus descend from TFPCustomCanvas, in the FCL.
  (fpimage dir)
  TFPImageCanvas has no external dependencies and is a fully functional
  canvas.
 
  Really? Does that support remembering vector shapes and shape
  manipulations via the mouse, interconnections between shapes and
  attributes and undo and such? Interesting, must try :)
 
 No, of course not.
 It's a plain canvas to draw on.
 But it works without any external dependencies.

I see :)

In gtk terminology that's a drawing area. A dia canvas is the complex
thing that *stores* the shapes as objects and such...

In delphi terminology, the gtk drawing area is called canvas...

cheers,
  Danny


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] graphical shapes library or component

2006-03-03 Thread Markku Niskanen
On Fri, 03 Mar 2006 17:15:05 +0100, Danny Milosavljevic
[EMAIL PROTECTED] wrote:
In gtk terminology that's a drawing area. A dia canvas is the complex
thing that *stores* the shapes as objects and such...

I have been really busy for the past few weeks but I have
now tested the DXF library I used 6-7 years ago in Delphi.
After the LCL corrections with arcs it seems to work now. 
It stores the DXF objects as structures of some sort so it
might be of some use.

For the time being it just reads a DXF file and is capable
of displaying it... and I suppose it can also detect the mouse
movement on the object (I never used this feature).

If anyone is interested I will mail it gladly.

Markku
-- 
[EMAIL PROTECTED]

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] graphical shapes library or component

2006-02-27 Thread Marc Santhoff
Hi,

is anoyone aware of a library or a (set of) componet(s) for pitchforking
around some shapes, rectangles, elipses and the like and for creating
connectors between this shapes?

Of course it should be easily usable with fpc and lazarus. I'm searching
for the basic things making up a graphical editor.

Btw. the wiki seems to be down atm: (61) Connection refused.

TIA,
Marc


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] graphical shapes library or component

2006-02-27 Thread Michael Van Canneyt


On Mon, 27 Feb 2006, Marc Santhoff wrote:

 Hi,

 is anoyone aware of a library or a (set of) componet(s) for pitchforking
 around some shapes, rectangles, elipses and the like and for creating
 connectors between this shapes?

 Of course it should be easily usable with fpc and lazarus. I'm searching
 for the basic things making up a graphical editor.

 Btw. the wiki seems to be down atm: (61) Connection refused.

This is known.
The machine hosting the wiki has been compromised. We don't know why yet.

Michael.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives