Re: [Harbour] moc detection in linux environment

2010-05-29 Thread CarozoDeQuilmes
Thanks, it work fine for me

Regards
CdQ

On Sat, May 29, 2010 at 2:12 PM, Viktor Szakáts wrote:

> > Hi, I'm trying making Harbour binaries for linux platform with the last
> Qt version (4.6.2), but my linux have headers for qt 4.5.2 pre instaled at
> /usr/include
> >
> > I'm using:
> >
> > export
> HB_WITH_QT="/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include"
> >
> > to override the /usr/include folder
> >
> > but HBMK2 has detected the moc utility in the default Linux location and
> has ignored my override setting
> >
> > ! Using QT 'moc' executable: /usr/bin/moc (autodetected)
> > gcc   -I. -I../../../../../include -W -Wall -O3 -DHB_LEGACY_TYPES_OFF
>  -I/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include
> -I/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include/QtCore
> -I/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include/QtGui
> -I/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include/QtNetwork
>  -omoc_hbqt_hbdbfmodel.o -c moc_hbqt_hbdbfmodel.cpp
> > moc_hbqt_hbdbfmodel.cpp:14:2: error: #error "This file was generated
> using the moc from 4.5.2. It"
> > moc_hbqt_hbdbfmodel.cpp:15:2: error: #error "cannot be used with the
> include files from this version of Qt."
> > moc_hbqt_hbdbfmodel.cpp:16:2: error: #error "(The moc has changed too
> much.)"
> > make[3]: * [moc_hbqt_hbdbfmodel.o] Error 1
> > make[2]: * [descend] Error 2
> > make[1]: * [hbqt.inst] Error 2
> > make: * [contrib.inst] Error 2
> >
> > Can you help me to detected the moc utility from the folder
> "/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include"?
>
> Set HB_QT_MOC_BIN.
>
> Viktor
>
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Making Harbour program with Static Qt Libraries in Linux

2010-05-29 Thread CarozoDeQuilmes
Hi Viktor, of course.  My test program work fine with this libraries in an
Ubuntu 9.10

from harbour lib folder:

libhbqts.a
libhbqtcores.a
libhbqtguis.a
libhbqtnetworks.a

+

from qt lib folder (warning, gcc search library method detect first .so
libraries instead of .a)

libQtCore.a
libQtGui.a
libQtWebKit.a
libQtNetwork.a

+

from cpp lib folder (/usr/lib)

libSM.a
libXt.a
libgthread-2.0.a
libdbus-glib-1.so.2.1.0
libgdk-x11-2.0.so.0

Regards
CdQ

On Sat, May 29, 2010 at 1:59 PM, Viktor Szakáts wrote:

> > That's all.  You are ready to make Harbour/GCC/HbQt program with static
> Qt access.  Obviously, you need use HBMK2 for make it and you need add the
> necessaries Linux libraries in link stage to resolve externals references.
>
> Can you tell what are those lib? This information is the only
> interesting missing bit from current Harbour.
>
> Viktor
>
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] moc detection in linux environment

2010-05-29 Thread CarozoDeQuilmes
Hi, I'm trying making Harbour binaries for linux platform with the last Qt
version (4.6.2), but my linux have headers for qt 4.5.2 pre instaled at
/usr/include

I'm using:

export
HB_WITH_QT="/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include"

to override the /usr/include folder

but HBMK2 has detected the moc utility in the default Linux location and has
ignored my override setting

! Using QT 'moc' executable: */usr/bin/moc* (autodetected)
gcc   -I. -I../../../../../include -W -Wall -O3 -DHB_LEGACY_TYPES_OFF  -I*
/home/cdq/qt-**everywhere-open**source-src-4.6.**2_for_dynamic/i**nclude* -I
/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include/QtCore
-I/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include/QtGui
-I/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include/QtNetwork
 -omoc_hbqt_hbdbfmodel.o -c moc_hbqt_hbdbfmodel.cpp
moc_hbqt_hbdbfmodel.cpp:14:2: error: #error "This file was generated using
the moc from 4.5.2. It"
moc_hbqt_hbdbfmodel.cpp:15:2: error: #error "cannot be used with the include
files from this version of Qt."
moc_hbqt_hbdbfmodel.cpp:16:2: error: #error "(The moc has changed too
much.)"
make[3]: *** [moc_hbqt_hbdbfmodel.o] Error 1
make[2]: *** [descend] Error 2
make[1]: *** [hbqt.inst] Error 2
make: *** [contrib.inst] Error 2

Can you help me to detected the moc utility from the folder
"/home/cdq/qt-everywhere-opensource-src-4.6.2_for_dynamic/include"?

-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Making Harbour program with Static Qt Libraries in Linux

2010-05-29 Thread CarozoDeQuilmes
My 2 cents.

Sorry about my bad english...

My user for test is: cdq
My linux is Ubuntu 9.10

Donwload Harbour SVN: svn co
https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk/harbour/home/cdq/harbour_svn/harbour

Download Qt 4.6.2 sources from: http://qt.nokia.com/downloads/linux-x11-cpp

Save as qt-everywhere-opensource-src-4.6.2.tar.gz in /home/cdq

Extract all files to /home/cdq/qt-everywhere-opensource-src-4.6.2*
_for_static*

Execute the following script from /home/cdq by typying: sh make_qt_static.sh

*#!/bin/bash
#name: make_qt_static.sh
cd /home/cdq/qt-everywhere-opensource-src-4.6.2_for_static
./configure -static -release -nomake demos -nomake examples -nomake tools
-qt-zlib -qt-gif -qt-libpng -qt-libmng -qt-libjpeg -prefix
/home/cdq/qt_static
make
make install
cd /home/cdq
*
It takes few minutes

When the script has finished, you have all qt libraries with extension .a
(instead of .so) in /home/cdq/qt_static/lib

Additionally, you need make hbqt's libraries for static access too.  At this
moment, it isn't posible without modify some makefiles from SVN (commenting
two lines):

/home/cdq/harbour_svn/harbour/
contrib/hbqt/Makefile

before (from line 26):

   ifneq ($(filter $(HB_PLATFORM),win wce),)
  ifneq ($(HB_QT_STATIC),)
 DIRS += hbqts
  endif
   endif

after

#  ifneq ($(filter $(HB_PLATFORM),win wce),)
  ifneq ($(HB_QT_STATIC),)
 DIRS += hbqts
  endif
#  endif

and then, repeat the same changes to:

/home/cdq/harbour_svn/harbour/contrib/hbqt/qtcore/Makefile (from line 21)
/home/cdq/harbour_svn/harbour/contrib/hbqt/qtgui/Makefile (from line 23)
/home/cdq/harbour_svn/harbour/contrib/hbqt/qtnetwork/Makefile (from line 23)

*Pritpal: can you make these changes into SVN ?*

Then, you are ready to make the hbqt's static libraries:

Execute the following script from /home/cdq : sh harbour_install.sh

*#!/bin/bash
#name: harbour_install.sh
cd /home/cdq/harbour_svn/harbour
export HB_QT_STATIC=yes
make
make install
cd /home/cdq*

After execute the script, you have new libraries in /usr/local/lib/harbour

*hbqts.a
hbqtcores.a
hbqtguis.a
hbqtnetworks.a*

That's all.  You are ready to make Harbour/GCC/HbQt program with static Qt
access.  Obviously, you need use HBMK2 for make it and you need add the
necessaries Linux libraries in link stage to resolve externals references.

-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Question about HB_UnZipFile

2010-05-16 Thread CarozoDeQuilmes
Thanks for answer

CdQ

On Sat, May 15, 2010 at 4:13 AM, Viktor Szakáts wrote:

> Hi,
>
> > Hi, I have an old program that unzip files with HB_UnZipFile with an
> progress bar, but the block bProgress don't work anymore.
> >
> > Is it true or I'm wrong ?
>
> It's marked in the source code as "TODO: Implement"
>
> I'd recommend using the hbmzip interface directly.
> hbziparc is a compatibility interface, but it's
> written in .prg code, so it should be easy to add
> progress bar support for those interested. [ I'm
> not a user of this lib though. ]
>
> Viktor
>
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] HB_ZipFile problem

2010-05-16 Thread CarozoDeQuilmes
Parece que si !

Al menos mi pruebas anduvieron bien, pero en otro mail me contesto que no
está implementado el bloque de progreso para poder poner una progressbar en
la compresion/descompresion

Saludos
CdQ

On Sat, May 15, 2010 at 7:29 PM, Bruno Luciani wrote:

> Quedo resuelto no  ?
>
> Bruno
>
> 2010/5/14 CarozoDeQuilmes 
>
>> Hi, three or four days ago I had download the Harbour 2.1.0beta1 (Rev.
>> 14468) that solve the overwrite problem with the HB_ZipFile.
>> It work fine for me, but today I found that:
>> HB_ZipFile( cFileZip , cFile )
>> doesn't work anymore
>> cFileZip don't exists and (obvious) cFile exists
>>
>> Little program to test:
>>
>> function main
>>memowrit( "test.txt" , "sample line" )
>>memowrit( "test2.txt" , "sample line" )
>>if !file( "test.txt" ) .or. !file( "test2.txt" )
>>   ? "Error creating test files"
>>   inkey(0)
>>   return .F.
>>endif
>>ferase( "pepe.zip" )
>>? "pepe.zip erased"
>>inkey(0)
>>HB_ZIPFILE( "pepe.zip" , "test.txt" )
>>? "end first zip, pepe.zip found: " + if( file( "pepe.zip" ) , " .T. "
>> , " .F. " )
>>inkey(0)
>>ferase( "pepe.zip" )
>>? "pepe.zip erased"
>>inkey(0)
>>HB_ZIPFILE( "pepe.zip" , "test.txt" , 8 , NIL , .T. , NIL , .T. ,
>> .F. )
>>? "First file added, pepe.zip found: " + if( file( "pepe.zip" ) , " .T.
>> " , " .F. " )
>>inkey(0)
>>HB_ZIPFILE( "pepe.zip" , "test2.txt" , 8 , NIL , .F. , NIL , .T. , .F.
>> )
>>? "Finished.  Press any key to continue"
>>inkey(0)
>> Return .T.
>>
>> Thanks in advance
>> CdQ
>>
>>
>>
>>
>>
>>
>> --
>> Saludos/Regards/Abraços
>> CdQ
>>
>> ___
>> Harbour mailing list (attachment size limit: 40KB)
>> Harbour@harbour-project.org
>> http://lists.harbour-project.org/mailman/listinfo/harbour
>>
>>
>
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
>


-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] SF.net SVN: harbour-project:[14480] trunk/harbour

2010-05-16 Thread CarozoDeQuilmes
Many thanks !!!

CdQ


On Sat, May 15, 2010 at 4:16 AM,  wrote:

> Revision: 14480
>
> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14480&view=rev
> Author:   vszakats
> Date: 2010-05-15 07:16:49 + (Sat, 15 May 2010)
>
> Log Message:
> ---
> 2010-05-15 09:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
>  * contrib/hbziparc/hbziparc.prg
>! Fixed regression in HB_ZIPFILE() to make it work in
>  "append" mode even when the .zip didn't exist.
>
> Modified Paths:
> --
>trunk/harbour/ChangeLog
>trunk/harbour/contrib/hbziparc/hbziparc.prg
>
>
> This was sent by the SourceForge.net collaborative development platform,
> the world's largest Open Source development site.
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Question about HB_UnZipFile

2010-05-14 Thread CarozoDeQuilmes
Hi, I have an old program that unzip files with HB_UnZipFile with an
progress bar, but the block bProgress don't work anymore.

Is it true or I'm wrong ?

Thanks in advance

-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] HB_ZipFile problem

2010-05-14 Thread CarozoDeQuilmes
Hi, three or four days ago I had download the Harbour 2.1.0beta1 (Rev.
14468) that solve the overwrite problem with the HB_ZipFile.
It work fine for me, but today I found that:
HB_ZipFile( cFileZip , cFile )
doesn't work anymore
cFileZip don't exists and (obvious) cFile exists

Little program to test:

function main
   memowrit( "test.txt" , "sample line" )
   memowrit( "test2.txt" , "sample line" )
   if !file( "test.txt" ) .or. !file( "test2.txt" )
  ? "Error creating test files"
  inkey(0)
  return .F.
   endif
   ferase( "pepe.zip" )
   ? "pepe.zip erased"
   inkey(0)
   HB_ZIPFILE( "pepe.zip" , "test.txt" )
   ? "end first zip, pepe.zip found: " + if( file( "pepe.zip" ) , " .T. " ,
" .F. " )
   inkey(0)
   ferase( "pepe.zip" )
   ? "pepe.zip erased"
   inkey(0)
   HB_ZIPFILE( "pepe.zip" , "test.txt" , 8 , NIL , .T. , NIL , .T. , .F.
)
   ? "First file added, pepe.zip found: " + if( file( "pepe.zip" ) , " .T. "
, " .F. " )
   inkey(0)
   HB_ZIPFILE( "pepe.zip" , "test2.txt" , 8 , NIL , .F. , NIL , .T. , .F. )
   ? "Finished.  Press any key to continue"
   inkey(0)
Return .T.

Thanks in advance
CdQ






-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Question about Preprocessor

2010-05-13 Thread CarozoDeQuilmes
Hi Przemyslaw

Ok, thanks for answer

Regards
CdQ

2010/5/13 Przemysław Czerpak 

> On Tue, 11 May 2010, CarozoDeQuilmes wrote:
>
> Hi,
>
> > Hi, when I put the following #translate in my program always convert the
> > parameter myparm to literal "myparm".  It is good for me.
> > The question is: how make it in reverse ? (convert literal or variable to
> > variable)
>
> PP does not support nested parsing string tokens, i.e. it cannot convert:
>   "QOUT(1)"
> to:
>   QOUT ( 1 )
>
> best regards,
> Przemek
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Question about Preprocessor 2

2010-05-13 Thread CarozoDeQuilmes
Hi Przemyslaw

Ok, thanks for answer

Regards
CdQ

2010/5/13 Przemysław Czerpak 

> On Thu, 13 May 2010, CarozoDeQuilmes wrote:
>
> Hi,
>
> > Hi, I have an little question:
> > This translate:
> > #xtranslate . => myFun(  ,  )
> > function main()
> >   aeval( aTmp , { *|x|* level1.level2 } )
> > return .T.
> > It will be generate the followed sentence:
> > function main()
> > aeval( aTmp , { myFun( *|x|* level1 , level2 ) } )
> > return .T.
> > I think that it is wrong
> > I think the correct translation should be:
> > function main()
> > aeval( aTmp , { *|x|* myFun( level1 , level2 ) } )
> > return .T.
> > Am I wrong?
>
> Yes you are ;-)
> You want that PP will respect some operator precedence which
> is only in your head but PP does not even know anything about
> operator precedence and syntax in Clipper/Harbour language.
>
> best regards,
> Przemek
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Question about Preprocessor 2

2010-05-13 Thread CarozoDeQuilmes
Hi, I have an little question:

This translate:

#xtranslate . => myFun(  ,  )

function main()
  aeval( aTmp , { *|x|* level1.level2 } )
return .T.

It will be generate the followed sentence:

function main()

aeval( aTmp , { myFun( *|x|* level1 , level2 ) } )

return .T.


I think that it is wrong
I think the correct translation should be:

function main()

aeval( aTmp , { *|x|* myFun( level1 , level2 ) } )

return .T.


Am I wrong?

-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] SF.net SVN: harbour-project:[14460] trunk/harbour

2010-05-12 Thread CarozoDeQuilmes
Many thanks, it work fine for me.

Regards
CdQ

On Tue, May 11, 2010 at 5:27 PM,  wrote:

> Revision: 14460
>
> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14460&view=rev
> Author:   vszakats
> Date: 2010-05-11 20:27:03 + (Tue, 11 May 2010)
>
> Log Message:
> ---
> 2010-05-11 22:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
>  * contrib/hbziparc/Makefile
>  * contrib/hbziparc/hbziparc.prg
>! Fixed  support in HB_ZIPFILE().
>
>  * config/postinst.prg
>% Simplified local implib creation logic.
>
> Modified Paths:
> --
>trunk/harbour/ChangeLog
>trunk/harbour/config/postinst.prg
>trunk/harbour/contrib/hbziparc/Makefile
>trunk/harbour/contrib/hbziparc/hbziparc.prg
>
>
> This was sent by the SourceForge.net collaborative development platform,
> the world's largest Open Source development site.
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Question about Preprocessor

2010-05-12 Thread CarozoDeQuilmes
Hi Antonio, I haven't any real sample, I'm experimenting to applied it to my
proyect.

Thank you for your interest

Regards
CdQ



On Tue, May 11, 2010 at 11:12 PM, Antonio Maniero  wrote:

> Hi
>
> I am curious about this need. Can you provide some useful example?
>
> []'s Maniero
>
>
> 2010/5/11 CarozoDeQuilmes 
>
>> Hi, when I put the following #translate in my program always convert the
>> parameter myparm to literal "myparm".  It is good for me.
>>
>> Sample:
>>
>> #translate MYEXAMPLE  ;
>> => ;
>>MYNEWEXAMPLE <(myparm)>
>>
>> function main()
>>  MYEXAMPLE   "cParm"
>>  MYEXAMPLEcParm
>> Return .T.
>>
>> Code Generated:
>>
>>   function main()
>>
>> MYNEWEXAMPLE "cParm"
>>
>> MYNEWEXAMPLE "cParm"
>>
>> Return .T.
>>
>> The question is: how make it in reverse ? (convert literal or variable to
>> variable)
>>
>> #translate MYEXAMPLE  ;
>> => ;
>>MYNEWEXAMPLE 
>>
>> function main()
>>  MYEXAMPLE   "cParm"
>>  MYEXAMPLEcParm
>> Return .T.
>>
>> Generate:
>>
>> function main()
>>
>> MYNEWEXAMPLE cParm
>>
>> MYNEWEXAMPLE cParm
>>
>> Return .T.
>>
>> Thanks in advance
>> --
>> CdQ
>>
>> ___
>> Harbour mailing list (attachment size limit: 40KB)
>> Harbour@harbour-project.org
>> http://lists.harbour-project.org/mailman/listinfo/harbour
>>
>>
>
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
>


-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Question about Preprocessor

2010-05-11 Thread CarozoDeQuilmes
Hi, when I put the following #translate in my program always convert the
parameter myparm to literal "myparm".  It is good for me.

Sample:

#translate MYEXAMPLE  ;
=> ;
   MYNEWEXAMPLE <(myparm)>

function main()
 MYEXAMPLE   "cParm"
 MYEXAMPLEcParm
Return .T.

Code Generated:

   function main()

MYNEWEXAMPLE "cParm"

MYNEWEXAMPLE "cParm"

Return .T.

The question is: how make it in reverse ? (convert literal or variable to
variable)

#translate MYEXAMPLE  ;
=> ;
   MYNEWEXAMPLE 

function main()
 MYEXAMPLE   "cParm"
 MYEXAMPLEcParm
Return .T.

Generate:

function main()

MYNEWEXAMPLE cParm

MYNEWEXAMPLE cParm

Return .T.

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


[Harbour] Problem with HB_ZipFile

2010-05-11 Thread CarozoDeQuilmes
Hi, I have a little program that compress files to zip format by adding
files with parameter  setting to .T. for first file (to create
the zip file) and the following files with  setting to .F. to
add files to ZIP.

Sample:

function main

ferase( "pepe.zip" )

HB_ZIPFILE( "pepe.zip" , "minilib.mip" , 8 , NIL , *.T.* , NIL , .T. , .F. )

? "First file Added. Press any key to continue"

