I must create new binaries with updated sources with today's changes to HBQT to test it.rathinagiri wrote:Now, can't we have like this?
oAction := QAction():New(oMenu1:addAction_1( "new.png" , "&New" ))
Welcome to the Project Developers' Table
Moderator: Rathinagiri
- Roberto Lopez
- HMG Founder
- Posts: 4023
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Welcome to the Project Developers' Table
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Rathinagiri
- Posts: 5482
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Welcome to the Project Developers' Table
Hi friends,
I have uploaded some basic functionalities of grid control.
Are there anybody working on this control? or Shall I proceed further?
Roberto, please guide me in this regard.
I have uploaded some basic functionalities of grid control.
Are there anybody working on this control? or Shall I proceed further?
Roberto, please guide me in this regard.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Roberto Lopez
- HMG Founder
- Posts: 4023
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Welcome to the Project Developers' Table
Please, go on...rathinagiri wrote:Hi friends,
I have uploaded some basic functionalities of grid control.
Are there anybody working on this control? or Shall I proceed further?
Roberto, please guide me in this regard.
Since Danny has done some research about grid already, he could help you.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Rathinagiri
- Posts: 5482
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Welcome to the Project Developers' Table
Thanks Roberto.
I will proceed and implement some of the properties one by one.
I will proceed and implement some of the properties one by one.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- dhaine_adp
- Posts: 457
- Joined: Wed Aug 06, 2008 12:22 pm
- Location: Manila, Philippines
Re: Welcome to the Project Developers' Table
Hi Rathi,I will proceed and implement some of the properties one by one.
Please review this grid Test. Also I attached a modified demo_1.prg and modified hmg.ch. The grid source is also attached. If the grid covers the mainmenu please change the col on demo_1.prg to 30. In my early test it seems that the control class needs to be modified or maybe its corrected already. I think on :X() and :Y()
Perhaps it would help...
Regards,
Danny
- Attachments
-
- Grid-08272010.zip
- (14.12 KiB) Downloaded 154 times
Regards,
Danny
Manila, Philippines
Danny
Manila, Philippines
- dhaine_adp
- Posts: 457
- Joined: Wed Aug 06, 2008 12:22 pm
- Location: Manila, Philippines
Re: Welcome to the Project Developers' Table
Hi All,
Has anyone already found a solution about the QTObject that returns a pointer instead of value? It is also my problem in grid, when I tried to get the value it returns a pointer valtype() = "P". You can see that problem with the grid test on my previous post. I was trying to get the value from two cells but it returns a pointer.
The good thing is that we all learned QT first hand from our great professor Mr. Lopez.
Regards,
Danny
Has anyone already found a solution about the QTObject that returns a pointer instead of value? It is also my problem in grid, when I tried to get the value it returns a pointer valtype() = "P". You can see that problem with the grid test on my previous post. I was trying to get the value from two cells but it returns a pointer.
The good thing is that we all learned QT first hand from our great professor Mr. Lopez.
Regards,
Danny
Regards,
Danny
Manila, Philippines
Danny
Manila, Philippines
- Roberto Lopez
- HMG Founder
- Posts: 4023
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Welcome to the Project Developers' Table
Yes.dhaine_adp wrote:Hi All,
Has anyone already found a solution about the QTObject that returns a pointer instead of value? It is also my problem in grid, when I tried to get the value it returns a pointer valtype() = "P". You can see that problem with the grid test on my previous post. I was trying to get the value from two cells but it returns a pointer.![]()
The good thing is that we all learned QT first hand from our great professor Mr. Lopez.![]()
Regards,
Danny
The sample was provided by HBQT author (Pritpal).
:addaction QMenu method returns a pointer.
This sample creates an object from it using :from method (available for all widgets):
Code: Select all
oMenu1 := QMenu():new()
oMenu1:setTitle( "&File" )
oAct := QAction():from( oMenu1:addAction_1( "new.png" ,
"&New" ) )
oAct:connect( QT_EVE_TRIGGERED_B, {|w,l| FileDialog( "New" , w,
l ) } )
oMenuBar:addMenu( oMenu1 )
oWnd:setMenuBar( oMenuBar )Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Roberto Lopez
- HMG Founder
- Posts: 4023
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Welcome to the Project Developers' Table
Hi Team,
I've commited changes to almost all sources to change to the new way for events and slots in HBQT.
Please, do a clean checkout prior to commit again to avoid collisions.
Thanks.
I've commited changes to almost all sources to change to the new way for events and slots in HBQT.
Please, do a clean checkout prior to commit again to avoid collisions.
Thanks.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Rathinagiri
- Posts: 5482
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Welcome to the Project Developers' Table
So, now, no event installers required. Only calling connect method is enough. That is nice. 
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.