Code: Select all
2011-11-03 16:54 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
! source/grid.prg
! a bug introduced with pevious commit
Moderator: Rathinagiri
Code: Select all
2011-11-03 16:54 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
! source/grid.prg
! a bug introduced with pevious commit
Still missing the changes on Method Item ....l3whmg wrote:Ricci: please do a little check about this changes.
Code: Select all
/*..............................................................................
Item
..............................................................................*/
METHOD Item( nRow , xValue ) CLASS GRID
LOCAL aItems := {}
LOCAL i
IF ::lCreated
IF Pcount() == 1
FOR i := 1 to ::oQTObject:ColumnCount()
aAdd( aItems, Self:Cell( nRow,i ) )
NEXT i
RETURN aItems
ELSEIF Pcount() == 2
IF hb_IsArray( xValue ) == .T.
FOR i := 1 to ::oQTObject:ColumnCount()
Self:Cell( nRow,i,xValue[i] )
NEXT i
ELSE
Self:Cell( nRow, 1, xValue )
ENDIF
ENDIF
ENDIF
RETURN NIL
Code: Select all
2011-11-05 18:10 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
+ samples/alldemo
+ samples/alldemo/animatebox
+ samples/alldemo/animatebox/ant.gif
+ samples/alldemo/animatebox/bang.gif
+ samples/alldemo/icons
+ samples/alldemo/icons/align_bottom.png
+ samples/alldemo/icons/align_horcenter.png
+ samples/alldemo/icons/align_left.png
+ samples/alldemo/icons/align_right.png
+ samples/alldemo/icons/align_top.png
+ samples/alldemo/icons/align_vercenter.png
+ samples/alldemo/icons/blue_eject.png
+ samples/alldemo/icons/blue_play.png
+ samples/alldemo/icons/blue_stop.png
+ samples/alldemo/icons/clear.png
+ samples/alldemo/icons/enlarge.png
+ samples/alldemo/icons/exchange.png
+ samples/alldemo/icons/exit.png
+ samples/alldemo/icons/font_bold.png
+ samples/alldemo/icons/font_italic.png
+ samples/alldemo/icons/font_strike.png
+ samples/alldemo/icons/font_underline.png
+ samples/alldemo/icons/graph_bars.png
+ samples/alldemo/icons/graph_lines.png
+ samples/alldemo/icons/graph_pies.png
+ samples/alldemo/icons/graph_points.png
+ samples/alldemo/icons/hmg.ico
+ samples/alldemo/icons/hmg16x16.ico
+ samples/alldemo/icons/picture.png
+ samples/alldemo/icons/reduce.png
+ samples/alldemo/icons/size.png
+ samples/alldemo/icons/size_aspect_ratio.png
+ samples/alldemo/icons/size_both.png
+ samples/alldemo/icons/size_height.png
+ samples/alldemo/icons/size_smoothing.png
+ samples/alldemo/icons/size_width.png
+ samples/alldemo/images
+ samples/alldemo/images/fantasy.jpg
+ samples/alldemo/images/hmg.png
+ samples/alldemo/images/mermaid.jpg
+ samples/alldemo/images/moon.jpg
+ samples/alldemo/images/under_construction.png
+ samples/alldemo/build.bat
+ samples/alldemo/demo_1.ch
+ samples/alldemo/demo_1.hbp
+ samples/alldemo/demo_1.prg
+ samples/alldemo/demo_1.qrc
+ samples/alldemo/demo_1p000.prg
+ samples/alldemo/demo_1p001.prg
+ samples/alldemo/demo_1p002.prg
+ samples/alldemo/demo_1p003.prg
+ samples/alldemo/demo_1p004.prg
+ samples/alldemo/demo_1p005.prg
+ samples/alldemo/demo_1p006.prg
+ samples/alldemo/hbmk.hbm
+ samples/alldemo/qt.conf
* I started to write an "all in one" demo program. At this moment, with a
OOP style; then, when finished, I will rewrite with XBase commands.
PLEASE DON'T COMMIT ANYTHING TILL I HAVE FINISHED.
If you have suggestions or if you find bugs or if you want give a
contribution, send me a message with Personal Message on HmgForum or
open a Topic on HmgForum.
! source/hyperlink.prg
! inherits from label. Removed duplicated source code.
* source/label.prg
* update note: inherited by....
! include/hmg.ch
+ Qt defined vars about SpinBox. When HbQt will be update we can remove
+ #xcommand SYMBOLS command to change arrows on Spinner. At this moment
work fine on DATEPICKER.
! source/datepicker.prg
! Alignment() method: now can handle DTP_LEFT and DTP_RIGHT
! OnChange() method: aligned to __Hmg* handling system
! ShowNone() method: now can be used but in different way from HMG3.
When ShowNone is activated, user see Null. To deactivate only press
enter on field or select a date. It's little different from HMG3.
! UpDown() method: by default is .F. like HMG3
+ Symbols() method: by default up and down rows are show.
! source/basic.prg
! FocusedControl() methodCode: Select all
2011-11-06 17:30 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
+ samples/alldemo/icons/minus.png
+ samples/alldemo/icons/plus.png
* samples/alldemo/demo_1.hbp
* samples/alldemo/demo_1.prg
* samples/alldemo/demo_1.qrc
+ samples/alldemo/demo_1p007.prg
* p007 to show usage of Lcd object
! samples/timer/demo_2.prg
* in according with Timer object changes: Start and Stop methods
! source/timer.prg
+ Start() method: it return .T. or .F. if timer is on
+ Stop() method: it return .T. or .F. if timer is on
- lEnabled data and Enabled() method
; by default, timer was started when lCreate is .t. Start() and Stop()
methods check this value
; Was used Enabled() method to start and stop the timer. Very dangerous
on the other hand, from HMG3 manual, when a timer was created no start
and stop are possible.
* source/lcd.prg
- internal xValue unusefull
* commented cutomization about Height and Width. Why there were?Code: Select all
2011-11-07 23:00 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
* Changelog
* formatted last entry
* samples/alldemo/demo_1.hbp
* samples/alldemo/demo_1.prg
* samples/alldemo/demo_1.qrc
* samples/alldemo/demo_1p003.prg
* samples/alldemo/demo_1p006.prg
+ samples/alldemo/icons/font_size.png
+ samples/alldemo/icons/font_name.png
+ samples/alldemo/demo_1p008.prg
* p008 to show usage of Checkbox object
* demo_1.prg, demo_1p003.prg, demo_1p006.prg adjust code
* source/hmgapp.prg
+ DefaultFont() method to know the default QApplication font. It returns
a Qt object (QFont) ONLY if QApplication is started. It's designed with
SETGET option, but only to use method without "()" not to set.
+ DefaultFontName() method to know the default QApplication font name.
It returns a character value ONLY if QApplication is started. It's
designed with SETGET option, but only to use method without "()"
not to set.
+ DefaultFontSize() method to know the default QApplication font size.
It returns a numeric value ONLY if QApplication is started. It's
designed with SETGET option, but only to use method without "()"
not to set.
* source/control.prg
+ __HmgOnGotFocusExec() to align event handling
+ __HmgOnLostFocusExec() to align event handling
! OnGotFocus() and OnLostFocus() methodsCode: Select all
2011-11-08 11:20 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
* samples/alldemo/demo_1.hbp
* samples/alldemo/demo_1.prg
* samples/alldemo/demo_1p001.prg
* samples/alldemo/demo_1p002.prg
* samples/alldemo/demo_1p003.prg
* samples/alldemo/demo_1p004.prg
+ samples/alldemo/demo_1p009.prg
* p008 to show usage of CheckButton object
* other sources adjusted/improved code
+ source/abstractbutton.prg
* source/button.prg
* source/checkbutton.prg
* source/toolbutton.prg
* hmg.hbp
* to unify some common methods
* source/grid.prg
! Item( nRow , xValue ) method; now check if xValue is array or single
value. Many thanks to Ricci for his notice.Code: Select all
2011-11-08 11:50 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
* hmg.hbp
* my TortoiseSvn Crashed and it doesn't sent. Sorry
Code: Select all
2011-11-09 12:55 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
* source/layout.prg
* revised Release() method
+ __HmgClose() method (overwrite related Basic __HmgClose() method )
; IS there someone who wants check and fix these objects, please?
! source/waitwin.prg
! revised Release() method
+ __HmgClose() method (overwrite related Basic __HmgClose() method )
! source/statusbar.prg
! source/virtualwindow.prg
! revised Release() method
! source/tree.prg
! removed Release() method: it seems unusefull
! source/media.prg
! source/menuitem.prg
! source/timer.prg
+ __HmgClose() method (overwrite related Basic __HmgClose() method )
! removed Release() method: unusefull
! source/control.prg
- removed Release() method. Unusefull
! source/basic.prg
! Release() method: usage of __HmgClose() method. Now, this can be alive
for all objects. A HMG object, related to a Qt object without close()
method, simply overwrite the __HmgClose(). Some times also Release.
! __HmgOnCloseExec() method
+ __HmgClose() this is a layer for QT Close method. Some object doesn't
has the Qt Close() method, but we must call __HmgDisconnectEv in some
way (ie QTimer)
! source/hmgapp.prg
! __WindowsCloser() method it was renamed into __ObjectsCloser() and
fixed source to close every children. Some Qt object need special
treatment.Everything works well here.l3whmg wrote:This it's a basis change, please report bug and update your SVN.