inkey(0)

HB_ZIPFILE( "pepe.zip" , "fileinfo.prg" , 8 , NIL , *.F.* , NIL , .T. , .F.
)

? "Finished. Press any key to continue"

inkey(0)

Return .T.


but when the process finished, "pepe.zip" only have the last file.

Can anyone help me.  This routine working fine in the past.

Thanks in advance

OS: Windows XP
Harbour 2.1.0beta1 (Rev. 14394)

-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] octal permissions

2010-05-04 Thread CarozoDeQuilmes
Hi guys, there is some harbour function to get the files permissions in
Linux platform (also called "octal permissions") 

Thanks in advance

-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: Compiling CGI programs and RUN on Apache

2010-04-12 Thread CarozoDeQuilmes
My 2 cent:

Starting the Apache2.2 service
The Apache2.2 service is running.
] Apache/2.2.15 (Win32) configured -- resuming normal operations
[Mon Apr 12 13:17:37 2010] [notice] Server built: Mar  4 2010 11:27:46
[Mon Apr 12 13:17:37 2010] [notice] Parent: Created child process 6532
[Mon Apr 12 13:17:37 2010] [notice] Child 6532: Child process is running
[Mon Apr 12 13:17:37 2010] [notice] Child 6532: Acquired the start mutex.
[Mon Apr 12 13:17:37 2010] [notice] Child 6532: Starting 64 worker threads.
[Mon Apr 12 13:17:37 2010] [notice] Child 6532: Starting thread to listen on
port 80.
[Mon Apr 12 13:41:41 2010] [error] [client 127.0.0.1] *malformed header from
script. Bad header=HTTP/1.0* 200 OK: testcgi.exe

Regards
CdQ

On Sun, Apr 11, 2010 at 8:04 PM, Bruno Luciani wrote:

> Nobody use CGI  ?
>
> Can anybody try to test the CGI sample that comes with harbour in test
> folder
> and say to me if work ?
>
> Bruno
>
> 2010/4/11 Bruno Luciani 
>
>> I am just trying to compile and test , sample testcgi.prg from test folder
>>
>>
>> and another samples of cgi , and only obtain this error from web server
>>
>> My server works ok , because I test it with an sample Xharbour compiled
>> CGI program and works ok
>>
>> Any Help ?
>>
>> Bruno
>>
>> Internal Server Error
>>
>> The server encountered an internal error or misconfiguration and was
>> unable to complete your request.
>>
>> Please contact the server administrator, y...@localhost and inform them of
>> the time the error occurred, and anything you might have done that may have
>> caused the error.
>>
>> More information about this error may be available in the server error
>> log.
>> --
>> Apache/2.0.63 (Win32) PHP/5.2.6 Server at localhost Port 80
>>
>
>
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
>


-- 
Saludos/Regards/Abraços
CdQ
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Redirect STDOUT

2010-03-13 Thread CarozoDeQuilmes
Hi Viktor, many thanks, it work fine !!!

Regards
CdQ

On Sat, Mar 13, 2010 at 10:12 AM, Viktor Szakáts wrote:

