hmg-4 Changelog

Moderator: Rathinagiri

User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: hmg-4 Changelog

Post by l3whmg »

Hi to everyone

Code: Select all

2011-08-30 18:50 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
  ! source/basic.prg
    ! fixed some code
    ! start to make PROTECTED data. Inside end program retrieve or assign
      must be done with method. At the same time when you need or assign value
      from a class to another class, you must use method.
      If a class inherits from another you can refer directly to inherited vars
      Please check problem about PROTECTED vars.

  * source/basic.prg
  * source/browse.prg
  * source/button.prg
  * source/checkbox.prg
  * source/combobox.prg
  * source/datepicker.prg
  * source/dialog.prg
  * source/editbox.prg
  * source/frame.prg
  * source/graph.prg
  * source/grid.prg
  * source/hyperlink.prg
  * source/ipaddress.prg
  * source/label.prg
  * source/listbox.prg
  * source/mainmenu.prg
  * source/menupopup.prg
  * source/monthcalendar.prg
  * source/printer.prg
  * source/radiogroup.prg
  * source/spinner.prg
  * source/splitbox.prg
  * source/statusbar.prg
  * source/tab.prg
  * source/tabpage.prg
  * source/textbox.prg
  * source/toolbar.prg
  * source/tree.prg
  * source/widget.prg
  * source/window.prg
    * oFont renam. oQtFont,lBold renam. lFontBold, lItalic renam. lFontItalic,
      lUnderline renam. lFontUnderline, lStrikeOut renam. lFontStrikeout

  * source/control.prg
    - removed lBold because already defined inside BASIC class
I started the introduction of PROTECTED DATA. Please, pay attention to possible problems.

Cheers
Last edited by l3whmg on Tue Aug 30, 2011 10:55 pm, edited 1 time in total.
Luigi from Italy
www.L3W.it
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: hmg-4 Changelog

Post by l3whmg »

Code: Select all

2011-08-30 23:25 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
  * source/control.prg
    + added data cCaption: was removed from basic class
    ! fixed some code

  ; source/windowgroup.prg
    ; dangerous: this source must be rewrited

  * source/basic.prg
    + added method Move( ... )
    + added method Resize( ... )
    + added data cTitle to avoid confusion with cCaption. Now Title use cTitle
    - removed data cCaption and moved inside control class
    + added method IsCreated() ONLY to know ::lCreated value
    ! fixed some code
    ! Make PROTECTED data. Inside end program retrieve or assign
      must be done with method. At the same time when you need or assign value
      from a class to another class, you must use method.
      If a class inherits from another you can refer directly to inherited vars
      Please check problem about PROTECTED vars.
Before proceed with PROTECTED data, I must revisit HMG4 parental method (name and reduce the number) to ensure have a correct environment
Last edited by l3whmg on Tue Aug 30, 2011 10:54 pm, edited 1 time in total.
Luigi from Italy
www.L3W.it
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: hmg-4 Changelog

Post by l3whmg »

Code: Select all

2011-08-31 00:52 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
  ! source/splitbox.prg
    ! fixed problem about PROTECTED data (nHeight => Height)

  ! source/control.prg
  ! source/virtualgrid.prg
  ! source/virtualwindow.prg
  ! source/window.prg
    ! fixed usage of the new methods for parental system management

  * source/hmgapp.prg
  * source/basic.prg
    + added method ChildAdd
    - removed AddData() and __AddItem(), now ChildAdd must be used
    + added method ChildGet
    - removed GetData() and __GetItem(), now ChildGet must be used
    + added method ChildIsDefined
    - removed __IsDefined(), now ChildIsDefined must be used
    + added method ChildItemCount
    - removed __ItemCount(), now ChildItemCount must be used
    + added method ChildItemList
    - removed __ItemList(), now ChildItemList must be used
    + added method ChildRemove
    - removed DelData() and __RemoveItem(), now ChildRemove must be used
    + added method ChildStartHash
    - removed StartHash() and __StartHash(), now ChildStartHash must be used
Luigi from Italy
www.L3W.it
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: hmg-4 Changelog

Post by l3whmg »

Changelog 688 2011-08-31 08:58:06Z

Code: Select all

