[WIP] cx Komponenten durch Delphi eigene ersetzt
DPROJ Search Path für x2 Zusatzkomponenten gesetzt, später in Submodule auslagern
This commit is contained in:
parent
f6b4267a5e
commit
b1bba371ce
@ -27,19 +27,6 @@ object MainForm: TMainForm
|
|||||||
Height = 13
|
Height = 13
|
||||||
Caption = 'Schema file:'
|
Caption = 'Schema file:'
|
||||||
end
|
end
|
||||||
object feSchema: TcxButtonEdit
|
|
||||||
Left = 99
|
|
||||||
Top = 8
|
|
||||||
Anchors = [akLeft, akTop, akRight]
|
|
||||||
Properties.Buttons = <
|
|
||||||
item
|
|
||||||
Kind = bkEllipsis
|
|
||||||
end>
|
|
||||||
Properties.OnButtonClick = feSchemaPropertiesButtonClick
|
|
||||||
Properties.OnChange = feSchemaPropertiesChange
|
|
||||||
TabOrder = 0
|
|
||||||
Width = 331
|
|
||||||
end
|
|
||||||
object gbOutput: TGroupBox
|
object gbOutput: TGroupBox
|
||||||
Left = 8
|
Left = 8
|
||||||
Top = 43
|
Top = 43
|
||||||
@ -47,7 +34,7 @@ object MainForm: TMainForm
|
|||||||
Height = 225
|
Height = 225
|
||||||
Anchors = [akLeft, akTop, akBottom]
|
Anchors = [akLeft, akTop, akBottom]
|
||||||
Caption = ' Output '
|
Caption = ' Output '
|
||||||
TabOrder = 1
|
TabOrder = 0
|
||||||
DesignSize = (
|
DesignSize = (
|
||||||
422
|
422
|
||||||
225)
|
225)
|
||||||
@ -82,10 +69,6 @@ object MainForm: TMainForm
|
|||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
object spFile: TTabSheet
|
object spFile: TTabSheet
|
||||||
TabVisible = False
|
TabVisible = False
|
||||||
ExplicitLeft = 0
|
|
||||||
ExplicitTop = 0
|
|
||||||
ExplicitWidth = 0
|
|
||||||
ExplicitHeight = 0
|
|
||||||
object lblFile: TLabel
|
object lblFile: TLabel
|
||||||
Left = 4
|
Left = 4
|
||||||
Top = 7
|
Top = 7
|
||||||
@ -93,23 +76,17 @@ object MainForm: TMainForm
|
|||||||
Height = 13
|
Height = 13
|
||||||
Caption = 'Output file:'
|
Caption = 'Output file:'
|
||||||
end
|
end
|
||||||
object feFile: TcxButtonEdit
|
object feFile: TEdit
|
||||||
Left = 88
|
Left = 76
|
||||||
Top = 4
|
Top = 3
|
||||||
Properties.Buttons = <
|
Width = 316
|
||||||
item
|
Height = 21
|
||||||
Kind = bkEllipsis
|
|
||||||
end>
|
|
||||||
Properties.OnButtonClick = feFilePropertiesButtonClick
|
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
Width = 317
|
Text = 'D:\Temp\test.pas'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object spFolder: TTabSheet
|
object spFolder: TTabSheet
|
||||||
TabVisible = False
|
TabVisible = False
|
||||||
DesignSize = (
|
|
||||||
408
|
|
||||||
83)
|
|
||||||
object lblFolder: TLabel
|
object lblFolder: TLabel
|
||||||
Left = 4
|
Left = 4
|
||||||
Top = 7
|
Top = 7
|
||||||
@ -131,30 +108,36 @@ object MainForm: TMainForm
|
|||||||
Height = 13
|
Height = 13
|
||||||
Caption = 'File postfix:'
|
Caption = 'File postfix:'
|
||||||
end
|
end
|
||||||
object deFolder: TcxButtonEdit
|
object edtFolderPrefix: TEdit
|
||||||
Left = 88
|
Left = 89
|
||||||
Top = 4
|
Top = 31
|
||||||
Anchors = [akLeft, akTop, akRight]
|
Width = 316
|
||||||
Properties.Buttons = <
|
Height = 21
|
||||||
item
|
|
||||||
Kind = bkEllipsis
|
|
||||||
end>
|
|
||||||
Properties.OnButtonClick = deFolderPropertiesButtonClick
|
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
Width = 317
|
Text = 'Edit1'
|
||||||
end
|
end
|
||||||
object edtFolderPrefix: TcxTextEdit
|
object edtFolderPostfix: TEdit
|
||||||
Left = 88
|
Left = 89
|
||||||
Top = 29
|
Top = 59
|
||||||
|
Width = 316
|
||||||
|
Height = 21
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
Text = 'xml_'
|
Text = 'Edit1'
|
||||||
Width = 121
|
|
||||||
end
|
end
|
||||||
object edtFolderPostfix: TcxTextEdit
|
object deFolder: TEdit
|
||||||
Left = 88
|
Left = 89
|
||||||
Top = 55
|
Top = 4
|
||||||
|
Width = 256
|
||||||
|
Height = 21
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
Width = 121
|
end
|
||||||
|
object BrowseOutputFolderButton: TButton
|
||||||
|
Left = 351
|
||||||
|
Top = 4
|
||||||
|
Width = 64
|
||||||
|
Height = 22
|
||||||
|
Caption = 'BrowseOutputFolderButton'
|
||||||
|
TabOrder = 3
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -200,7 +183,7 @@ object MainForm: TMainForm
|
|||||||
Anchors = [akRight, akBottom]
|
Anchors = [akRight, akBottom]
|
||||||
Cancel = True
|
Cancel = True
|
||||||
Caption = '&Close'
|
Caption = '&Close'
|
||||||
TabOrder = 4
|
TabOrder = 2
|
||||||
OnClick = btnCloseClick
|
OnClick = btnCloseClick
|
||||||
end
|
end
|
||||||
object btnHints: TButton
|
object btnHints: TButton
|
||||||
@ -211,19 +194,16 @@ object MainForm: TMainForm
|
|||||||
Anchors = [akRight, akBottom]
|
Anchors = [akRight, akBottom]
|
||||||
Cancel = True
|
Cancel = True
|
||||||
Caption = 'Generate blank &Hints file'
|
Caption = 'Generate blank &Hints file'
|
||||||
TabOrder = 2
|
TabOrder = 1
|
||||||
OnClick = btnHintsClick
|
OnClick = btnHintsClick
|
||||||
end
|
end
|
||||||
object DefaultEditStyle: TcxDefaultEditStyleController
|
object feSchema: TJvFilenameEdit
|
||||||
Style.HotTrack = False
|
Left = 104
|
||||||
Left = 264
|
Top = 8
|
||||||
Top = 60
|
Width = 316
|
||||||
PixelsPerInch = 96
|
Height = 21
|
||||||
end
|
TabOrder = 4
|
||||||
object LookAndFeel: TcxLookAndFeelController
|
Text = 'feSchema'
|
||||||
Kind = lfFlat
|
|
||||||
Left = 368
|
|
||||||
Top = 60
|
|
||||||
end
|
end
|
||||||
object dlgSchema: TOpenDialog
|
object dlgSchema: TOpenDialog
|
||||||
Filter = 'W3C XML Schema files (*.xsd)|*.xsd|All files (*.*)|*.*'
|
Filter = 'W3C XML Schema files (*.xsd)|*.xsd|All files (*.*)|*.*'
|
||||||
|
@ -13,7 +13,9 @@ uses
|
|||||||
StdCtrls,
|
StdCtrls,
|
||||||
XMLDOM,
|
XMLDOM,
|
||||||
XMLIntf,
|
XMLIntf,
|
||||||
|
DataBindingHintsXML,
|
||||||
|
XMLDataBindingGenerator, JvExMask, JvToolEdit
|
||||||
|
{
|
||||||
cxButtonEdit,
|
cxButtonEdit,
|
||||||
cxContainer,
|
cxContainer,
|
||||||
cxControls,
|
cxControls,
|
||||||
@ -22,8 +24,8 @@ uses
|
|||||||
cxMaskEdit,
|
cxMaskEdit,
|
||||||
cxTextEdit,
|
cxTextEdit,
|
||||||
|
|
||||||
DataBindingHintsXML,
|
cxGraphics, cxLookAndFeelPainters, cxClasses}
|
||||||
XMLDataBindingGenerator, cxGraphics, cxLookAndFeelPainters, cxClasses;
|
;
|
||||||
|
|
||||||
|
|
||||||
type
|
type
|
||||||
@ -31,21 +33,14 @@ type
|
|||||||
btnClose: TButton;
|
btnClose: TButton;
|
||||||
btnGenerate: TButton;
|
btnGenerate: TButton;
|
||||||
btnHints: TButton;
|
btnHints: TButton;
|
||||||
DefaultEditStyle: TcxDefaultEditStyleController;
|
|
||||||
deFolder: TcxButtonEdit;
|
|
||||||
dlgOutputFile: TSaveDialog;
|
dlgOutputFile: TSaveDialog;
|
||||||
dlgSchema: TOpenDialog;
|
dlgSchema: TOpenDialog;
|
||||||
edtFolderPostfix: TcxTextEdit;
|
|
||||||
edtFolderPrefix: TcxTextEdit;
|
|
||||||
feFile: TcxButtonEdit;
|
|
||||||
feSchema: TcxButtonEdit;
|
|
||||||
gbOutput: TGroupBox;
|
gbOutput: TGroupBox;
|
||||||
lblFile: TLabel;
|
lblFile: TLabel;
|
||||||
lblFolder: TLabel;
|
lblFolder: TLabel;
|
||||||
lblFolderPostfix: TLabel;
|
lblFolderPostfix: TLabel;
|
||||||
lblFolderPrefix: TLabel;
|
lblFolderPrefix: TLabel;
|
||||||
lblSchema: TLabel;
|
lblSchema: TLabel;
|
||||||
LookAndFeel: TcxLookAndFeelController;
|
|
||||||
plOutput: TPageControl;
|
plOutput: TPageControl;
|
||||||
rbFile: TRadioButton;
|
rbFile: TRadioButton;
|
||||||
rbFolder: TRadioButton;
|
rbFolder: TRadioButton;
|
||||||
@ -53,6 +48,12 @@ type
|
|||||||
spFolder: TTabSheet;
|
spFolder: TTabSheet;
|
||||||
cbHasChecksEmpty: TCheckBox;
|
cbHasChecksEmpty: TCheckBox;
|
||||||
cbGenerateGetOptionalOrDefault: TCheckBox;
|
cbGenerateGetOptionalOrDefault: TCheckBox;
|
||||||
|
edtFolderPrefix: TEdit;
|
||||||
|
edtFolderPostfix: TEdit;
|
||||||
|
feFile: TEdit;
|
||||||
|
deFolder: TEdit;
|
||||||
|
feSchema: TJvFilenameEdit;
|
||||||
|
BrowseOutputFolderButton: TButton;
|
||||||
|
|
||||||
procedure btnCloseClick(Sender: TObject);
|
procedure btnCloseClick(Sender: TObject);
|
||||||
procedure btnGenerateClick(Sender: TObject);
|
procedure btnGenerateClick(Sender: TObject);
|
||||||
|
@ -52,6 +52,7 @@
|
|||||||
<VerInfo_Locale>1043</VerInfo_Locale>
|
<VerInfo_Locale>1043</VerInfo_Locale>
|
||||||
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
|
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
|
||||||
<SanitizedProjectName>X2XMLDataBinding</SanitizedProjectName>
|
<SanitizedProjectName>X2XMLDataBinding</SanitizedProjectName>
|
||||||
|
<DCC_UnitSearchPath>..\x2utils;..\x2log;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Base_Win32)'!=''">
|
<PropertyGroup Condition="'$(Base_Win32)'!=''">
|
||||||
<DCC_Namespace>Data.Win;Datasnap.Win;Web.Win;Soap.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
|
<DCC_Namespace>Data.Win;Datasnap.Win;Web.Win;Soap.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
|
||||||
@ -133,8 +134,8 @@
|
|||||||
<Source Name="MainSource">X2XMLDataBinding.dpr</Source>
|
<Source Name="MainSource">X2XMLDataBinding.dpr</Source>
|
||||||
</Source>
|
</Source>
|
||||||
<Excluded_Packages>
|
<Excluded_Packages>
|
||||||
<Excluded_Packages Name="$(BDSBIN)\dcloffice2k250.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
|
<Excluded_Packages Name="$(BDSBIN)\dcloffice2k250.bpl">Microsoft Office 2000 Beispiele für gekapselte Komponenten für Automatisierungsserver</Excluded_Packages>
|
||||||
<Excluded_Packages Name="$(BDSBIN)\dclofficexp250.bpl">Microsoft Office XP Sample Automation Server Wrapper Components</Excluded_Packages>
|
<Excluded_Packages Name="$(BDSBIN)\dclofficexp250.bpl">Microsoft Office XP Beispiele für gekapselte Komponenten für Automation Server</Excluded_Packages>
|
||||||
</Excluded_Packages>
|
</Excluded_Packages>
|
||||||
</Delphi.Personality>
|
</Delphi.Personality>
|
||||||
<Platforms>
|
<Platforms>
|
||||||
|
Loading…
Reference in New Issue
Block a user