> Hi,
>
> This has been asked and answered a few days ago:
>
> http://lists.harbour-project.org/pipermail/harbour/2010-March/033534.html
>
> Anyway it belongs to user's list.
>
> Brgds,
> Viktor
>
> On 2010 Mar 13, at 14:02, CarozoDeQuilmes wrote:
>
> > Hi smu, many thanks for your help but it don't respond my question.  I
> will make a pure Harbour sample and I will send my question again.
> >
> > Thanks and regards
> > CdQ
> >
> > On Wed, Mar 10, 2010 at 5:07 PM, smu johnson 
> wrote:
> > Take a look at this example that is working
> >
> > #include "Fileio.ch
> >
> > IF (nHandle := FCREATE(VERSION_FILE, FC_NORMAL)) == -1
> >   ? VERSION_FILE + " cannot be created:", FERROR()
> >   BREAK
> > ELSE
> >   cString := "// " + cBm_now + CRLF
> >   cString += "func BM_Versio()" + CRLF
> >   cString += "  return " + DOUBLE_QUOTE + cBm_now + DOUBLE_QUOTE +
> CRLF
> >
> >   FWRITE(nHandle, cString)
> >   FCLOSE(nHandle)
> >   ? "Wrote to: " + VERSION_FILE
> > ENDIF
> >
> >
> >
> > On Wed, Mar 10, 2010 at 12:03 PM, CarozoDeQuilmes <
> carozodequil...@gmail.com> wrote:
> > Hi, in an old project, I have a little C ansi program (found in Internet
> or in the MiniGUI, I don't remmeber) that execute and executable file and
> redirect the standard output to file.
> >
> > The C program run fine and trap Standard Output from another C program
> that made:
> >
> > fprintf( stdout , 'hello' );
> >
> > but I can't redirect (or trap) the "?" (or QOUT) command from a Harbour
> program.
> >
> > Is this true or I'm wrong ???
> >
> > Thanks in advance and sorry by my bad english
> >
> > CdQ
> >
> > Program C:
> >
> > /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */
> > /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
> > /*
> >
> >Redir 2.0 Copyright (C) 1995-1998 DJ Delorie (d...@delorie.com)
> >Modified 1999 by Mumit Khan 
> >
> >Redir is free software; you can redistribute it and/or modify it
> >under the terms of the GNU General Public License as published by
> >the Free Software Foundation; either version 2, or (at your option)
> >any later version.
> >
> >Redir is distributed in the hope that it will be useful, but
> >WITHOUT ANY WARRANTY; without even the implied warranty of
> >MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> >General Public License for more details.
> >
> > */
> >
> > #include 
> > #include 
> > #include 
> > #include 
> > #include 
> > #include 
> > #include 
> > #include "US_Log.h"
> >
> > /* Here's the deal.  We need to pass the command-line arguments to the
> >child program *exactly* as we got them.  This means we cannot allow
> >any wildcard expansion, we need to retain any quote characters, and
> >we need to disable response files processing.  That's why we must
> >link with CRT_noglob.o!  */
> >
> > void xmalloc_failed(size_t size)
> > {
> >   fprintf(stderr, "Out of memory allocating %lu bytes\n", (unsigned long)
> size);
> >   exit(1);
> > }
> >
> > void *xmalloc (size_t size)
> > {
> >   void *newmem;
> >
> >   if (size == 0)
> > size = 1;
> >   newmem = malloc (size);
> >   if (!newmem)
> > xmalloc_failed (size);
> >
> >   return (newmem);
> > }
> >
> > void *xrealloc(void *oldmem, size_t size)
> > {
> >   void *newmem;
> >
> >   if (size == 0)
> > size = 1;
> >   if (!oldmem)
> > newmem = malloc (size);
> >   else
> > newmem = realloc (oldmem, size);
> >   if (!newmem)
> > xmalloc_failed (size);
> >
> >   return (newmem);
> > }
> >
> > int display_exit_code=0;
> > int std_err_fid;
> > FILE *std_err;
> > int rv;
> >
> > static void
> > usage(void)
> > {
> >   /*
> +1+2+3+4+5+6+7+8
> */
> >   fprintf(stderr, "Redir 2.0 Copyright (C) 1995 - 1998 DJ Delorie (
> d...@delorie.com)\n");
> >   fprintf(stderr, "Mod

Re: [Harbour] Redirect STDOUT

2010-03-13 Thread CarozoDeQuilmes
Hi smu, many thanks for your help but it don't respond my question.  I will
make a pure Harbour sample and I will send my question again.

Thanks and regards
CdQ

On Wed, Mar 10, 2010 at 5:07 PM, smu johnson  wrote:

> Take a look at this example that is working
>
> #include "Fileio.ch
>
> IF (nHandle := FCREATE(VERSION_FILE, FC_NORMAL)) == -1
>   ? VERSION_FILE + " cannot be created:", FERROR()
>   BREAK
> ELSE
>   cString := "// " + cBm_now + CRLF
>   cString += "func BM_Versio()" + CRLF
>   cString += "  return " + DOUBLE_QUOTE + cBm_now + DOUBLE_QUOTE + CRLF
>
>   FWRITE(nHandle, cString)
>   FCLOSE(nHandle)
>   ? "Wrote to: " + VERSION_FILE
> ENDIF
>
>
>
> On Wed, Mar 10, 2010 at 12:03 PM, CarozoDeQuilmes <
> carozodequil...@gmail.com> wrote:
>
>> Hi, in an old project, I have a little C ansi program (found in Internet
>> or in the MiniGUI, I don't remmeber) that execute and executable file and
>> redirect the standard output to file.
>>
>> The C program run fine and trap Standard Output from another C program
>> that made:
>>
>> fprintf( stdout , 'hello' );
>>
>> but I can't redirect (or trap) the "?" (or QOUT) command from a Harbour
>> program.
>>
>> Is this true or I'm wrong ???
>>
>> Thanks in advance and sorry by my bad english
>>
>> CdQ
>>
>> Program C:
>>
>> */* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */*
>> */* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */*
>> */**
>> *
>> *
>> *   Redir 2.0 Copyright (C) 1995-1998 DJ Delorie (d...@delorie.com)*
>> *   Modified 1999 by Mumit Khan *
>> *
>> *
>> *   Redir is free software; you can redistribute it and/or modify it*
>> *   under the terms of the GNU General Public License as published by*
>> *   the Free Software Foundation; either version 2, or (at your option)*
>> *   any later version.*
>> *
>> *
>> *   Redir is distributed in the hope that it will be useful, but*
>> *   WITHOUT ANY WARRANTY; without even the implied warranty of*
>> *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU*
>> *   General Public License for more details.*
>> *
>> *
>> **/*
>> *
>> *
>> *#include *
>> *#include *
>> *#include *
>> *#include *
>> *#include *
>> *#include *
>> *#include *
>> *#include "US_Log.h"*
>> *
>> *
>> */* Here's the deal.  We need to pass the command-line arguments to the*
>> *   child program *exactly* as we got them.  This means we cannot allow*
>> *   any wildcard expansion, we need to retain any quote characters, and*
>> *   we need to disable response files processing.  That's why we must*
>> *   link with CRT_noglob.o!  */*
>> *
>> *
>> *void xmalloc_failed(size_t size)*
>> *{*
>> *  fprintf(stderr, "Out of memory allocating %lu bytes\n", (unsigned
>> long) size);*
>> *  exit(1);*
>> *}*
>> *
>> *
>> *void *xmalloc (size_t size)*
>> *{*
>> *  void *newmem;*
>> *
>> *
>> *  if (size == 0)*
>> *size = 1;*
>> *  newmem = malloc (size);*
>> *  if (!newmem)*
>> *xmalloc_failed (size);*
>> *
>> *
>> *  return (newmem);*
>> *}*
>> *
>> *
>> *void *xrealloc(void *oldmem, size_t size)*
>> *{*
>> *  void *newmem;*
>> *
>> *
>> *  if (size == 0)*
>> *size = 1;*
>> *  if (!oldmem)*
>> *newmem = malloc (size);*
>> *  else*
>> *newmem = realloc (oldmem, size);*
>> *  if (!newmem)*
>> *xmalloc_failed (size);*
>> *
>> *
>> *  return (newmem);*
>> *}*
>> *
>> *
>> *int display_exit_code=0;*
>> *int std_err_fid;*
>> *FILE *std_err;*
>> *int rv;*
>> *
>> *
>> *static void*
>> *usage(void)*
>> *{*
>> *  /*
>> +1+2+3+4+5+6+7+8
>> */*
>> *  fprintf(stderr, "Redir 2.0 Copyright (C) 1995 - 1998 DJ Delorie (
>> d...@delorie.com)\n");*
>> *  fprintf(stderr, "Modified 1999 for Mingw32 by Mumit Khan <
>> k...@xraylith.wisc.edu>\n");*
>> *  fprintf(stderr, "Distribute freely.  There is NO WARRANTY.\n");*
>> *  fprintf(stderr, "This program is protected by the GNU General Public
>> License.\n\n&quo

Re: [Harbour] Re: QAplication and TRACE

2010-03-13 Thread CarozoDeQuilmes
Hi Pritpal, many thanks !

Regards
CdQ

On Fri, Mar 12, 2010 at 7:31 PM, Pritpal Bedi wrote:

>
>
> CarozoDeQuilmes wrote:
> >
> > Hi Pritpal, can you remove or suspend the followed traces from HBQT ??
> >
> > QApplication.cpp:115: HB_TR_ALWAYS hbqt_exit 0 00D5835C
> >
> > QApplication.cpp:120: HB_TR_ALWAYS hbqt_exit 1 
> >
> >
>
> Please check after r14148.
>
>
> -
> enjoy hbIDEing...
>Pritpal Bedi
> _a_student_of_software_analysis_&_design_
> --
> View this message in context:
> http://n2.nabble.com/QAplication-and-TRACE-tp4724413p4724847.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 mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] QAplication and TRACE

2010-03-12 Thread CarozoDeQuilmes
Hi Pritpal, can you remove or suspend the followed traces from HBQT ??

QApplication.cpp:115: HB_TR_ALWAYS hbqt_exit 0 00D5835C

QApplication.cpp:120: HB_TR_ALWAYS hbqt_exit 1 





Thanks in advance

CdQ


Note: because in my project, these traces are put into my sysout build
process.  Look:


.

QApplication.cpp:120: HB_TR_ALWAYS hbqt_exit 1 

D:\SILVER~1\mingw\bin\gcc.exe -ID:\SILVER~1\mingw\include
-ID:\SILVER~1\qt\include -ID:\SILVER~1\harbour\include
-ID:\SILVER~1\HBQTCO~1\include -ID:\SILVER~1\MARINA~2\samples\_SAMPL~1
-ID:\SILVER~1\MARINA~2\samples\_SAMPL~1 -mno-cygwin -Wall -c
D:\SILVER~1\MARINA~2\samples\_SAMPL~1\__sgi_obj_m2gh\sample2.c
-oD:\SILVER~1\MARINA~2\samples\_SAMPL~1\__sgi_obj_m2gh\sample2.o

QApplication.cpp:115: HB_TR_ALWAYS hbqt_exit 0 00D7CA04

QApplication.cpp:120: HB_TR_ALWAYS hbqt_exit 1 

QApplication.cpp:115: HB_TR_ALWAYS hbqt_exit 0 00D7CA04

QApplication.cpp:120: HB_TR_ALWAYS hbqt_exit 1 

==> Processing
D:\SilverGui\marinas-ide\samples\_sample_project_for_test_ide\sample3.prg
...

QApplication.cpp:115: HB_TR_ALWAYS hbqt_exit 0 00D5835C

QApplication.cpp:120: HB_TR_ALWAYS hbqt_exit 1 

QApplication.cpp:115: HB_TR_ALWAYS hbqt_exit 0 00D7CA04

QApplication.cpp:120: HB_TR_ALWAYS hbqt_exit 1 

QApplication.cpp:115: HB_TR_ALWAYS hbqt_exit 0 00D7CA04

QApplication.cpp:120: HB_TR_ALWAYS hbqt_exit 1 

D:\SILVER~1\harbour\bin\harbour.exe /n
/iD:\SILVER~1\harbour\include;D:\SILVER~1\HBQTCO~1\include;D:\SILVER~1\MARINA~2\samples\_SAMPL~1;D:\SILVER~1\MARINA~2\samples\_SAMPL~1
/pD:\SILVER~1\MARINA~2\samples\_SAMPL~1\__sgi_obj_m2gh\sample3
D:\SILVER~1\MARINA~2\samples\_SAMPL~1\sample3.prg
-oD:\SILVER~1\MARINA~2\samples\_SAMPL~1\__sgi_obj_m2gh\sample3.c

Harbour 2.1.0dev (Rev. 14147)

Copyright (c) 1999-2010, http://www.harbour-project.org/

Compiling 'D:\SILVER~1\MARINA~2\samples\_SAMPL~1\sample3.prg' and generating
preprocessed output to
'D:\SILVER~1\MARINA~2\samples\_SAMPL~1\__sgi_obj_m2gh\sample3'...

100

100

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


Re: [Harbour] Re: Class QLibraryInfo in HbQt

2010-03-03 Thread CarozoDeQuilmes
Thanks in advance

CdQ

On Wed, Mar 3, 2010 at 4:29 PM, Pritpal Bedi wrote:

>
>
> CarozoDeQuilmes wrote:
> >
> > Hi, four dias ago, I sent this mail but I think that I don't explain
> > clearly
> >
> > With the Pritpal function Qt_Version_Str(), I can get the Qt library
> > version
> > that I use for compile my program, but I need get the version of Qt
> > Dinamic
> > Libary that I use for running my program.
> >
> > I need it for check compatibility (at runtime) between Qt used for make
> > the
> > program and Qt Dlls used for run the program.
> >
>
> Understand that QLibraryInfo() class is not that easy to implement
> as Harbour wrapper. I will give it a 2nd try soon.
>
>
> -
> enjoy hbIDEing...
>Pritpal Bedi
> _a_student_of_software_analysis_&_design_
> --
> View this message in context:
> http://n2.nabble.com/Class-QLibraryInfo-in-HbQt-tp4641413p4669904.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 mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: Class QLibraryInfo in HbQt

2010-03-03 Thread CarozoDeQuilmes
Hi, four dias ago, I sent this mail but I think that I don't explain clearly

With the Pritpal function Qt_Version_Str(), I can get the Qt library version
that I use for compile my program, but I need get the version of Qt Dinamic
Libary that I use for running my program.

I need it for check compatibility (at runtime) between Qt used for make the
program and Qt Dlls used for run the program.

Can somebody help me ?

Thanks in advance
CdQ


On Fri, Feb 26, 2010 at 8:39 PM, CarozoDeQuilmes
wrote:

> Hi Pritpal, maybe I am wrong and you can help me.  I only need get the
> version, release and build of Qt library (ex: 4.6.2)
> I don't need add any plugins (in Static Link Mode, Qt don't support jpg
> images without pluging but isn't very necesary)
>
> Thanks
>
> CdQ
>
>
> On Fri, Feb 26, 2010 at 5:51 PM, Pritpal Bedi wrote:
>
>>
>>
>> Viktor Szakáts wrote:
>> >
>> > We've decided to not support the plugin architecture of QT lib
>> > for various reasons detailed back then.
>> >
>>
>> :buildKey() only generates a key which are essential for a plugin
>> to be linked in a version of Qt.
>>
>> As far as my understanding extends, this class has nothing to do with
>> plugin
>> architecture of Qt by "itself". It simply retreives the licensing info and
>> provides access
>> to some paths. For that matter, Harbour wrappers can never support plugins
>> in any manner.
>>
>> It is a difficult class to generate dynamically so I failed on many
>> occassion to develop it. And still I do not know how to?
>>
>> Also I do not see the real benefits of this class, taken especially
>> the LGPL licensing issues.
>>
>> Probably CarozoDeQuilmes want to issue some commands based on
>> Qt library version. That can be the only valid reason for this request.
>>
>> -
>> enjoy hbIDEing...
>>Pritpal Bedi
>> _a_student_of_software_analysis_&_design_
>> --
>> View this message in context:
>> http://n2.nabble.com/Class-QLibraryInfo-in-HbQt-tp4641413p4641755.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 mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: FocusIn and FocusOut in widgets

2010-02-27 Thread CarozoDeQuilmes
Hi Francesco, I only use HbQt to make a final framework based in harbour
user commands

Pritpal Bedi is the Qt expert and HbQt guru.

Regards
CdQ

On Sat, Feb 27, 2010 at 12:36 PM, francesco perillo wrote:

> Thank you for your sample.
>
> I'm reading a book on Qt but it is C++ based. It's really interesting
> what you can do with Qt.
>
> In C++ you can easily subclass widgets to extend their
> functionalities, add slots and signals... is it possible to do this
> with hbqt/hbqtcommand ? in C++ or Harbour ?
>
> Francesco
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: FocusIn and FocusOut in widgets

2010-02-27 Thread CarozoDeQuilmes
Hi Francesco: for WHEN/VALID you can use VALID property (not implemented at
this moment, but I will implement it before release the first HbQtCommand
version.

Ex:

DEFINE TEXTBOX t1
   VALUE "Initial Value"
   VALID myRoutineForValid() // Need Return .T. or .F.
END TEXTBOX

The HbQtCommand and his documentation are under construction.

Replying your question (Valid into LostFocus, the alternative way...):

For Ex: Valid that len of TextBox is less than 16 characters

Function MyRoutineForValid()
   if len( GetProperty( "win" , "t1" , "value" ) ) >= 16
  HbQtC_MsgInfo( "Len for TextBox greater than 15" )
  // with the next sentence you return focus to t1 textbox
  DoMethod( "win" , "t1" , "setfocus" )
   endif
Return NIL

For see examples, you can open the index.html into
/hbqtcommand/doc/htmlhelp/

or

for running a real sample, and see a complete sample about HbQtCommand
controls (widgets) you can compile the MAINDEMO located in
/hbqtcommand/samples/

Read the readme into /hbqtcommand/samples/ for a little guide to compile
maindemo in Windows and/or Linux

Remember that HbQtCommand and his documentation is under construction

Regards

CdQ


On Sat, Feb 27, 2010 at 10:00 AM, francesco perillo wrote:

> Thank you for your reply.
>
> I still had no time to look at HbQtCommand documentation... I hope to
> do it tomorrow
>
> > DEFINE TEXTBOX t1
> >VALUE "Initial Value"
> >ONLOSTFOCUS myRoutineForValid()
> > END TEXTBOX
>
> What happens when myRoutineForValid() returns .F. ?
> Or when myRoutineForValid() returns .T. and the following editbox
> myRoutineForWHEN returns .F. ? Is there a upper layer to handle the
> "get" system in a clipper style?
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: Method WinId in HbQt

2010-02-27 Thread CarozoDeQuilmes
Ok.

Thanks.

CdQ


On Fri, Feb 26, 2010 at 5:27 PM, Pritpal Bedi wrote:

>
>
> CarozoDeQuilmes wrote:
> >
> > Hi Pritpal, can you add method "winId" of class QMainWindow in _HbQt ?
> >
>
> No, this is Windows only solution.
> We had to drop it almost hal an year before.
>
>
> -
> enjoy hbIDEing...
>Pritpal Bedi
> _a_student_of_software_analysis_&_design_
> --
> View this message in context:
> http://n2.nabble.com/Method-WinId-in-HbQt-tp4641320p4641628.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 mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: FocusIn and FocusOut in widgets

2010-02-27 Thread CarozoDeQuilmes
I thinks that yes.  In HbQtCommand we use it for execute an user action on
GotFocus and/or LostFocus

Sample:

DEFINE TEXTBOX t1
   VALUE "Initial Value"
   ONLOSTFOCUS myRoutineForValid()
END TEXTBOX

Regards
CdQ


On Sat, Feb 27, 2010 at 5:21 AM, francesco perillo wrote:

> Is this a way to have WHEN/VALID implementation ?
>
> Francesco
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: FocusIn and FocusOut in widgets

2010-02-26 Thread CarozoDeQuilmes
Work very good !!!  Many Thanks

This is my sample for test:

*#include "hbqt.ch"*
*
*
*REQUEST HB_QT*
*
*
*STATIC s_qApp*
*
*
*STATIC pEvents*
*
*
*/*--*/*
*
*
*INIT PROCEDURE Qt_Start()*
*
*
*   hbqt_errorsys()*
*
*
*   s_qApp := QApplication():new()*
*   RETURN*
*
*
*EXIT PROCEDURE Qt_End()*
*   s_qApp:quit()*
*   RETURN*
*
*
*/*--*/*
*
*
*PROCEDURE Main()*
*   Local oLabel, oDA, oWnd, oTextBox1, oTextBox2*
*
*
*   pEvents := QT_EVENTS_NEW()*
*
*
*   oWnd := QMainWindow():new()*
*   oWnd:setWindowTitle( "Harbour-Qt Implementation Test Dialog" )*
*   oWnd:resize( 900, 500 )*
*   oDA:= QWidget():new( oWnd )*
*   oWnd:setCentralWidget( oDA )*
*
*
*   oLabel := QLabel():new( oWnd )*
*   oLabel:setText( "Label" )*
*   oLabel:move( 150 , 150 )*
*   oLabel:resize( 100 , 100 )*
*   oLabel:show()*
*
*
*   oTextBox1 := QTextEdit():new( oWnd )*
*   oTextBox1:Move( 5, 7 )*
*   oTextBox1:Resize( 300,30 )*
*   oTextBox1:setPlainText( "TextBox" )*
*   oTextBox1:Show()*
*
*
*   oTextBox2 := QTextEdit():new( oWnd )*
*   oTextBox2:installEventFilter( pEvents )*
*   oTextBox2:Move( 5, 60 )*
*   oTextBox2:Resize( 300,30 )*
*   oTextBox2:setPlainText( "This is the TextBox for check Focus" )*
*   oTextBox2:Show()*
*   Qt_Events_Connect( pEvents, oTextBox2 , QEvent_FocusIn, {||
oLabel:setText( "FocusIn" ) } )*
*   Qt_Events_Connect( pEvents, oTextBox2 , QEvent_FocusOut, {||
oLabel:setText( "focusout" ) } )*
*
*
*   oWnd:Show()*
*
*
*   s_qApp:exec()*
*
*
*   RETURN*

Thanks and regards
CdQ


On Fri, Feb 26, 2010 at 5:39 PM, Pritpal Bedi wrote:

>
>
> CarozoDeQuilmes wrote:
> >
> > Hi Pritpal, are implemented the FocusIn and FocusOut events in widget
> (not
> > Windows, it work fine for my), for example TextBox ???
> >
>
> Try something like:
>
>   #include "hbqt.ch"
>
>   pEvents := Qt_Events_New()
>
>   qWidget := QWidget():new()
>
>   qWidget:installEventFilter( pEvents )
>
>   Qt_Events_Connect( pEvents, qWidget, QEvent_FocusIn, {|| ProcessEvent(
> QEvent_FocusIn ) } )
>
>
> Please post your results here.
>
>
> -
> enjoy hbIDEing...
>Pritpal Bedi
> _a_student_of_software_analysis_&_design_
> --
> View this message in context:
> http://n2.nabble.com/FocusIn-and-FocusOut-in-widgets-tp4641452p4641699.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 mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: Class QLibraryInfo in HbQt

2010-02-26 Thread CarozoDeQuilmes
Hi Pritpal, maybe I am wrong and you can help me.  I only need get the
version, release and build of Qt library (ex: 4.6.2)
I don't need add any plugins (in Static Link Mode, Qt don't support jpg
images without pluging but isn't very necesary)

Thanks

CdQ

On Fri, Feb 26, 2010 at 5:51 PM, Pritpal Bedi wrote:

>
>
> Viktor Szakáts wrote:
> >
> > We've decided to not support the plugin architecture of QT lib
> > for various reasons detailed back then.
> >
>
> :buildKey() only generates a key which are essential for a plugin
> to be linked in a version of Qt.
>
> As far as my understanding extends, this class has nothing to do with
> plugin
> architecture of Qt by "itself". It simply retreives the licensing info and
> provides access
> to some paths. For that matter, Harbour wrappers can never support plugins
> in any manner.
>
> It is a difficult class to generate dynamically so I failed on many
> occassion to develop it. And still I do not know how to?
>
> Also I do not see the real benefits of this class, taken especially
> the LGPL licensing issues.
>
> Probably CarozoDeQuilmes want to issue some commands based on
> Qt library version. That can be the only valid reason for this request.
>
> -
> enjoy hbIDEing...
>Pritpal Bedi
> _a_student_of_software_analysis_&_design_
> --
> View this message in context:
> http://n2.nabble.com/Class-QLibraryInfo-in-HbQt-tp4641413p4641755.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 mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] FocusIn and FocusOut in widgets

2010-02-26 Thread CarozoDeQuilmes
Hi Pritpal, are implemented the FocusIn and FocusOut events in widget (not
Windows, it work fine for my), for example TextBox ???

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


[Harbour] Class QLibraryInfo in HbQt

2010-02-26 Thread CarozoDeQuilmes
Hi Pritpal, can you add the class QLibraryInfo with the BuildKey method ?

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


[Harbour] Method WinId in HbQt

2010-02-26 Thread CarozoDeQuilmes
Hi Pritpal, can you add method "winId" of class QMainWindow in _HbQt ?

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


Re: [Harbour] Anyone using hbqt ?

2010-02-25 Thread CarozoDeQuilmes
Hi, sorry by my bad english.

Bruno Luciani and I are working in a framework based in minigui sintax that
use pure hbqt (very nice Pritpal's work)

Our hello world is like this:

1.- Basic

#include "hbqtc.ch"

Function main()

   HbQtC_MsgInfo( "Hello World" )

Return .T.

2. Basic +

#include "hbqtc.ch"

Function main()

   DEFINE WINDOW win
  WIDTH 100
  HEIGHT 100
  CAPTION "Hello World"

   END WINDOW

   DoMethod( "win" , "center" )
   DoMethod( "win" , "activate" )

Return .T.

3.- Basic ++

#include "hbqtc.ch"

Function main()

   DEFINE WINDOW win
  WIDTH 100
  HEIGHT 100
  CAPTION "Hello World"

  DEFINE LABEL label1
 VALUE "Hello World"
 ROW 10
 COL 10
  END LABEL

   END WINDOW

   DoMethod( "win" , "center" )
   DoMethod( "win" , "activate" )

Return .T.


4.- Basic +++

#include "hbqtc.ch"

Function main()

   DEFINE WINDOW win
  WIDTH 100
  HEIGHT 100
  CAPTION "Hello World"

  DEFINE LABEL label1
 VALUE "Hello World"
 ROW 10
 COL 10
  END LABEL

  DEFINE BUTTON button1
 ROW 40
 COL 10
 ONCLICK HbQtC_MsgInfo( "Hello World" )
 CAPTION "Press button"
  END BUTTON

   END WINDOW

   DoMethod( "win" , "center" )
   DoMethod( "win" , "activate" )

Return .T.

etc, etc, etc.

This framework is in planed stage, but you can see the code in
http://sourceforge.net/projects/hbqtcommand/

Regards
CdQ

On Thu, Feb 25, 2010 at 1:01 PM, 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 ?
>
> Thanks,
> Francesco
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] qt slots/events

2010-01-30 Thread CarozoDeQuilmes
Hi, I'm interesting in know more about it, but the thread didn't continued.

Regards
CdQ

On Tue, Jan 26, 2010 at 8:04 AM, Viktor Szakáts wrote:

> Hi Pritpal,
>
> I see this code in hbxbp:
> ---
> METHOD HbpQtUI:destroy()
>   LOCAL a_
>
>   FOR EACH a_ IN ::aSignals
>  Qt_Slots_disConnect( ::pSlots, a_[ 1 ], a_[ 2 ] )
>   NEXT
>
>   FOR EACH a_ IN ::aEvents
>  Qt_Events_disConnect( ::pEvents, a_[ 1 ], a_[ 2 ] )
>   NEXT
>
>   ...
>
>   RETURN NIL
>
> METHOD HbpQtUI:event( cWidget, nEvent, bBlock )
>
>   IF hb_hHasKey( ::qObj, cWidget )
>  IF Qt_Events_Connect( ::pEvents, ::qObj[ cWidget ], nEvent, bBlock )
> aadd( ::aEvents, { ::qObj[ cWidget ], nEvent } )
>  ENDIF
>   ENDIF
>
>   RETURN Self
> ---
>
> Which is redundant, because we're keeping track
> of events/slots in both ::pSlots/::pEvents, and
> also maintaining a .prg level copy of the list in
> ::aSlots/::aEvents. It's also prone to leak/GPF, as
> it's up to .prg level code to make sure all slots/events
> are disconnected.
>
> By using GC facility, would it be possible to rework
> hbqt low-levels, to allow for this code, solving both
> problems:
> ---
> METHOD HbpQtUI:destroy()
>   LOCAL a_
>
>   ::pSlots := NIL
>   ::pEvents := NIL
>
>   ...
>
>   RETURN NIL
>
> METHOD HbpQtUI:event( cWidget, nEvent, bBlock )
>
>   IF cWidget $ ::qObj
>  Qt_Events_Connect( ::pEvents, ::qObj[ cWidget ], nEvent, bBlock )
>   ENDIF
>
>   RETURN Self
> ---
>
> What do you think?
>
> Brgds,
> Viktor
>
> ___
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: Re: [Harbour] hbpqtui class

2010-01-27 Thread CarozoDeQuilmes
+1

HBQT library, the "oficial" Harbour wrapper to accessing GUI multiplatform
API

CdQ

On Wed, Jan 27, 2010 at 2:50 PM, Maurizio la Cecilia
wrote:

>
>
>
> >All users should see that the URL (f.e.: sf.net/harbour vs. sf.net/hbqt)
> >of a project (or library) won't make it less useful / sexy / used /
> >developed or less desirable. It stays the same project, with same
> >users and volunteer contributors.
>
> This is true, but...
>
> >In fact, in separate repositories it can even flourish better,
> >since there is no higher level or quality rules to adhere to, nor
> >getting an agreement from other project maintainers. This give
> >full freedom in the hands of developers. It also makes it that
> >everyone can much better concentrate on the area he is interested
> >in.
>
> Yes, but i was thinking that HBQT would become the "official" multiplatform
> GUI for Harbour
>
> >It also makes things to scale much better.
>
> >There are several good examples for this, in no particular order:
> >HWGUI, MINIGUI, WXHARBOUR, LETODB, XHGTK. Some of these wouldn't
> >be fit to Harbour SVN, because our stricter rules or portability
> >requirements. Yet they are useful, users keep using them, developers
> >keep developing them. Sometimes even Harbour developers are
> >participants in them.
>
> Hum, the freedom from stricter rules results in a bad integration with the
> main project. I come from the HwGUI experience, where only the effective
> work of Przemek allows to tune and clean many dirty or dubbed code.
> When i begun my interest in HwGUI, the Harbour build was lost because the
> active developers was interested mainly in xHarbour implementation.
> Just you, Viktor, signaled me the thing and i discouvered the great
> advantages
> of Harbour vs. xHarbour.
>
> >Being part of Harbour SVN is partly a deal: It has some benefits,
> >f.e. you get support and attention from core developers
> >(f.e. i've spent several weeks on HBQT altogether), you get quality
> >control, a build infrastructure, you have free packaging a release
> >"service", more attention, etc. Most of these require a significant
> >amount of time. So, in return IMO we rightfully expect for things
> >to be more or less inline with basic project goals and rules
> >and agreements.
>
> >It also seems a natural thing that components like _Harbour core_
> >need much stricter quality control than upper level ones, since
> >everything is based on them, and this is the key to the stability of
> >the whole platform. While I personally believe that all components
> >should have equally good quality to form a good quality end result,
> >practice shows that this is sometimes not achievable in practice,
> >due to limited resource or not enough interest in this area, even
> >sometimes the time consumed would not be justified or even noticed
> >at the end. I can accept that.
>
> I agree with the standard good quality for all components (contribs
> included) of the project, at the cost of a slower but effective
> development.
>
> >At the end it comes out as: Is this deal worthwhile for all
> >parties? If it's a time wasting struggle for quality on one end,
> >and an uncomfortable feeling on the other end, what is the
> >point? Users won't benefit either, since developers are wasting
> >time instead of developing.
>
> >The other option is to lower quality needs, not think about
> >future, of redundancy of any form, priorities, or leaks,
> >allow GPFs and allow design decisions which will have such
> >a high "cost" in the future, that at that point nobody will
> >be able to deal with it anymore. See HBWHAT32 for an example
> >for that.
>
> >For a solution IMO we should seriously consider to split
> >Harbour into more parts, it has become huge and if this
> >continues it will become unmanageable and rather sooner or
> >later no quality can be guaranteed for some of its parts.
> >BTW, HBQT related parts now account for nearly HALF of the
> >size of all contribs. This is large.
>
> I don't want to think about the lack of collaboration between the
> main project and the HBQT... Just think to hbmk2 implementations
> to adhere to hbIDE needs...
>
> >I also think this community did it's job to help bring HBQT
> >+ parts to a nice, usable level now, and it can perfectly
> >stand on its own.
>
> Maybe HBQT by itself, if we stop to think to it as "official" GUI, but
> hbIDE project is very linked to main Harbour and HBQT, so a self
> growing and developing of HBQT could break the hbIDE work.
>
> >I'm glad to hear opinions on how to solve these in other ways.
>
> No opinions, but the feel that a contrib part of Harbour project
> MUST obey to general rules and follow the general architecture of
> the main project. So, IMHO, Pritpal could consider the opinion of
> Viktor as effective, mainly if thought to medium-large time, and
> i hope he will return to strict collaboration as we saw in the last
> days.
>
> Just my 1.5 cents...
> Maurizio
>
> __

Re: [Harbour] Closing Window in HbQt (Pritpal)

2009-12-25 Thread CarozoDeQuilmes
Many Thanks

CdQ

On Fri, Dec 25, 2009 at 1:56 PM, Pritpal Bedi wrote:

>
> Hi
>
>
> CarozoDeQuilmes wrote:
> >
> > Hi Pritpal, which is the signal o event to capture when I press the close
> > button (in the superior right corner of window) in HbQt ???
> >
>
> QEvent::Close.
>
> This event requires some extra steps than other events.
> You need to accept or reject it. Look into hbqt_events.cpp
> and XbpWindow.prg for exact code how it can be implemented.
>
> Regards
> Pritpal Bedi
>
>
> --
> View this message in context:
> http://old.nabble.com/Closing-Window-in-HbQt-%28Pritpal%29-tp26922024p26922300.html
> Sent from the Harbour - Dev 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
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

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


[Harbour] Closing Window in HbQt (Pritpal)

2009-12-25 Thread CarozoDeQuilmes
Hi Pritpal, which is the signal o event to capture when I press the close
button (in the superior right corner of window) in HbQt ???

Sorry by my bad english

Thanks in advance

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


[Harbour] Question about Harbour/MinGW

2009-12-25 Thread CarozoDeQuilmes
Hi guys, sorry, I have an OFF TOPPIC question, when I try compile and
linkedit a lots of prg in incremental mode using a personal batch file
(without HBMK2), I receive the followed message from MinGW linkedit process
because the amount of object files to linkedit is big: *Fatal: Command
arguments too long*

Question: There is any way for implement in MinGW something like @list.CPL
of clipper 

Sorry by my TARZAN english !!!

Thanks in advance

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


Re: [Harbour] Little question about HBQT and release of objects

2009-12-21 Thread CarozoDeQuilmes
Many thanks
CdQ

On Sun, Dec 20, 2009 at 10:14 PM, Pritpal Bedi wrote:

>
> Hi
>
>
> CarozoDeQuilmes wrote:
> >
> > Hi, what is the better way for release (or destroy, or free, or delete) a
> > widget (or control, or object) in hbqt 
> >
> > obj:close() , obj:destroy() , obj := NIL ??
> >
>
> I assume you are talking about an object
> obtained with :new() method. If true, then
>
> oObj := QSomeObject():new()
> ...
> ...
> oObj:pPtr := 0
>
> OR if oObj is a local variable then you need not
> to free it anyway, GC will take care of that.
>
> Regards
> Pritpal Bedi
>
> --
> View this message in context:
> http://old.nabble.com/Little-question-about-HBQT-and-release-of-objects-tp26866502p26868717.html
> Sent from the Harbour - Dev 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
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

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


[Harbour] Little question about HBQT and release of objects

2009-12-20 Thread CarozoDeQuilmes
Hi, what is the better way for release (or destroy, or free, or delete) a
widget (or control, or object) in hbqt 

obj:close() , obj:destroy() , obj := NIL ??

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


[Harbour] hbqt error ~~~~~~~~~~~~

2009-10-23 Thread CarozoDeQuilmes
Hi Pritpal

After clear and download the last SVN I get the followed error:

gcc  -I. -I../../../../../include  -Wall -W -O3 -fomit-frame-pointer
-march=i586 -mtune=pentiumpro  -ID:\qt\4.5.2\include
-ID:\qt\4.5.2\include/Qt -ID:\qt\4.5.2\include/QtCore
-ID:\qt\4.5.2\include/QtGui -ID:\qt\4.5.2\include/QtNetwork
-ID:\qt\4.5.2\include/QtWebKit  -ohbqt_destruct.o -c
../../../hbqt_destruct.cpp
../../../hbqt_destruct.cpp: In function 'void* hbqt_gcpointer(int)':
../../../hbqt_destruct.cpp:101: error: cannot convert 'void (*)(void*)' to
'const HB_GC_FUNCS*' for argument '1' to 'void* hb_parptrGC(const
HB_GC_FUNCS*, int)'
../../../hbqt_destruct.cpp: In function 'void* hbqt_ptrTOgcpointer(void*,
void (*)(void*))':
../../../hbqt_destruct.cpp:115: error: 'hb_gcAlloc' was not declared in this
scope
../../../hbqt_destruct.cpp: At global scope:
../../../hbqt_destruct.cpp:121: warning: unused parameter 'name'
mingw32-make[3]: *** [hbqt_destruct.o] Error 1
mingw32-make[2]: *** [descend] Error 2
mingw32-make[1]: *** [hbqt.inst] Error 2
mingw32-make: *** [contrib.inst] Error 2

Thanks in advance
CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] HbQt and Connect Events

2009-10-21 Thread CarozoDeQuilmes
Hi


> >
> > Hi Pritpal, after I add the two functions to my project, it run fine
> >
>
> Good. Do you receive the events also ?
>
>
>
Yes, I receive the keypress event.


>
> > I left the two changes into hbqt_slots.cpp indicated in previous mails.
> >
>
> By next commit these will be in SVN.
>

Ok.

Thanks and regards
CdQ




>
> Regards
> Pritpal Bedi
>
> --
> View this message in context:
> http://www.nabble.com/HbQt-and-Connect-Events-tp25976580p2568.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] HbQt and Connect Events

2009-10-21 Thread CarozoDeQuilmes
Hi Pritpal, after I add the two functions to my project, it run fine

I left the two changes into hbqt_slots.cpp indicated in previous mails.

Thanks a lot
CdQ


On Tue, Oct 20, 2009 at 11:58 PM, Pritpal Bedi wrote:

>
> Hi
>
> #include "common.ch"
>
> STATIC qApp
>
> INIT PROCEDURE Qt_Start()
>   qApp := QApplication():new()
>   RETURN
>
> EXIT PROCEDURE Qt_End()
>   qApp:quit()
>   RETURN
>
> PROCEDURE Main()
>   Local oWin
>
>//The following functions are to be called for each thread.
>   //This change ensures more speed, initially every call to an event
> was checking for thread stack.
>   //
>   Qt_SetEventFilter()
>   Qt_SetEventSlots()
>
>   oWin := QMainWindow():new()
>   oWin:ReSize( 640, 400 )
>   oWin:Move( 10 , 10 )
>   QT_CONNECT_EVENT( oWin:pPtr , 6 , {|o,e| My_Events( o , e ) } )  // *<--
> Cancel here*
>   oWin:Show()
>   qApp:exec()
> RETURN .T.
>
> Function My_Events( o , e )
>   MsgInfo( "Key Pressed" )
> Return .T.
>
> STATIC FUNCTION MsgInfo( cMsg )
>   LOCAL oMB
>   oMB := QMessageBox():new()
>   oMB:setInformativeText( cMsg )
>   oMB:setWindowTitle( "Harbour-QT" )
>   oMB:exec()
> RETURN nil
>
> #ifdef __PLATFORM__WINDOWS
> PROCEDURE hb_GtSys()
>   HB_GT_GUI_DEFAULT()
>   RETURN
> #endif
>
>
> Regards
> Pritpal Bedi
>
> --
> View this message in context:
> http://www.nabble.com/HbQt-and-Connect-Events-tp25976580p25985786.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] HbQt and Connect Events

2009-10-20 Thread CarozoDeQuilmes
Hi Pritpal

It don't work.

The sample that I sent in the previous mail, work fine in you test
environment ???

hb_out_log

Application Internal Error - D:\SILVER~1\TESTS_~1\signals.EXE
Terminated at: 2009.10.20 17:00:38
Unrecoverable error 6005: Exception error:

Exception Code:C005
Exception Address:004B0549
EAX:0003  EBX:01EC4BDC  ECX:0014  EDX:
ESI:01EC5994  EDI:0003  EBP:004FF237
CS:EIP:001B:004B0549  SS:ESP:0023:0022FC20
DS:0023  ES:0023  FS:003B  GS:
Flags:00010202
CS:EIP: 8B 42 08 8B 00 48 74 2F 89 D0 83 C0 08 89 04 24
SS:ESP: 0022FCA4 0014 005084F5 005084F3 0006 005084F3 004FF214
0201 0050EF73 004FCC60 0238AA44 0006  0238AA18 004FA160
0041720F

C stack:
EIP: EBP:   Frame: OldEBP, RetAddr, Params...


Modules:
0x0040 0x0014 D:\SILVER~1\TESTS_~1\signals.EXE
0x7C90 0x000B C:\WINDOWS\system32\ntdll.dll
0x7C80 0x000F5000 C:\WINDOWS\system32\kernel32.dll
0x6A1C 0x002A8000 D:\SilverGui\hbqtcommand\QtCore4.dll
0x77DD 0x0009B000 C:\WINDOWS\system32\ADVAPI32.DLL
0x77E7 0x00092000 C:\WINDOWS\system32\RPCRT4.dll
0x77FE 0x00011000 C:\WINDOWS\system32\Secur32.dll
0x6FBC 0x8000 D:\SilverGui\hbqtcommand\mingwm10.dll
0x77C1 0x00058000 C:\WINDOWS\system32\msvcrt.dll
0x774E 0x0013D000 C:\WINDOWS\system32\OLE32.dll
0x77F1 0x00048000 C:\WINDOWS\system32\GDI32.dll
0x7E41 0x0009 C:\WINDOWS\system32\USER32.dll
0x71AB 0x00017000 C:\WINDOWS\system32\WS2_32.DLL
0x71AA 0x8000 C:\WINDOWS\system32\WS2HELP.dll
0x6510 0x00ACB000 D:\SilverGui\hbqtcommand\QtGui4.dll
0x763B 0x00049000 C:\WINDOWS\system32\COMDLG32.DLL
0x77F6 0x00076000 C:\WINDOWS\system32\SHLWAPI.dll
0x773D 0x00103000
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\COMCTL32.dll
0x7C9C 0x00817000 C:\WINDOWS\system32\SHELL32.dll
0x7639 0x0001D000 C:\WINDOWS\system32\IMM32.DLL
0x7712 0x0008B000 C:\WINDOWS\system32\OLEAUT32.DLL
0x76B4 0x0002D000 C:\WINDOWS\system32\WINMM.DLL
0x7300 0x00026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x6FF0 0x0015F000 D:\SilverGui\hbqtcommand\QtNetwork4.dll
0x005E 0x012B7000 D:\SilverGui\hbqtcommand\QtWebKit4.dll
0x77C0 0x8000 C:\WINDOWS\system32\VERSION.dll
0x629C 0x9000 C:\WINDOWS\system32\LPK.DLL
0x74D9 0x0006B000 C:\WINDOWS\system32\USP10.dll
0x5AD7 0x00038000 C:\WINDOWS\system32\uxtheme.dll
0x6300 0x00014000 C:\WINDOWS\system32\SynTPFcs.dll
0x755C 0x0002E000 C:\WINDOWS\system32\msctfime.ime

Called from QT_CONNECT_EVENT(0)
Called from MAIN(18) in D:\SILVER~1\TESTS_~1\signals.prg


Thanks
CdQ


On Tue, Oct 20, 2009 at 4:53 PM, Pritpal Bedi wrote:

>
> Hi
>
> My fault. I did not mention the other function.
>
> HB_FUNC( QT_CONNECT_EVENT )
> {
>   QObject * object= ( QObject * ) hb_parptr( 1 );
>   int   type  = hb_parni( 2 );
>PHB_ITEM  codeblock = hb_itemNew( hb_param( 3, HB_IT_BLOCK | HB_IT_BYREF
> ) );
>Events  * s_e   = qt_getEventFilter();
>
>   char str[ 20 ];
>   hb_snprintf( str, sizeof( str ), "%s%i%s", "P", type, "P" );/* Make
> it a unique identifier */
>
>s_e->listBlock << codeblock;
>   s_e->listActv  << true;
>   s_e->listObj   << object;
>
>   object->setProperty( str, ( int ) s_e->listBlock.size() );
>
>   hb_retl( true );
> }
>
> =>
>
> HB_FUNC( QT_CONNECT_EVENT )
> {
>   int   type  = hb_parni( 2 );
>PHB_ITEM  codeblock = hb_itemNew( hb_param( 3, HB_IT_BLOCK | HB_IT_BYREF
> ) );
>Events  * s_e   = qt_getEventFilter();
>
>   QObject * object= ( QObject* ) hbqt_gcpointer( 1 );
>if( !object )
>   {
>  object = ( QObject* ) hb_parptr( 1 );
>   }
>
>char str[ 20 ];
>   hb_snprintf( str, sizeof( str ), "%s%i%s", "P", type, "P" );/* Make
> it a unique identifier */
>
>s_e->listBlock << codeblock;
>   s_e->listActv  << true;
>   s_e->listObj   << object;
>
>   object->setProperty( str, ( int ) s_e->listBlock.size() );
>
>   hb_retl( true );
> }
>
> Regards
> Pritpal Bedi
>
> --
> View this message in context:
> http://www.nabble.com/HbQt-and-Connect-Events-tp25976580p25981393.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] HbQt and Connect Events

2009-10-20 Thread CarozoDeQuilmes
Hi Pritpal,

After download the last SVN, I changed the hbqt_slots.cpp and rebuilt hbqt
library.

Then, I compile my sample and get the same error.  Changes hasn't effect,
the problem continue

I have made a little sample program called signals.prg for test

#include "common.ch"

STATIC qApp

INIT PROCEDURE Qt_Start()
   qApp := QApplication():new()
   RETURN

EXIT PROCEDURE Qt_End()
   qApp:quit()
   RETURN

PROCEDURE Main()
   Local oWin
   oWin := QMainWindow():new()
   oWin:ReSize( 640, 400 )
   oWin:Move( 10 , 10 )
   QT_CONNECT_EVENT( oWin:pPtr , 6 , {|o,e| My_Events( o , e ) } )  // *<--
Cancel here*
   oWin:Show()
   qApp:exec()
RETURN .T.

Function My_Events( o , e )
   MsgInfo( "Key Pressed" )
Return .T.

STATIC FUNCTION MsgInfo( cMsg )
   LOCAL oMB
   oMB := QMessageBox():new()
   oMB:setInformativeText( cMsg )
   oMB:setWindowTitle( "Harbour-QT" )
   oMB:exec()
RETURN nil

#ifdef __PLATFORM__WINDOWS
PROCEDURE hb_GtSys()
   HB_GT_GUI_DEFAULT()
   RETURN
#endif

hb_out.log:

Application Internal Error - D:\SILVER~1\TESTS_~1\signals.EXE
Terminated at: 2009.10.20 16:11:06
Unrecoverable error 6005: Exception error:

Exception Code:C005
Exception Address:004B0538
EAX:0003  EBX:01EC4BDC  ECX:0014  EDX:
ESI:01EC5994  EDI:0003  EBP:004FF237
CS:EIP:001B:004B0538  SS:ESP:0023:0022FC20
DS:0023  ES:0023  FS:003B  GS:
Flags:00010202
CS:EIP: 8B 42 08 8B 00 48 74 30 89 D0 83 C0 08 89 04 24
SS:ESP: 0022FCA4 0014 005084F5 005084F3 0006 005084F3 004FF214
0201 0050EF73 004FCC60 0238594C 0238AA44 0006  004FA160
0041720F

C stack:
EIP: EBP:   Frame: OldEBP, RetAddr, Params...


Modules:
0x0040 0x0014 D:\SILVER~1\TESTS_~1\signals.EXE
0x7C90 0x000B C:\WINDOWS\system32\ntdll.dll
0x7C80 0x000F5000 C:\WINDOWS\system32\kernel32.dll
0x6A1C 0x002A8000 D:\SilverGui\hbqtcommand\QtCore4.dll
0x77DD 0x0009B000 C:\WINDOWS\system32\ADVAPI32.DLL
0x77E7 0x00092000 C:\WINDOWS\system32\RPCRT4.dll
0x77FE 0x00011000 C:\WINDOWS\system32\Secur32.dll
0x6FBC 0x8000 D:\SilverGui\hbqtcommand\mingwm10.dll
0x77C1 0x00058000 C:\WINDOWS\system32\msvcrt.dll
0x774E 0x0013D000 C:\WINDOWS\system32\OLE32.dll
0x77F1 0x00048000 C:\WINDOWS\system32\GDI32.dll
0x7E41 0x0009 C:\WINDOWS\system32\USER32.dll
0x71AB 0x00017000 C:\WINDOWS\system32\WS2_32.DLL
0x71AA 0x8000 C:\WINDOWS\system32\WS2HELP.dll
0x6510 0x00ACB000 D:\SilverGui\hbqtcommand\QtGui4.dll
0x763B 0x00049000 C:\WINDOWS\system32\COMDLG32.DLL
0x77F6 0x00076000 C:\WINDOWS\system32\SHLWAPI.dll
0x773D 0x00103000
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\COMCTL32.dll
0x7C9C 0x00817000 C:\WINDOWS\system32\SHELL32.dll
0x7639 0x0001D000 C:\WINDOWS\system32\IMM32.DLL
0x7712 0x0008B000 C:\WINDOWS\system32\OLEAUT32.DLL
0x76B4 0x0002D000 C:\WINDOWS\system32\WINMM.DLL
0x7300 0x00026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x6FF0 0x0015F000 D:\SilverGui\hbqtcommand\QtNetwork4.dll
0x005E 0x012B7000 D:\SilverGui\hbqtcommand\QtWebKit4.dll
0x77C0 0x8000 C:\WINDOWS\system32\VERSION.dll
0x629C 0x9000 C:\WINDOWS\system32\LPK.DLL
0x74D9 0x0006B000 C:\WINDOWS\system32\USP10.dll
0x5AD7 0x00038000 C:\WINDOWS\system32\uxtheme.dll
0x6300 0x00014000 C:\WINDOWS\system32\SynTPFcs.dll
0x755C 0x0002E000 C:\WINDOWS\system32\msctfime.ime

Called from QT_CONNECT_EVENT(0)
Called from MAIN(22) in D:\SILVER~1\TESTS_~1\signals.prg


Regards
CdQ












On Tue, Oct 20, 2009 at 2:28 PM, Pritpal Bedi wrote:

>
> Hi
>
> For a quick solution change as below:
>
> HB_FUNC( QT_DISCONNECT_EVENT )
> {
>   QObject * object = ( QObject * ) hb_parptr( 1 );
>   int   type   = hb_parni( 2 );
>   bool  bRet   = false;
>   Events  * s_e= qt_getEventFilter();
>
>   char str[ 10 ];
>   hb_snprintf( str, sizeof( str ), "%s%i%s", "P", type, "P" );/* Make
> it a unique identifier */
> ...
> }
>
> =>
>
> HB_FUNC( QT_DISCONNECT_EVENT )
> {
>   int   type   = hb_parni( 2 );
>   bool  bRet   = false;
>   Events  * s_e= qt_getEventFilter();
>   QObject * object= ( QObject* ) hbqt_gcpointer( 1 );  /* get
> sender*/
>   if( !object )
>   {
>  object = ( QObject* ) hb_parptr( 1 );
>   }
>
>   char str[ 10 ];
>   hb_snprintf( str, sizeof( str ), "%s%i%s", "P", type, "P" );/* Make
> it a unique identifier */
> ...
> }
>
> And let me know if it helps.
>
> Regards
> Pritpal Bedi
>
>
>
> --
> View this message in context:
> http://www.nabble.com/HbQt-and-Connect-Events-tp25976580p25979231.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QA

[Harbour] HbQt and Connect Events

2009-10-20 Thread CarozoDeQuilmes
Hi Pritpal, in the last two months, I stopped my hbqt project while you has
correct the memory problem.

This week, I get back to work but my project abend when I connect the
QMainWindow with events

I only recompile the old project (that worked fine) and with the last SVN
don't work

My connect is:

*   QT_CONNECT_EVENT( oWin:pPtr , 6 , {|o,e| My_Events( o , e ) } ) *

where oWin is the object for QMainWindow initialized with:

  oWin := QMainWindow():new()

Look the abend:

Application Internal Error - D:\SILVER~1\TESTS_~2\test_M2GH.EXE
Terminated at: 2009.10.19 18:04:54
Unrecoverable error 6005: Exception error:

Exception Code:C005
Exception Address:004AF378
EAX:0003  EBX:01F6EE2C  ECX:0014  EDX:
ESI:01F6EAB0  EDI:0003  EBP:00541ACE
CS:EIP:001B:004AF378  SS:ESP:0023:0022FC20
DS:0023  ES:0023  FS:003B  GS:
Flags:00010202
CS:EIP: 8B 42 08 8B 00 48 74 30 89 D0 83 C0 08 89 04 24
SS:ESP: 0022FCA4 0014 00573A35 00573A33 0006 00573A33 0001
00010321  0030 0243B35C 02453074 0006  0006
00426C9C

C stack:
EIP: EBP:   Frame: OldEBP, RetAddr, Params...


Modules:
0x0040 0x001D3000 D:\SILVER~1\TESTS_~2\test_M2GH.EXE
0x7C90 0x000B C:\WINDOWS\system32\ntdll.dll
0x7C80 0x000F5000 C:\WINDOWS\system32\kernel32.dll
0x6A1C 0x002A8000 D:\SilverGui\hbqtcommand\QtCore4.dll
0x77DD 0x0009B000 C:\WINDOWS\system32\ADVAPI32.DLL
0x77E7 0x00092000 C:\WINDOWS\system32\RPCRT4.dll
0x77FE 0x00011000 C:\WINDOWS\system32\Secur32.dll
0x6FBC 0x8000 D:\SilverGui\hbqtcommand\mingwm10.dll
0x77C1 0x00058000 C:\WINDOWS\system32\msvcrt.dll
0x774E 0x0013D000 C:\WINDOWS\system32\OLE32.dll
0x77F1 0x00048000 C:\WINDOWS\system32\GDI32.dll
0x7E41 0x0009 C:\WINDOWS\system32\USER32.dll
0x71AB 0x00017000 C:\WINDOWS\system32\WS2_32.DLL
0x71AA 0x8000 C:\WINDOWS\system32\WS2HELP.dll
0x6510 0x00ACB000 D:\SilverGui\hbqtcommand\QtGui4.dll
0x763B 0x00049000 C:\WINDOWS\system32\COMDLG32.DLL
0x77F6 0x00076000 C:\WINDOWS\system32\SHLWAPI.dll
0x773D 0x00103000
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\COMCTL32.dll
0x7C9C 0x00817000 C:\WINDOWS\system32\SHELL32.dll
0x7639 0x0001D000 C:\WINDOWS\system32\IMM32.DLL
0x7712 0x0008B000 C:\WINDOWS\system32\OLEAUT32.DLL
0x76B4 0x0002D000 C:\WINDOWS\system32\WINMM.DLL
0x7300 0x00026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x6FF0 0x0015F000 D:\SilverGui\hbqtcommand\QtNetwork4.dll
0x0068 0x012B7000 D:\SilverGui\hbqtcommand\QtWebKit4.dll
0x77C0 0x8000 C:\WINDOWS\system32\VERSION.dll
0x71AD 0x9000 C:\WINDOWS\system32\WSOCK32.DLL
0x629C 0x9000 C:\WINDOWS\system32\LPK.DLL
0x74D9 0x0006B000 C:\WINDOWS\system32\USP10.dll
0x5AD7 0x00038000 C:\WINDOWS\system32\uxtheme.dll
0x6300 0x00014000 C:\WINDOWS\system32\SynTPFcs.dll
0x755C 0x0002E000 C:\WINDOWS\system32\msctfime.ime
0x68F0 0x00014000 D:\Qt\4.5.2\plugins\imageformats\qgif4.dll
0x6BDC 0x00015000 D:\Qt\4.5.2\plugins\imageformats\qico4.dll
0x645C 0x00031000 D:\Qt\4.5.2\plugins\imageformats\qjpeg4.dll
0x6EFC 0x00056000 D:\Qt\4.5.2\plugins\imageformats\qmng4.dll
0x632C 0x00059000 D:\Qt\4.5.2\plugins\imageformats\qtiff4.dll
0x76C3 0x0002E000 C:\WINDOWS\system32\WINTRUST.dll
0x77A8 0x00094000 C:\WINDOWS\system32\CRYPT32.dll
0x77B2 0x00012000 C:\WINDOWS\system32\MSASN1.dll
0x76C9 0x00028000 C:\WINDOWS\system32\IMAGEHLP.dll
0x72D2 0x9000 C:\WINDOWS\system32\wdmaud.drv
0x72D1 0x8000 C:\WINDOWS\system32\msacm32.drv
0x77BE 0x00015000 C:\WINDOWS\system32\MSACM32.dll
0x77BD 0x7000 C:\WINDOWS\system32\midimap.dll

Called from *QT_CONNECT_EVENT*(0)
Called from MAIN(10) in D:\SILVER~1\TESTS_~2\test.prg


Is there anything I should change?

Thanks in advance
CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] xCommand

2009-10-19 Thread CarozoDeQuilmes
Hi guys

When I make a new xcommand (or xtranslate), I can put double character ";"
to separate sentences, p.e:

*#xcommand MYCMD  ;
   =>;
   myFunction1( <(cName)> ) ;;
   myFunction2() ;;
   myFunction3()
*
The xcommand will translate:

*   myFunction1( <(cName)> ) ;   myFunction2() ;  myFunction3()*

and run fine.

Question: How can make my xcommand to put each function in a new line, p.e:

*   myFunction1( <(cName)> ) ;
   myFunction2() ;
   myFunction3()*

or

*   myFunction1( <(cName)> )
   myFunction2()
   myFunction3()*

Thanks in advance
CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] SF.net SVN: harbour-project:[12448] trunk/harbour

2009-09-09 Thread CarozoDeQuilmes
Many thanks !!! It works very fine
CdQ

On Wed, Sep 9, 2009 at 4:54 AM,  wrote:

> Revision: 12448
>
> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12448&view=rev
> Author:   vouchcac
> Date: 2009-09-09 07:54:14 + (Wed, 09 Sep 2009)
>
> Log Message:
> ---
> 2009-09-09 00:49 UTC-0800 Pritpal Bedi (prit...@vouchcac.com)
>  * contrib/hbqt/hbqt_slots.cpp
>  * contrib/hbqt/hbqt_slots.h
>  * contrib/hbqt/moc_slots.cpp
>+ Implemented few more signal/slots as reqested by CdQ.
>! Introduced&& hb_vmRequestReenter()  in the condition statment
> executing a block.
>  Przemek, please check me. It still GPFs in MT scenarios.
>
> Modified Paths:
> --
>trunk/harbour/ChangeLog
>trunk/harbour/contrib/hbqt/hbqt_slots.cpp
>trunk/harbour/contrib/hbqt/hbqt_slots.h
>trunk/harbour/contrib/hbqt/moc_slots.cpp
>
>
> This was sent by the SourceForge.net collaborative development platform,
> the world's largest Open Source development site.
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Signals in HbQt

2009-09-08 Thread CarozoDeQuilmes
Hi Pritpal, could you add the following signals to HbQt


For Class QTableWidget:

I need them:

   - void 
*cellActivated
   * ( int *row*, int *column* )
   - void 
*cellChanged
   * ( int *row*, int *column* )
   - void 
*cellClicked
   * ( int *row*, int *column* )
   - void 
*cellDoubleClicked
   * ( int *row*, int *column* )
   - void 
*cellEntered
   * ( int *row*, int *column* )
   - void 
*cellPressed
   * ( int *row*, int *column* )
   - void 
*currentCellChanged
   * ( int *currentRow*, int *currentColumn*, int *previousRow*, int *
   previousColumn* )

Optionals (I think that I don't need them):

   - void 
*currentItemChanged
   * ( QTableWidgetItem * *current*, QTableWidgetItem * *previous* )
   - void 
*itemActivated
   * ( QTableWidgetItem * *item* )
   - void 
*itemChanged
   * ( QTableWidgetItem * *item* )
   - void 
*itemClicked
   * ( QTableWidgetItem * *item* )
   - void 
*itemDoubleClicked
   * ( QTableWidgetItem * *item* )
   - void 
*itemEntered
   * ( QTableWidgetItem * *item* )
   - void 
*itemPressed
   * ( QTableWidgetItem * *item* )
   - void 
*itemSelectionChanged
   * ()



Thanks in advance

CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] HbQt Static and Dynamic

2009-09-04 Thread CarozoDeQuilmes
Many thanks in advance !

CdQ

On Fri, Sep 4, 2009 at 3:23 PM, Viktor Szakáts  wrote:

> I'll change current method to enable static build also,
> rather than switching to it.
>
> The switch (when enabled) will cause a significantly longer
> build process.
>
> Brgds,
> Viktor
>
>
> On 2009.08.31., at 4:00, CarozoDeQuilmes wrote:
>
>  Hi Viktor / Pritpal
>>
>> I use Dynamic HbQt Library and Static HbQt Library in my project with
>> great success, but I need make HbQt Static library and HbQt Dynamic library
>> simultaneously, because I need test any change in HbQt source in both cases
>>
>> I ask: Is possible add some environment var (like HB_QT_STATIC) with
>> default "NO" that make both libaries (instead of just only one library) ???
>>
>> Thanks in advance
>> CdQ
>> ___
>> Harbour mailing list
>> Harbour@harbour-project.org
>> http://lists.harbour-project.org/mailman/listinfo/harbour
>>
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] HbQt Static and Dynamic

2009-08-31 Thread CarozoDeQuilmes
Hi Viktor / Pritpal

I use Dynamic HbQt Library and Static HbQt Library in my project with great
success, but I need make HbQt Static library and HbQt Dynamic library
simultaneously, because I need test any change in HbQt source in both cases

I ask: Is possible add some environment var (like HB_QT_STATIC) with default
"NO" that make both libaries (instead of just only one library) ???

Thanks in advance
CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] SF.net SVN: harbour-project:[12374] trunk/harbour

2009-08-31 Thread CarozoDeQuilmes
Hi Pritpal 

Congratulations !!! this reworked is a great job !

MT support work very fine in my hbqtcommand project (Open Source in Planned
stage)

Very Thanks

CdQ


On Sun, Aug 30, 2009 at 9:35 PM,  wrote:

> Revision: 12374
>
> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12374&view=rev
> Author:   vouchcac
> Date: 2009-08-31 00:35:12 + (Mon, 31 Aug 2009)
>
> Log Message:
> ---
> 2009-08-30 17:30 UTC-0800 Pritpal Bedi (prit...@vouchcac.com)
>  * contrib/hbqt/hbqt_slots.cpp
>! Completely reworked events management. It now supports multi-threads.
>
>  * contrib/hbxbp/xbpbrowse.prg
>  * contrib/hbxbp/xbpdialog.prg
>  * contrib/hbxbp/xbpgeneric.prg
>! Reworked event management to support multi threads.
>
>  * contrib/hbxbp/tests/demoxbp.prg
>! Demonstrated the MT support. Click on  on main menu and play
>  with more than one dialog.
>
>  /*  Still there are few glitches in MT mode and I do request Przemek to
>  look into the code and suggest us what else is required.
>   */
>
> Modified Paths:
> --
>trunk/harbour/ChangeLog
>trunk/harbour/contrib/hbqt/hbqt_slots.cpp
>trunk/harbour/contrib/hbxbp/tests/demoxbp.prg
>trunk/harbour/contrib/hbxbp/xbpbrowse.prg
>trunk/harbour/contrib/hbxbp/xbpdialog.prg
>trunk/harbour/contrib/hbxbp/xbpgeneric.prg
>
>
> This was sent by the SourceForge.net collaborative development platform,
> the world's largest Open Source development site.
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Plugins in hbqts library

2009-08-19 Thread CarozoDeQuilmes
I don't want replace harbour functions
I don't want added new features to hbqt
I only need that my exe progran linked with Static hbqts has all features
that when I link my program with dinamic Link.

The way for this goal are Qt Plugins.

CdQ

On Wed, Aug 19, 2009 at 12:48 PM, Viktor Szakáts wrote:

> Viktor Szakáts wrote:
>>
>>  QT is huge and there is nothing which should stop any user
>>> to start developing Harbour bindings for any part of it we
>>> don't happen to support in Harbour itself.
>>>
>>
>> It did occur to me when I saw what a large part of the Harbour SVN it is
>> now that it should be a separate project.
>>
>> And yet, a cross platform GUI for Harbour? Maybe it shouldn't. I suspect
>> that the idea of a standard GUI for Harbour may remain a pipe dream.
>>
>
> I think QT is quite fine for UI purpose and our
> goal was exactly to implement that. Pritpal did a
> huge and great job with it and now it's working on
> Linux, Mac OS X and Windows (maybe even WinCE).
>
> IMO we reached the goal quite nicely. The code is
> large and for this reason I'd like if we would stick
> with UI related stuff.
>
> If we need the rest (QT has networking, web access,
> FTP, some of these already slipped into hbqt, and who
> knows what else), we can move/implement them in
> distinct libraries, even outside our repository.
> The tools are there for everyone.
>
> Harbour's goal is IMO not to implement a complete
> wrapper for QT as a *platform*. Harbour *is* the platform
> itself with many features, duplicating these efforts
> on a more limited (in portability, size) platform is
> not ideal.
>
> Brgds,
> Viktor
>
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Plugins in hbqts library

2009-08-19 Thread CarozoDeQuilmes
Hi Viktor, you are right, I'd personally prefer use native libs too, but in
this case, I need use plugins for compatibility with dinamic Qt and with
other funcionalities

ex: To use images and displaying these, I use the followed code:

oPixmap := QPixmap():new()
oPixmap:load( ":myimage" ) // load an image from resources
oImage := QLabel():new()
oImage:setPixmap( oPixmap:pPtr )  // associate Pixmap for show it
oImage:move( x , y )
oImage:size( w , h )
oImage:show()

In Dinamic Mode: This simplified code work fine with BMP, PNG and JPG
In Static Mode: This simplified code work fine with BMP and PNG (don't work
with JPG because it need the plugin)

If I load JPG plugin, this is transparent for me and my program work fine
with JPG too.

If I use native Harbour Lib to load JPG image, I can not use the QPixmap
class.

The jpg plugin is use to illustrate an plugin implementation, but other
plugins will be necesaries in the future too.

Remember that my english is very poor !!! sorry.

Regards
CdQ



On Wed, Aug 19, 2009 at 10:47 AM, Viktor Szakáts wrote:

> Hi,
>
> Nice stuff, although we have native libs for many of these,
> and I'd personally prefer using those if possible, rather
> than reimplementing them in a QT-specific way. It's IMO
> also better for Harbour.
>
>
> Brgds,
> Viktor
>
> On 2009.08.19., at 3:31, CarozoDeQuilmes wrote:
>
>  Hi Viktor, Qt has implemented many plugins very interesting:
>>
>>
>> Plugin name
>> Type
>> Description
>> qtaccessiblecompatwidgets
>> Accessibility
>> Accessibility for Qt 3 support widgets
>> qtaccessiblewidgets
>> Accessibility
>> Accessibility for Qt widgets
>> qdecorationdefault
>> Decorations (Qt Extended)
>> Default style
>> qdecorationwindows
>> Decorations (Qt Extended)
>> Windows style
>> qgif
>> Image formats
>> GIF
>> qjpeg
>> Image formats
>> JPEG
>> qmng
>> Image formats
>> MNG
>> qico
>> Image formats
>> ICO
>> qsvg
>> Image formats
>> SVG
>> qtiff
>> Image formats
>> TIFF
>> qimsw_multi
>> Input methods (Qt Extended)
>> Input Method Switcher
>> qwstslibmousehandler
>> Mouse drivers (Qt Extended)
>> tslib mouse
>> qgfxtransformed
>> Graphic drivers (Qt Extended)
>> Transformed screen
>> qgfxvnc
>> Graphic drivers (Qt Extended)
>> VNC
>> qscreenvfb
>> Graphic drivers (Qt Extended)
>> Virtual frame buffer
>> qsqldb2
>> SQL driver
>> IBM DB2
>> qsqlibase
>> SQL driver
>> Borland InterBase
>> qsqlite
>> SQL driver
>> SQLite version 3
>> qsqlite2
>> SQL driver
>> SQLite version 2
>> qsqlmysql
>> SQL driver
>> MySQL
>> qsqloci
>> SQL driver
>> Oracle (OCI)
>> qsqlodbc
>> SQL driver
>> Open Database Connectivity (ODBC)
>> qsqlpsql
>> SQL driver
>> PostgreSQL
>> qsqltds
>> SQL driver
>> Sybase Adaptive Server (TDS)
>> qcncodecs
>> Text codecs
>> Simplified Chinese (People's Republic of China)
>> qjpcodecs
>> Text codecs
>> Japanese
>> qkrcodecs
>> Text codecs
>> Korean
>> qtwcodecs
>> Text codecs
>> Traditional Chinese (Taiwan)
>>
>>
>> Dinamic Qt programs load plugins automaticly, but in static mode, the user
>> program need force the load (this is my request to Pritpal)
>>
>> At this moment I only need jpeg plugin, but in the future, I will need use
>> others plugins.
>>
>> Regards
>> CdQ
>>
>>
>> On Wed, Aug 19, 2009 at 1:36 AM, Viktor Szakáts 
>> wrote:
>> Hi folks,
>>
>> I'm not sure we should implement whole QT plugin functionality
>> just to support jpeg files.
>>
>> If it helps I can add jpeg library to externals. Maybe some
>> Harbour wrappers to that could solve such problems.
>>
>> Brgds,
>> Viktor
>>
>>
>> On 2009.08.19., at 3:31, CarozoDeQuilmes wrote:
>>
>> Hi Pritpal, I don't know how use it.  I read the Qt Documentation and I
>> have see that in a c++ program I only need coded:
>>
>> #include 
>>
>> Q_IMPORT_PLUGIN(qjpeg)
>>
>> and then, add plugin library for jpeg (supplied in
>> \qt\2009.03\qt\plugins\imageformats) into linkedit process.
>>
>> Sorry, but I don't know anymore, I only have make a sample with STATIC
>> libraries that run fine, it show png and bmp but it don't show jpg because
>> in STATIC mode, the Qt Plugins don't work by default (qjpeg is a plugin for
>>

Re: [Harbour] Plugins in hbqts library

2009-08-19 Thread CarozoDeQuilmes
Hi Viktor, Qt has implemented many plugins very interesting:


Plugin nameTypeDescription qtaccessiblecompatwidgetsAccessibilityAccessibility
for Qt 3 support widgets qtaccessiblewidgetsAccessibilityAccessibility for
Qt widgets qdecorationdefaultDecorations (Qt Extended)Default style
qdecorationwindowsDecorations (Qt Extended)Windows style qgifImage formats
GIF qjpegImage formatsJPEG qmngImage formatsMNG qicoImage formatsICO qsvgImage
formatsSVG qtiffImage formatsTIFF qimsw_multiInput methods (Qt Extended)Input
Method Switcher qwstslibmousehandlerMouse drivers (Qt Extended)tslib mouse
qgfxtransformedGraphic drivers (Qt Extended)Transformed screen qgfxvncGraphic
drivers (Qt Extended)VNC qscreenvfbGraphic drivers (Qt Extended)Virtual
frame buffer qsqldb2SQL driverIBM DB2 qsqlibaseSQL driverBorland InterBase
qsqliteSQL driverSQLite version 3 qsqlite2SQL driverSQLite version 2
qsqlmysqlSQL driverMySQL qsqlociSQL driverOracle (OCI) qsqlodbcSQL driverOpen
Database Connectivity (ODBC) qsqlpsqlSQL driverPostgreSQL qsqltdsSQL
driverSybase
Adaptive Server (TDS) qcncodecsText codecsSimplified Chinese (People's
Republic of China) qjpcodecsText codecsJapanese qkrcodecsText codecsKorean
qtwcodecsText codecsTraditional Chinese (Taiwan)

Dinamic Qt programs load plugins automaticly, but in static mode, the user
program need force the load (this is my request to Pritpal)

At this moment I only need jpeg plugin, but in the future, I will need use
others plugins.

Regards
CdQ


On Wed, Aug 19, 2009 at 1:36 AM, Viktor Szakáts wrote:

> Hi folks,
>
> I'm not sure we should implement whole QT plugin functionality
> just to support jpeg files.
>
> If it helps I can add jpeg library to externals. Maybe some
> Harbour wrappers to that could solve such problems.
>
> Brgds,
> Viktor
>
>
> On 2009.08.19., at 3:31, CarozoDeQuilmes wrote:
>
>  Hi Pritpal, I don't know how use it.  I read the Qt Documentation and I
>> have see that in a c++ program I only need coded:
>>
>> #include 
>>
>> Q_IMPORT_PLUGIN(qjpeg)
>>
>> and then, add plugin library for jpeg (supplied in
>> \qt\2009.03\qt\plugins\imageformats) into linkedit process.
>>
>> Sorry, but I don't know anymore, I only have make a sample with STATIC
>> libraries that run fine, it show png and bmp but it don't show jpg because
>> in STATIC mode, the Qt Plugins don't work by default (qjpeg is a plugin for
>> jpeg images).
>>
>> Thanks in advance
>> CdQ
>>
>>
>>
>> On Tue, Aug 18, 2009 at 9:03 PM, Pritpal Bedi 
>> wrote:
>>
>> Hi
>>
>>
>> CarozoDeQuilmes wrote:
>> >
>> > Hi Pritpal, can you add support for plugins in STATIC hbqt library ?
>> >
>> > I need it for use JPG image format and ODBC driver.
>> >
>> > http://qt.nokia.com/doc/4.5/plugins-howto.html
>> >
>>
>> I am trying to understand the concept.
>> You can explain how you will use it in .prg code.
>> It will tell me what must be coded in hbqt.lib.
>>
>> Regards
>> Pritpal Bedi
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Plugins-in-hbqts-library-tp25034339p25035630.html
>> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>>
>> ___
>> Harbour mailing list
>> Harbour@harbour-project.org
>> http://lists.harbour-project.org/mailman/listinfo/harbour
>>
>>
>>
>> --
>> QAC (I want something comfortable !!!) - Incremental Compilation with all
>> MiniGUIs versions
>> QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
>> versiones de MiniGUI
>>
>> Download: www.CarozoDeQuilmes.com.ar
>> ___
>> Harbour mailing list
>> Harbour@harbour-project.org
>> http://lists.harbour-project.org/mailman/listinfo/harbour
>>
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Plugins in hbqts library

2009-08-18 Thread CarozoDeQuilmes
Hi Pritpal, I don't know how use it.  I read the Qt Documentation and I have
see that in a c++ program I only need coded:
#include 

Q_IMPORT_PLUGIN(qjpeg)
and then, add plugin library for jpeg (supplied in
\qt\2009.03\qt\plugins\imageformats) into linkedit process.

Sorry, but I don't know anymore, I only have make a sample with STATIC
libraries that run fine, it show png and bmp but it don't show jpg because
in STATIC mode, the Qt Plugins don't work by default (qjpeg is a plugin for
jpeg images).

Thanks in advance
CdQ



On Tue, Aug 18, 2009 at 9:03 PM, Pritpal Bedi wrote:

>
> Hi
>
>
> CarozoDeQuilmes wrote:
> >
> > Hi Pritpal, can you add support for plugins in STATIC hbqt library ?
> >
> > I need it for use JPG image format and ODBC driver.
> >
> > http://qt.nokia.com/doc/4.5/plugins-howto.html
> >
>
> I am trying to understand the concept.
> You can explain how you will use it in .prg code.
> It will tell me what must be coded in hbqt.lib.
>
> Regards
> Pritpal Bedi
>
> --
> View this message in context:
> http://www.nabble.com/Plugins-in-hbqts-library-tp25034339p25035630.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Plugins in hbqts library

2009-08-18 Thread CarozoDeQuilmes
Hi Pritpal, can you add support for plugins in STATIC hbqt library ?

I need it for use JPG image format and ODBC driver.

http://qt.nokia.com/doc/4.5/plugins-howto.html

Thanks in advance

CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Signals in HbQt

2009-08-13 Thread CarozoDeQuilmes
Many Thanks 
CdQ

On Thu, Aug 13, 2009 at 2:53 AM, Pritpal Bedi wrote:

>
> Hi
>
>
> CarozoDeQuilmes wrote:
> >
> > Hi Pritpal, can you add the followed signal's to HbQt library ?
> >
>
> Revision: 12091
>
>
> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12091&view=rev
> Author:   vouchcac
> Date: 2009-08-13 05:50:56 + (Thu, 13 Aug 2009)
>
> Regards
> Pritpal Bedi
>
> --
> View this message in context:
> http://www.nabble.com/Signals-in-HbQt-tp24945716p24949257.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Signals in HbQt

2009-08-12 Thread CarozoDeQuilmes
Hi Pritpal, can you add the followed signal's to HbQt library ?

For QButtonGroup


   -
   - void 
*buttonClicked
   * ( int *id* )
   -
   - void 
*buttonPressed
   * ( int *id* )
   -
   - void 
*buttonReleased
   * ( int *id* )


For QLabel


   - void *linkActivated
   * ( const QString & *link* )
   - void *linkHovered 
   * ( const QString & *link* )


Thanks in advance
CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Little question about Harbour sintax

2009-08-12 Thread CarozoDeQuilmes
Hi guys,

I have a Pointer to Object

Question: How can I invoke a method from the Object ???

If I have an Object, I put
oObject:method()

but I have a pointer !
???pObject???:method()

Can anybody help me ?

Thanks in advance
CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] New HBQT class (Part 2)

