2010-01-04 08:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)

* contrib/hbide/resources/selectionlist.ui
    ! A little less-height window.

  * contrib/hbide/ideeditor.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpprintdialog.prg
  * contrib/hbxbp/xbpwindow.prg
    % Fixed calls to removed Qt functions.
This commit is contained in:
Pritpal Bedi
2010-01-04 16:36:06 +00:00
parent 8755fb80e3
commit d0ce5ac81d
6 changed files with 17 additions and 13 deletions

View File

@@ -17,6 +17,16 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-01-04 08:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/resources/selectionlist.ui
! A little less-height window.
* contrib/hbide/ideeditor.prg
* contrib/hbxbp/xbpmenubar.prg
* contrib/hbxbp/xbpprintdialog.prg
* contrib/hbxbp/xbpwindow.prg
% Fixed calls to removed Qt functions.
2010-01-04 15:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/idethemes.prg
* contrib/hbide/ideeditor.prg

View File

@@ -424,7 +424,7 @@ METHOD IdeEditor:setTabImage()
METHOD IdeEditor:showPPO( cFile )
LOCAL qEdit, qHiliter
IF hb_FileExists( cFile )
IF file( cFile )
qEdit := QPlainTextEdit():new()
qEdit:setPlainText( hb_memoRead( cFile ) )
qEdit:setLineWrapMode( QTextEdit_NoWrap )
@@ -475,3 +475,4 @@ METHOD IdeEditor:applyTheme( cTheme )
RETURN Self
/*----------------------------------------------------------------------*/

View File

@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>221</width>
<height>300</height>
<height>188</height>
</rect>
</property>
<property name="windowTitle">
@@ -16,13 +16,6 @@
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="0">
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="labelDesc">
<property name="text">
<string>Select an Option</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>

View File

@@ -278,8 +278,8 @@ METHOD xbpMenuBar:delItem( nItemIndex )
//::aMenuItems[ nItemIndex, 4 ]:destroy()
ELSE
oAction := ::aMenuItems[ nItemIndex, 5 ]
QT_DISCONNECT_SIGNAL( oAction:pPtr, "triggered(bool)" )
QT_DISCONNECT_SIGNAL( oAction:pPtr, "hovered()" )
Qt_Events_disConnect( ::pEvents, oAction, "triggered(bool)" )
Qt_Slots_disConnect( ::pSlots, oAction, "hovered()" )
oAction:pPtr := 0
ENDIF
ADEL( ::aMenuItems, nItemIndex )

View File

@@ -122,7 +122,7 @@ METHOD XbpPrintDialog:create( oParent, oOwner )
METHOD XbpPrintDialog:destroy()
IF len( ::aConnections ) > 0
aeval( ::aConnections, {|e_| Qt_DisConnect_Signal( e_[ 1 ], e_[ 2 ] ), e_[ 1 ] := NIL, e_[ 2 ] := NIL } )
aeval( ::aConnections, {|e_| Qt_Slots_DisConnect( ::pSlots, e_[ 1 ], e_[ 2 ] ), e_[ 1 ] := NIL, e_[ 2 ] := NIL } )
::aConnections := {}
ENDIF

View File

@@ -497,7 +497,7 @@ METHOD XbpWindow:destroy()
::xDummy := Qt_Events_DisConnect( ::pEvents, e_[ 1 ], e_[ 2 ] )
NEXT
::aEConnections := {}
::oWidget:removeEventFilter( QT_GetEventFilter() )
::oWidget:removeEventFilter( ::pEvents )
ENDIF
IF Len( ::aChildren ) > 0