2011-08-31 10:55 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
  ! source/animatebox.prg
  ! source/browse.prg
  ! source/button.prg
  ! source/buttonbox.prg
  ! source/checkbox.prg
  ! source/checkbutton.prg
  ! source/combobox.prg
  ! source/contextmenu.prg
  ! source/datepicker.prg
  ! source/dial.prg
  ! source/dialog.prg
  ! source/dropdownmenu.prg
  ! source/editbox.prg
  ! source/frame.prg
  ! source/graph.prg
  ! source/grid.prg
  ! source/hyperlink.prg
  ! source/image.prg
  ! source/ipaddress.prg
  ! source/label.prg
  ! source/layout.prg
  ! source/lcd.prg
  ! source/listbox.prg
  ! source/mainmenu.prg
  ! source/media.prg
  ! source/menuitem.prg
  ! source/menupopup.prg
  ! source/monthcalendar.prg
  ! source/notifymenu.prg
  ! source/progressbar.prg
  ! source/radiogroup.prg
  ! source/scrollbar.prg
  ! source/slider.prg
  ! source/spinner.prg
  ! source/splitbox.prg
  ! source/statusbar.prg
  ! source/tab.prg
  ! source/tabpage.prg
  ! source/textbox.prg
  ! source/timer.prg
  ! source/toolbar.prg
  ! source/toolbutton.prg
  ! source/tree.prg
  ! source/virtualgrid.prg
  ! source/widget.prg
    ! fixed usage of the new method QtObject

  ! source/hmgapp.prg
  ! source/basic.prg
    + added method QtObject to retrieve oQtObject. Can be used to assign but
      read carefully notes.
    ! Make PROTECTED data. Inside end program retrieve or assign
      must be done with method. At the same time when you need or assign value
      from a class to another class, you must use method.
      If a class inherits from another you can refer directly to inherited vars
      Please check problem about PROTECTED vars.
Luigi from Italy
www.L3W.it
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: hmg-4 Changelog

Post by l3whmg »

Code: Select all

2011-08-31 14:50 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
  * source/abstractlayer.prg
  * source/control.prg
    * source restyle

  ! source/basic.prg
    + added cToolTip and ToolTip method from control class

  ! source/control.prg
    - removed cToolTip data and Tooltip method. They are moved in basic class
      because ToolTip is a Qt foundamental property; in this way we can set
      ToolTip for a lot of widgets
    ! method flat: removed use of stylesheet: I think it's too difficult manage
      stylesheet; anyway I leaved previous code remarked

  ! source/control.prg
  ! source/tabpage.prg
    ! fixed problem about PROTECTED data (cName => Name)

  ! source/abstractlayer.prg
  ! source/basic.prg
  ! source/control.prg
    ! Make PROTECTED data. Inside end program retrieve or assign
      must be done with method. At the same time when you need or assign value
      from a class to another class, you must use method.
      If a class inherits from another you can refer directly to inherited vars
      Please check problem about PROTECTED vars.
Luigi from Italy
www.L3W.it
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: hmg-4 Changelog

Post by l3whmg »

Code: Select all

2011-08-31 18:20 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
  ; about flat method within control class, I think must be the standard
    code without stylesheet; see checkbutton, button, etc. they are derived
    from control but they have overloaded flat method!

  ! source/button.prg
  ! source/checkbox.prg
  ! source/checkbutton.prg
    ! fixed usage of hbQtgui.ch definitions instead number
    ! fixed usage of hmg.ch definitions instead number

  * source/animatebox.prg
  * source/button.prg
  * source/buttonbox.prg
  * source/checkbox.prg
  * source/checkbutton.prg
  * source/combobox.prg
    * source restyle: a) alphabetic order about data and methods
      b) methods (special way about new and create) before properties
      n.b. moved, copied and pasted the original source code

  ! source/animatebox.prg
  ! source/button.prg
  ! source/buttonbox.prg
  ! source/checkbox.prg
  ! source/checkbutton.prg
  ! source/combobox.prg
    ! Make PROTECTED data. Inside end program retrieve or assign
      must be done with method. At the same time when you need or assign value
      from a class to another class, you must use method.
      If a class inherits from another you can refer direc
tly to inherited vars
Please check problem about PROTECTED vars.
Luigi from Italy
www.L3W.it
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: hmg-4 Changelog

Post by l3whmg »

Hi friends
as you know there is a problem with IMAGE class (see viewtopic.php?f=32&t=2065).
I find a conflict between this class and some methods image (see control.prg) and it seems to be related with Harbour; MrDuck has writed to Harbour mailing list to "know how to".
Anyway, I proceed with my job because it's important to have PROTECTED data and my source update it's not wrong but unfortunately it is affected by the problem described above

Code: Select all

