ide: Project Inspector usability improvement by Vladimir Zhirov (issue #0013584)

git-svn-id: trunk@19631 -
This commit is contained in:
paul 2009-04-26 12:34:14 +00:00
parent f422f8db79
commit 78973488a9
3 changed files with 40 additions and 33 deletions

View File

@ -13,7 +13,6 @@ object ProjectInspectorForm: TProjectInspectorForm
object ItemsTreeView: TTreeView
AnchorSideTop.Control = OpenBitBtn
AnchorSideTop.Side = asrBottom
Left = 0
Height = 284
Top = 25
Width = 433
@ -31,13 +30,13 @@ object ProjectInspectorForm: TProjectInspectorForm
Options = [tvoAutoItemHeight, tvoHideSelection, tvoKeepCollapsedNodes, tvoReadOnly, tvoRightClickSelect, tvoShowButtons, tvoShowLines, tvoShowRoot, tvoToolTips]
end
object OpenBitBtn: TBitBtn
Left = 0
Height = 23
Top = 0
Width = 80
AutoSize = True
Caption = 'OpenBitBtn'
OnClick = OpenBitBtnClick
ParentShowHint = False
ShowHint = True
TabOrder = 1
end
object AddBitBtn: TBitBtn
@ -46,11 +45,12 @@ object ProjectInspectorForm: TProjectInspectorForm
AnchorSideTop.Control = OpenBitBtn
Left = 80
Height = 23
Top = 0
Width = 73
AutoSize = True
Caption = 'AddBitBtn'
OnClick = AddBitBtnClick
ParentShowHint = False
ShowHint = True
TabOrder = 2
end
object RemoveBitBtn: TBitBtn
@ -59,11 +59,12 @@ object ProjectInspectorForm: TProjectInspectorForm
AnchorSideTop.Control = OpenBitBtn
Left = 153
Height = 23
Top = 0
Width = 93
AutoSize = True
Caption = 'RemoveBitBtn'
OnClick = RemoveBitBtnClick
ParentShowHint = False
ShowHint = True
TabOrder = 3
end
object OptionsBitBtn: TBitBtn
@ -72,11 +73,12 @@ object ProjectInspectorForm: TProjectInspectorForm
AnchorSideTop.Control = OpenBitBtn
Left = 246
Height = 23
Top = 0
Width = 91
AutoSize = True
Caption = 'OptionsBitBtn'
OnClick = OptionsBitBtnClick
ParentShowHint = False
ShowHint = True
TabOrder = 4
end
object ItemsPopupMenu: TPopupMenu

View File

@ -7,29 +7,30 @@ LazarusResources.Add('TProjectInspectorForm','FORMDATA',[
+'ctorForm'#12'ClientHeight'#3'5'#1#11'ClientWidth'#3#177#1#6'OnShow'#7#24'Pr'
+'ojectInspectorFormShow'#10'LCLVersion'#6#6'0.9.27'#0#9'TTreeView'#13'ItemsT'
+'reeView'#21'AnchorSideTop.Control'#7#10'OpenBitBtn'#18'AnchorSideTop.Side'#7
+#9'asrBottom'#4'Left'#2#0#6'Height'#3#28#1#3'Top'#2#25#5'Width'#3#177#1#5'Al'
+'ign'#7#8'alBottom'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0
+#17'BorderSpacing.Top'#2#2#17'DefaultItemHeight'#2#15#9'PopupMenu'#7#14'Item'
+'sPopupMenu'#8'ReadOnly'#9#16'RightClickSelect'#9#8'TabOrder'#2#0#10'OnDblCl'
+'ick'#7#21'ItemsTreeViewDblClick'#9'OnKeyDown'#7#20'ItemsTreeViewKeyDown'#18
+'OnSelectionChanged'#7#29'ItemsTreeViewSelectionChanged'#7'Options'#11#17'tv'
+'oAutoItemHeight'#16'tvoHideSelection'#21'tvoKeepCollapsedNodes'#11'tvoReadO'
+'nly'#19'tvoRightClickSelect'#14'tvoShowButtons'#12'tvoShowLines'#11'tvoShow'
+'Root'#11'tvoToolTips'#0#0#0#7'TBitBtn'#10'OpenBitBtn'#4'Left'#2#0#6'Height'
+#2#23#3'Top'#2#0#5'Width'#2'P'#8'AutoSize'#9#7'Caption'#6#10'OpenBitBtn'#7'O'
+'nClick'#7#15'OpenBitBtnClick'#8'TabOrder'#2#1#0#0#7'TBitBtn'#9'AddBitBtn'#22
+'AnchorSideLeft.Control'#7#10'OpenBitBtn'#19'AnchorSideLeft.Side'#7#9'asrBot'
+'tom'#21'AnchorSideTop.Control'#7#10'OpenBitBtn'#4'Left'#2'P'#6'Height'#2#23
+#3'Top'#2#0#5'Width'#2'I'#8'AutoSize'#9#7'Caption'#6#9'AddBitBtn'#7'OnClick'
+#7#14'AddBitBtnClick'#8'TabOrder'#2#2#0#0#7'TBitBtn'#12'RemoveBitBtn'#22'Anc'
+'horSideLeft.Control'#7#9'AddBitBtn'#19'AnchorSideLeft.Side'#7#9'asrBottom'
+#21'AnchorSideTop.Control'#7#10'OpenBitBtn'#4'Left'#3#153#0#6'Height'#2#23#3
+'Top'#2#0#5'Width'#2']'#8'AutoSize'#9#7'Caption'#6#12'RemoveBitBtn'#7'OnClic'
+'k'#7#17'RemoveBitBtnClick'#8'TabOrder'#2#3#0#0#7'TBitBtn'#13'OptionsBitBtn'
+#22'AnchorSideLeft.Control'#7#12'RemoveBitBtn'#19'AnchorSideLeft.Side'#7#9'a'
+'srBottom'#21'AnchorSideTop.Control'#7#10'OpenBitBtn'#4'Left'#3#246#0#6'Heig'
+'ht'#2#23#3'Top'#2#0#5'Width'#2'['#8'AutoSize'#9#7'Caption'#6#13'OptionsBitB'
+'tn'#7'OnClick'#7#18'OptionsBitBtnClick'#8'TabOrder'#2#4#0#0#10'TPopupMenu'
+#9'asrBottom'#6'Height'#3#28#1#3'Top'#2#25#5'Width'#3#177#1#5'Align'#7#8'alB'
+'ottom'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#17'BorderS'
+'pacing.Top'#2#2#17'DefaultItemHeight'#2#15#9'PopupMenu'#7#14'ItemsPopupMenu'
+#8'ReadOnly'#9#16'RightClickSelect'#9#8'TabOrder'#2#0#10'OnDblClick'#7#21'It'
+'emsTreeViewDblClick'#9'OnKeyDown'#7#20'ItemsTreeViewKeyDown'#18'OnSelection'
+'Changed'#7#29'ItemsTreeViewSelectionChanged'#7'Options'#11#17'tvoAutoItemHe'
+'ight'#16'tvoHideSelection'#21'tvoKeepCollapsedNodes'#11'tvoReadOnly'#19'tvo'
+'RightClickSelect'#14'tvoShowButtons'#12'tvoShowLines'#11'tvoShowRoot'#11'tv'
+'oToolTips'#0#0#0#7'TBitBtn'#10'OpenBitBtn'#6'Height'#2#23#5'Width'#2'P'#8'A'
+'utoSize'#9#7'Caption'#6#10'OpenBitBtn'#7'OnClick'#7#15'OpenBitBtnClick'#14
+'ParentShowHint'#8#8'ShowHint'#9#8'TabOrder'#2#1#0#0#7'TBitBtn'#9'AddBitBtn'
+#22'AnchorSideLeft.Control'#7#10'OpenBitBtn'#19'AnchorSideLeft.Side'#7#9'asr'
+'Bottom'#21'AnchorSideTop.Control'#7#10'OpenBitBtn'#4'Left'#2'P'#6'Height'#2
+#23#5'Width'#2'I'#8'AutoSize'#9#7'Caption'#6#9'AddBitBtn'#7'OnClick'#7#14'Ad'
+'dBitBtnClick'#14'ParentShowHint'#8#8'ShowHint'#9#8'TabOrder'#2#2#0#0#7'TBit'
+'Btn'#12'RemoveBitBtn'#22'AnchorSideLeft.Control'#7#9'AddBitBtn'#19'AnchorSi'
+'deLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7#10'OpenBitBtn'#4'Le'
+'ft'#3#153#0#6'Height'#2#23#5'Width'#2']'#8'AutoSize'#9#7'Caption'#6#12'Remo'
+'veBitBtn'#7'OnClick'#7#17'RemoveBitBtnClick'#14'ParentShowHint'#8#8'ShowHin'
+'t'#9#8'TabOrder'#2#3#0#0#7'TBitBtn'#13'OptionsBitBtn'#22'AnchorSideLeft.Con'
+'trol'#7#12'RemoveBitBtn'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSi'
+'deTop.Control'#7#10'OpenBitBtn'#4'Left'#3#246#0#6'Height'#2#23#5'Width'#2'['
+#8'AutoSize'#9#7'Caption'#6#13'OptionsBitBtn'#7'OnClick'#7#18'OptionsBitBtnC'
+'lick'#14'ParentShowHint'#8#8'ShowHint'#9#8'TabOrder'#2#4#0#0#10'TPopupMenu'
+#14'ItemsPopupMenu'#7'OnPopup'#7#19'ItemsPopupMenuPopup'#4'left'#2'('#3'top'
+#2';'#0#0#0
]);

View File

@ -433,10 +433,14 @@ begin
RemoveBitBtn.LoadGlyphFromLazarusResource('laz_delete');
OptionsBitBtn.LoadGlyphFromLazarusResource('menu_environment_options');
OpenBitBtn.Caption:=lisMenuOpen;
AddBitBtn.Caption:=lisCodeTemplAdd;
RemoveBitBtn.Caption:=lisExtToolRemove;
OptionsBitBtn.Caption:=dlgFROpts;
OpenBitBtn.Caption:='';
AddBitBtn.Caption:='';
RemoveBitBtn.Caption:='';
OptionsBitBtn.Caption:='';
OpenBitBtn.Hint:=lisOpenFile;
AddBitBtn.Hint:=lisCodeTemplAdd;
RemoveBitBtn.Hint:=lisExtToolRemove;
OptionsBitBtn.Hint:=dlgFROpts;
with ItemsTreeView do begin
FilesNode:=Items.Add(nil, dlgEnvFiles);