2009-08-05 Thread CarozoDeQuilmes
Ok

I need this Class because I want to use the BuildKey and Location methods
for obtain info about the Qt Version

Regards.
CdQ

On Wed, Aug 5, 2009 at 3:41 AM, Pritpal Bedi wrote:

>
> Hello
>
>
> CarozoDeQuilmes wrote:
> >
> > Hi Pritpal, can you add the QLibraryInfo class to HbQt library ???
> >
>
> This cannot be compiled with current source generation.
> I have to change some parts of source generation and only then
> it will be possible. It may take few days.
>
> Regards
> Pritpal Bedi
>
> PS : BTW for what purpose you need QLibraryInfo() class ?
>
> --
> View this message in context:
> http://www.nabble.com/New-HBQT-class-%28Part-2%29-tp24816469p24821524.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] New HBQT class (Part 3) Last for today !!!!!!!

2009-08-04 Thread CarozoDeQuilmes
Many thanks !!!
CdQ

On Tue, Aug 4, 2009 at 8:58 PM, Pritpal Bedi wrote:

>
> Hi
>
>
> CarozoDeQuilmes wrote:
> >
> > Hi Pritpal, can you add the QFontMetrics and QFontMetricsF classes to
> HbQt
> > Library 
> >
>
> Yesterday I added QFontMetrics().
>
> Rest of your requested classes I will add within a day.
>
> Regards
> Pritpal Bedi
>
> --
> View this message in context:
> http://www.nabble.com/New-HBQT-class-%28Part-3%29-Last-for-today-%21%21%21%21%21%21%21-tp24816765p24818339.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] New HBQT class (Part 3) Last for today !!!!!!!

