mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 15:56:00 +02:00
IDE: 'Add' button for BreakpointDlg toolbar. Issue #31209, patch from Flávio Etrusco.
git-svn-id: trunk@53923 -
This commit is contained in:
parent
54fde57388
commit
1a2964b382
@ -1,4 +1,4 @@
|
|||||||
inherited BreakpointsDlg: TBreakpointsDlg
|
object BreakpointsDlg: TBreakpointsDlg
|
||||||
Left = 344
|
Left = 344
|
||||||
Height = 205
|
Height = 205
|
||||||
Top = 153
|
Top = 153
|
||||||
@ -13,7 +13,7 @@ inherited BreakpointsDlg: TBreakpointsDlg
|
|||||||
ClientWidth = 560
|
ClientWidth = 560
|
||||||
OnCreate = BreakpointsDlgCREATE
|
OnCreate = BreakpointsDlgCREATE
|
||||||
Visible = True
|
Visible = True
|
||||||
object lvBreakPoints: TListView[0]
|
object lvBreakPoints: TListView
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 179
|
Height = 179
|
||||||
Top = 26
|
Top = 26
|
||||||
@ -60,7 +60,7 @@ inherited BreakpointsDlg: TBreakpointsDlg
|
|||||||
OnDblClick = lvBreakPointsDBLCLICK
|
OnDblClick = lvBreakPointsDBLCLICK
|
||||||
OnSelectItem = lvBreakPointsSelectItem
|
OnSelectItem = lvBreakPointsSelectItem
|
||||||
end
|
end
|
||||||
object ToolBar1: TToolBar[1]
|
object ToolBar1: TToolBar
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 26
|
Height = 26
|
||||||
Top = 0
|
Top = 0
|
||||||
@ -69,57 +69,64 @@ inherited BreakpointsDlg: TBreakpointsDlg
|
|||||||
ParentShowHint = False
|
ParentShowHint = False
|
||||||
ShowHint = True
|
ShowHint = True
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
object ToolButtonEnable: TToolButton
|
object ToolButtonAdd: TToolButton
|
||||||
Left = 1
|
Left = 1
|
||||||
Top = 2
|
Top = 2
|
||||||
|
Caption = 'Add...'
|
||||||
|
MenuItem = popAdd
|
||||||
|
Style = tbsDropDown
|
||||||
|
end
|
||||||
|
object ToolButtonEnable: TToolButton
|
||||||
|
Left = 36
|
||||||
|
Top = 2
|
||||||
Action = actEnableSelected
|
Action = actEnableSelected
|
||||||
end
|
end
|
||||||
object ToolButtonDisable: TToolButton
|
object ToolButtonDisable: TToolButton
|
||||||
Left = 24
|
Left = 59
|
||||||
Top = 2
|
Top = 2
|
||||||
Action = actDisableSelected
|
Action = actDisableSelected
|
||||||
end
|
end
|
||||||
object ToolButtonTrash: TToolButton
|
object ToolButtonTrash: TToolButton
|
||||||
Left = 47
|
Left = 82
|
||||||
Top = 2
|
Top = 2
|
||||||
Action = actDeleteSelected
|
Action = actDeleteSelected
|
||||||
end
|
end
|
||||||
object ToolButton6: TToolButton
|
object ToolSep1: TToolButton
|
||||||
Left = 70
|
Left = 105
|
||||||
|
Height = 22
|
||||||
Top = 2
|
Top = 2
|
||||||
Width = 10
|
Width = 10
|
||||||
Caption = 'ToolButton6'
|
|
||||||
Style = tbsSeparator
|
Style = tbsSeparator
|
||||||
end
|
end
|
||||||
object ToolButtonEnableAll: TToolButton
|
object ToolButtonEnableAll: TToolButton
|
||||||
Left = 80
|
Left = 115
|
||||||
Top = 2
|
Top = 2
|
||||||
Action = actEnableAll
|
Action = actEnableAll
|
||||||
end
|
end
|
||||||
object ToolButtonDisableAll: TToolButton
|
object ToolButtonDisableAll: TToolButton
|
||||||
Left = 103
|
Left = 138
|
||||||
Top = 2
|
Top = 2
|
||||||
Action = actDisableAll
|
Action = actDisableAll
|
||||||
end
|
end
|
||||||
object ToolButtonTrashAll: TToolButton
|
object ToolButtonTrashAll: TToolButton
|
||||||
Left = 126
|
Left = 161
|
||||||
Top = 2
|
Top = 2
|
||||||
Action = actDeleteAll
|
Action = actDeleteAll
|
||||||
end
|
end
|
||||||
object ToolButton10: TToolButton
|
object ToolSep2: TToolButton
|
||||||
Left = 149
|
Left = 184
|
||||||
|
Height = 22
|
||||||
Top = 2
|
Top = 2
|
||||||
Width = 10
|
Width = 10
|
||||||
Caption = 'ToolButton10'
|
|
||||||
Style = tbsSeparator
|
Style = tbsSeparator
|
||||||
end
|
end
|
||||||
object ToolButtonProperties: TToolButton
|
object ToolButtonProperties: TToolButton
|
||||||
Left = 159
|
Left = 194
|
||||||
Top = 2
|
Top = 2
|
||||||
Action = actProperties
|
Action = actProperties
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object mnuPopup: TPopupMenu[2]
|
object mnuPopup: TPopupMenu
|
||||||
OnPopup = mnuPopupPopup
|
OnPopup = mnuPopupPopup
|
||||||
left = 24
|
left = 24
|
||||||
top = 40
|
top = 40
|
||||||
@ -193,7 +200,7 @@ inherited BreakpointsDlg: TBreakpointsDlg
|
|||||||
Action = actDeleteAllInSrc
|
Action = actDeleteAllInSrc
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object ActionList1: TActionList[3]
|
object ActionList1: TActionList
|
||||||
left = 96
|
left = 96
|
||||||
top = 72
|
top = 72
|
||||||
object actToggleCurrentEnable: TAction
|
object actToggleCurrentEnable: TAction
|
||||||
@ -203,27 +210,33 @@ inherited BreakpointsDlg: TBreakpointsDlg
|
|||||||
end
|
end
|
||||||
object actEnableSelected: TAction
|
object actEnableSelected: TAction
|
||||||
Caption = 'actEnableSelected'
|
Caption = 'actEnableSelected'
|
||||||
|
Enabled = False
|
||||||
OnExecute = actEnableSelectedExecute
|
OnExecute = actEnableSelectedExecute
|
||||||
end
|
end
|
||||||
object actDisableSelected: TAction
|
object actDisableSelected: TAction
|
||||||
Caption = 'actDisableSelected'
|
Caption = 'actDisableSelected'
|
||||||
|
Enabled = False
|
||||||
OnExecute = actDisableSelectedExecute
|
OnExecute = actDisableSelectedExecute
|
||||||
end
|
end
|
||||||
object actDeleteSelected: TAction
|
object actDeleteSelected: TAction
|
||||||
Caption = 'actDeleteSelected'
|
Caption = 'actDeleteSelected'
|
||||||
|
Enabled = False
|
||||||
OnExecute = popDeleteClick
|
OnExecute = popDeleteClick
|
||||||
ShortCut = 46
|
ShortCut = 46
|
||||||
end
|
end
|
||||||
object actEnableAll: TAction
|
object actEnableAll: TAction
|
||||||
Caption = 'actEnableAll'
|
Caption = 'actEnableAll'
|
||||||
|
Enabled = False
|
||||||
OnExecute = popEnableAllClick
|
OnExecute = popEnableAllClick
|
||||||
end
|
end
|
||||||
object actDisableAll: TAction
|
object actDisableAll: TAction
|
||||||
Caption = 'actDisableAll'
|
Caption = 'actDisableAll'
|
||||||
|
Enabled = False
|
||||||
OnExecute = popDisableAllClick
|
OnExecute = popDisableAllClick
|
||||||
end
|
end
|
||||||
object actDeleteAll: TAction
|
object actDeleteAll: TAction
|
||||||
Caption = 'actDeleteAll'
|
Caption = 'actDeleteAll'
|
||||||
|
Enabled = False
|
||||||
OnExecute = popDeleteAllClick
|
OnExecute = popDeleteAllClick
|
||||||
end
|
end
|
||||||
object actEnableAllInSrc: TAction
|
object actEnableAllInSrc: TAction
|
||||||
@ -240,6 +253,7 @@ inherited BreakpointsDlg: TBreakpointsDlg
|
|||||||
end
|
end
|
||||||
object actProperties: TAction
|
object actProperties: TAction
|
||||||
Caption = 'actProperties'
|
Caption = 'actProperties'
|
||||||
|
Enabled = False
|
||||||
OnExecute = popPropertiesClick
|
OnExecute = popPropertiesClick
|
||||||
ShortCut = 13
|
ShortCut = 13
|
||||||
end
|
end
|
||||||
|
@ -94,12 +94,13 @@ type
|
|||||||
popEnableAllSameSource: TMenuItem;
|
popEnableAllSameSource: TMenuItem;
|
||||||
popDeleteAllSameSource: TMenuItem;
|
popDeleteAllSameSource: TMenuItem;
|
||||||
ToolBar1: TToolBar;
|
ToolBar1: TToolBar;
|
||||||
|
ToolButtonAdd: TToolButton;
|
||||||
ToolButtonProperties: TToolButton;
|
ToolButtonProperties: TToolButton;
|
||||||
ToolButton10: TToolButton;
|
ToolSep2: TToolButton;
|
||||||
ToolButtonEnable: TToolButton;
|
ToolButtonEnable: TToolButton;
|
||||||
ToolButtonDisable: TToolButton;
|
ToolButtonDisable: TToolButton;
|
||||||
ToolButtonTrash: TToolButton;
|
ToolButtonTrash: TToolButton;
|
||||||
ToolButton6: TToolButton;
|
ToolSep1: TToolButton;
|
||||||
ToolButtonEnableAll: TToolButton;
|
ToolButtonEnableAll: TToolButton;
|
||||||
ToolButtonDisableAll: TToolButton;
|
ToolButtonDisableAll: TToolButton;
|
||||||
ToolButtonTrashAll: TToolButton;
|
ToolButtonTrashAll: TToolButton;
|
||||||
@ -331,6 +332,8 @@ begin
|
|||||||
mnuPopup.Images := IDEImages.Images_16;
|
mnuPopup.Images := IDEImages.Images_16;
|
||||||
lvBreakPoints.SmallImages := IDEImages.Images_16;
|
lvBreakPoints.SmallImages := IDEImages.Images_16;
|
||||||
|
|
||||||
|
ToolButtonAdd.ImageIndex := IDEImages.LoadImage(16, 'laz_add');
|
||||||
|
|
||||||
actEnableSelected.Caption := lisDbgItemEnable;
|
actEnableSelected.Caption := lisDbgItemEnable;
|
||||||
actEnableSelected.Hint := lisDbgItemEnableHint;
|
actEnableSelected.Hint := lisDbgItemEnableHint;
|
||||||
actEnableSelected.ImageIndex := IDEImages.LoadImage(16, 'debugger_enable');
|
actEnableSelected.ImageIndex := IDEImages.LoadImage(16, 'debugger_enable');
|
||||||
|
Loading…
Reference in New Issue
Block a user