Changeset 6
- Timestamp:
- Aug 2, 2012, 4:43:10 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Studio/UCore.pas
r5 r6 57 57 begin 58 58 TLDStudioAPI(ModuleManager.API).MainForm := FormMain; 59 TLDStudioAPI(ModuleManager.API).MainMenu := FormMain.MainMenu 1;59 TLDStudioAPI(ModuleManager.API).MainMenu := FormMain.MainMenu; 60 60 RegisterModules; 61 61 end; -
trunk/StudioPackage/Forms/UFormMain.lfm
r5 r6 7 7 ClientHeight = 501 8 8 ClientWidth = 747 9 Menu = MainMenu 19 Menu = MainMenu 10 10 OnShow = FormShow 11 11 LCLVersion = '1.1' … … 23 23 Width = 747 24 24 Caption = 'ToolBar1' 25 Images = ImageList 125 Images = ImageListMain 26 26 TabOrder = 1 27 27 object ToolButton1: TToolButton … … 114 114 end 115 115 end 116 object MainMenu 1: TMainMenu117 Images = ImageList 1118 left = 48119 top = 64116 object MainMenu: TMainMenu 117 Images = ImageListMain 118 left = 80 119 top = 48 120 120 object MenuItem1: TMenuItem 121 121 Caption = 'Project' … … 520 520 end 521 521 end 522 object MenuItem20: TMenuItem 523 Caption = 'Build' 524 object MenuItem21: TMenuItem 525 Action = ABuild 526 end 527 object MenuItem22: TMenuItem 528 Action = ARun 529 end 530 object MenuItem23: TMenuItem 531 Action = AStop 532 end 533 object MenuItem24: TMenuItem 534 Action = ARebuild 535 end 536 object MenuItem25: TMenuItem 537 Action = ABuildClean 538 end 539 end 522 540 object MenuItem16: TMenuItem 523 541 Caption = 'Tools' 542 object MenuItem19: TMenuItem 543 Action = AViewSettings 544 end 524 545 end 525 546 object MenuItem17: TMenuItem … … 533 554 end 534 555 end 535 object ActionList 1: TActionList536 Images = ImageList 1537 left = 48538 top = 1 20556 object ActionListMain: TActionList 557 Images = ImageListMain 558 left = 80 559 top = 104 539 560 object AProjectNew: TAction 540 561 Category = 'Project' … … 616 637 OnExecute = AViewProjectManagerExecute 617 638 end 639 object AViewSettings: TAction 640 Category = 'View' 641 Caption = 'Settings' 642 ImageIndex = 10 643 OnExecute = AViewSettingsExecute 644 end 645 object ABuild: TAction 646 Category = 'Build' 647 Caption = 'Build' 648 end 649 object ARun: TAction 650 Category = 'Build' 651 Caption = 'Run' 652 end 653 object AStop: TAction 654 Category = 'Build' 655 Caption = 'Stop' 656 end 657 object ARebuild: TAction 658 Category = 'Build' 659 Caption = 'Rebuild' 660 end 661 object ABuildClean: TAction 662 Category = 'Build' 663 Caption = 'Clean' 664 end 618 665 end 619 object ImageList 1: TImageList620 left = 48621 top = 1 76666 object ImageListMain: TImageList 667 left = 80 668 top = 160 622 669 Bitmap = { 623 670 4C69160000001000000010000000000000000000000000000000000000000000 -
trunk/StudioPackage/Forms/UFormMain.lrt
r5 r6 8 8 TFORMMAIN.MENUITEM13.CAPTION=- 9 9 TFORMMAIN.MENUITEM2.CAPTION=Edit 10 TFORMMAIN.MENUITEM20.CAPTION=Build 10 11 TFORMMAIN.MENUITEM16.CAPTION=Tools 11 12 TFORMMAIN.MENUITEM17.CAPTION=View … … 34 35 TFORMMAIN.AEXIT.HINT=Exit application 35 36 TFORMMAIN.AVIEWPROJECTMANAGER.CAPTION=Project manager 37 TFORMMAIN.AVIEWSETTINGS.CAPTION=Settings 38 TFORMMAIN.ABUILD.CAPTION=Build 39 TFORMMAIN.ARUN.CAPTION=Run 40 TFORMMAIN.ASTOP.CAPTION=Stop 41 TFORMMAIN.AREBUILD.CAPTION=Rebuild 42 TFORMMAIN.ABUILDCLEAN.CAPTION=Clean -
trunk/StudioPackage/Forms/UFormMain.pas
r5 r6 16 16 AClipboardCopy: TAction; 17 17 AClipboardPaste: TAction; 18 ABuild: TAction; 19 ABuildClean: TAction; 20 ARebuild: TAction; 21 AStop: TAction; 22 ARun: TAction; 23 AViewSettings: TAction; 18 24 AViewProjectManager: TAction; 19 25 AExit: TAction; … … 26 32 AProjectOpen: TAction; 27 33 AProjectNew: TAction; 28 ActionList 1: TActionList;29 ImageList 1: TImageList;30 MainMenu 1: TMainMenu;34 ActionListMain: TActionList; 35 ImageListMain: TImageList; 36 MainMenu: TMainMenu; 31 37 MenuItem1: TMenuItem; 32 38 MenuItem10: TMenuItem; … … 39 45 MenuItem17: TMenuItem; 40 46 MenuItem18: TMenuItem; 47 MenuItem19: TMenuItem; 41 48 MenuItem2: TMenuItem; 49 MenuItem20: TMenuItem; 50 MenuItem21: TMenuItem; 51 MenuItem22: TMenuItem; 52 MenuItem23: TMenuItem; 53 MenuItem24: TMenuItem; 54 MenuItem25: TMenuItem; 42 55 MenuItem3: TMenuItem; 43 56 MenuItem4: TMenuItem; … … 65 78 procedure AExitExecute(Sender: TObject); 66 79 procedure AViewProjectManagerExecute(Sender: TObject); 80 procedure AViewSettingsExecute(Sender: TObject); 67 81 procedure FormShow(Sender: TObject); 68 82 private … … 80 94 81 95 uses 82 UFormProject, UFormSourceCode ;96 UFormProject, UFormSourceCode, UFormSettings; 83 97 84 98 { TFormMain } … … 92 106 begin 93 107 FormProject.Show; 108 end; 109 110 procedure TFormMain.AViewSettingsExecute(Sender: TObject); 111 begin 112 FormSettings.ShowModal; 94 113 end; 95 114 -
trunk/StudioPackage/LibreDevelopStudio.lpk
r5 r6 23 23 </Other> 24 24 </CompilerOptions> 25 <Files Count=" 5">25 <Files Count="6"> 26 26 <Item1> 27 27 <Filename Value="Forms\UFormMain.pas"/> … … 44 44 <UnitName Value="UFormSourceCode"/> 45 45 </Item5> 46 <Item6> 47 <Filename Value="Forms\UFormSettings.pas"/> 48 <UnitName Value="UFormSettings"/> 49 </Item6> 46 50 </Files> 47 51 <i18n> -
trunk/StudioPackage/LibreDevelopStudio.pas
r5 r6 9 9 uses 10 10 UFormMain, UProject, UDataModule, UFormProject, UFormSourceCode, 11 LazarusPackageIntf;11 UFormSettings, LazarusPackageIntf; 12 12 13 13 implementation -
trunk/StudioPackage/UDataModule.pas
r4 r6 29 29 30 30 uses 31 UFormSourceCode, UFormMain, UFormProject ;31 UFormSourceCode, UFormMain, UFormProject, UFormSettings; 32 32 33 33 { TDataModule1 } … … 38 38 Application.CreateForm(TFormProject, FormProject); 39 39 Application.CreateForm(TFormSourceCode, FormSourceCode); 40 Application.CreateForm(TFormSettings, FormSettings); 40 41 end; 41 42
Note:
See TracChangeset
for help on using the changeset viewer.