Pritpal, HBIDE developer, assists us to use it with FWH

User avatar
Kleyber
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Kleyber »

Hi Pritpal,

First of all, congratulations for your job. I would like to know if you have plans to put a resources designer into HBIDE like Workshop, Pelles C or other, in order to allow us to have this in our project, I mean, using all the FWH power and creates all menus, windows, dialogs, etc, using HBIDE.

Regards
Kleyber Derick

FWH / xHb / xDevStudio / SQLLIB
User avatar
Pritpal Bedi
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Pritpal Bedi »

Kleyber wrote: First of all, congratulations for your job. I would like to know if you have plans to put a resources designer into HBIDE like Workshop, Pelles C or other, in order to allow us to have this in our project, I mean, using all the FWH power and creates all menus, windows, dialogs, etc, using HBIDE.
Thanks.

No.

1. hbIDE is not FWH centric, it is a generic tool for all compilers and Xbase adherent languages.
2. hbIDE is 100% based on Harbour's Qt wrappers and there is no Windows API calls.
3. hbIDE already exploits Qt's powerful Designer's output files to have dialogs etc which is not the scope of FWH.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
User avatar
Kleyber
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Kleyber »

Thank you Pritpal for your valuable answer. Where do I find some examples of use of QT's designer?

Regards,
Kleyber Derick

FWH / xHb / xDevStudio / SQLLIB
User avatar
Pritpal Bedi
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Pritpal Bedi »

Kleyber wrote: Thank you Pritpal for your valuable answer. Where do I find some examples of use of QT's designer?
If I am reading your thoughts, you think to embed them in FWH application ?

If yes, then the answer is NO. You cannot mix it with FWH code.