2009-08-04 Thread CarozoDeQuilmes
Hi Pritpal, can you add the QFontMetrics and QFontMetricsF classes to HbQt
Library 

Thanks in advance
CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] New HBQT class (Part 2)

2009-08-04 Thread CarozoDeQuilmes
Hi Pritpal, can you add the QLibraryInfo class to HbQt library ???

Thanks in advance
CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] New HBQT class

2009-08-04 Thread CarozoDeQuilmes
Hi Pritpal, can you add the QStyleFactory class to HbQt library ?

Thanks in advance
CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] SF.net SVN: harbour-project:[11865] trunk/harbour

2009-07-20 Thread CarozoDeQuilmes
I send it again:

oTimer := QTimer():New( QT_PTROF( oWnd ) )oTimer:SetInterval( 1000 )
Qt_Connect_Signal( QT_PTROF( oTimer ) , "timeout()", {|w,l|
oLabelTimer:SetText( "Testing Timer HbQt: " + alltrim( str( seconds() ) ) )
} )
oTimer:Start()

You can add this sample code to demoqt.  This sample code only need a Label
object called oLabelTimer

Greetings
CdQ




On Mon, Jul 20, 2009 at 5:01 PM, Pritpal Bedi wrote:

>
> Massimo
>
>
> Massimo Belgrano-3 wrote:
> >
> > Can you post your sample?
> >
>
> He posted the example code in his first post itself.
> Did you make any experiment with HBQT or HBXBP at all ?
>
> Regards
> Pritpal Bedi
>
> --
> View this message in context:
> http://www.nabble.com/SF.net-SVN%3A-harbour-project%3A-11865--trunk-harbour-tp24572305p24576534.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] SF.net SVN: harbour-project:[11865] trunk/harbour

