Re: [Harbour] Re: Anyone using hbqt ?
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
[Harbour] Re: Anyone using hbqt ?
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. Pearson :-) www.davep.org Norton Guides section include a description of file format of a Norton Guide database I am using Expert Guide for Windows since 32bit Windows (Win2000) refused to accept NG as TSR program Many years ago since then David Macias ___ 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 ?
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 ?
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
[Harbour] Re: Anyone using hbqt ?
francesco perillo wrote: I see Qt has lots of possibilities, is very powerfull and widely available... There are lots of tutorials and sample code available (and demos in the Qt package are terrific!) but they are for C++ Now the question: if I want to start using hbxpb/hbqt where should I start ? Is hbide and demoxpb the only available source code ? Is hbxpb the only way to use hbqt ? Are all features of Qt available to harbour ? 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. hbIDE is a combination of hbXBP calls and pure hbQT class calls. hbIDE is a powerful application demonstration ( if we take it in this context ) which exposes many-many constructs of Qt. What else you are asing for, or expecting ? BTW, Bacco and Vailton will soon release some application based on pure Qt, you can wait for them to be available. - enjoy hbIDEing... Pritpal Bedi _a_student_of_software_analysis__design_ -- View this message in context: http://n2.nabble.com/Anyone-using-hbqt-tp469p4633435.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ 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 ?
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 ?
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
[Harbour] Re: Anyone using hbqt ?
Barry Jackson wrote: 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. REQUEST HB_QT STATIC s_qApp STATIC s_slots INIT PROCEDURE Qt_Start() hbqt_errorsys() s_qApp := QApplication():new() RETURN EXIT PROCEDURE Qt_End() s_qApp:quit() RETURN PROCEDURE Main() Local oWnd, oDA, oBtn s_slots := QT_SLOTS_NEW() oWnd := QMainWindow():new() oWnd:setWindowTitle( Harbour-Qt Implementation Test Dialog ) oWnd:setWindowIcon( test ) oWnd:resize( 900, 500 ) oDA := QWidget():new( oWnd ) oWnd:setCentralWidget( oDA ) oWnd:show() oBtn := QPushButton():new( oDA ) oBtn:move( 200, 100 ) oBtn:resize( 60, 30 ) oBtn:setText( Hello World ) oBtn:show() QT_SLOTS_CONNECT( s_slots, oBtn, clicked(), {|| oWnd:close() } ) oWnd:Show() s_qApp:exec() RETURN A quick pullout of hbqt/tests/demoqt.prg, not tested, but surely you can grab the contents. - enjoy hbIDEing... Pritpal Bedi _a_student_of_software_analysis__design_ -- View this message in context: http://n2.nabble.com/Anyone-using-hbqt-tp469p4633795.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
R: [Harbour] Re: Anyone using hbqt ?
francesco perillo wrote: Not only this little samples (I already wrote last week that little dedicated samples are better that a monolithic source full of everything... Probbaly some others should jump into this stream... I agree with Francesco. Also in HwGUI experience i found that a specific sample, exhausting the most important aspects of the class/function/argument is more productive. You do not have to. Probably you missed some of the earlier commits. Here is the reminder: 1. Open console from where you compile hbQT 2. Goto harbour/contrib/hbqt/gtqtc 3. Issue make install 4. If library is built, then, go to further deep in /tests 5. Issue hbmk2.exe demoqtc , and if .exe is generated 6. Run demoqtc 7. Play with options and inspect the demoqtc.prg, it is pure Clipper code. Though there are few glitches and still is not production level ready, but amply demonstrate the potentials. I did not work on remaining glitches as, at that point of time, I was not familiar with Qt inside-out. Now I am more equipped. If there is ample interest, and shown on this also, then I can look into GTQTC again. Few time ago i inspetcted this contrib lib and found very interesting. I don't tried to use it because i thought was a sleeping project. Thus i'm sure very interested to a clipper based approach to Qt gui. Soon, you will find, at least starting with, documentation. Wait a few days more. Good news. Many thanks for the very effective work in hbide and Qt embedding. Best regards. Maurizio ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] Re: Anyone using hbqt ?
francesco perillo wrote: Not only this little samples (I already wrote last week that little dedicated samples are better that a monolithic source full of everything... Probbaly some others should jump into this stream... But I also ask for Qt/harbour integration, or how to map harbour object on Qt widgets and viceversa... so, demoxpb shows that Qt is usable, hbide shows that hbqt/hbxpb are really usable and can create a nice looking, feature full application. But none give an idea of a migration path from harbour... I already cited PICTURE and I now add TBrowse... Qt has a really nice Table implementation, really powerful and customizable (using styles, using views, you can write in cells directly..) but this means completely dropping old code... You do not have to. Probably you missed some of the earlier commits. Here is the reminder: 1. Open console from where you compile hbQT 2. Goto harbour/contrib/hbqt/gtqtc 3. Issue make install 4. If library is built, then, go to further deep in /tests 5. Issue hbmk2.exe demoqtc , and if .exe is generated 6. Run demoqtc 7. Play with options and inspect the demoqtc.prg, it is pure Clipper code. Though there are few glitches and still is not production level ready, but amply demonstrate the potentials. I did not work on remaining glitches as, at that point of time, I was not familiar with Qt inside-out. Now I am more equipped. If there is ample interest, and shown on this also, then I can look into GTQTC again. Then I would like to view a commercial-grade dbf-based form of something... it can be a stupid recipe bookkeeper to a stupid agenda... And, finally, a bit of docs... best practices... for example in C++ world, I saw samples where form code was contained in a class... ..or a little doc stating how hbqt is glued with Qt Soon, you will find, at least starting with, documentation. Wait a few days more. - enjoy hbIDEing... Pritpal Bedi _a_student_of_software_analysis__design_ -- View this message in context: http://n2.nabble.com/Anyone-using-hbqt-tp469p4634325.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ 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 ?
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
[Harbour] Re: Anyone using hbqt ?
francesco perillo wrote: 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... It is wrong to put it like this: so that you can run a Qt program in text-mode. Rather we should say: so that you can run a Clipper program in Qt environments. But can you use gtqtc and mix it with Qt gui items ? I had a plan to emulate GTWVG as GTQTG and am still interested in, but then that is not exactly what you are asking for. BTW, in this context, which other library or implementation does so ? If you are thinking of GTWVW then it is a different story. For sure, an hibrid GUI mode is a quick path to convert existing code, that is why I developed GTWVG on top of GTWVT, but this is not the way to exploit Qt's power. It is better we start thinking port our code to pure GUI. The group knows that I am a die-hard fan of hibrid GUI, but now my priorities are changing. I am drifting toward pure GUI. I will try to find the ways to migrate easily exiting code. TBrowse oriented code may need little labout to adapt to XbpBrowse(). GetList will need much more work to simulate the excat behavior, this this is doable. Needed are some more hands. - enjoy hbIDEing... Pritpal Bedi _a_student_of_software_analysis__design_ -- View this message in context: http://n2.nabble.com/Anyone-using-hbqt-tp469p4635832.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] Re: Anyone using hbqt ?
francesco perillo wrote: But can you use gtqtc and mix it with Qt gui items ? I explain better: it would be possible to have in the same program one window done in text-mode and ANOTHER window in gui mode ? (not text-mode in the gui form or gui widgets in text-mode...) 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. - enjoy hbIDEing... Pritpal Bedi _a_student_of_software_analysis__design_ -- View this message in context: http://n2.nabble.com/Anyone-using-hbqt-tp469p4636180.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ 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 ?
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
[Harbour] Re: Anyone using hbqt ?
Barry Jackson wrote: Right now implementing NG format oriented hbQT's help. Anyone found an NG reader (that works) for Linux? Sorry, I meant NANFORUM compatible .txt help fot hbQT. You may need, for that matter any other tool, hbIDE for a quick start. - enjoy hbIDEing... Pritpal Bedi _a_student_of_software_analysis__design_ -- View this message in context: http://n2.nabble.com/Anyone-using-hbqt-tp469p4636320.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ 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 ?
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