> Compile and execute this sample e go the option:
> - Modeless Dialogs
> - Slide Show . Modeless
> When appears the window, double-click the top edge and you will see
> that there appears to minimize and maximize buttons, this is what I
> need, I want not resize the window.
> Excuse me if I'm not being clear :)
> Best Regards,
> Rossine.
> --
> You received this message because you are subscribed to the Google
> Groups "Harbour Users" group.
> Unsubscribe: harbour-users+unsubscribe@googlegroups.com
> Web: http://groups.google.com/group/harbour-users
-- Massimo Belgrano
Delta Informatica S.r.l. (http://www.deltain.it/) (+39 0321 455962)
Analisi e sviluppo software per Lan e Web - Consulenza informatica -
Formazione
There is a few month, I have converted an old program from clipper 5.01 to harbour. It works in a console, but I'm really frustrated not to be able to convert it to a graphic program.
Is there some simple example to compil, showing how to develop a qt graphic program.
I insist on the simplicity, because I'm not able to understand and modify something like hbide.
> There is a few month, I have converted an old program from clipper 5.01 to
> harbour. It works in a console, but I'm really frustrated not to be able to
> convert it to a graphic program.
> Is there some simple example to compil, showing how to develop a qt
> graphic program.
> I insist on the simplicity, because I'm not able to understand and modify
> something like hbide.
> There is a few month, I have converted an old program from clipper 5.01
> to harbour. It works in a console, but I'm really frustrated not to be
> able to convert it to a graphic program.
Do not be frustrated.
Harbour is not a magic wand to convert
a Clipper console application to GUI. You were
able to convert a 16 bit appln on a 32 or 64 bit one
but not from console to GUI. For this to happen
you need a GUI consistent thinking and also
program flow plus a library over which
you have construct the castle.
So first prepare yourself for the GUI.
Simplest possible path is to link your application
with GTWVG and then try to add components
or gui look you feel. GTWVG is not a pure GUI
lib but a GUI emulating lib on top of Clipper console.
If above concept is clear to you than read below.
> Is there some simple example to compil, showing how to develop a qt
> graphic program.
> I insist on the simplicity, because I'm not able to understand and
> modify something like hbide.
hbIDE is not a library to base your applns on.
hbIDE is a project manager where you can host
your application ready to be edited/compiled/linked.
You do not need to follow hbIDE specif
code constructs into your application. For you
You should follow Giovani's tutorial for this
purpose. But then you will have to rewrite
your Clipper appn from scratch if you adopt
hbQT path.
>> There is a few month, I have converted an old program from clipper 5.01
>> to harbour. It works in a console, but I'm really frustrated not to be
>> able to convert it to a graphic program.
> Do not be frustrated.
> Harbour is not a magic wand to convert
> a Clipper console application to GUI. You were
> able to convert a 16 bit appln on a 32 or 64 bit one
> but not from console to GUI. For this to happen
> you need a GUI consistent thinking and also
> program flow plus a library over which
> you have construct the castle.
> So first prepare yourself for the GUI.
> Simplest possible path is to link your application
> with GTWVG and then try to add components
> or gui look you feel. GTWVG is not a pure GUI
> lib but a GUI emulating lib on top of Clipper console.
Sorry not to have been precise, but I'm under Linux ...
Well, I have downloaded there is a few time Marinas 1.9. I see that now the version is 2.0, and I'll download it to-morrow.
But I'm just as a beginner, and what I need is a sample project, with source (just a simple box, with a menu, some buttons, a text edit field, a checkbox, a combobox.... like the sample given with autoit. Just to be able tocompile it, modify and understand it.
After, I'll perhaps able to convert my program.
Hi, Maurizio, I suppose your mail you send for Google+ is to talk about Marinas too.
The big problem, is that if I have a Google count (made for Picassa there is a few time), I don't know how to join you on Google+, and to say exactly, I'm about 60 years, and don't really appreciate and know these services.
> But I'm just as a beginner, and what I need is a sample project, with
> source (just a simple box, with a menu, some buttons, a text edit field,
> a checkbox, a combobox.... like the sample given with autoit. Just to
> be able tocompile it, modify and understand it.
So have a look at harbour/contrib/hbqt/tests/demoqt.prg
> > But I'm just as a beginner, and what I need is a sample project, with
> > source (just a simple box, with a menu, some buttons, a text edit field,
> > a checkbox, a combobox.... like the sample given with autoit. Just to
> > be able tocompile it, modify and understand it.
> So have a look at harbour/contrib/hbqt/tests/demoqt.prg
> Pritpal Bedi
> --
> You received this message because you are subscribed to the Google
> Groups "Harbour Users" group.
> Unsubscribe: harbour-users+unsubscribe@googlegroups.com
> Web: http://groups.google.com/group/harbour-users
> Message du 21/06/12 07:27
> De : "Massimo Belgrano" > A : harbour-users@googlegroups.com
> Copie à : > Objet : Re: [harbour-users] Re: Does a qt example exists ?
Yes can be used under linux with very little adaption
because harbour is strong end powerfull but under evolution so same source
will need a change in Future
> > Message du 21/06/12 07:27
> > De : "Massimo Belgrano"
> > A : harbour-users@googlegroups.com
> > Copie à :
> > Objet : Re: [harbour-users] Re: Does a qt example exists ?
Please request to "MiniGUI extended Edition "
of integrate in his distribution all content present in nigtly edition
better it if prepare minigui as add of of harbour also
http://www.hmgforum.com/ was plan switch
Use harbour official
distribution<http://sourceforge.net/projects/harbour-project/files/>give
us warranties of reliability
ans made easy give help to user for same organization folder
I think that will be created extension for different library (
2012/6/23 Hans Lodder <hans.lod...@requirements-management.nl>
> Please request to "MiniGUI extended Edition "
> of integrate in his distribution all content present in nigtly edition
> better it if prepare minigui as add of of harbour also
> http://www.hmgforum.com/ was plan switch
> Use harbour official
> distribution<http://sourceforge.net/projects/harbour-project/files/>give
> us warranties of reliability
> ans made easy give help to user for same organization folder
> I think that will be created extension for different library (
> 2012/6/23 Hans Lodder <hans.lod...@requirements-management.nl>
>> Hi Massimo!
>> Thank you! I found it. My misunderstanding was that I have the MiniGUI
>> extended Edition, and I could not find it in there.
>>> So have a look at harbour/contrib/hbqt/tests/__**demoqt.prg
>>> Hi!
>>> This directory/file does not exist in my Harbour distribution. Where
>>> can I download it?
>>> Kind regards, hans lodder
>>> Pritpal Bedi
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Harbour Users" group.
>>> Unsubscribe:
>>> harbour-users+unsubscribe@__go**oglegroups.com<http://googlegroups.com>
> --
> You received this message because you are subscribed to the Google
> Groups "Harbour Users" group.
> Unsubscribe: harbour-users+unsubscribe@googlegroups.com
> Web: http://groups.google.com/group/harbour-users
Yes can be used under linux with very little adaption
I have compiled all the Giovanni's samples without error, but I have
some troubles during execution:
031-QMenu, 032-QMenu, 033-QMenu: menubar is here, but I can't see
the menu, and obviously can't use it.
085-ui-movies-archive: I have modified movies.ui, and compiling
again, doesn't modify something. It seems that hmbk2 doesn't see ui
file modifications. After renaming movies.ui and compiling again (an
error occurs, obviously), I rename it again with the good name, and
here, hmbk2 compiles with modified ui file.
I have also some problem when trying a translation of Regia =>
Réalisateur, the string is displayed like this: R\303\251alisateur
I thought of using html encoding. If I try
&, it compiles without problem, but if I use Réalisateur (which the good html
text encoding), hmbk2 doesn't like it, and gives an error:
alain@jujuland:~/Documents/hbqt-tutorial$ ./compile
085-ui-movies-archive
uic: Error in line 47, column 21 : Entity
'eacute' not declared.
File '../hbp/../res/movies.ui' is not valid
hbmk2: plugin: Error: Running 'uic' executable. 1
/usr/bin/uic ../hbp/../res/movies.ui -o /tmp/mPPwvt
Harbour 3.2.0dev (Rev. 17515)
Copyright (c) 1999-2012, http://harbour-project.org/
Compiling '../hbp/../prg/085-ui-movies-archive.prg'...
Lines 2455, Functions/Procedures 4
Generating C source output to
'/tmp/hbmk_2xe4hw.dir/085-ui-movies-archive.c'... Done.
Cannot open /tmp/hbmk_2xe4hw.dir/uic_movies.prg, assumed external
No code generated.
Is-it the good way to enter accent in stringts in ui files ?
Is there another way to do it or is-it simply impossible ?
> My system uses Clipper 5.2, TLIB and Blinker, but I can see no way to
> build this under Harbour.
Sure you cannot.
You need either source code of TLIB or replace functions
called from TLIB with Harbour native functions.
For Harbour you do not need BLIKER as it uses linker
from the C compiled you deploy to link Harbour appln.
To start with, just download and install the nightly
builds ( on Windows ), navigate to bin folder and type
hbmk2 /path_of_prg/hello.prg and see that exe is built.
Read this newsgroup's messages from the past.
> Nor can I build even the simplest example!
> Maybe it's because I have no idea how to work the IDE - [or indeed any IDE!]
This is easy.
1. Install nightly build.
2. From Windows explorer, open folder "bin" on installed parh.
3. Click on hbIDE.exe
4. Drop harbour/tests/hello.prg onto hbIDE.
5. Click on toolbar button "Build Source"
6. You are done.
Report here your very initial findings on Harbour.
Hi steve.scot
Compile a sample using hbmk2 (after download
nigtly<http://sourceforge.net/projects/harbour-project/files/binaries-window...>
)
CD \hb32\tests\hbpptest
dir *.hbp // if present hbp you need use it
HBMK2 hbpptest.hbp
CD \hb32\tests
dir *.prg // other sample will ne compiled
hbmk2 hello.prg
using hbide
cd c:\hb32\bin
hbide
in menu file open project and point to \hb32\tests\hbpptest\hbpptest.hbp
2012/6/23 Steve Scott <steve.scott.south...@gmail.com>
> My system uses Clipper 5.2, TLIB and Blinker, but I can see no way to
> build this under Harbour.
> Nor can I build even the simplest example!
> Maybe it's because I have no idea how to work the IDE - [or indeed any
> IDE!]
> This is easy.
> 1. Install nightly build.
> 2. From Windows explorer, open folder "bin" on installed parh.
> 3. Click on hbIDE.exe
> 4. Drop harbour/tests/hello.prg onto hbIDE.
> 5. Click on toolbar button "Build Source"
> 6. You are done.
> Report here your very initial findings on Harbour.
> Pritpal Bedi
> --
> You received this message because you are subscribed to the Google
> Groups "Harbour Users" group.
> Unsubscribe: harbour-users+unsubscribe@googlegroups.com
> Web: http://groups.google.com/group/harbour-users
> > My system uses Clipper 5.2, TLIB and Blinker, but I can see no way to
> > build this under Harbour.
> Sure you cannot.
> You need either source code of TLIB or replace functions
> called from TLIB with Harbour native functions.
> For Harbour you do not need BLIKER as it uses linker
> from the C compiled you deploy to link Harbour appln.