2009-07-20 Thread CarozoDeQuilmes
Hi Pritpal, it work very fine !

Many Thanks !!!
CdQ

On Mon, Jul 20, 2009 at 12:47 PM,  wrote:

> Revision: 11865
>
> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11865&view=rev
> Author:   vouchcac
> Date: 2009-07-20 15:47:28 + (Mon, 20 Jul 2009)
>
> Log Message:
> ---
> 2009-07-20 08:45 UTC-0800 Pritpal Bedi (prit...@vouchcac.com)
>  * contrib/hbqt/hbqt_slots.cpp
>  * contrib/hbqt/hbqt_slots.h
>  * contrib/hbqt/moc_slots.cpp
>+ Added "timeout()" signal. I am not sure if it will work.
>  Please let me know if I am right, otherwise I have to restructure
>  this mechanism from bottom-up.
>
> Modified Paths:
> --
>trunk/harbour/ChangeLog
>trunk/harbour/contrib/hbqt/hbqt_slots.cpp
>trunk/harbour/contrib/hbqt/hbqt_slots.h
>trunk/harbour/contrib/hbqt/moc_slots.cpp
>
>
> This was sent by the SourceForge.net collaborative development platform,
> the world's largest Open Source development site.
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] HbQt signal

2009-07-20 Thread CarozoDeQuilmes
Thanks !!! (short mode, thanks Massimo )

CdQ

On Mon, Jul 20, 2009 at 12:04 PM, Pritpal Bedi wrote:

>
>
> CarozoDeQuilmes wrote:
> >
> > Hi Pritpal, the code in the previous mail was only for show an
> > implementation, not for real use.
> >
> > I only need that you implement the "timeout()" signal for the QTimer
> Class
> > in HBQT library.
> >
>
>
> Oh, ok.
>
> Just a momemnt, I upload...
>
> Regards
> Pritpal Bedi
>
> --
> View this message in context:
> http://www.nabble.com/HbQt-signal-tp24562700p24571531.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] HbQt signal

2009-07-20 Thread CarozoDeQuilmes
Hi Massimo, good council 


SET LANGUAGE TO ITALIAN:

Un buon consiglio !!


SET LANGUAGE TO SPANISH

Buen consejo !!


Thanks/Grazie/Gracias

CdQ


On Mon, Jul 20, 2009 at 11:54 AM, Massimo Belgrano wrote:

> I better understand the difficult of bad english
> I have same difficult and same bad english, so try reduce all post
> like for request a paypent to a english customer using only: "Please pay"
> I undestrand is a bad way but hope in intelligences of reader
>
>
> 2009/7/20 CarozoDeQuilmes 
>
> Hi Pritpal, the code in the previous mail was only for show an
>> implementation, not for real use.
>>
>> I only need that you implement the "timeout()" signal for the QTimer Class
>> in HBQT library.
>>
>> Sorry by my bad english
>>
>> Thanks in advance
>> CdQ
>>
>>
>> On Mon, Jul 20, 2009 at 4:19 AM, Pritpal Bedi wrote:
>>
>>>
>>> Hi
>>>
>>>
>>> CarozoDeQuilmes wrote:
>>> >
>>> > Hi Pritpal, can you add the "timeout()" signal for use the QTimer
>>> class.
>>> >oTimer := QTimer():New( QT_PTROF( oWnd ) )
>>> >oTimer:SetInterval( 1000 )
>>> >Qt_Connect_Signal( QT_PTROF( oTimer ) , "timeout()", {|w,l|
>>> > oLabelTimer:SetText( "Testing Timer HbQt: " + alltrim( str( seconds() )
>>> )
>>> > )
>>> > } )
>>> >oTimer:Start()
>>> >
>>>
>>> This is the domain of higher level class to implement this signal.
>>> In HBQT.lib there is no room to implement it like you explained.
>>> Also Xbp*Parts() do not implement timer class.
>>> So include above code in your class framework.
>>>
>>> OR
>>>
>>> Tell me the alternative how you think it should be implemented.
>>>
>>> Regards
>>> Pritpal Bedi
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/HbQt-signal-tp24562700p24564917.html
>>> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>>>
>>> ___
>>> Harbour mailing list
>>> Harbour@harbour-project.org
>>> http://lists.harbour-project.org/mailman/listinfo/harbour
>>>
>>
>>
>>
>> --
>> QAC (I want something comfortable !!!) - Incremental Compilation with all
>> MiniGUIs versions
>> QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
>> versiones de MiniGUI
>>
>> Download: www.CarozoDeQuilmes.com.ar
>>
>> ___
>> Harbour mailing list
>> Harbour@harbour-project.org
>> http://lists.harbour-project.org/mailman/listinfo/harbour
>>
>>
>
>
> --
> Massimo Belgrano
>
>
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
>


-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] HbQt signal

2009-07-20 Thread CarozoDeQuilmes
Hi Pritpal, the code in the previous mail was only for show an
implementation, not for real use.

I only need that you implement the "timeout()" signal for the QTimer Class
in HBQT library.

Sorry by my bad english

Thanks in advance
CdQ

On Mon, Jul 20, 2009 at 4:19 AM, Pritpal Bedi wrote:

>
> Hi
>
>
> CarozoDeQuilmes wrote:
> >
> > Hi Pritpal, can you add the "timeout()" signal for use the QTimer class.
> >oTimer := QTimer():New( QT_PTROF( oWnd ) )
> >oTimer:SetInterval( 1000 )
> >Qt_Connect_Signal( QT_PTROF( oTimer ) , "timeout()", {|w,l|
> > oLabelTimer:SetText( "Testing Timer HbQt: " + alltrim( str( seconds() ) )
> > )
> > } )
> >oTimer:Start()
> >
>
> This is the domain of higher level class to implement this signal.
> In HBQT.lib there is no room to implement it like you explained.
> Also Xbp*Parts() do not implement timer class.
> So include above code in your class framework.
>
> OR
>
> Tell me the alternative how you think it should be implemented.
>
> Regards
> Pritpal Bedi
>
>
> --
> View this message in context:
> http://www.nabble.com/HbQt-signal-tp24562700p24564917.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] HbQt signal

2009-07-19 Thread CarozoDeQuilmes
Hi Pritpal, can you add the "timeout()" signal for use the QTimer class.
   oTimer := QTimer():New( QT_PTROF( oWnd ) )
   oTimer:SetInterval( 1000 )
   Qt_Connect_Signal( QT_PTROF( oTimer ) , "timeout()", {|w,l|
oLabelTimer:SetText( "Testing Timer HbQt: " + alltrim( str( seconds() ) ) )
} )
   oTimer:Start()

Thanks in advance
CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] HbQt Class

2009-07-19 Thread CarozoDeQuilmes
Thanks for this grat work  Thanks (again) CdQ

On Sun, Jul 19, 2009 at 6:01 PM, Pritpal Bedi wrote:

>
> Hi
>
>
> CarozoDeQuilmes wrote:
> >
> > Hi Pritpal, can you add the followed Classes to HbQt library ???:
> >
> > QProcess
> > QButtonGroup
> > QGroupBox
> >
>
> Download latest SVN. All are added.
> BTW QGroupBox was already there.
>
> Regards
> Pritpal Bedi
>
> --
> View this message in context:
> http://www.nabble.com/HbQt-Class-tp24557541p24560878.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] HbQt processEvents of QAplication

2009-07-19 Thread CarozoDeQuilmes
Ok, I have checked in QApplication class and I didn't check in
QCoreApplication Sorry by my mistake
Thanks
CdQ

On Sun, Jul 19, 2009 at 6:03 PM, Pritpal Bedi wrote:

>
> Hi
>
>
> CarozoDeQuilmes wrote:
> >
> > Hi Pritpal, can you add the member (method) "processEvents" to
> > QApplication
> > class ???
> >
>
> QApplication is inheriting from QCoreApplication()
> and ProcessEvents() is the member of QCoreApplication(),
> so it must work fine. Did you try ?
>
> Regards
> Pritpal Bedi
>
> --
> View this message in context:
> http://www.nabble.com/HbQt-processEvents-of-QAplication-tp24558382p24560904.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] HbQt processEvents of QAplication

2009-07-19 Thread CarozoDeQuilmes
Hi Pritpal, can you add the member (method) "processEvents" to QApplication
class ???
Thanks in advance

CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] HbQt Class

2009-07-19 Thread CarozoDeQuilmes
Hi Pritpal, can you add the followed Classes to HbQt library ???:

QProcess
QButtonGroup
QGroupBox

Thanks in advance

CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Problem while make Harbour

2009-07-12 Thread CarozoDeQuilmes
Thanks !!!
CdQ

On Sat, Jul 11, 2009 at 11:31 AM, Viktor Szakáts wrote:

> You have to rebuild + install hbqt first.
>
> Brgds,
> Viktor
>
>
> On 2009.07.11., at 3:14, CarozoDeQuilmes wrote:
>
>  Hi, when I try make Harbour with last SVN (11714), I gets the next Warning
>> that stop the build process.
>>
>> E:/BUILD/HarbourMinGW/config/mingw32-make -C hbxbp
>> mingw32-make[2]: Entering directory `E:/BUILD/HarbourMinGW/contrib/hbxbp'
>> mingw32-make[3]: Entering directory
>> `E:/BUILD/HarbourMinGW/contrib/hbxbp/win/mingw'
>> ../../../../source/main/win/mingw/harbour.exe ../../xbpstatic.prg -n1
>> -i../../../../include -q0 -w3 -es2 -kmo -l -gc0  -I../../../../contrib/hbqt
>> ../../xbpstatic.prg(146) Warning W0001  Ambiguous reference 'QFRAME_PANEL'
>> ../../xbpstatic.prg(146) Warning W0001  Ambiguous reference
>> 'QFRAME_RAISED'
>> ../../xbpstatic.prg(154) Warning W0001  Ambiguous reference 'QFRAME_PANEL'
>> ../../xbpstatic.prg(154) Warning W0001  Ambiguous reference
>> 'QFRAME_SUNKEN'
>> ../../xbpstatic.prg(162) Warning W0001  Ambiguous reference 'QFRAME_PANEL'
>> ../../xbpstatic.prg(162) Warning W0001  Ambiguous reference
>> 'QFRAME_RAISED'
>> ../../xbpstatic.prg(169) Warning W0001  Ambiguous reference 'QFRAME_PANEL'
>> ../../xbpstatic.prg(169) Warning W0001  Ambiguous reference
>> 'QFRAME_SUNKEN'
>> ../../xbpstatic.prg(176) Warning W0001  Ambiguous reference 'QFRAME_PANEL'
>> ../../xbpstatic.prg(176) Warning W0001  Ambiguous reference 'QFRAME_PLAIN'
>> ../../xbpstatic.prg(181) Warning W0001  Ambiguous reference 'QFRAME_BOX'
>> ../../xbpstatic.prg(181) Warning W0001  Ambiguous reference 'QFRAME_PLAIN'
>> ../../xbpstatic.prg(198) Warning W0001  Ambiguous reference 'QFRAME_BOX'
>> ../../xbpstatic.prg(198) Warning W0001  Ambiguous reference 'QFRAME_PLAIN'
>> ../../xbpstatic.prg(204) Warning W0001  Ambiguous reference 'QFRAME_HLINE'
>> ../../xbpstatic.prg(204) Warning W0001  Ambiguous reference
>> 'QFRAME_RAISED'
>> ../../xbpstatic.prg(206) Warning W0001  Ambiguous reference 'QFRAME_VLINE'
>> ../../xbpstatic.prg(206) Warning W0001  Ambiguous reference
>> 'QFRAME_RAISED'
>> ../../xbpstatic.prg(215) Warning W0001  Ambiguous reference 'QFRAME_HLINE'
>> ../../xbpstatic.prg(215) Warning W0001  Ambiguous reference
>> 'QFRAME_SUNKEN'
>> ../../xbpstatic.prg(217) Warning W0001  Ambiguous reference 'QFRAME_VLINE'
>> ../../xbpstatic.prg(217) Warning W0001  Ambiguous reference
>> 'QFRAME_SUNKEN'
>> ../../xbpstatic.prg(317) Warning W0001  Ambiguous reference
>> 'QSTYLE_SP_MESSAGEBOXINFORMATION'
>> ../../xbpstatic.prg(320) Warning W0001  Ambiguous reference
>> 'QSTYLE_SP_MESSAGEBOXQUESTION'
>> ../../xbpstatic.prg(323) Warning W0001  Ambiguous reference
>> 'QSTYLE_SP_MESSAGEBOXCRITICAL'
>> ../../xbpstatic.prg(326) Warning W0001  Ambiguous reference
>> 'QSTYLE_SP_MESSAGEBOXWARNING'
>> mingw32-make[3]: Leaving directory
>> `E:/BUILD/HarbourMinGW/contrib/hbxbp/win/mingw'
>> mingw32-make[2]: Leaving directory `E:/BUILD/HarbourMinGW/contrib/hbxbp'
>> mingw32-make[1]: Leaving directory `E:/BUILD/HarbourMinGW/contrib'
>> Harbour GNU Make returned: 2
>> Thanks in advance.
>> CdQ
>> ___
>> Harbour mailing list
>> Harbour@harbour-project.org
>> http://lists.harbour-project.org/mailman/listinfo/harbour
>>
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Problem while make Harbour

2009-07-11 Thread CarozoDeQuilmes
Hi, when I try make Harbour with last SVN (11714), I gets the next Warning
that stop the build process.
E:/BUILD/HarbourMinGW/config/mingw32-make -C hbxbp
mingw32-make[2]: Entering directory `E:/BUILD/HarbourMinGW/contrib/hbxbp'
mingw32-make[3]: Entering directory
`E:/BUILD/HarbourMinGW/contrib/hbxbp/win/mingw'
../../../../source/main/win/mingw/harbour.exe ../../xbpstatic.prg -n1
-i../../../../include -q0 -w3 -es2 -kmo -l -gc0  -I../../../../contrib/hbqt
../../xbpstatic.prg(146) Warning W0001  Ambiguous reference 'QFRAME_PANEL'
../../xbpstatic.prg(146) Warning W0001  Ambiguous reference 'QFRAME_RAISED'
../../xbpstatic.prg(154) Warning W0001  Ambiguous reference 'QFRAME_PANEL'
../../xbpstatic.prg(154) Warning W0001  Ambiguous reference 'QFRAME_SUNKEN'
../../xbpstatic.prg(162) Warning W0001  Ambiguous reference 'QFRAME_PANEL'
../../xbpstatic.prg(162) Warning W0001  Ambiguous reference 'QFRAME_RAISED'
../../xbpstatic.prg(169) Warning W0001  Ambiguous reference 'QFRAME_PANEL'
../../xbpstatic.prg(169) Warning W0001  Ambiguous reference 'QFRAME_SUNKEN'
../../xbpstatic.prg(176) Warning W0001  Ambiguous reference 'QFRAME_PANEL'
../../xbpstatic.prg(176) Warning W0001  Ambiguous reference 'QFRAME_PLAIN'
../../xbpstatic.prg(181) Warning W0001  Ambiguous reference 'QFRAME_BOX'
../../xbpstatic.prg(181) Warning W0001  Ambiguous reference 'QFRAME_PLAIN'
../../xbpstatic.prg(198) Warning W0001  Ambiguous reference 'QFRAME_BOX'
../../xbpstatic.prg(198) Warning W0001  Ambiguous reference 'QFRAME_PLAIN'
../../xbpstatic.prg(204) Warning W0001  Ambiguous reference 'QFRAME_HLINE'
../../xbpstatic.prg(204) Warning W0001  Ambiguous reference 'QFRAME_RAISED'
../../xbpstatic.prg(206) Warning W0001  Ambiguous reference 'QFRAME_VLINE'
../../xbpstatic.prg(206) Warning W0001  Ambiguous reference 'QFRAME_RAISED'
../../xbpstatic.prg(215) Warning W0001  Ambiguous reference 'QFRAME_HLINE'
../../xbpstatic.prg(215) Warning W0001  Ambiguous reference 'QFRAME_SUNKEN'
../../xbpstatic.prg(217) Warning W0001  Ambiguous reference 'QFRAME_VLINE'
../../xbpstatic.prg(217) Warning W0001  Ambiguous reference 'QFRAME_SUNKEN'
../../xbpstatic.prg(317) Warning W0001  Ambiguous reference
'QSTYLE_SP_MESSAGEBOXINFORMATION'
../../xbpstatic.prg(320) Warning W0001  Ambiguous reference
'QSTYLE_SP_MESSAGEBOXQUESTION'
../../xbpstatic.prg(323) Warning W0001  Ambiguous reference
'QSTYLE_SP_MESSAGEBOXCRITICAL'
../../xbpstatic.prg(326) Warning W0001  Ambiguous reference
'QSTYLE_SP_MESSAGEBOXWARNING'
mingw32-make[3]: Leaving directory
`E:/BUILD/HarbourMinGW/contrib/hbxbp/win/mingw'
mingw32-make[2]: Leaving directory `E:/BUILD/HarbourMinGW/contrib/hbxbp'
mingw32-make[1]: Leaving directory `E:/BUILD/HarbourMinGW/contrib'
Harbour GNU Make returned: 2

Thanks in advance.
CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] SF.net SVN: harbour-project:[11610] trunk/harbour

2009-07-02 Thread CarozoDeQuilmes
Hi Pritpal, for example, in my case, I'm silent because can't write very
good in english, but I read all about hbqt and xbp.

Great work

Thanks and regards
CdQ

On Thu, Jul 2, 2009 at 5:25 PM, Pritpal Bedi wrote:

>
> Hello Angel
>
> Angel Pais wrote:
> >
> > Just a word to encourage you...
> > You are hitting this right in the head, your work will have consecuences
> > for many years to come.
> > Without an 'oficial' multiplattform gui, harbour will never reach the
> > place it deserves as a fantastics either productive business development
> > tool.
> >
>
> Sometimes, one need such words to get energized for next days.
> Thanks that you felt this need. Mostly group is silent on the subject,
> anyway, hardly it matters...
>
> BTW it is you who floated this idea.
>
>
>
> > Many, many thanks to you Pritpal
> >
>
> :-))
>
>
>
> > PD: In my humble oppinion, add as many extentions as you like, I assume
> > nobody will ever want 2 way compatibility xbase++ <> harbour
> >
>
> You are right. I was seeking group's consensus.
> I just want to be sure that existing Xbase++ code should be portable
> to Harbour. I am not thinking of other way around.
>
> Regards
> Pritpal Bedi
>
>
> --
> View this message in context:
> http://www.nabble.com/SF.net-SVN%3A-harbour-project%3A-11610--trunk-harbour-tp24309879p24313454.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] HbQt, Harbour and MT

2009-06-26 Thread CarozoDeQuilmes
Hi guys, sorry by my bad english.

I have a little question about HbQt and Harbour in MT mode...

The question is: when I start a new thread and I redefine an existing PUBLIC
var, in diferents places of my seconds thread, I have diferents values.

Look at sample for ilustrate the problem (this haven't my real aplication
but have the same problem)

INIT PROCEDURE Qt_Start()
 qt_qapplication()
 *myInitThread( "MainThread" )*
RETURN

EXIT PROCEDURE Qt_End()
 qt_qapplication_exec()
RETURN

/*--*/

Procedure Main ()

Local oWindow
Local oButton

oWindow := QMainWindow():New()
oWindow:Resize(320, 240)
oWindow:Move( 250 , 250 )
oWindow:SetWindowTitle("Testing class QEventLoop")

