IDE: Cleanup.

git-svn-id: trunk@50185 -
This commit is contained in:
juha 2015-10-27 17:30:50 +00:00
parent e92ffb6dc2
commit e3a1721df5
5 changed files with 14 additions and 11 deletions

View File

@ -38,7 +38,7 @@ unit Compiler;
interface interface
uses uses
Classes, SysUtils, LCLProc, Forms, Controls, contnrs, strutils, FileUtil, Classes, SysUtils, LCLProc, Forms, Controls, contnrs, strutils,
IDEExternToolIntf, IDEMsgIntf, LazIDEIntf, LazUTF8, IDEExternToolIntf, IDEMsgIntf, LazIDEIntf, LazUTF8,
IDECmdLine, LazarusIDEStrConsts, CompilerOptions, Project, IDECmdLine, LazarusIDEStrConsts, CompilerOptions, Project,
DefineTemplates, TransferMacros, EnvironmentOpts, LazFileUtils; DefineTemplates, TransferMacros, EnvironmentOpts, LazFileUtils;

View File

@ -42,7 +42,7 @@ unit CompilerOptions;
interface interface
uses uses
typinfo, Classes, SysUtils, FileProcs, FileUtil, Laz2_XMLCfg, LazFileUtils, Classes, SysUtils, FileProcs, FileUtil, Laz2_XMLCfg, LazFileUtils,
AvgLvlTree, Laz2_DOM, LazUTF8, AvgLvlTree, Laz2_DOM, LazUTF8,
InterfaceBase, Forms, Controls, LCLProc, ExprEval, InterfaceBase, Forms, Controls, LCLProc, ExprEval,
DefineTemplates, CodeToolsCfgScript, CodeToolManager, KeywordFuncLists, DefineTemplates, CodeToolsCfgScript, CodeToolManager, KeywordFuncLists,

View File

@ -328,7 +328,7 @@ begin
UpdateByTargetCPU(TargetCPU); UpdateByTargetCPU(TargetCPU);
UpdateByTargetOS(TargetOS); UpdateByTargetOS(TargetOS);
TargetProcComboBox.Text := ProcessorToCaption(TargetProcessor); TargetProcComboBox.Text := ProcessorToCaption(TargetProcessor);
PkgDep:=(AOptions as TProjectCompilerOptions).LazProject.FindDependencyByName('LCL'); PkgDep:=TProjectCompilerOptions(AOptions).LazProject.FindDependencyByName('LCL');
CurrentWidgetTypeLabel.Visible:=Assigned(PkgDep); CurrentWidgetTypeLabel.Visible:=Assigned(PkgDep);
LCLWidgetTypeLabel.Visible:=Assigned(PkgDep); LCLWidgetTypeLabel.Visible:=Assigned(PkgDep);
end; end;

View File

@ -6,9 +6,9 @@ interface
uses uses
Classes, SysUtils, LCLProc, LazFileUtils, LazFileCache, Controls, Dialogs, Classes, SysUtils, LCLProc, LazFileUtils, LazFileCache, Controls, Dialogs,
Graphics, Buttons, StdCtrls, LCLType, IDEOptionsIntf, MacroIntf, IDEDialogs, Buttons, StdCtrls, LCLType, IDEOptionsIntf, MacroIntf, IDEDialogs,
CompOptsIntf, Project, CompilerOptions, LazarusIDEStrConsts, PathEditorDlg, CompOptsIntf, Project, CompilerOptions, LazarusIDEStrConsts, PathEditorDlg,
IDEProcs, CheckCompilerOpts, ShowCompilerOpts, PackageDefs, ImExportCompilerOpts; IDEProcs, CheckCompilerOpts, ShowCompilerOpts, ImExportCompilerOpts;
type type

View File

@ -30,13 +30,16 @@ unit IDEOptionsDlg;
interface interface
uses uses
Classes, SysUtils, LCLProc, LCLType, Controls, Forms, ComCtrls, Buttons, Classes, SysUtils, LCLProc,
ButtonPanel, ExtCtrls, StdCtrls, Dialogs, TreeFilterEdit, LCLType, Controls, Forms, ComCtrls, Buttons, ButtonPanel, ExtCtrls, StdCtrls,
Dialogs, TreeFilterEdit,
// IdeIntf
IDEWindowIntf, IDEOptionsIntf, IDECommands, IDEHelpIntf, ProjectIntf, IDEWindowIntf, IDEOptionsIntf, IDECommands, IDEHelpIntf, ProjectIntf,
EnvironmentOpts, LazarusIDEStrConsts, EditorOptions, // IDE
BuildModesManager, TransferMacros, project_save_options, Project, EnvironmentOpts, EditorOptions, BuildModesManager, Compiler_ModeMatrix,
ModeMatrixOpts, PackageDefs, PackageSystem, Compiler_ModeMatrix, Project, LazarusIDEStrConsts,
Compiler_Other_Options; // Packager
PackageDefs, PackageSystem;
type type
TIDEOptsDlgAction = ( TIDEOptsDlgAction = (