2012-08-19 17:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/hbqt/hbmk2_qt.hb
    ! Fixed: the treatment of html compliant ->setToolTip( calls.
       It has been tedius because it went unnoticed due to Qt versions 
       where they always keep on changing the string treatment.
       This fixes issue reported on users list.
This commit is contained in:
Pritpal Bedi
2012-08-20 00:38:09 +00:00
parent f9693d6f70
commit fc210bd5db
2 changed files with 13 additions and 1 deletions

View File

@@ -16,6 +16,13 @@
The license applies to all entries newer than 2009-04-28.
*/
2012-08-19 17:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
! Fixed: the treatment of html compliant ->setToolTip( calls.
It has been tedius because it went unnoticed due to Qt versions
where they always keep on changing the string treatment.
This fixes issue reported on users list.
2012-08-19 13:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
! Reinstated: execution of Mouse events to PRG level. These events

View File

@@ -985,7 +985,7 @@ STATIC FUNCTION hbqtui_pullTranslate( cCmd )
cArgs := AllTrim( Left( cArgs, n4 - 1 ) )
// cArgs := HB_STRDECODESCAPE( SubStr( cArgs, 2, Len( cArgs ) - 2 ) )
IF "DOCTYPE HTML PUBLIC" $ cArgs
IF "DOCTYPE HTML PUBLIC" $ cArgs .OR. "<html>" $ cArgs
cArgs := StrTran( cArgs, '\"', '"' )
cArgs := StrTran( cArgs, '\n', " " )
cArgs := StrTran( cArgs, '""' )
@@ -1206,6 +1206,11 @@ STATIC FUNCTION hbqtui_pullSetToolTip( aLines, nFrom )
aLines[ nFrom ] := ""
nFrom++
ENDDO
IF ! Empty( cString )
cString := StrTran( cString, "QString::fromUtf8" )
cString := StrTran( cString, '\"' )
cString := StrTran( cString, "\n", " " )
ENDIF
ENDIF
RETURN cString