IDE: add hints to OI options.

git-svn-id: trunk@46733 -
This commit is contained in:
juha 2014-10-31 23:18:30 +00:00
parent 26979ca90a
commit 59938e4efe
3 changed files with 40 additions and 2 deletions

View File

@ -84,6 +84,8 @@ object OIOptionsFrame: TOIOptionsFrame
Width = 155
BorderSpacing.Top = 6
Caption = 'OIShowHintCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 0
end
object OIAutoShowCheckBox: TCheckBox
@ -96,6 +98,8 @@ object OIOptionsFrame: TOIOptionsFrame
BorderSpacing.Left = 6
BorderSpacing.Top = 6
Caption = 'OIAutoShowCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 1
end
object OIBoldNonDefaultCheckBox: TCheckBox
@ -108,6 +112,8 @@ object OIOptionsFrame: TOIOptionsFrame
Width = 194
BorderSpacing.Top = 6
Caption = 'OIBoldNonDefaultCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 2
end
object OIDrawGridLinesCheckBox: TCheckBox
@ -121,6 +127,8 @@ object OIOptionsFrame: TOIOptionsFrame
BorderSpacing.Top = 6
BorderSpacing.Bottom = 6
Caption = 'OIDrawGridLinesCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 3
end
object OIShowGutterCheckBox: TCheckBox
@ -133,6 +141,8 @@ object OIOptionsFrame: TOIOptionsFrame
Width = 169
BorderSpacing.Top = 6
Caption = 'OIShowGutterCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 4
end
object OIShowStatusBarCheckBox: TCheckBox
@ -147,6 +157,8 @@ object OIOptionsFrame: TOIOptionsFrame
BorderSpacing.Top = 6
BorderSpacing.Bottom = 6
Caption = 'OIShowStatusBarCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 5
end
object OIShowInfoBoxCheckBox: TCheckBox
@ -160,6 +172,8 @@ object OIOptionsFrame: TOIOptionsFrame
BorderSpacing.Left = 6
BorderSpacing.Top = 6
Caption = 'OIShowInfoBoxCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 6
end
object OIShowComponentTreeCheckBox: TCheckBox
@ -173,6 +187,8 @@ object OIOptionsFrame: TOIOptionsFrame
BorderSpacing.Left = 6
BorderSpacing.Top = 6
Caption = 'OIShowComponentTreeCheckBox'
ParentShowHint = False
ShowHint = True
TabOrder = 7
end
object OIOptsCenterLabel: TLabel
@ -279,6 +295,8 @@ object OIOptionsFrame: TOIOptionsFrame
Top = 6
Width = 53
BorderSpacing.Around = 6
ParentShowHint = False
ShowHint = True
TabOrder = 0
Value = 1
end

View File

@ -172,16 +172,24 @@ begin
OIOptionsGroupBox.Caption := dlgOIOptions;
ObjectInspectorSpeedSettingsGroupBox.Caption := dlgOISpeedSettings;
OIDefaultItemHeightLabel.Caption := dlgOIItemHeight;
OIDefaultItemHeightSpinEdit.Hint := dlgHeightOfOnePropertyInGrid;
OIShowComponentTreeCheckBox.Caption := lisShowComponentTreeInObjectInspector;
OIShowHintCheckBox.Caption := lisShowHintsInObjectInspector;
OIShowComponentTreeCheckBox.Hint := lisShowsAllControlsInTreeHierarchy;
OIShowInfoBoxCheckBox.Caption := lisShowInfoBoxInObjectInspector;
OIShowInfoBoxCheckBox.Hint := lisShowsDescriptionForSelectedProperty;
OIShowStatusBarCheckBox.Caption := lisShowStatusBarInObjectInspector;
OIShowStatusBarCheckBox.Hint := lisStatusBarShowsPropertysNameAndClass;
OIShowHintCheckBox.Caption := lisShowHintsInObjectInspector;
OIShowHintCheckBox.Hint := lisHintAtPropertysNameShowsDescription;
OIAutoShowCheckBox.Caption := lisAutoShowObjectInspector;
OIAutoShowCheckBox.Hint := lisObjectInspectorBecomesVisible;
OIBoldNonDefaultCheckBox.Caption := lisBoldNonDefaultObjectInspector;
OIBoldNonDefaultCheckBox.Hint := lisValuesThatAreChangedFromDefault;
OIShowGutterCheckBox.Caption := lisShowGutterInObjectInspector;
OIDrawGridLinesCheckBox.Caption := lisDrawGridLinesObjectInspector;
OIDrawGridLinesCheckBox.Hint := lisHorizontalLinesBetweenProperties;
BtnUseDefaultLazarusSettings.Caption := dlgOIUseDefaultLazarusSettings;
BtnUseDefaultDelphiSettings.Caption := dlgOIUseDefaultDelphiSettings;

View File

@ -1380,16 +1380,28 @@ resourcestring
dlgOISpeedSettings = 'Speed settings';
dlgOIOptions = 'Options';
dlgOIItemHeight = 'Item height';
dlgHeightOfOnePropertyInGrid = 'Height of one property in the grid.';
dlgOIUseDefaultLazarusSettings = 'Use default Lazarus settings';
dlgOIUseDefaultDelphiSettings = 'Use default Delphi settings';
lisShowComponentTreeInObjectInspector = 'Show component tree';
lisShowsAllControlsInTreeHierarchy = 'Shows all controls in tree hierarchy.';
lisShowHintsInObjectInspector = 'Show hints';
lisHintAtPropertysNameShowsDescription = 'A hint at property''s name shows its description.';
lisAutoShowObjectInspector = 'Auto show';
lisObjectInspectorBecomesVisible = 'Object Inspector becomes visible '
+'when components are selected in designer.';
lisBoldNonDefaultObjectInspector = 'Bold non default values';
lisValuesThatAreChangedFromDefault = 'Values that are changed from the default '
+'are stored in .lfm file and are shown differently in Object Inspector.';
lisDrawGridLinesObjectInspector = 'Draw grid lines';
lisHorizontalLinesBetweenProperties = 'Horizontal lines between properties.';
lisShowGutterInObjectInspector = 'Show gutter';
lisShowStatusBarInObjectInspector = 'Show status bar';
lisShowStatusBarInObjectInspector = 'Show statusbar';
lisStatusBarShowsPropertysNameAndClass = 'Statusbar shows the property''s '
+'name and the class where it is published.';
lisShowInfoBoxInObjectInspector = 'Show information box';
lisShowsDescriptionForSelectedProperty = 'A box at the bottom shows '
+'description for the selected property.';
dlgEnvBackupHelpNote = 'Notes: Project files are all files in the project directory';
lisEnvOptDlgInvalidDebuggerFilename = 'Invalid debugger filename';
lisEnvOptDlgInvalidDebuggerFilenameMsg = 'The debugger file "%s" is not an executable.';