Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
StarUML Evológica Plugin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
evologica
StarUML Evológica Plugin
Commits
39a85144
Commit
39a85144
authored
Mar 09, 2020
by
Lucio Sandrini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implementação de cadastro de formulário (Dynamo)
parent
473fdaef
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
269 additions
and
200 deletions
+269
-200
ituCadastrarFormulario.lfm
EvoUMLPlugin/src/ituCadastrarFormulario.lfm
+151
-113
ituCadastrarFormulario.pas
EvoUMLPlugin/src/ituCadastrarFormulario.pas
+118
-87
No files found.
EvoUMLPlugin/src/ituCadastrarFormulario.lfm
View file @
39a85144
object itCadastrarFormulario: TitCadastrarFormulario
Left = 356
Height =
511
Height =
482
Top = 218
Width = 9
48
ClientHeight =
511
ClientWidth = 9
48
Width = 9
37
ClientHeight =
482
ClientWidth = 9
37
LCLVersion = '2.1.0.0'
object scrlbxTudo: TScrollBox
Left = 0
Height = 8
69
Height = 8
40
Top = 0
Width = 16
66
HorzScrollBar.Page = 9
31
Width = 16
55
HorzScrollBar.Page = 9
49
HorzScrollBar.Tracking = True
VertScrollBar.Page = 4
9
0
VertScrollBar.Page = 4
7
0
VertScrollBar.Tracking = True
Anchors = [akTop, akLeft, akRight, akBottom]
BorderStyle = bsNone
ClientHeight = 8
69
ClientWidth = 16
66
ClientHeight = 8
40
ClientWidth = 16
55
TabOrder = 0
object Panel1: TPanel
Left = 0
Height = 8
69
Height = 8
40
Top = 0
Width = 16
66
Width = 16
55
Align = alClient
ClientHeight = 8
69
ClientWidth = 16
66
ClientHeight = 8
40
ClientWidth = 16
55
TabOrder = 0
object edtCampo: TEdit
Left = 104
Height = 23
Top = 4
48
Top = 4
25
Width = 142
AutoSize = False
OnKeyPress = edtCampoKeyPress
TabOrder = 0
end
object btnCancelar: TButton
Left = 78
5
Left = 78
3
Height = 49
Top = 4
4
0
Width = 14
5
Top = 4
2
0
Width = 14
0
Caption = 'CANCELAR'
OnClick = btnCancelarClick
TabOrder = 1
end
object btnSalvar: TButton
Left = 6
41
Left = 6
34
Height = 49
Top = 4
4
0
Width = 14
5
Top = 4
2
0
Width = 14
0
Caption = 'SALVAR'
OnClick = btnSalvarClick
TabOrder = 2
...
...
@@ -59,7 +59,7 @@ object itCadastrarFormulario: TitCadastrarFormulario
object lvCampos: TListView
Left = 16
Height = 300
Top = 1
30
Top = 1
07
Width = 604
Checkboxes = True
Columns = <
...
...
@@ -93,19 +93,10 @@ object itCadastrarFormulario: TitCadastrarFormulario
OnClick = lvCamposClick
OnSelectItem = lvCamposSelectItem
end
object edtCodigo: TEdit
Left = 74
Height = 23
Top = 64
Width = 143
AutoSize = False
Enabled = False
TabOrder = 4
end
object btnAdd: TSpeedButton
Left = 253
Height = 25
Top = 4
48
Top = 4
25
Width = 70
Caption = 'Adicionar'
OnClick = btnAddClick
...
...
@@ -113,7 +104,7 @@ object itCadastrarFormulario: TitCadastrarFormulario
object lblNovoCampo: TLabel
Left = 16
Height = 18
Top = 4
51
Top = 4
28
Width = 81
Caption = 'NOVO CAMPO:'
Font.Color = clWindowText
...
...
@@ -122,23 +113,10 @@ object itCadastrarFormulario: TitCadastrarFormulario
ParentColor = False
ParentFont = False
end
object lblCodigo: TLabel
Left = 16
Height = 18
Top = 65
Width = 52
Caption = 'CÓDIGO:'
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Trebuchet MS'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object lblExibirCampos: TLabel
Left = 16
Height = 18
Top =
106
Top =
83
Width = 55
Caption = 'CAMPOS:'
Font.Color = clWindowText
...
...
@@ -148,49 +126,68 @@ object itCadastrarFormulario: TitCadastrarFormulario
ParentColor = False
ParentFont = False
end
object lblClasseName: TLabel
Left = 88
Height = 18
Top = 24
Width = 65
Caption = 'ClassName'
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Trebuchet MS'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object lblClassIDO: TLabel
Left = 192
Height = 18
Top = 24
Width = 52
Caption = 'ClassIDO'
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Trebuchet MS'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
object Panel2: TPanel
Left = 0
Height = 72
Top = 0
Width = 948
ClientHeight = 72
ClientWidth = 948
TabOrder = 4
object lblCodigo: TLabel
Left = 232
Height = 18
Top = 16
Width = 157
Caption = 'CÓDIGO DO FORMULÁRIO:'
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Trebuchet MS'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object lblClasseName: TLabel
Left = 16
Height = 18
Top = 16
Width = 107
Caption = 'NOME DA CLASSE:'
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Trebuchet MS'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object lblNomeClasse: TLabel
Left = 16
Height = 15
Top = 40
Width = 79
Caption = 'lblNomeClasse'
ParentColor = False
end
end
object lblTipoAtributo: TLabel
Left = 641
Height = 18
Top = 234
Width = 98
Caption = 'TIPO DO CAMPO: '
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Trebuchet MS'
ParentColor = False
ParentFont = False
object lstAtributos: TValueListEditor
Left = 634
Height = 134
Top = 273
Width = 289
FixedCols = 0
RowCount = 2
TabOrder = 5
OnValidateEntry = lstAtributosValidateEntry
ColWidths = (
144
141
)
end
object cbbTipo: TComboBox
Left = 6
41
Left = 6
34
Height = 24
Hint = 'Tipo'
Top = 2
5
5
Top = 2
4
5
Width = 145
Font.Color = clWindowText
Font.Height = -11
...
...
@@ -199,42 +196,40 @@ object itCadastrarFormulario: TitCadastrarFormulario
OnChange = cbbTipoChange
ParentFont = False
Style = csDropDownList
TabOrder = 5
end
object lstAtributos: TValueListEditor
Left = 641
Height = 145
Top = 285
Width = 289
FixedCols = 0
RowCount = 2
TabOrder = 6
OnValidate = lstAtributosValidate
ColWidths = (
144
141
)
end
object lblTipoAtributo: TLabel
Left = 634
Height = 18
Top = 226
Width = 98
Caption = 'TIPO DO CAMPO: '
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Trebuchet MS'
ParentColor = False
ParentFont = False
end
object btnUp: TSpeedButton
Left = 6
41
Height = 2
5
Top = 1
96
Left = 6
34
Height = 2
2
Top = 1
84
Width = 70
Caption = 'Sobe'
OnClick = btnUpClick
end
object btnDown: TSpeedButton
Left = 7
18
Height = 2
5
Top = 1
96
Left = 7
07
Height = 2
2
Top = 1
84
Width = 70
Caption = 'Desce'
OnClick = btnDownClick
end
object lblOrdem: TLabel
Left = 6
41
Left = 6
34
Height = 18
Top = 1
75
Top = 1
67
Width = 43
Caption = 'ORDEM:'
Font.Color = clWindowText
...
...
@@ -244,27 +239,27 @@ object itCadastrarFormulario: TitCadastrarFormulario
ParentFont = False
end
object rbNao: TRadioButton
Left = 8
66
Left = 8
59
Height = 19
Top = 19
9
Top = 19
0
Width = 42
Caption = 'Não'
OnChange = rbNaoChange
TabOrder = 7
end
object rbSim: TRadioButton
Left = 8
20
Left = 8
13
Height = 19
Top = 19
9
Top = 19
0
Width = 40
Caption = 'Sim'
OnChange = rbSimChange
TabOrder = 8
end
object lblObrigatorio: TLabel
Left = 8
20
Left = 8
13
Height = 18
Top = 1
75
Top = 1
67
Width = 79
Caption = 'OBRIGATÓRIO:'
Font.Color = clWindowText
...
...
@@ -273,6 +268,49 @@ object itCadastrarFormulario: TitCadastrarFormulario
ParentColor = False
ParentFont = False
end
object edtNome: TEdit
Left = 633
Height = 23
Top = 124
Width = 138
AutoSize = False
OnChange = edtNomeChange
TabOrder = 9
end
object edtDisplayNome: TEdit
Left = 785
Height = 23
Top = 124
Width = 138
AutoSize = False
OnChange = edtDisplayNomeChange
OnKeyPress = edtCampoKeyPress
TabOrder = 10
end
object lblNome: TLabel
Left = 634
Height = 18
Top = 106
Width = 37
Caption = 'NOME:'
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Trebuchet MS'
ParentColor = False
ParentFont = False
end
object lblDisplayNome: TLabel
Left = 785
Height = 18
Top = 106
Width = 83
Caption = 'DISPLAY NOME:'
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Trebuchet MS'
ParentColor = False
ParentFont = False
end
end
end
end
EvoUMLPlugin/src/ituCadastrarFormulario.pas
View file @
39a85144
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment