2010-08-06 09:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/hbide/resources/blockindentl.png
  * contrib/hbide/resources/blockindentr.png
  + contrib/hbide/resources/bookmark.png
  + contrib/hbide/resources/close3.png
  * contrib/hbide/resources/curlinehilight.png
  * contrib/hbide/resources/fullscreen.png
  * contrib/hbide/resources/help1.png
  * contrib/hbide/resources/horzruler.png
  + contrib/hbide/resources/indent-less.png
  + contrib/hbide/resources/indent-more.png
  + contrib/hbide/resources/open3.png
  + contrib/hbide/resources/save3.png
  * contrib/hbide/resources/stream.png
  * contrib/hbide/resources/togglelinenumber.png
  * contrib/hbide/resources/view_cascaded.png
  * contrib/hbide/resources/view_horzstacked.png
  * contrib/hbide/resources/view_organized.png
  * contrib/hbide/resources/view_tabbed.png
  * contrib/hbide/resources/view_tiled.png
  * contrib/hbide/resources/view_vertstacked.png

  * contrib/hbide/hbide.qrc
    + Added: few more icons.
    % Changed: few existing.

  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
    + Rationalized: icon colors, now they present a professional look.
    % Fixed: behavior of few MDI area toolbars actions, 
      went weired after the introduction of MDI concept.
This commit is contained in:
Pritpal Bedi
2010-08-06 16:40:11 +00:00
parent c7a2e74d96
commit a44c9ab3a7
25 changed files with 107 additions and 33 deletions

View File

@@ -16,6 +16,39 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-08-06 09:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/resources/blockindentl.png
* contrib/hbide/resources/blockindentr.png
+ contrib/hbide/resources/bookmark.png
+ contrib/hbide/resources/close3.png
* contrib/hbide/resources/curlinehilight.png
* contrib/hbide/resources/fullscreen.png
* contrib/hbide/resources/help1.png
* contrib/hbide/resources/horzruler.png
+ contrib/hbide/resources/indent-less.png
+ contrib/hbide/resources/indent-more.png
+ contrib/hbide/resources/open3.png
+ contrib/hbide/resources/save3.png
* contrib/hbide/resources/stream.png
* contrib/hbide/resources/togglelinenumber.png
* contrib/hbide/resources/view_cascaded.png
* contrib/hbide/resources/view_horzstacked.png
* contrib/hbide/resources/view_organized.png
* contrib/hbide/resources/view_tabbed.png
* contrib/hbide/resources/view_tiled.png
* contrib/hbide/resources/view_vertstacked.png
* contrib/hbide/hbide.qrc
+ Added: few more icons.
% Changed: few existing.
* contrib/hbide/ideactions.prg
* contrib/hbide/idedocks.prg
* contrib/hbide/ideedit.prg
+ Rationalized: icon colors, now they present a professional look.
% Fixed: behavior of few MDI area toolbars actions,
went weired after the introduction of MDI concept.
2010-08-06 15:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpost.hbm
! Fixed to create dynlibs and executables in -fullshared mode

View File

@@ -4,6 +4,7 @@
<file>resources/blockcomment.png</file>
<file>resources/blockindentl.png</file>
<file>resources/blockindentr.png</file>
<file>resources/bookmark.png</file>
<file>resources/browser.png</file>
<file>resources/build.png</file>
<file>resources/builderror.png</file>
@@ -14,6 +15,7 @@
<file>resources/clean.png</file>
<file>resources/cleanrun.png</file>
<file>resources/close.png</file>
<file>resources/close3.png</file>
<file>resources/closeall.png</file>
<file>resources/closeexcept.png</file>
<file>resources/closetab.png</file>
@@ -108,6 +110,8 @@
<file>resources/horzruler.png</file>
<file>resources/idepreferences.png</file>
<file>resources/increaseindent.png</file>
<file>resources/indent-more.png</file>
<file>resources/indent-less.png</file>
<file>resources/info.png</file>
<file>resources/infotips.png</file>
<file>resources/insert-datetime.png</file>
@@ -135,6 +139,7 @@
<file>resources/notepad.png</file>
<file>resources/open.png</file>
<file>resources/open2.png</file>
<file>resources/open3.png</file>
<file>resources/panel_1.png</file>
<file>resources/panel_2.png</file>
<file>resources/panel_3.png</file>
@@ -163,6 +168,7 @@
<file>resources/runscript.png</file>
<file>resources/runnodebug.png</file>
<file>resources/save.png</file>
<file>resources/save3.png</file>
<file>resources/saveall.png</file>
<file>resources/saveas.png</file>
<file>resources/search.png</file>