If no, then study the hbIDE source and look into hbide/resources/*.ui - *.uic files.
But this is not the scope of our discussions in FWH newsgroup. Ask this on Harbour devel-list.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
User avatar
Pritpal Bedi
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Pritpal Bedi »

Hi

A new upload is initiated at http://hbide.vouch.info/.

This is based on following ChangeLog:

2010-06-03 18:22 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
! Minor.

* contrib/hbide/resources/buildsource.png
+ Icon for "Build Source" action.

* contrib/hbide/hbide.prg
* contrib/hbide/ideactions.prg
* contrib/hbide/idedocks.prg
* contrib/hbide/ideedit.prg
* contrib/hbide/idefindreplace.prg
* contrib/hbide/idemisc.prg
* contrib/hbide/ideprojmanager.prg
+ Implemeted: to compile a source, source is not saved
if in modified state. Action was already defined but inactive.

+ Implemented: to build a source, current defined environment is
used and build process stays in the folder where source resides.
Also source is not saved. hbIDE attempts to executable it also.
Action defines a new icon on the top-toolbar and also an entry
into the "Build" menu.

% Few more fixes in selections and find processes.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
User avatar
Kleyber
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Kleyber »

Pritpal Bedi wrote:
Kleyber wrote: Thank you Pritpal for your valuable answer. Where do I find some examples of use of QT's designer?
If I am reading your thoughts, you think to embed them in FWH application ?

If yes, then the answer is NO. You cannot mix it with FWH code.
No, I don't wanna mix with FWH.
Pritpal Bedi wrote: If no, then study the hbIDE source and look into hbide/resources/*.ui - *.uic files.
But this is not the scope of our discussions in FWH newsgroup. Ask this on Harbour devel-list.
Thanks again. I will take a look into this.

Best Regards,
Kleyber Derick

FWH / xHb / xDevStudio / SQLLIB
User avatar
Baxajaun
Posts: 853
Joined: Wed Oct 19, 2005 2:17 pm
Location: Gatika. Bizkaia

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Baxajaun »

Hi Pritpal,

i'm trying to build a project. I use hbIDE (r14684) downloaded from your webpage and harbour downloaded from Fivetech.

Projects flags:

-ic:\develop\fwh\include
-lc:\develop\fwh\lib\fiveh
-lc:\develop\fwh\lib\fivehc
-lhbwin
-gui

Errors:

----------------------------------------------------------------------------------------------------
Project [ CatiaUSB ] Launch [ No ] Rebuild [ No ] Started [ 11:57:22 ]
----------------------------------------------------------------------------------------------------
Batch File Exists => C:\DOCUME~1\FPGRAN~1.MAT\CONFIG~1\Temp\jb349d.bat
Batch File Contents =>
set HB_COMPILER=bcc
set PATH=c:\develop\harbour\bin;c:\develop\borland\bcc582\bin

C:/Develop/harbour/bin\hbmk2 C:\proyectos\catiausb\catiausb.hbp -q -trace -info -lang=en -width=512 -plugin=C:\hbIDE\resources/hbmk2_plugin_hbide.prg

Command => C:\WINDOWS\system32\cmd.exe
Arguments => /C C:\DOCUME~1\FPGRAN~1.MAT\CONFIG~1\Temp\jb349d.bat
----------------------------------------------------------------------------------------------------
CurDir() => Documents and Settings\FPGRANDE.MATRICI Starting in => C:\proyectos\catiausb\

C:\proyectos\catiausb>set HB_COMPILER=bcc
C:\proyectos\catiausb>set PATH=c:\develop\harbour\bin;c:\develop\borland\bcc582\bin


C:\proyectos\catiausb>C:/Develop/harbour/bin\hbmk2 C:\proyectos\catiausb\catiausb.hbp -q -trace -info -lang=en -width=512 -plugin=C:\hbIDE\resources/hbmk2_plugin_hbide.prg

hbmk2: Processing environment options: -compiler=bcc
hbmk2: Autodetected platform: win
hbmk2: Using Harbour: C:\Develop\harbour\bin C:\Develop\harbour\include
C:\Develop\harbour\lib C:\Develop\harbour\lib
hbmk2: Using C compiler: c:\develop\borland\bcc582\bin\bcc32.exe
hbmk2: Harbour compiler command (embedded):
(C:\Develop\harbour\bin\harbour.exe) -n2 C:\proyectos\catiausb\CATSTART.prg -3rd=hbide_version=1.0 -3rd=hbide_type=Executable -3rd=hbide_title=CatiaUSB -3rd=hbide_location=C:\proyectos\catiausb\ -3rd=hbide_workingfolder= -3rd=hbide_destinationfolder= -3rd=hbide_output=catiausb -3rd=hbide_launchparams= -3rd=hbide_launchprogram= -3rd=hbide_backupfolder= -3rd=hbide_xhb=NO -3rd=hbide_xpp=NO -3rd=hbide_clp=NO -q -width=512 -plugin=C:\hbIDE\resources\hbmk2_plugin_hbide.prg -iC:\Develop\harbour\include -ic:\develop\fwh\include -undef:.ARCH. -D__PLATFORM__WINDOWS -D__LITTLE_ENDIAN__ -D__ARCH32BIT__
Error F0034 Bad command line option '3'

hbmk2: Error: Running Harbour compiler (embedded). 1
(C:\Develop\harbour\bin\harbour.exe) -n2 C:\proyectos\catiausb\CATSTART.prg -3rd=hbide_version=1.0 -3rd=hbide_type=Executable -3rd=hbide_title=CatiaUSB -3rd=hbide_location=C:\proyectos\catiausb\ -3rd=hbide_workingfolder= -3rd=hbide_destinationfolder= -3rd=hbide_output=catiausb -3rd=hbide_launchparams= -3rd=hbide_launchprogram= -3rd=hbide_backupfolder= -3rd=hbide_xhb=NO -3rd=hbide_xpp=NO -3rd=hbide_clp=NO -q -width=512 -plugin=C:\hbIDE\resources\hbmk2_plugin_hbide.prg -iC:\Develop\harbour\include -ic:\develop\fwh\include -undef:.ARCH. -D__PLATFORM__WINDOWS -D__LITTLE_ENDIAN__ -D__ARCH32BIT__

----------------------------------------------------------------------------------------------------
Exit Code [ 6 ] Exit Status [ 0 ] Finished at [ 11:57:23 ] Done in [ 0.61 Secs ]
----------------------------------------------------------------------------------------------------

Regards,
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Antonio Linares »

Felix,

Please use this hbmk2.exe:
http://www.mediafire.com/?dktjy2ngwzy
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Baxajaun
Posts: 853
Joined: Wed Oct 19, 2005 2:17 pm
Location: Gatika. Bizkaia

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Baxajaun »

Antonio,

thanks a lot !!! :D

Project built !

Regards,
User avatar
Pritpal Bedi
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Pritpal Bedi »

Hi

Last commit has implemented this feature.
It works well if source contains headers which are in Harbour
include folder. If fails if a foreign header is included.


Because at that moment no project definition is in picture,
what is the best way to let hbIDE know of certain parametrs?


Any suggestions are welcome.

A CLARIFICATION:

> Can you help me undestand what is single source build and compile?


Just like hbmk2 speedtst.prg
A single PRG to EXE without PROJECT DFINITION.


> Wich paramtere?


-i -L -l -d - which are provided on the command line or in a .hbp
file.


> Are you referring to harbour and hbide command line?


Yes like, but from the interface itself.

Imagine you want simply to run a .prg from harbour/tests.
It was not possible before last commit. Now you open that PRG in
hbIDE and click "Build Single Source" and there you go.


As all examples in harbout/tests only include headers from harbour/
include,
there are build fine. But if another header is used to test quicky an
example send
on the list, it is not possible.


So my question was, how to handle this situation ?
What you are doing in other IDE's to achieve this ?
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
Marcelo Via Giglio
Posts: 1033
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Marcelo Via Giglio »

Pritpal,

first congratulation and thanks for this splendid work. There are some compatibility issues what I miss, the virtual spaces (write at the end of line without type speces before), and columns mark pressing rigth button mouse, maybe these are a seting issue but I can't found the way.

One time more, many thanks for your work

regards

Marcelo
User avatar
Pritpal Bedi
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Pritpal Bedi »

Marcelo Via Giglio wrote:first congratulation and thanks for this splendid work. There are some compatibility issues what I miss, the virtual spaces (write at the end of line without type speces before), and columns mark pressing rigth button mouse, maybe these are a seting issue but I can't found the way.

One time more, many thanks for your work
Thanks for encouragement.

This is one part I am struggling with - virtual space.
As Qt does not provide any mechanism to achieve it, I am really feeling
handicapped on this account.

Column mark pressing right button - can you explain a littel what excatly you want ?
I think it is possible.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
Marcelo Via Giglio
Posts: 1033
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Marcelo Via Giglio »

Hi Pritpal,
This is one part I am struggling with - virtual space.
As Qt does not provide any mechanism to achieve it, I am really feeling
handicapped on this account.

Column mark pressing right button - can you explain a littel what excatly you want ?
I think it is possible.
About virtual spaces, I think is really important for coding, but we can wait

About Columns mark, if you have the Andy's xMate installed you can try to mark the code pressing the right botton mouse instead of left botton.

thanks for response

Saludos

Marcelo
User avatar
Pritpal Bedi
Posts: 154
Joined: Thu Jun 03, 2010 6:27 am
Contact:

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Pritpal Bedi »

Marcelo Via Giglio wrote:About Columns mark, if you have the Andy's xMate installed you can try to mark the code pressing the right botton mouse instead of left botton.
By the interface look and feel of hbIDE you can make out easily how much
it is inspired by xMate. I am xMate user since day ONE.

If I implement right-click to mark column, I will loose context-menu which is
more important. Column marking is possible with toolbar icon, mouse and left click as-is vs xMate.
Though I will look into it again.
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
Marcelo Via Giglio
Posts: 1033
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Post by Marcelo Via Giglio »

Pritpal
If I implement right-click to mark column, I will loose context-menu which is
more important. Column marking is possible with toolbar icon, mouse and left click as-is vs xMate.
Though I will look into it again.
Ok, then we can think to have the same functionality with combining Alt-key + left mouse or other key combination to have the same behavior, sorry but I think this is more accessible than menu option, yep I know all depend how often we use this functionality

Thanks very much for your patient :-)

saludos

Marcelo
Post Reply