Re: [Harbour] Re: Anyone using hbqt ?

2010-02-26 Thread francesco perillo
 This is _ABSOLUTELY_POSSIBLE_.

 I did experimented with my flagship application Vouch and it works.
 Will post a sample, or will include it in gtqtc/tests/demoqtc.prg soon.
 Right now implementing NG format oriented hbQT's help.

Ok, perfect !

Now I just ask you where may I start to get informations about hbqt...
Changelog ? Where did you get info on Qt ? Did you follow a model to
implement the class ?
something to start 

Francesco
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: Anyone using hbqt ?

2010-02-26 Thread Massimo Belgrano
Hi Priptpal if you want i can publish your article on my blog (i planed
update tomorrow)
http://harbourlanguage.blogspot.com/


2010/2/26 francesco perillo fperi...@gmail.com

  This is _ABSOLUTELY_POSSIBLE_.
 
  I did experimented with my flagship application Vouch and it works.
  Will post a sample, or will include it in gtqtc/tests/demoqtc.prg soon.
  Right now implementing NG format oriented hbQT's help.

 Ok, perfect !

 Now I just ask you where may I start to get informations about hbqt...
 Changelog ? Where did you get info on Qt ? Did you follow a model to
 implement the class ?
 something to start 

 Francesco
 ___
 Harbour mailing list (attachment size limit: 40KB)
 Harbour@harbour-project.org
 http://lists.harbour-project.org/mailman/listinfo/harbour




-- 
Massimo Belgrano
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: Anyone using hbqt ?

2010-02-26 Thread Barry Jackson

On 26/02/10 06:45, Przemysław Czerpak wrote:

On Thu, 25 Feb 2010, Barry Jackson wrote:

Hi,


Right now implementing NG format oriented hbQT's help.

Anyone found an NG reader (that works) for Linux?


I'm using Expert Guide from Dave Person.

best regards,
Przemek

Thanks Przemek - I tried that ages ago with no joy, but if you use it 
then I must be doing sth wrong!


Pressing d or D gives :-

Scanning for Norton Guides...Aborted and it drops back to command line.

I have :-
..tried changing ownership and permissions on the ng files and the 
extensions to lower case.

..tried deleting ~/.eg*

I would rather the files were in ~/norton-guides/ but I can't see how to 
change it's default away from /usr/share/norton-guides/


If I move /usr/share/norton-guides/ to /usr/local/share/norton-guides/ 
it just won't run at all :-

Can't open '/usr/share/norton-guides/eg.ng': No such file or directory

Any tips ? :-(

[...@jackodesktop ~]$ eg -v
Expert Guide Version 1.00

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: Anyone using hbqt ?

2010-02-25 Thread francesco perillo
I'm collecting some infos at this stage because some aspects are
unknown or not clear to me.


 hbXBP is a class framework based on Xbase++ class documentation.
 It uses hbQT for GUI implementation.

 demoQT.prg in contrib/hbqt/tests is a pure hbQT based demo application.

Sorry, I missed it. From the source it seems that, up to now, there is
no .ch file with #define.

 hbIDE is a powerful application demonstration
 ( if we take it in this context ) which exposes many-many constructs
 of Qt.

Yes, it is really nice and this is the reason I'm gathering infos

 What else you are asing for, or expecting ?

I'm asking for infos and sample code ! Expecially infos about porting
legacy code to Qt... for example, how can I emulate the PICTURE in GET
system ? or the WHEN/VALID ?

 BTW, Bacco and Vailton will soon release some application
 based on pure Qt, you can wait for them to be available.

It is really good ! I will try to contact them to have a preview, if
possible

Thanks,
Francesco
PS: is it possible to compile a static hbide.exe for distribution ? If
yes, how ?
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: Anyone using hbqt ?

2010-02-25 Thread Barry Jackson

On 25/02/10 16:18, Pritpal Bedi wrote:

I understand the question.


hbIDE is a powerful application demonstration
( if we take it in this context ) which exposes many-many constructs
of Qt.


Certainly, but for the beginner ( or old Clipper person like me ) that's 
too big a step.



What else you are asing for, or expecting ?



Any chance of Hello_Qt_World.prg with a push button. Nothing more. 
Just to get started ?


The xhgtk samples are the sort of thing I mean, see button01.prg below.

Rgds
Barry

/*
 * $Id: button01.prg 396 2010-01-29 13:54:36Z marcosgambeta $
*/

/*

xHGTK sample
Copyright 2005 by Marcos Antonio Gambeta

*/

#include gtk.ch

PROCEDURE Main ()

   LOCAL pWindow // pointer to the widget GtkWindow
   LOCAL pButton // pointer to the widget GtkButton

   // initialize GTK+
   gtk_init()

   // create the main window
   pWindow := gtk_window_new( GTK_WINDOW_TOPLEVEL )
   // define width and height of the main window
   gtk_widget_set_size_request( pWindow, 250, 50 )
   // define title
   gtk_window_set_title( pWindow, GtkButton - sample 1 )
   // define start position
   gtk_window_set_position( pWindow, GTK_WIN_POS_CENTER )

   // create the widget GtkButton
   pButton := gtk_button_new()
   // add the widget to the window
   gtk_container_add( pWindow, pButton )
   // turn the widget visible
   gtk_widget_show( pButton )

   // close the application if the window is destroyed
   gtk_signal_connect( pWindow, destroy, {|| gtk_main_quit() } )
   // destroy the window if the button is clicked
   gtk_signal_connect( pButton, clicked, {|| gtk_widget_destroy( 
pWindow ) } )


   // show the window
   gtk_widget_show( pWindow )

   // start the main loop
   gtk_main()

RETURN
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: Anyone using hbqt ?

2010-02-25 Thread francesco perillo

 2. Goto harbour/contrib/hbqt/gtqtc

It's in harbour/contrib/gtqtc so it didn't get my attention from
what I understand this is a GT module that interfaces with Qt using Qt
text-mode, so that you can run a Qt program in text-mode is it
correct ? So pure, unmodified clipper source code still works...

But can you use gtqtc and mix it with Qt gui items ?

 Soon, you will find, at least starting with, documentation.
 Wait a few days more.

Ok, thank you very much for your work !

Francesco
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: Anyone using hbqt ?

2010-02-25 Thread Barry Jackson

On 25/02/10 23:41, Pritpal Bedi wrote:

Right now implementing NG format oriented hbQT's help.


Anyone found an NG reader (that works) for Linux?
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: Anyone using hbqt ?

2010-02-25 Thread Przemysław Czerpak
On Thu, 25 Feb 2010, Barry Jackson wrote:

Hi,

 Right now implementing NG format oriented hbQT's help.
 Anyone found an NG reader (that works) for Linux?

I'm using Expert Guide from Dave Person.

best regards,
Przemek
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour