You've already forked lazarus-ccr
jvcllaz: Move TJvTabBar and TJvTabBarXPPainter from JvCustomControls to JvPageComps package.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6393 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -17,14 +17,14 @@ uses
|
|||||||
Classes, ImgList, Controls, LResources, PropEdits, GraphPropEdits, ComponentEditors,
|
Classes, ImgList, Controls, LResources, PropEdits, GraphPropEdits, ComponentEditors,
|
||||||
JvDsgnConsts,
|
JvDsgnConsts,
|
||||||
JvOutlookBar, JvOutlookBarEditors,
|
JvOutlookBar, JvOutlookBarEditors,
|
||||||
JvTabBar, JvTabBarXPPainter,
|
// JvTabBar, JvTabBarXPPainter,
|
||||||
JvThumbImage, JvThumbnails, JvThumbViews,
|
JvThumbImage, JvThumbnails, JvThumbViews,
|
||||||
JvTimeLine, JvTMTimeLine, JvTimeLineEditor;
|
JvTimeLine, JvTMTimeLine, JvTimeLineEditor;
|
||||||
|
|
||||||
procedure Register;
|
procedure Register;
|
||||||
begin
|
begin
|
||||||
RegisterComponents(RsPaletteJvcl, [
|
RegisterComponents(RsPaletteJvcl, [
|
||||||
TJvTabBar, TJvModernTabBarPainter, TJvTabBarXPPainter,
|
// TJvTabBar, TJvModernTabBarPainter, TJvTabBarXPPainter, // moved to PageComps
|
||||||
TJvOutlookBar,
|
TJvOutlookBar,
|
||||||
TJvThumbView, TJvThumbnail, TJvThumbImage,
|
TJvThumbView, TJvThumbnail, TJvThumbImage,
|
||||||
TJvTimeLine,
|
TJvTimeLine,
|
||||||
|
@ -18,6 +18,7 @@ uses
|
|||||||
PropEdits, ComponentEditors,
|
PropEdits, ComponentEditors,
|
||||||
JvDsgnConsts,
|
JvDsgnConsts,
|
||||||
JvNavigationPane, JvNavPaneEditors,
|
JvNavigationPane, JvNavPaneEditors,
|
||||||
|
JvTabBar, JvTabBarXPPainter,
|
||||||
JvPageList, JvNotebookPageList,
|
JvPageList, JvNotebookPageList,
|
||||||
JvPageListEditors,
|
JvPageListEditors,
|
||||||
JvPageListTreeView;
|
JvPageListTreeView;
|
||||||
@ -31,6 +32,7 @@ begin
|
|||||||
TJvNavigationPane,
|
TJvNavigationPane,
|
||||||
TJvNavIconButton,
|
TJvNavIconButton,
|
||||||
TJvNavPanelButton, TJvNavPanelHeader, TJvNavPanelDivider,
|
TJvNavPanelButton, TJvNavPanelHeader, TJvNavPanelDivider,
|
||||||
|
TJvTabBar, TJvModernTabBarPainter, TJvTabBarXPPainter,
|
||||||
TJvOutlookSplitter,
|
TJvOutlookSplitter,
|
||||||
TJvNavPaneStyleManager, TJvNavPaneToolPanel
|
TJvNavPaneStyleManager, TJvNavPaneToolPanel
|
||||||
]);
|
]);
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
</RunParams>
|
</RunParams>
|
||||||
<RequiredPackages Count="2">
|
<RequiredPackages Count="2">
|
||||||
<Item1>
|
<Item1>
|
||||||
<PackageName Value="JvCustomLazR"/>
|
<PackageName Value="JvPageCompsR"/>
|
||||||
</Item1>
|
</Item1>
|
||||||
<Item2>
|
<Item2>
|
||||||
<PackageName Value="LCL"/>
|
<PackageName Value="LCL"/>
|
||||||
|
@ -12,6 +12,7 @@ object Form1: TForm1
|
|||||||
LCLVersion = '1.9.0.0'
|
LCLVersion = '1.9.0.0'
|
||||||
object JvTabBar1: TJvTabBar
|
object JvTabBar1: TJvTabBar
|
||||||
Left = 0
|
Left = 0
|
||||||
|
Height = 24
|
||||||
Top = 42
|
Top = 42
|
||||||
Width = 614
|
Width = 614
|
||||||
Visible = False
|
Visible = False
|
||||||
@ -63,11 +64,10 @@ object Form1: TForm1
|
|||||||
end
|
end
|
||||||
object Memo1: TMemo
|
object Memo1: TMemo
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 250
|
Height = 249
|
||||||
Top = 65
|
Top = 66
|
||||||
Width = 614
|
Width = 614
|
||||||
Align = alClient
|
Align = alClient
|
||||||
BorderStyle = bsNone
|
|
||||||
Font.CharSet = ANSI_CHARSET
|
Font.CharSet = ANSI_CHARSET
|
||||||
Font.Color = clBlack
|
Font.Color = clBlack
|
||||||
Font.Height = -11
|
Font.Height = -11
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
"/>
|
"/>
|
||||||
<License Value="The JVCL is released in accordance with the MPL 1.1 license. To get your own copy or read it, go to http://www.mozilla.org/MPL/MPL-1.1.html. "/>
|
<License Value="The JVCL is released in accordance with the MPL 1.1 license. To get your own copy or read it, go to http://www.mozilla.org/MPL/MPL-1.1.html. "/>
|
||||||
<Version Major="1" Release="4"/>
|
<Version Major="1" Release="4"/>
|
||||||
<Files Count="9">
|
<Files Count="7">
|
||||||
<Item1>
|
<Item1>
|
||||||
<Filename Value="..\run\JvCustomControls\JvTimeLine.pas"/>
|
<Filename Value="..\run\JvCustomControls\JvTimeLine.pas"/>
|
||||||
<UnitName Value="JvTimeLine"/>
|
<UnitName Value="JvTimeLine"/>
|
||||||
@ -32,29 +32,21 @@
|
|||||||
<UnitName Value="JvOutlookBar"/>
|
<UnitName Value="JvOutlookBar"/>
|
||||||
</Item3>
|
</Item3>
|
||||||
<Item4>
|
<Item4>
|
||||||
<Filename Value="..\run\JvCustomControls\JvTabBar.pas"/>
|
|
||||||
<UnitName Value="JvTabBar"/>
|
|
||||||
</Item4>
|
|
||||||
<Item5>
|
|
||||||
<Filename Value="..\run\JvCustomControls\JvTabBarXPPainter.pas"/>
|
|
||||||
<UnitName Value="JvTabBarXPPainter"/>
|
|
||||||
</Item5>
|
|
||||||
<Item6>
|
|
||||||
<Filename Value="..\run\JvCustomControls\JvBaseThumbnail.pas"/>
|
<Filename Value="..\run\JvCustomControls\JvBaseThumbnail.pas"/>
|
||||||
<UnitName Value="JvBaseThumbnail"/>
|
<UnitName Value="JvBaseThumbnail"/>
|
||||||
</Item6>
|
</Item4>
|
||||||
<Item7>
|
<Item5>
|
||||||
<Filename Value="..\run\JvCustomControls\JvThumbImage.pas"/>
|
<Filename Value="..\run\JvCustomControls\JvThumbImage.pas"/>
|
||||||
<UnitName Value="JvThumbImage"/>
|
<UnitName Value="JvThumbImage"/>
|
||||||
</Item7>
|
</Item5>
|
||||||
<Item8>
|
<Item6>
|
||||||
<Filename Value="..\run\JvCustomControls\JvThumbnails.pas"/>
|
<Filename Value="..\run\JvCustomControls\JvThumbnails.pas"/>
|
||||||
<UnitName Value="JvThumbnails"/>
|
<UnitName Value="JvThumbnails"/>
|
||||||
</Item8>
|
</Item6>
|
||||||
<Item9>
|
<Item7>
|
||||||
<Filename Value="..\run\JvCustomControls\JvThumbViews.pas"/>
|
<Filename Value="..\run\JvCustomControls\JvThumbViews.pas"/>
|
||||||
<UnitName Value="JvThumbViews"/>
|
<UnitName Value="JvThumbViews"/>
|
||||||
</Item9>
|
</Item7>
|
||||||
</Files>
|
</Files>
|
||||||
<RequiredPkgs Count="2">
|
<RequiredPkgs Count="2">
|
||||||
<Item1>
|
<Item1>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<Description Value="Page style components of the JVCL library (https://sourceforge.net/projects/jvcl/) (runtime code)"/>
|
<Description Value="Page style components of the JVCL library (https://sourceforge.net/projects/jvcl/) (runtime code)"/>
|
||||||
<License Value="The JVCL is released in accordance with the MPL 1.1 license. To get your own copy or read it, go to http://www.mozilla.org/MPL/MPL-1.1.html. "/>
|
<License Value="The JVCL is released in accordance with the MPL 1.1 license. To get your own copy or read it, go to http://www.mozilla.org/MPL/MPL-1.1.html. "/>
|
||||||
<Version Major="1" Release="4"/>
|
<Version Major="1" Release="4"/>
|
||||||
<Files Count="4">
|
<Files Count="6">
|
||||||
<Item1>
|
<Item1>
|
||||||
<Filename Value="..\run\JvPageComps\JvNavigationPane.pas"/>
|
<Filename Value="..\run\JvPageComps\JvNavigationPane.pas"/>
|
||||||
<UnitName Value="JvNavigationPane"/>
|
<UnitName Value="JvNavigationPane"/>
|
||||||
@ -32,6 +32,14 @@
|
|||||||
<Filename Value="..\run\JvPageComps\jvnotebookpagelist.pas"/>
|
<Filename Value="..\run\JvPageComps\jvnotebookpagelist.pas"/>
|
||||||
<UnitName Value="jvnotebookpagelist"/>
|
<UnitName Value="jvnotebookpagelist"/>
|
||||||
</Item4>
|
</Item4>
|
||||||
|
<Item5>
|
||||||
|
<Filename Value="..\run\JvPageComps\JvTabBar.pas"/>
|
||||||
|
<UnitName Value="JvTabBar"/>
|
||||||
|
</Item5>
|
||||||
|
<Item6>
|
||||||
|
<Filename Value="..\run\JvPageComps\JvTabBarXPPainter.pas"/>
|
||||||
|
<UnitName Value="JvTabBarXPPainter"/>
|
||||||
|
</Item6>
|
||||||
</Files>
|
</Files>
|
||||||
<RequiredPkgs Count="3">
|
<RequiredPkgs Count="3">
|
||||||
<Item1>
|
<Item1>
|
||||||
|
@ -33,7 +33,8 @@ interface
|
|||||||
uses
|
uses
|
||||||
LCLIntf, LCLType, LMessages, LCLVersion, Types,
|
LCLIntf, LCLType, LMessages, LCLVersion, Types,
|
||||||
Graphics, Controls, Forms, ImgList, Menus, Buttons,
|
Graphics, Controls, Forms, ImgList, Menus, Buttons,
|
||||||
ExtCtrls, SysUtils, Classes, Contnrs, Themes;
|
ExtCtrls, SysUtils, Classes, Contnrs, Themes,
|
||||||
|
JvPageList;
|
||||||
|
|
||||||
type
|
type
|
||||||
TJvCustomTabBar = class;
|
TJvCustomTabBar = class;
|
||||||
@ -46,6 +47,7 @@ type
|
|||||||
TJvGetModifiedEvent = procedure(Sender: TJvTabBarItem; var Modified: Boolean) of object;
|
TJvGetModifiedEvent = procedure(Sender: TJvTabBarItem; var Modified: Boolean) of object;
|
||||||
TJvGetEnabledEvent = procedure(Sender: TJvTabBarItem; var Enabled: Boolean) of object;
|
TJvGetEnabledEvent = procedure(Sender: TJvTabBarItem; var Enabled: Boolean) of object;
|
||||||
|
|
||||||
|
(*
|
||||||
IPageList = interface
|
IPageList = interface
|
||||||
['{6BB90183-CFB1-4431-9CFD-E9A032E0C94C}']
|
['{6BB90183-CFB1-4431-9CFD-E9A032E0C94C}']
|
||||||
function CanChange(AIndex: Integer): Boolean;
|
function CanChange(AIndex: Integer): Boolean;
|
||||||
@ -57,6 +59,7 @@ type
|
|||||||
procedure MovePage(CurIndex, NewIndex: Integer);
|
procedure MovePage(CurIndex, NewIndex: Integer);
|
||||||
procedure PageCaptionChanged(Index: Integer; const NewCaption: string);
|
procedure PageCaptionChanged(Index: Integer; const NewCaption: string);
|
||||||
end;
|
end;
|
||||||
|
*)
|
||||||
|
|
||||||
TJvTabBarItem = class(TCollectionItem)
|
TJvTabBarItem = class(TCollectionItem)
|
||||||
private
|
private
|
Reference in New Issue
Block a user