View File

@@ -178,9 +178,9 @@ METHOD IdeActions:loadActions()
aadd( aAct, { "TB_Exit" , "E~xit" , "exit" , "" , "No", "Yes" } )
aadd( aAct, { "TB_Home" , "~Home" , "dc_home" , "" , "No", "Yes" } )
aadd( aAct, { "TB_New" , "~Source" , "new" , "" , "No", "Yes" } )
aadd( aAct, { "TB_Open" , "~Open" , "open" , "" , "No", "Yes" } )
aadd( aAct, { "TB_Open" , "~Open" , "open3" , "" , "No", "Yes" } )
aadd( aAct, { "TB_Save" , "~Save" , "save" , "" , "No", "Yes" } )
aadd( aAct, { "TB_Close" , "~Close" , "close" , "" , "No", "Yes" } )
aadd( aAct, { "TB_Close" , "~Close" , "close3" , "" , "No", "Yes" } )
aadd( aAct, { "TB_Print" , "~Print" , "print" , "" , "No", "Yes" } )
aadd( aAct, { "TB_Script" , "Run as script" , "runscript" , "" , "No", "Yes" } )
aadd( aAct, { "TB_Compile" , "Co~mpile" , "compile" , "" , "No", "Yes" } )

View File

@@ -152,6 +152,7 @@ CLASS IdeDocks INHERIT IdeObject
METHOD stackMaximized()
METHOD stackZoom( nMode )
METHOD restState( nMode )
METHOD setButtonState( cAlias, lChecked )
ENDCLASS
@@ -958,7 +959,7 @@ METHOD IdeDocks:buildMdiToolbarLeft()
LOCAL aBtn, qTBar
::qMdiToolbarL := QToolBar():new()
::qMdiToolbarL:setStyleSheet( GetStyleSheet( "qMdiToolbarLR5", ::nAnimantionMode ) )
::qMdiToolbarL:setStyleSheet( GetStyleSheet( "QToolBarLR5", ::nAnimantionMode ) )
::qMdiToolbarL:setObjectName( "ToolBarL_Lines" )
::qMdiToolbarL:setIconSize( QSize():new( 16,16 ) )
::qMdiToolbarL:setOrientation( Qt_Vertical )
@@ -968,10 +969,10 @@ METHOD IdeDocks:buildMdiToolbarLeft()
aBtn := {}
#if 1
aadd( aBtn, ::buildToolButton( qTBar, { "Toggle tabbed view" , "view_tabbed" , {|| ::execEvent( "buttonViewTabbed_clicked" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "View as arranged" , "view_organized" , {|| ::execEvent( "buttonViewOrganized_clicked" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Save layout" , "save" , {|| ::execEvent( "buttonSaveLayout_clicked" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Save layout" , "save3" , {|| ::execEvent( "buttonSaveLayout_clicked" ) }, .f. } ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "View as cascaded" , "view_cascaded" , {|| ::execEvent( "buttonViewCascaded_clicked" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "View as tiled" , "view_tiled" , {|| ::execEvent( "buttonViewTiled_clicked" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "View Maximized" , "fullscreen" , {|| ::execEvent( "buttonViewMaximized_clicked" ) }, .f. } ) )
@@ -979,36 +980,36 @@ METHOD IdeDocks:buildMdiToolbarLeft()
aadd( aBtn, ::buildToolButton( qTBar, { "View Horizontally Tiled" , "view_horzstacked", {|| ::execEvent( "buttonViewStackedHorz_clicked" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "View Zoom In" , "view_zoomin" , {|| ::execEvent( "buttonViewZoomedIn_clicked" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "View Zoom Out" , "view_zoomout" , {|| ::execEvent( "buttonViewZoomedOut_clicked" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "Toggle Line Numbers" , "togglelinenumber", {|| ::oEM:toggleLineNumbers() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Toggle Horizontal Ruler" , "horzruler" , {|| ::oEM:toggleHorzRuler() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Toggle Current Line Hilight", "curlinehilight" , {|| ::oEM:toggleCurrentLineHighlightMode() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "Toggle Code Completion" , "help1" , {|| ::oEM:toggleCodeCompetion() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Toggle Completion Tips" , "infotips" , {|| ::oEM:toggleCompetionTips() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "Zoom In" , "zoomin" , {|| ::oEM:zoom( +1 ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Zoom Out" , "zoomout" , {|| ::oEM:zoom( -1 ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::buildToolButton( qTBar, {} )
#else
aadd( aBtn, ::buildToolButton( qTBar, { "Undo" , "undo" , {|| ::oEM:undo() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Redo" , "redo" , {|| ::oEM:redo() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "Cut" , "cut" , {|| ::oEM:cut() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Copy" , "copy" , {|| ::oEM:copy() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Paste" , "paste" , {|| ::oEM:paste() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Select all" , "selectall" , {|| ::oEM:seletAll() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Selection mode" , "stream" , {|| ::oEM:toggleSelectionMode() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "Find / Replace" , "find" , {|| ::oEM:find() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Toggle Mark" , "placeremovemark" , {|| ::oEM:setMark() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Goto Line" , "gotoline" , {|| ::oEM:goTo() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "Move Current Line Up" , "movelineup" , {|| ::oEM:moveLine( -1 ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Move Current Line Down" , "movelinedown" , {|| ::oEM:moveLine( 1 ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Delete Current Line" , "deleteline" , {|| ::oEM:deleteLine() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Duplicate Current Line" , "duplicateline" , {|| ::oEM:duplicateLine() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "To Upper" , "toupper" , {|| ::oEM:convertSelection( "ToUpper" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "To Lower" , "tolower" , {|| ::oEM:convertSelection( "ToLower" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Invert Case" , "invertcase" , {|| ::oEM:convertSelection( "Invert" ) }, .f. } ) )
@@ -1051,56 +1052,55 @@ METHOD IdeDocks:buildMdiToolbar()
#if 1
aadd( aBtn, ::buildToolButton( qTBar, { "Undo" , "undo" , {|| ::oEM:undo() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Redo" , "redo" , {|| ::oEM:redo() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "Cut" , "cut" , {|| ::oEM:cut() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Copy" , "copy" , {|| ::oEM:copy() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Paste" , "paste" , {|| ::oEM:paste() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Select all" , "selectall" , {|| ::oEM:seletAll() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Selection mode" , "stream" , {|| ::oEM:toggleSelectionMode() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Select all" , "selectall" , {|| ::oEM:selectAll() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Selection mode" , "stream" , {|| ::oEM:toggleSelectionMode() }, .t. } ) )
::qMdiToolbar:addWidget( sp1 )
// aadd( aBtn, ::buildToolButton( qTBar, {} ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Find / Replace" , "find" , {|| ::oEM:find() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Toggle Mark" , "placeremovemark" , {|| ::oEM:setMark() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Toggle Mark" , "bookmark" , {|| ::oEM:setMark() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Goto Line" , "gotoline" , {|| ::oEM:goTo() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Reload Source" , "view_refresh" , {|| ::oEM:reload() }, .f. } ) )
// aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::qMdiToolbar:addWidget( sp2 )
aadd( aBtn, ::buildToolButton( qTBar, { "Move Current Line Up" , "movelineup" , {|| ::oEM:moveLine( -1 ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Move Current Line Down" , "movelinedown" , {|| ::oEM:moveLine( 1 ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Delete Current Line" , "deleteline" , {|| ::oEM:deleteLine() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Duplicate Current Line" , "duplicateline" , {|| ::oEM:duplicateLine() }, .f. } ) )
::qMdiToolbar:addWidget( sp3 )
// aadd( aBtn, ::buildToolButton( qTBar, {} ) )
aadd( aBtn, ::buildToolButton( qTBar, { "To Upper" , "toupper" , {|| ::oEM:convertSelection( "ToUpper" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "To Lower" , "tolower" , {|| ::oEM:convertSelection( "ToLower" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Invert Case" , "invertcase" , {|| ::oEM:convertSelection( "Invert" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "Block Comment" , "blockcomment" , {|| ::oEM:blockComment() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Stream Comment" , "streamcomment" , {|| ::oEM:streamComment() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "Indent Right" , "blockindentr" , {|| ::oEM:indent( 1 ) }, .f. } ) )
//aadd( aBtn, ::buildToolButton( qTBar, { "Indent Right" , "indent-more" , {|| ::oEM:indent( 1 ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Indent Left" , "blockindentl" , {|| ::oEM:indent( -1 ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
//aadd( aBtn, ::buildToolButton( qTBar, { "Indent Left" , "indent-less" , {|| ::oEM:indent( -1 ) }, .f. } ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "Single to Double Quotes" , "sgl2dblquote" , {|| ::oEM:convertDQuotes() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Double to Single Quotes" , "dbl2sglquote" , {|| ::oEM:convertQuotes() }, .f. } ) )
#else
aadd( aBtn, ::buildToolButton( qTBar, { "Toggle tabbed view" , "view_tabbed" , {|| ::execEvent( "buttonViewTabbed_clicked" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "View as arranged" , "view_organized" , {|| ::execEvent( "buttonViewOrganized_clicked" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "View as cascaded" , "view_cascaded" , {|| ::execEvent( "buttonViewCascaded_clicked" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "View as tiled" , "view_tiled" , {|| ::execEvent( "buttonViewTiled_clicked" ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "Save layout" , "save" , {|| ::execEvent( "buttonSaveLayout_clicked" ) }, .f. } ) )
::qMdiToolbar:addWidget( sp1 )
aadd( aBtn, ::buildToolButton( qTBar, { "Toggle Line Numbers" , "togglelinenumber", {|| ::oEM:toggleLineNumbers() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Toggle Horizontal Ruler" , "horzruler" , {|| ::oEM:toggleHorzRuler() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Toggle Current Line Hilight", "curlinehilight" , {|| ::oEM:toggleCurrentLineHighlightMode() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "Toggle Code Completion" , "help1" , {|| ::oEM:toggleCodeCompetion() }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, { "Toggle Completion Tips" , "infotips" , {|| ::oEM:toggleCompetionTips() }, .f. } ) )
::qMdiToolbar:addWidget( sp2 )
aadd( aBtn, ::buildToolButton( qTBar, { "Zoom In" , "zoomin" , {|| ::oEM:zoom( +1 ) }, .f. } ) )
aadd( aBtn, ::buildToolButton( qTBar, {} ) )
::buildToolButton( qTBar, {} )
aadd( aBtn, ::buildToolButton( qTBar, { "Zoom Out" , "zoomout" , {|| ::oEM:zoom( -1 ) }, .f. } ) )
#endif
@@ -1132,6 +1132,30 @@ METHOD IdeDocks:buildToolButton( qToolbar, aBtn )
/*----------------------------------------------------------------------*/
METHOD IdeDocks:setButtonState( cAlias, lChecked )
LOCAL n, lOldChecked, qBtn
cAlias := lower( cAlias )
IF ( n := ascan( ::aMdiToolBtns, {|q| q:objectName() == cAlias } ) ) > 0
qBtn := ::aMdiToolBtns[ n ]
ELSEIF ( n := ascan( ::aBtnLines, {|q| q:objectName() == cAlias } ) ) > 0
qBtn := ::aBtnLines[ n ]
ENDIF
IF !empty( qBtn )
lOldChecked := qBtn:isChecked()
IF hb_isLogical( lChecked )
qBtn:setChecked( lChecked )
ENDIF
ENDIF
RETURN lOldChecked
/*------------------------------------------------------------------------*/
METHOD IdeDocks:buildStackedWidget()
IF ::oIde:lCurEditsMdi
@@ -1946,13 +1970,17 @@ METHOD IdeDocks:animateComponents( nMode )
::oDlg:menubar():setStyleSheet( GetStyleSheet( "QMenuBar", nMode ), GetStyleSheet( "QMenuPop", nMode ) )
/* Toolbars */
::oMainToolbar:setStyleSheet( GetStyleSheet( "QToolBar" , nMode ) )
::oMainToolbar:oWidget:setStyleSheet( GetStyleSheet( "QToolBar", nMode ) )
IF ! ::oIde:lCurEditsMdi
::qTBarPanels :setStyleSheet( GetStyleSheet( "QToolBarLR5", nMode ) )
::qTBarLines :setStyleSheet( GetStyleSheet( "QToolBarLR5", nMode ) )
ENDIF
::qTBarDocks :setStyleSheet( GetStyleSheet( "QToolBarLR5", nMode ) )
IF ::oIde:lCurEditsMdi
::qMdiToolbar:setStyleSheet( GetStyleSheet( "QToolBar", nMode ) )
::qMdiToolbarL:setStyleSheet( GetStyleSheet( "QToolBarLR5", nMode ) )
ENDIF
/* User defined toolbars */
::oTM:setStyleSheet( GetStyleSheet( "QToolBarLR5", nMode ) )

View File

@@ -719,11 +719,14 @@ METHOD IdeEdit:dispStatusInfo()
::qEdit:hbGetSelectionInfo()
nMode := ::aSelectionInfo[ 5 ]
::oAC:getAction( "TB_SelectionMode" ):setIcon( hbide_image( iif( nMode == 3, "selectionline", "stream" ) ) )
::oAC:getAction( "TB_SelectionMode" ):setChecked( nMode > 1 )
IF ::oIde:lCurEditsMdi
::oDK:setButtonState( "stream", nMode > 1 )
ELSE
::oAC:getAction( "TB_SelectionMode" ):setIcon( hbide_image( iif( nMode == 3, "selectionline", "stream" ) ) )
::oAC:getAction( "TB_SelectionMode" ):setChecked( nMode > 1 )
ENDIF
::oDK:setStatusText( SB_PNL_STREAM, iif( nMode == 2, "Column", iif( nMode == 3, "Line", "Stream" ) ) )
RETURN Self
/*----------------------------------------------------------------------*/
@@ -1387,7 +1390,11 @@ METHOD IdeEdit:toggleHorzRuler()
/* Fired by icon */
METHOD IdeEdit:toggleSelectionMode()
::qEdit:hbSetSelectionMode( iif( ::oAC:getAction( "TB_SelectionMode" ):isChecked(), 2, 1 ), .f. )
IF ::oIde:lCurEditsMdi
::qEdit:hbSetSelectionMode( iif( ::oDK:setButtonState( "stream" ), 2, 1 ), .f. )
ELSE
::qEdit:hbSetSelectionMode( iif( ::oAC:getAction( "TB_SelectionMode" ):isChecked(), 2, 1 ), .f. )
ENDIF
RETURN Self
/*----------------------------------------------------------------------*/

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 B

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 276 B

After

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 705 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 545 B

After

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 650 B

After

Width:  |  Height:  |  Size: 429 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 910 B

After

Width:  |  Height:  |  Size: 805 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 608 B

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 435 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 693 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 163 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 751 B

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 639 B

After

Width:  |  Height:  |  Size: 642 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 384 B

After

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 379 B

After

Width:  |  Height:  |  Size: 353 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 344 B

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 B

After

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 324 B

After

Width:  |  Height:  |  Size: 335 B