I confirm that deleting this line there is no more cpu loadmrduck wrote:Code: Select all
// Paint event sub-classing FOR graph commands & Onpaint event ::oQTObject:connect( QEvent_Paint , {||Self:DoGraphCommands()} )
Welcome to the Project Developers' Table
Moderator: Rathinagiri
Re: Welcome to the Project Developers' Table
-
- Posts: 245
- Joined: Sat Aug 02, 2008 5:03 pm
Re: Welcome to the Project Developers' Table
Code: Select all
2011-05-21 14:56 UTC-0300 Carlos Britos ( <bcd12a(a_t)yahoo.com.ar> )
* include/hmg.ch
! Removed unused parameter in New(), like New([ <oParent> ]) and New(<"oObj">).
! Minor formatting.
Regards/Saludos, Carlos (bcd12a)
-
- Posts: 245
- Joined: Sat Aug 02, 2008 5:03 pm
Re: Welcome to the Project Developers' Table
Code: Select all
2011-05-21 19:40 UTC-0300 Carlos Britos ( <bcd12a(a_t)yahoo.com.ar> )
* include/hmg.ch
! Changed the duplicate definition of TabStop to:
#xcommand TABSTOP => :TabStop := .T.
* doc/txt/en/hmgsvn.txt
* doc/txt/en/win_define.txt
* doc/txt/en/properties_t2u.txt
* doc/txt/en/animatebox.txt
* doc/txt/en/properties_v2v.txt
* doc/txt/en/datepicker.txt
* doc/txt/en/howtostart.txt
* doc/txt/en/properties_a2b.txt
* doc/txt/en/slider.txt
* doc/txt/en/properties_c2c.txt
* doc/txt/en/scrollbar.txt
* doc/txt/en/progressbar.txt
* doc/txt/en/properties_e2h.txt
* doc/txt/en/properties_i2j.txt
* doc/txt/en/hmgdoc.txt
* doc/txt/en/func_misc.txt
* doc/txt/en/properties_k2n.txt
* doc/txt/en/dial.txt
* doc/txt/en/commands_misc.txt
* doc/txt/en/docbuilder.txt
* doc/txt/en/properties_o2p.txt
* doc/txt/en/getsetprops.txt
* doc/txt/en/properties_q2s.txt
* doc/txt/en/hmgclasses.txt
* doc/txt/en/properties_w2z.txt
* doc/txt/en/spinner.txt
* doc/txt/en/properties_d2d.txt
* doc/txt/en/1st2read.txt
! Updated texts.
Regards/Saludos, Carlos (bcd12a)
- Rathinagiri
- Posts: 5471
- 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
That is great! Thanks a lot Francesco.I think it is not necessary since we are painting on a QPixmap.... Qt takes care of all repainting needs (when the window is covered by another window and the likes)
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.
-
- Posts: 245
- Joined: Sat Aug 02, 2008 5:03 pm
Re: Welcome to the Project Developers' Table
Hi,
In method New in all controls exists:
::oParent:AddData( ::cName , Self )
and in METHOD Name( cValue ) CLASS BASIC exists too.
Should we remove it ? I'm not sure about the scope of this. Someone can check it.
In method New in all controls exists:
::oParent:AddData( ::cName , Self )
and in METHOD Name( cValue ) CLASS BASIC exists too.
Should we remove it ? I'm not sure about the scope of this. Someone can check it.
Regards/Saludos, Carlos (bcd12a)
Re: Welcome to the Project Developers' Table
And plugins are version dependent IE plugins v 4.7 do not work with core dlls v 4.6.mrduck wrote:The problems with images are related to plugins. If plugin is present you can open that kind of images... plugin directory is listed in qt.conf file (or can be specified in the program code)concentra wrote:I downloaded today´s Nightly Harbour and it comes with QT 4.6.3.
This version do not work Ok ! Specially with images. Seems that only PNG images are Ok.
[[]] Mauricio Ventura Faria
Re: Welcome to the Project Developers' Table
For what I could understand, this is used to access the controls in syntax like oWindow.oLabel.Caption .Carlos Britos wrote:Hi,
In method New in all controls exists:
::oParent:AddData( ::cName , Self )
and in METHOD Name( cValue ) CLASS BASIC exists too.
Should we remove it ? I'm not sure about the scope of this. Someone can check it.
The call in the NEW() method adds a generic sequential name assigned to every control.
Code: Select all
::cName := '_HMG_OBJECT_' + AllTrim( Str( Int( ::nObjectCounter ) ) )
Both names can be used to access the object properties, but I do not know if this was intentional or not.
[[]] Mauricio Ventura Faria
Re: Welcome to the Project Developers' Table
Code: Select all
2011-05-23 09:16 UTC-0300 Mauricio Ventura Faria (<conc001 a+t gmail com>)
+ samples/console/demo_1.prg
+ Added demo to show how to mix console and GUI in the same EXE.
In fact, the console part, WVG, is not a real console, is a "pseudo-console" emulated in a graphics environment.
But this work just as a pure console does.
! hmg.hbc
! Include gtwvg.lib in the build process.
[[]] Mauricio Ventura Faria
Re: Welcome to the Project Developers' Table
Hi Mr. Duck.mrduck wrote:I confirm that deleting this line there is no more cpu loadmrduck wrote:Code: Select all
// Paint event sub-classing FOR graph commands & Onpaint event ::oQTObject:connect( QEvent_Paint , {||Self:DoGraphCommands()} )
This seems to be the way to go.
And we also need to remove the ::DoGraphCommands() from the ::bOnPaint() method.
And ::DoGraphCommands() must execute even if the window is not activated yet.
Committed.
Code: Select all
2011-05-23 09:41 UTC-0300 Mauricio Ventura Faria (<conc001 a+t gmail com>)
! source/basic.prg
! source/control.prg
! source/window.prg
! Moved common property :lCreated to basic.
! source/window.prg
! Fixed graph commands hogging the CPU.
[[]] Mauricio Ventura Faria
- Rathinagiri
- Posts: 5471
- 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
That's cool! Thanks man.
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.