Welcome to the Project Developers' Table
Moderator: Rathinagiri
- 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
I had started working on RadioGroup.
I have uploaded a basic model of RadioGroup. I am struck in the 'options' method. All the options are shown in a single line. I had done as suggested by the QT Docs. Somebody, please help me out.
You can please run the demo_3 in \svn\samples\radiogroup folder.
I have uploaded a basic model of RadioGroup. I am struck in the 'options' method. All the options are shown in a single line. I had done as suggested by the QT Docs. Somebody, please help me out.
You can please run the demo_3 in \svn\samples\radiogroup folder.
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
This was my idea too, but, when researching I'm finding wonderful stuff that can be implemented easily (take a look at new tab control demos).rathinagiri wrote:I always document the missing properties/events/methods I work on a control in TODO.TXT already.
I hardly make any EXTENSIONS to the controls as I rush to implement new controls.
Moreover, some extensions are 'automatically' in place, since they are inherited from control class. We should document those too.
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
Martin,
Los ejemplos de Progressbar no pueden compilarse.
The Progressbar samples can't be compiled.
Los ejemplos de Progressbar no pueden compilarse.
The Progressbar samples can't be compiled.
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
I've fixed and commit the changes.Roberto Lopez wrote:Martin,
Los ejemplos de Progressbar no pueden compilarse.
The Progressbar samples can't be compiled.
You had an outdated build.bat file.
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
I've was about an entire week fighting against main menu because the persistence and scoping thing.rathinagiri wrote:I had started working on RadioGroup.
I have uploaded a basic model of RadioGroup. I am struck in the 'options' method. All the options are shown in a single line. I had done as suggested by the QT Docs. Somebody, please help me out.
You can please run the demo_3 in \svn\samples\radiogroup folder.
According demoqt and guidance that Pritpal got me, I've learned the following:
If an object variable is gone, the QT widget that it holds, will be gone too.
This is the reason because in demo QT there are objects returned as array elements that are never really used. That is done to keep the object 'alive'.
I'm not fully sure, but the problem with radiogroup appears to be the oLayout variable.
If you look at the mainmenu, menupopup, menuitem, tab, tabpage, toolbar and toolbutton classes, you'll see some 'nice' tricks that I've found to overcome this HBQT behavior.
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
Perhaps, the best way will be to create a DATA in the radiogroup class to hold layout object.Roberto Lopez wrote: If you look at the mainmenu, menupopup, menuitem, tab, tabpage, toolbar and toolbutton classes, you'll see some 'nice' tricks that I've found to overcome this HBQT behavior.
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
I've fixed and committed the changes.Roberto Lopez wrote:Perhaps, the best way will be to create a DATA in the radiogroup class to hold layout object.Roberto Lopez wrote: If you look at the mainmenu, menupopup, menuitem, tab, tabpage, toolbar and toolbutton classes, you'll see some 'nice' tricks that I've found to overcome this HBQT behavior.
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 too have thought the same.
I had accidentally done that in Grid control to hold the oHeaderViewObject for effecting the on headclick event. I thought it could be of solving the scoping problem you mentioned.
But didn't try on radiogroup. Thanks for pointing out.
But didn't try on radiogroup. Thanks for pointing out.
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.
Re: Welcome to the Project Developers' Table
Hello,
Till now I cannot solve inputmask problem of textbox control fully. Inputmask (especially for numeric data types) is behaving differently. I can't solve the decimal point problem.
Please help me.
Till now I cannot solve inputmask problem of textbox control fully. Inputmask (especially for numeric data types) is behaving differently. I can't solve the decimal point problem.
Please help me.
With best regards,
Sudip
Sudip
Re: Welcome to the Project Developers' Table
I am now searching for validator 
Not sure where to put
Not sure where to put
Code: Select all
::oQTObject:SetValidator( QValidator():New("^(\d|-)?(\d|,)*\.?\d*$"))With best regards,
Sudip
Sudip