2011-09-01 11:55 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
  ; as I informed the HMG forum, there is a problem about conflict between
    image class and image methods. It seems to be a Harbour problem.
    MrDuck (thanks for help and support) has informed Harbour mailinglist
    to know how to.

  ! samples/grid/demo4.prg
  ! samples/tab/demo1.prg
  ! samples/virtualgrid/demo4.prg
    ! fixed usage of QtObject method instead of oQtObject var

  ! source/contextmenu.prg
  ! source/datepicker.prg
  ! source/editbox.prg
    ! fixed usage of hbQtgui.ch definitions instead number
    ! fixed usage of hmg.ch definitions instead number

  * source/contextmenu.prg
  * source/datepicker.prg
  * source/dial.prg
  * source/dialog.prg
  * source/dropdownmenu.prg
  * source/editbox.prg
  * source/frame.prg
  * source/hyperlink.prg
  * source/image.prg
  * source/ipaddress.prg
  * source/label.prg
    * source restyle: a) alphabetic order about data and methods
      b) methods (special way about new and create) before properties
      n.b. moved, copied and pasted the original source code

  ! source/contextmenu.prg
  ! source/datepicker.prg
  ! source/dial.prg
  ! source/dialog.prg
  ! source/dropdownmenu.prg
  ! source/editbox.prg
  ! source/frame.prg
  ! source/hyperlink.prg
  ! source/image.prg
  ! source/ipaddress.prg
  ! source/label.prg
    ! Make PROTECTED data. Inside end program retrieve or assign
      must be done with method. At the same time when you need or assign value
      from a class to another class, you must use method.
      If a class inherits from another you can refer directly to inherited vars
      Please check problem about PROTECTED vars.
Luigi from Italy
www.L3W.it
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: hmg-4 Changelog

Post by l3whmg »

As you noticed, I went in alphabetical order and I can see the light!

But I left out these sources: Graph.prg, Grid.prg, Misc.prg, Printer.prg e Textbox.prg
Textbox because I know MrDuck have some mod. to commit.
About Graph, Grid and Printer can I proceed?

Code: Select all

2011-09-01 20:40 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
  ! source/image.prg
    ! With previous commit I leaved a debug stop message: removed

  ! source/layout.prg
    ! fixed usage of QtObject method instead of oQtObject var

  * source/layout.prg
  * source/lcd.prg
  * source/listbox.prg
  * source/mainmenu.prg
  * source/media.prg
  * source/menuitme.prg
  * source/menupopup.prg
  * source/monthcalendar.prg
  * source/notifymenu.prg
  * source/progressbar.prg
  * source/radiogroup.prg
  * source/scrollbar.prg
  * source/slider.prg
  * source/spinner.prg
  * source/splitbox.prg
  * source/statusbar.prg
  * source/tab.prg
  * source/tabpage.prg
    * source restyle: a) alphabetic order about data and methods
      b) methods (special way about new and create) before properties
      n.b. moved, copied and pasted the original source code

  ! source/layout.prg
  ! source/lcd.prg
  ! source/listbox.prg
  ! source/media.prg
  ! source/menuitme.prg
  ! source/menupopup.prg
  ! source/monthcalendar.prg
  ! source/notifymenu.prg
  ! source/progressbar.prg
  ! source/radiogroup.prg
  ! source/scrollbar.prg
  ! source/slider.prg
  ! source/spinner.prg
  ! source/splitbox.prg
  ! source/statusbar.prg
  ! source/tab.prg
  ! source/tabpage.prg
  ! source/textbox.prg
    ! Make PROTECTED data. Inside end program retrieve or assign
      must be done with method. At the same time when you need or assign value
      from a class to another class, you must use method.
      If a class inherits from another you can refer directly to inherited vars
      Please check problem about PROTECTED vars.
Luigi from Italy
www.L3W.it
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: hmg-4 Changelog

Post by Rathinagiri »

About Graph, Grid and Printer can I proceed?

Yes please Luigi.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: hmg-4 Changelog

Post by l3whmg »

Hi friends, this is the last (not true) set of sources.
I leaved away Virtualgrid.prg for the same reason in the previous post.
About Window.prg I know MrDuck has do something: for this I have only make PROTECTED data and little changes.

Ok Rathinagiri, I read you.

Code: Select all

2011-09-01 22:55 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
  * source/window.prg
    * remove commented line about oDefaultMenuItem

  ! source/virtualwindow.prg
    ! fixed: RemoveKeyBoardEvent method with SETGET option, but it's wrong
    ! fixed: WindowStateChanged method with SETGET option, but it's wrong
    ; I found the release method connected and used as a slot QT: attention

  ! source/toolbutton.prg
    - removed cToolTip data and ToolTip method because already defined
      within basic class with the same code.

  * source/timer.prg
  * source/toolbar.prg
  * source/toolbutton.prg
  * source/tree.prgs
  * source/virtualwindow.prg
  * source/widget.prg
    * source restyle: a) alphabetic order about data and methods
      b) methods (special way about new and create) before properties
      n.b. moved, copied and pasted the original source code

  ! source/timer.prg
  ! source/toolbar.prg
  ! source/toolbutton.prg
  ! source/tree.prg
  ! source/virtualwindow.prg
  ! source/widget.prg
  ! source/window.prg
    ! Make PROTECTED data. Inside end program retrieve or assign
      must be done with method. At the same time when you need or assign value
      from a class to another class, you must use method.
      If a class inherits from another you can refer directly to inherited vars
      Please check problem about PROTECTED vars.
Luigi from Italy
www.L3W.it
Post Reply