oButton := QPushButton():New(oWindow:pPtr)
oButton:SetText("New Thread")
oButton:Resize(80, 30)
oButton:Move((320-80)/2, (240-30)/2)
oButton:Show()
Qt_Connect_Signal( oButton:pPtr , "clicked()", {|| hb_threadStart( {|| *
myInitThread*("Thread"+alltrim(str(int(seconds() , NewWindow() } ) } )

oWindow:Show()

Return

Function NewWindow ()

Local oWindow
Local oEventLoop
Local oButton
Local oButton2
Static n := 0

++n

oWindow := QMainWindow():New()
oWindow:Resize(320, 240)
oWindow:SetWindowTitle("Window "+str(n,2)+" myThread: "+*
my_public_thread*)   // here is OK

oEventLoop := QEventLoop():New(oWindow:pPtr)

oButton := QPushButton():New(oWindow:pPtr)
oButton:SetText("Close")
oButton:Resize(80, 30)
oButton:Move( 50 , 10 )
oButton:Show()
Qt_Connect_Signal( oButton:pPtr , "clicked()", {|| oWindow:close() ,
oEventLoop:exit(0) } )

oButton2 := QPushButton():New(oWindow:pPtr)
oButton2:SetText("View Public var")
oButton2:Resize(80, 30)
oButton2:Move( 50 , 45 )
oButton2:Show()
Qt_Connect_Signal( oButton2:pPtr , "clicked()", {|| MsgInfo( "myThread:
" + *my_public_thread* ) } )   // here isn't OK

oWindow:Show()

oEventLoop:exec(0)

Return nil

FUNCTION MsgInfo( cMsg )
   LOCAL oMB
   oMB := QMessageBox():new()
   oMB:SetInformativeText( cMsg )
   oMB:SetWindowTitle( "Harbour-QT" )
   oMB:Show()
RETURN nil

#ifdef __PLATFORM__WINDOWS
PROCEDURE hb_GtSys()
   HB_GT_GUI_DEFAULT()
   RETURN
#endif

*Function myInitThread( cThreadName )*
   PUBLIC *my_public_thread* := cThreadName
Return .T.


Sequence:

- Start Program
- at INIT PROC I call the function myInitThread for init the PUBLIC var
called my_public_thread with "MainThread" value
- in main window, I press the button New Thread and it start a new thread
with a new window, but before call the new window, it call again the
function myInitThread (the same that was called from INIT PROC)
In this function, there is a new PUBLIC declaration of var my_public_Thread
with a value like "Thread28789" (where 28789 is the seconds() time)
- In the title of new window i can see the CORRECT value for my Public var
(declared into second thread)
- The probem: when I press the botton View Public Var, var my_public_thread
displayed is the MainThread container instead of the var declared in the
second thread.

Note: you can compile this sample with:

..HarbourMinGW\bin>hbmk2 *thisSample* ..\contrib\hbqt\hbqt.hbc -mt
-Ld:\qt\qt\lib

Any comments ?

Thanks in advance

CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Error building HbQt

2009-06-25 Thread CarozoDeQuilmes
Hi Priptal, after download the last SVN (revision 11527), I can't build hbqt
library

d:\qt\qt\include/QtGui/../../src/gui/text/qtextformat.h:349: warning:
'QDataStre
am& operator>>(QDataStream&, QTextFormat&)' redeclared without dllimport
attribu
te: previous dllimport ignored
In file included from d:\qt\qt\include/QtGui/qkeysequence.h:1,
 from
d:\qt\qt\include/QtGui/../../src/gui/kernel/qwidget.h:56,
 from d:\qt\qt\include/QtGui/qwidget.h:1,
 from d:\qt\qt\include/QtGui/QWidget:1,
 from ../../hbqt.h:337,
 from ../../hbqt_qftp.cpp:56:
d:\qt\qt\include/QtGui/../../src/gui/kernel/qkeysequence.h:199: warning:
'QDataStream& operator<<(QDataStream&, const QKeySequence&)' redeclared
without dllimport attribute: previous dllimport ignored
d:\qt\qt\include/QtGui/../../src/gui/kernel/qkeysequence.h:200: warning:
'QDataStream& operator>>(QDataStream&, QKeySequence&)' redeclared without
dllimport attribute: previous dllimport ignored
../../hbqt_qftp.cpp: In function 'void HB_FUN_QT_QFTP_READ()':
*../../hbqt_qftp.cpp:224: error: invalid conversion from 'const char*' to
'char*'*
../../hbqt_qftp.cpp:224: error:   initializing argument 1 of 'qint64
QFtp::read(char*, qint64)'
mingw32-make[3]: *** [hbqt_qftp.o] Error 1
mingw32-make[3]: Leaving directory
`D:/BUILD/HarbourMinGW/contrib/hbqt/win/mingw'
mingw32-make[2]: *** [descend] Error 2
mingw32-make[2]: Leaving directory `D:/BUILD/HarbourMinGW/contrib/hbqt'
mingw32-make[1]: *** [hbqt] Error 2
mingw32-make[1]: Leaving directory `D:/BUILD/HarbourMinGW/contrib'
mingw32-make: *** [contrib] Error 2
GNU Make returned: 2

Thanks in advance
CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] SF.net SVN: harbour-project:[11242] trunk/harbour

2009-06-06 Thread CarozoDeQuilmes
Hi Viktor, two week ago, I was sent a little sample code for a grid and
Pritpal had added it to demoqt.prg (included in test folder of hbqt library
contrib). I think that Pritpal is going to add the news code samples to
demoqt also. Sorry, but my english is very poor ! Regards CdQ

On Sat, Jun 6, 2009 at 7:49 PM, Viktor Szakáts  wrote:

> Hi Carozo,
>
> Very good, I saw them. Can you create compilable .prg(s) and send it as
> attachment? I'd like to upload them to the SVN.
>
> Brgds,
> Viktor
>
> On Sun, Jun 7, 2009 at 12:32 AM,
> CarozoDeQuilmes wrote:
> > Hi Viktor, I'm sharing samples code in others mails.
> > Regards
> > CdQ
> >
> > On Sat, Jun 6, 2009 at 11:37 AM, Szakáts Viktor 
> > wrote:
> >>>
> >>> Viktor Szakáts wrote:
> >>>>
> >>>> Great!
> >>>>
> >>>> What is now our coverage of all QT classes?
> >>>>
> >>>
> >>> QT has 650+ classes.
> >>
> >> Impressive amount.
> >>
> >>> But I am picking by virtue of usage in Harbour context.
> >>> Ultimately I would like to have every class but to begin with
> >>> only selected one. Right now we have all those classes which
> >>> are needed for user-interface point of view.
> >>
> >> Sounds good. Probably we should somehow split them
> >> to multiple libs eventually (pbly following QT lib
> >> structure) to allow more fine grained build control
> >> if you continue to add the rest of the classes. But
> >> we can do this later.
> >>
> >> Current hbqt is almost 10MB with MSVC 2010.
> >>
> >> Would be great to have some sort of demo app for
> >> all these classes, like a 'grid', some dialogs.
> >> Anybody has such code yet to share?
> >>
> >> Brgds,
> >> Viktor
> >>
> >> ___
> >> Harbour mailing list
> >> Harbour@harbour-project.org
> >> http://lists.harbour-project.org/mailman/listinfo/harbour
> >
> >
> >
> > --
> > QAC (I want something comfortable !!!) - Incremental Compilation with all
> > MiniGUIs versions
> > QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
> > versiones de MiniGUI
> >
> > Download: www.CarozoDeQuilmes.com.ar
> >
> > ___
> > Harbour mailing list
> > Harbour@harbour-project.org
> > http://lists.harbour-project.org/mailman/listinfo/harbour
> >
> >
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] SF.net SVN: harbour-project:[11242] trunk/harbour

2009-06-06 Thread CarozoDeQuilmes
Hi Viktor, I'm sharing samples code in others mails.
Regards
CdQ

On Sat, Jun 6, 2009 at 11:37 AM, Szakáts Viktor wrote:

> Viktor Szakáts wrote:
>>
>>>
>>> Great!
>>>
>>> What is now our coverage of all QT classes?
>>>
>>>
>> QT has 650+ classes.
>>
>
> Impressive amount.
>
>  But I am picking by virtue of usage in Harbour context.
>> Ultimately I would like to have every class but to begin with
>> only selected one. Right now we have all those classes which
>> are needed for user-interface point of view.
>>
>
> Sounds good. Probably we should somehow split them
> to multiple libs eventually (pbly following QT lib
> structure) to allow more fine grained build control
> if you continue to add the rest of the classes. But
> we can do this later.
>
> Current hbqt is almost 10MB with MSVC 2010.
>
> Would be great to have some sort of demo app for
> all these classes, like a 'grid', some dialogs.
> Anybody has such code yet to share?
>
> Brgds,
> Viktor
>
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] HbQt: Control Source Contrib (Tab)

2009-06-06 Thread CarozoDeQuilmes
Control TAB
   oTabBar := QTabBar():New( QT_PTROF( oWnd ) )
   oTabBar:AddTab( "Page 1" )
   oTabBar:SetTabToolTip( 1 , "tooltip Page 1" )
   oTabBar:AddTab( "Page 2" )
   oTabBar:SetTabToolTip( 2 , "tooltip Page 2" )
   oTabBar:SetDrawBase( .T. )
   oTabBar:Move( 370 , 150 )
   oTabBar:ReSize( 200 ,45 )
   oTabBar:Show()

CdQ
-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] HbQt: Control Source Contrib (ProgressBar)

2009-06-06 Thread CarozoDeQuilmes
ProgressBar

   oProgressBar := QProgressBar():New( QT_PTROF( oWnd ) )
   oProgressBar:SetRange( 1, 1500 )
   oProgressBar:Setvalue( 500 )
   oProgressBar:Move( 50  , 200 )
   oProgressBar:ReSize( 200 , 30 )
   oProgressBar:Show()

CdQ
-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] HbQt: Control Source Contrib (CheckBox)

2009-06-06 Thread CarozoDeQuilmes
CheckBox
   oCheckBox := QCheckBox():New( QT_PTROF( oWnd ) )
   oCheckBox:SetText( "Testing CheckBox HbQt" )
   oCheckBox:Move( 50 ,150 )
   oCheckBox:ReSize( 200,30 )
   oCheckBox:Show()

CdQ

-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] HbQt: Control Source Contrib (Label)

2009-06-06 Thread CarozoDeQuilmes
Label with rich Text
   oLabel := QLabel():New( QT_PTROF( oWnd ) )
   oLabel:SetTextFormat(1)  //0 text plain  1 RichText
   oLabel:SetText( "Testing Label in
HbQt" )
   oLabel:ReSize( 300,30 )
   oLabel:Move( 50 , 50 )
   oLabel:Show()

Regards
CdQ

-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Work with HBQT

2009-06-06 Thread CarozoDeQuilmes
Hi Rossine
I compile my programs with this bat:

del log.txt

set HARBOURDIR=d:\buildok\harbourmingw
set MINGWDIR=d:\build\mingw
set QTDIR=d:\qt\qt

:: prg -> c
%HARBOURDIR%\bin\harbour.exe -n -w -I..\include -I%HARBOURDIR%/include
%1.prg >> log.txt

:: c -> o
%MINGWDIR%\bin\g++ -c -O2 -frtti -fexceptions -mthreads -Wall -mwindows
-mno-cygwin -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I%QTDIR%\include\QtCore
-I%QTDIR%\include\QtGui -I%QTDIR%\include -I%QTDIR%\include\ActiveQt -I.
-I%QTDIR%\mkspecs\win32-g++ -I%HARBOURDIR%\include -o %1.o %1.c >> log.txt

:: o -> exe
%MINGWDIR%\bin\g++ -enable-stdcall-fixup -Wl,-enable-auto-import
-Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows
-mwindows -mno-cygwin -o %1.exe %1.o -L..\lib -L%HARBOURDIR%\lib\win\mingw
-L%QTDIR%\lib -Wl,--start-group -lhbqt -lmingw32 -lQtGui4 -lQtCore4
-lQtWebKit4 -lhbdebug -lhbvm -lhbrtl -lhbrdd -lhbmacro -lhbpp -lhblang
-lhbcpage -lhbcommon -lrddntx -lrddcdx -lrddfpt -lhbsix -lhbhsx -lgtwin
-lgtgui -Wl,--end-group >> log.txt

Regards
CdQ


On Sat, Jun 6, 2009 at 9:14 AM, Rossine  wrote:

>
> Hello,
>
> What must install to test the examples in the HBQT windows ?
>
> Best Regards,
>
> Rossine.
>
> --
> View this message in context:
> http://www.nabble.com/Work-with-HBQT-tp23901290p23901290.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Work with HBQT

2009-06-06 Thread CarozoDeQuilmes
Hi Massimo, how I build my program with static version instead of the
dynamic version???. When I compile my program with QT widgets, by default it
make my program with dynamic access to QT functions Thanks CdQ

On Sat, Jun 6, 2009 at 11:47 AM, Massimo Belgrano wrote:

> yoy can use unified windows binary distribution (From Viktor)
> http://www.syenar.hu/harbour/harbour-11-win-20090602.exe
> or if you compile harbour from source you can
> download qt sdk http://www.qtsoftware.com/downloads
> add to yor batch for compiling harbour
> SET HB_INC_QT=c:\devl\Qt\2009.02\qt/\nclude
> then you need qt runtime dll (if you have not build static version of
> library)
> (qtcore4.dll,qtgui4.dll, ecc)
>
>
> 2009/6/6 Rossine 
>
>
>> Hello,
>>
>> What must install to test the examples in the HBQT windows ?
>>
>> Best Regards,
>>
>> Rossine.
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Work-with-HBQT-tp23901290p23901290.html
>> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>>
>> ___
>> Harbour mailing list
>> Harbour@harbour-project.org
>> http://lists.harbour-project.org/mailman/listinfo/harbour
>>
>
>
>
> --
> Massimo Belgrano
>
>
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
>


-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] SF.net SVN: harbour-project:[11237] trunk/harbour

2009-06-05 Thread CarozoDeQuilmes
Hi Pritpal, many thanks for this great work !!!

Regards
CdQ

On Fri, Jun 5, 2009 at 10:55 PM,  wrote:

> Revision: 11237
>
> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11237&view=rev
> Author:   vouchcac
> Date: 2009-06-06 01:55:40 + (Sat, 06 Jun 2009)
>
> Log Message:
> ---
> 2009-06-05 18:46 UTC-0800 Pritpal Bedi (prit...@vouchcac.com)
>  * harbour/contrib/hbqt/Makefile_gen
>
>  + harbour/contrib/hbqt/hbqt_qcolor.cpp
>  + harbour/contrib/hbqt/hbqt_qconicalgradient.cpp
>  + harbour/contrib/hbqt/hbqt_qgradient.cpp
>  + harbour/contrib/hbqt/hbqt_qimage.cpp
>  + harbour/contrib/hbqt/hbqt_qimagereader.cpp
>  + harbour/contrib/hbqt/hbqt_qimagewriter.cpp
>  + harbour/contrib/hbqt/hbqt_qline.cpp
>  + harbour/contrib/hbqt/hbqt_qlineargradient.cpp
>  + harbour/contrib/hbqt/hbqt_qpalette.cpp
>  + harbour/contrib/hbqt/hbqt_qpicture.cpp
>  + harbour/contrib/hbqt/hbqt_qradialgradient.cpp
>  + harbour/contrib/hbqt/hbqt_qresource.cpp
>  + harbour/contrib/hbqt/hbqt_qsizepolicy.cpp
>  + harbour/contrib/hbqt/hbqt_qsound.cpp
>  + harbour/contrib/hbqt/hbqt_qstandarditem.cpp
>  + harbour/contrib/hbqt/hbqt_qstandarditemmodel.cpp
>
>  * harbour/contrib/hbqt/hbqt.h
>
>  * harbour/contrib/hbqt/generator/hbqtgen.prg
>
>  + harbour/contrib/hbqt/TQColor.prg
>  + harbour/contrib/hbqt/TQConicalGradient.prg
>  + harbour/contrib/hbqt/TQGradient.prg
>  + harbour/contrib/hbqt/TQImage.prg
>  + harbour/contrib/hbqt/TQImageReader.prg
>  + harbour/contrib/hbqt/TQImageWriter.prg
>  + harbour/contrib/hbqt/TQLine.prg
>  + harbour/contrib/hbqt/TQLinearGradient.prg
>  + harbour/contrib/hbqt/TQPalette.prg
>  + harbour/contrib/hbqt/TQPicture.prg
>  + harbour/contrib/hbqt/TQRadialGradient.prg
>  + harbour/contrib/hbqt/TQResource.prg
>  + harbour/contrib/hbqt/TQSizePolicy.prg
>  + harbour/contrib/hbqt/TQSound.prg
>  + harbour/contrib/hbqt/TQStandardItem.prg
>  + harbour/contrib/hbqt/TQStandardItemModel.prg
>
>  * harbour/contrib/hbqt/qth/QColor.qth
>  + harbour/contrib/hbqt/qth/QConicalGradient.qth
>  + harbour/contrib/hbqt/qth/QGradient.qth
>  + harbour/contrib/hbqt/qth/QImage.qth
>  + harbour/contrib/hbqt/qth/QImageReader.qth
>  + harbour/contrib/hbqt/qth/QImageWriter.qth
>  + harbour/contrib/hbqt/qth/QLine.qth
>  + harbour/contrib/hbqt/qth/QLinearGradient.qth
>  + harbour/contrib/hbqt/qth/QPalette.qth
>  + harbour/contrib/hbqt/qth/QPicture.qth
>  + harbour/contrib/hbqt/qth/QRadialGradient.qth
>  + harbour/contrib/hbqt/qth/QResource.qth
>  + harbour/contrib/hbqt/qth/QSizePolicy.qth
>  + harbour/contrib/hbqt/qth/QSound.qth
>  + harbour/contrib/hbqt/qth/QStandardItem.qth
>  + harbour/contrib/hbqt/qth/QStandardItemModel.qth
>
>  * harbour/contrib/hbqt/generator/qt45.qtp
>
>+ Added few new classes. With this commit number of classes
>  have reached 153.
>
> Modified Paths:
> --
>trunk/harbour/ChangeLog
>trunk/harbour/contrib/hbqt/Makefile_gen
>trunk/harbour/contrib/hbqt/generator/hbqtgen.prg
>trunk/harbour/contrib/hbqt/generator/qt45.qtp
>trunk/harbour/contrib/hbqt/hbqt.h
>trunk/harbour/contrib/hbqt/hbqt_qcolor.cpp
>trunk/harbour/contrib/hbqt/qth/QColor.qth
>
> Added Paths:
> ---
>trunk/harbour/contrib/hbqt/TQColor.prg
>trunk/harbour/contrib/hbqt/TQConicalGradient.prg
>trunk/harbour/contrib/hbqt/TQGradient.prg
>trunk/harbour/contrib/hbqt/TQImage.prg
>trunk/harbour/contrib/hbqt/TQImageReader.prg
>trunk/harbour/contrib/hbqt/TQImageWriter.prg
>trunk/harbour/contrib/hbqt/TQLine.prg
>trunk/harbour/contrib/hbqt/TQLinearGradient.prg
>trunk/harbour/contrib/hbqt/TQPalette.prg
>trunk/harbour/contrib/hbqt/TQPicture.prg
>trunk/harbour/contrib/hbqt/TQRadialGradient.prg
>trunk/harbour/contrib/hbqt/TQResource.prg
>trunk/harbour/contrib/hbqt/TQSizePolicy.prg
>trunk/harbour/contrib/hbqt/TQSound.prg
>trunk/harbour/contrib/hbqt/TQStandardItem.prg
>trunk/harbour/contrib/hbqt/TQStandardItemModel.prg
>trunk/harbour/contrib/hbqt/hbqt_qconicalgradient.cpp
>trunk/harbour/contrib/hbqt/hbqt_qgradient.cpp
>trunk/harbour/contrib/hbqt/hbqt_qimage.cpp
>trunk/harbour/contrib/hbqt/hbqt_qimagereader.cpp
>trunk/harbour/contrib/hbqt/hbqt_qimagewriter.cpp
>trunk/harbour/contrib/hbqt/hbqt_qline.cpp
>trunk/harbour/contrib/hbqt/hbqt_qlineargradient.cpp
>trunk/harbour/contrib/hbqt/hbqt_qpalette.cpp
>trunk/harbour/contrib/hbqt/hbqt_qpicture.cpp
>trunk/harbour/contrib/hbqt/hbqt_qradialgradient.cpp
>trunk/harbour/contrib/hbqt/hbqt_qresource.cpp
>trunk/harbour/contrib/hbqt/hbqt_qsizepolicy.cpp
>trunk/harbour/contrib/hbqt/hbqt_qsound.cpp
>trunk/harbour/contrib/hbqt/hbqt_qstandarditem.cpp
>trunk/harbour/contrib/hbqt/hbqt_qstandarditemmodel.cpp
>trunk/harbour/contrib/hbqt/qth/QConicalGradient.qth
>trunk/harbour/contrib/hbqt/qth/QGradient.qth
>trunk/harbour/contrib/hbqt/qth/QImage.qth
>trunk/harbour/contrib/hbqt/qth/QImageReader.qth
>trunk/harbour/contrib/hbqt/qth/QIm

Re: [Harbour] SF.net SVN: harbour-project:[11205] trunk/harbour

2009-06-04 Thread CarozoDeQuilmes
Hi, you are right !

Adding the "setStyle" method for background color it works fine now

Thanks and Regards
CdQ

On Thu, Jun 4, 2009 at 10:25 PM, Pritpal Bedi wrote:

>
> Hi
>
>
> CarozoDeQuilmes wrote:
> >
> > It works fine for Foreground GridItem but it don't works for Background
> > GridItem.
> >
> >oGridItem0x0:setBackground( oBrushBackItem0x0:pPtr )
> >oGridItem0x0:setForeground( oBrushForeItem0x0:pPtr )
> >
>
> Theoretically if foreground color works then, because syntax for background
> color is same, it must work. May be you need to explore more in QT
> documentation how a background color can be set.
>
> I have just developd the engine and yet to start some appln development
> so cannot reply to such questions.
>
> Marcos ? Xavi ?
>
> Regards
> Pritpal Bedi
>
> PS the code you have as above I will include in demoqt in next commit.
>If you have some other widgets working send to the list.
>
> --
> View this message in context:
> http://www.nabble.com/SF.net-SVN%3A-harbour-project%3A-11205--trunk-harbour-tp23864524p23880740.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] SF.net SVN: harbour-project:[11205] trunk/harbour

2009-06-04 Thread CarozoDeQuilmes
Hi Pritpal !!! many thanks for this class.

It works fine for Foreground GridItem but it don't works for Background
GridItem.

Look this little sample:

   oGrid := QTableWidget():new( QT_PTROF( oWnd ) )
   oGrid:setRowCount( 2 )
   oGrid:setColumnCount( 4 )
   //
   oBrushBackItem0x0 := QBrush():new()
   oBrushBackItem0x0:setColor_1( 10 ) //
http://doc.qtsoftware.com/4.5/qt.html#GlobalColor-enum
   //
   oBrushForeItem0x0 := QBrush():new()
   oBrushForeItem0x0:setColor_1( 7 )
   //
   oGridItem0x0 := QTableWidgetItem():new()
   oGridItem0x0:setBackground( oBrushBackItem0x0:pPtr )
   oGridItem0x0:setForeground( oBrushForeItem0x0:pPtr )
   oGridItem0x0:setText( "Item 0x0" )
   //
   oGrid:setItem( 0 , 0 , oGridItem0x0:pPtr )
   //
   oGrid:Move( 30 , 30 )
   oGrid:ReSize( 550 , 200 )
   //
   oGrid:Show()

Thanks and regards
CdQ

On Thu, Jun 4, 2009 at 3:35 AM,  wrote:

> Revision: 11205
>
> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11205&view=rev
> Author:   vouchcac
> Date: 2009-06-04 06:35:23 + (Thu, 04 Jun 2009)
>
> Log Message:
> ---
> 2009-06-03 23:29 UTC-0800 Pritpal Bedi (prit...@vouchcac.com)
>  * harbour/contrib/hbqt/Makefile_gen
>  * harbour/contrib/hbqt/qth/QBrush.qth
>  * harbour/contrib/hbqt/TQBrush.prg
>+ Added QBrush class.
>
> Modified Paths:
> --
>trunk/harbour/ChangeLog
>trunk/harbour/contrib/hbqt/Makefile_gen
>trunk/harbour/contrib/hbqt/qth/QBrush.qth
>
> Added Paths:
> ---
>trunk/harbour/contrib/hbqt/TQBrush.prg
>
>
> This was sent by the SourceForge.net collaborative development platform,
> the world's largest Open Source development site.
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: RE:[Harbour] Set Color Foreground and Background in TQLabel and others ?

2009-06-03 Thread CarozoDeQuilmes
No Problem could you complete the Brush class?
I need add color font to GridWidgetItem: setForeground( pBrush )

Thanks and Regards
CdQ

On Wed, Jun 3, 2009 at 6:32 PM, Pritpal Bedi wrote:

>
> Hi
>
>
> CarozoDeQuilmes wrote:
> >
> > Hi, Pritpal, any news about this ???
> >
>
> Last weekend hbmk2 was broken so I could not push anythiing new.
>
> This weekend for sure.
>
> Regards
> Pritpal Bedi
>
> --
> View this message in context:
> http://www.nabble.com/RE%3ASet-Color-Foreground-and-Background-in-TQLabel-and--others---tp23745988p23859822.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: RE:[Harbour] Set Color Foreground and Background in TQLabel and others ?

2009-06-03 Thread CarozoDeQuilmes
Hi, Pritpal, any news about this ???

Thanks
CdQ



On Wed, May 27, 2009 at 2:03 PM, Pritpal Bedi wrote:

>
> Hello Bruno
>
>
> Bruno Luciani wrote:
> >
> > But in QT Exist 2 classes that I don' t find in HBQT
> >
> > Qcolor and QPalette  that controls colors in the majority of controls
> >
> > In another problem , how I can implement this pointer list in harbour
> >
> > list << "Header1" << "Header2" << "header3"
> >
> > This is used in C  and QT to fill the headers of QtableWidget  ( Grid )
> >
> > oGrid:setHorizontalHeaderLabels( list )
> >
>
> This weekend I will implement few more classes.
> I have included QColor, QPallette, QList on my to-do.
> Tell me if you need any other class which is skipping my mind.
>
> Regards
> Pritpal Bedi
>
> --
> View this message in context:
> http://www.nabble.com/RE%3ASet-Color-Foreground-and-Background-in-TQLabel-and--others---tp23745988p23746677.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Basic question

2009-06-03 Thread CarozoDeQuilmes
Ok, thanks !!!

CdQ

On Wed, Jun 3, 2009 at 3:08 PM, Pritpal Bedi wrote:

>
> Hi
>
>
> CarozoDeQuilmes wrote:
> >
> > Hi Pritpal, thanks, it run fine for me ! but.. (always have a but
> > ;-))  how create an object from pointer to object ???
> >
> > Sample:
> >
> > Local oDesktop , pRect , oRect
> > oDesktop := QDesktopWidget():new()
> > pRect:= oDesktop:screenGeometry( -1 )
> >
> > pRect   --->oRect
> >
>
> I have not yet worked on this concept.
>
> Regards
> Pritpal Bedi
>
>
> --
> View this message in context:
> http://www.nabble.com/Basic-question-tp23844558p23856351.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Basic question

2009-06-03 Thread CarozoDeQuilmes
Hi Pritpal, thanks, it run fine for me ! but.. (always have a but
;-))  how create an object from pointer to object ???

Sample:

Local oDesktop , pRect , oRect
oDesktop := QDesktopWidget():new()
pRect:= oDesktop:screenGeometry( -1 )

pRect   --->oRect

Thanks and regards
CdQ



On Wed, Jun 3, 2009 at 12:30 AM, Pritpal Bedi wrote:

>
> Hi
>
>
> CarozoDeQuilmes wrote:
> >
> > The screenGeometry() method of class QDesktopWidget return a pointer
> value
> > to an QRect object
> >
> > Question: how I call the method width() from QRect object (I have only a
> > pointer to QRect object, I'm not have an QRect object!)
> >
> > Sample:
> >
> > Local oDesktop , pRect , nWidth
> > oDesktop := QDesktopWidget():new()
> > pRect:= oDesktop:screenGeometry( -1 )
> > nWidth   := ???pRect??? width()
> >
>
> You need to create an object from pointer.
> But this is not required in current scenario.
>
> oDesktop := QDesktopWidget():new()
> nWidth := oDesktop:width()
>
> will do.
>
> Regards
> Pritpal Bedi
>
>
> --
> View this message in context:
> http://www.nabble.com/Basic-question-tp23844558p23844768.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Basic question

2009-06-02 Thread CarozoDeQuilmes
Hi, sorry by my bad english!
The screenGeometry() method of class QDesktopWidget return a pointer value
to an QRect object

Question: how I call the method width() from QRect object (I have only a
pointer to QRect object, I'm not have an QRect object!)

Sample:

Local oDesktop , pRect , nWidth
oDesktop := QDesktopWidget():new()
pRect:= oDesktop:screenGeometry( -1 )
nWidth   := ???pRect??? width()

Thanks and regards
CdQ
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] PushButton and QT

2009-05-21 Thread CarozoDeQuilmes
Thanks !!!
CdQ

On Thu, May 21, 2009 at 10:28 PM, Pritpal Bedi wrote:

>
> Hi
>
>
> CarozoDeQuilmes wrote:
> >
> >oWnd := QMainWindow():new()
> >   ..
> >
> >oButton := QPushButton():New( QT_PTROF( oWnd ) )
> >oButton:setText( "Testing PushButton HbQt" )
> >oButton:move( 200,200 )
> >oButton:show()
> >
> >   .
> >oWnd:Show()
> >
> > the PushButton is displayed in a new little Window ignoring the oWnd
> > parameter.
> >
>
> I have found the issue, will fix in a while.
>
> Regards
> Pritpal Bedi
>
> --
> View this message in context:
> http://www.nabble.com/PushButton-and-QT-tp23660562p23663057.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Language OS

2009-05-21 Thread CarozoDeQuilmes
Thanks 
CdQ

On Thu, May 21, 2009 at 8:29 PM, Viktor Szakáts wrote:

> HB_USERLANG()
>
> Brgds,
> Viktor
>
> On Thu, May 21, 2009 at 11:21 PM, CarozoDeQuilmes
>  wrote:
> > Hi, is there any function in Harbour to get the OS language? (english
> > (en-US), portuguese (pt-BR), etc)
> >
> > Thanks and Regards
> > CdQ
> >
> > --
> > QAC (I want something comfortable !!!) - Incremental Compilation with all
> > MiniGUIs versions
> > QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
> > versiones de MiniGUI
> >
> > Download: www.CarozoDeQuilmes.com.ar
> >
> > ___
> > Harbour mailing list
> > Harbour@harbour-project.org
> > http://lists.harbour-project.org/mailman/listinfo/harbour
> >
> >
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Language OS

2009-05-21 Thread CarozoDeQuilmes
Hi, is there any function in Harbour to get the OS language? (english
(en-US), portuguese (pt-BR), etc)

Thanks and Regards
CdQ

-- 
QAC (I want something comfortable !!!) - Incremental Compilation with all
MiniGUIs versions
QAC (Quiero Algo Cómodo !!!) - Compilación Incremental con todas las
versiones de MiniGUI

Download: www.CarozoDeQuilmes.com.ar
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


  1   2   >