hbQT - Post queries in this thread only

Moderator: Rathinagiri

User avatar
Roberto Lopez
HMG Founder
Posts: 3880
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 107 times

Re: hbQT - Post queries in this thread only

Post by Roberto Lopez » Thu Oct 14, 2010 2:02 pm

Roberto Lopez wrote:Pritpal,

I've built Harbour from current binaries and started to do some testing.

I've found a problem with demos using menupopup class..

The error is:
...
And, if you believe that could be useful, I can post some other problems I've found.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
bedipritpal
Posts: 122
Joined: Thu Sep 02, 2010 10:47 pm

Post by bedipritpal » Thu Oct 14, 2010 2:46 pm

Roberto Lopez wrote:
Roberto Lopez wrote:Pritpal,

I've built Harbour from current binaries and started to do some testing.

I've found a problem with demos using menupopup class..

The error is:
...
And, if you believe that could be useful, I can post some other problems I've found.

Wait please.
I am not up that stage yet.
First course is to set the formatting and build standards right.
Then I will turn to linking a demo. It was late night ( almost morning )
I worked on HMG. Today I may get more time. It will take a
while when I reach application levels.

For information: now you have to supply hbQT the correct
number and type of parameters. Earlier it was ok to pass
fewer ones. Now you can detect such occurances by
looking at the TQ*Class.prg itself.
enjoy hbIDEing... Pritpal Bedi

User avatar
Roberto Lopez
HMG Founder
Posts: 3880
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 107 times

Post by Roberto Lopez » Thu Oct 14, 2010 4:05 pm

bedipritpal wrote: Wait please.
I am not up that stage yet.
First course is to set the formatting and build standards right.
Then I will turn to linking a demo. It was late night ( almost morning )
I worked on HMG. Today I may get more time. It will take a
while when I reach application levels.

For information: now you have to supply hbQT the correct
number and type of parameters. Earlier it was ok to pass
fewer ones. Now you can detect such occurances by
looking at the TQ*Class.prg itself.
Ok.

Again, Thanks for your help.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Post by mrduck » Thu Oct 14, 2010 8:17 pm

bedipritpal wrote: Does it mean HMG should never be get ported and stay with outdated version ?
Absolutely not !

I have my private copy of hmg ported to new hbqt...

User avatar
Rathinagiri
Posts: 5105
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 94 times
Been thanked: 107 times
Contact:

Post by Rathinagiri » Fri Mar 04, 2011 10:06 am

Hi Pritpal,

Is "QModelIndexList" class implemented? It will be useful for QTableView to enable multiple row selection.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
bedipritpal
Posts: 122
Joined: Thu Sep 02, 2010 10:47 pm

Post by bedipritpal » Sat Mar 26, 2011 3:22 am

rathinagiri wrote:Hi Pritpal,

Is "QModelIndexList" class implemented? It will be useful for QTableView to enable multiple row selection.
There is no such class in Qt.
I am looking at ways how to simulate this.

Pritpal Bedi

PS: I have downloaded HMG sources after a
cosniderable times and have found that off late
you guys are not keeping well with the formatting
rules I had outlined. Cannot you guys be a little
more disciplined ?
enjoy hbIDEing... Pritpal Bedi

User avatar
concentra
Posts: 256
Joined: Fri Nov 26, 2010 11:31 am
Location: Piracicaba - Brasil

Post by concentra » Mon Mar 28, 2011 8:43 pm

Hi, I had to search for the formatting rules.

Rathinagiri why dont you put a fixed topic , read only, about formatting rules in the "Project Developers' Table" ?
[[]] Mauricio Ventura Faria

User avatar
bedipritpal
Posts: 122
Joined: Thu Sep 02, 2010 10:47 pm

Post by bedipritpal » Sat Jul 09, 2011 6:53 am

Hello Everybody

The latest hbIDE (r16911) tipped for Harbour release 3.0.0.
is available at http://hbide.vouch.info.

There are tons of improvements and feature additions
which is difficult to document in details. Also
http://hbide.vouch.info is rewritten to show up current version.

Please feel free to download and experiment.
It has all the new interface plus many new goodies.

Regards
Pritpal Bedi
enjoy hbIDEing... Pritpal Bedi

Carlos Britos
Posts: 219
Joined: Sat Aug 02, 2008 5:03 pm
Has thanked: 6 times
Been thanked: 2 times

Post by Carlos Britos » Tue Aug 16, 2011 5:44 pm

Hi
I have some doubts about the pointers and I want to know if somebody can help me to understand them.
I thought that the pointers are unique values pointing to unique objects.
Please, check this code and note the repetition of the values.
I want to know if this code return correct values, if I'm doing something wrong or if I have something bad in the installation?
This code is just to see pPtr values.
Thanks in advance.

Code: Select all

FUNCTION main()
   LOCAL x, y, oApp
   oApp := QApplication()

   FOR y := 1 TO 5
      x := QFont()
      Qout( x:pPtr )
      x := NIL
   NEXT
   Qout( '-----' )

   FOR y := 1 TO 5
      x := QCalendarWidget()
      Qout( x:pPtr )
   NEXT
   Qout( '-----' )

   FOR y := 1 TO 5
      x := QSize()
      Qout( x:pPtr )
   NEXT
   Qout( '-----' )

   inkey(0)

   oApp:exec()
   oApp:quit()

   RETURN NIL
The output is:

Code: Select all

0x00C9BFC4
0x00C9BFC4
0x00C9BFC4
0x00C9BFC4
0x00C9BFC4
-----
0x00C9BFC4
0x00CA4774
0x00C9BFC4
0x00CA4774
0x00C9BFC4
-----
0x00CA4774
0x00C9BFC4
0x00CA4774
0x00C9BFC4
0x00CA4774
Regards/Saludos, Carlos (bcd12a)

User avatar
bedipritpal
Posts: 122
Joined: Thu Sep 02, 2010 10:47 pm

Post by bedipritpal » Wed Aug 24, 2011 2:46 pm

Hi

Yes, these are correct values.
Operating system assigns these values so we have no control whatsoever.

BUT

:pPtr is NOT supposed to be touched by the PRG code anyway.
In the future it is scheduled to be PROTECTED instance variable.
enjoy hbIDEing... Pritpal Bedi

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest