Kevin Kok Khah Whey
2023-09-25 34d29be6a3eb0c025da50b77f2107c4ad259c6c0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
Quintiq file version 2.0
#root
#parent: LibMacroPlannerTCUI
OrphanComponent DialogCreateEditConversionFactor
{
  #keys: '[113694.1.905828520]'
  Accessibility: 'Extensible'
  BaseType: 'Dialog'
  Databinding: 'shadow[ConversionFactor]'
  GBLayout
  {
    Type: 'internal[GBLayoutDefinition]'
    Columns:
    [
      GBFlow.Column { grow: 0 id: 1 parent: 0 }
      GBFlow.Column { grow: 128 id: 14 parent: 0 }
      GBFlow.Column { grow: 0 id: 15 parent: 0 }
    ]
    Elements:
    [
      GBElement
      {
        Component => LabelTargetUnitOfMeasure
        Position { startcolumn: 1 startrow: 1 endcolumn: 1 endrow: 1 }
      }
      GBElement
      {
        Component => SelectionTargetUnitOfMeasure
        Position { startcolumn: 14 startrow: 1 endcolumn: 14 endrow: 1 }
      }
      GBElement
      {
        Component => LabelFactor
        Position { startcolumn: 1 startrow: 2 endcolumn: 1 endrow: 2 }
      }
      GBElement
      {
        Component => EditorFactor
        Position { startcolumn: 14 startrow: 2 endcolumn: 14 endrow: 2 }
      }
      GBElement
      {
        Component => SelectionProduct
        Position { startcolumn: 14 startrow: 110 endcolumn: 14 endrow: 110 }
      }
      GBElement
      {
        Component => CheckBoxIsProductDependent
        Position { startcolumn: 1 startrow: 110 endcolumn: 1 endrow: 110 }
      }
      GBElement
      {
        Component => LabelConversionInfo
        Position { startcolumn: 15 startrow: 2 endcolumn: 15 endrow: 2 }
      }
      GBElement
      {
        Component => LabelSourceUnitOfMeasure
        Position { startcolumn: 1 startrow: 910 endcolumn: 1 endrow: 910 }
      }
      GBElement
      {
        Component => SelectionSourceUnitOfMeasure
        Position { startcolumn: 14 startrow: 910 endcolumn: 14 endrow: 910 }
      }
    ]
    Gaps: [ left: 10 right: 10 top: 10 bottom: 10 inner: 5 ]
    Rows:
    [
      GBFlow.Row { grow: 0 id: 910 parent: 0 }
      GBFlow.Row { grow: 0 id: 1 parent: 0 }
      GBFlow.Row { grow: 0 id: 110 parent: 0 }
      GBFlow.Row { grow: 0 id: 2 parent: 0 }
    ]
  }
  Children:
  [
    #child: Toolbar
    Component LabelTargetUnitOfMeasure
    {
      #keys: '[113694.1.905831035]'
      BaseType: 'Label'
      Properties:
      [
        Alignment: 'right'
        FocusControl: 'SelectionTargetUnitOfMeasure'
        Shortcut: 'Alt+T'
        Text: '&Target unit of measure'
        Transparent: true
      ]
    }
    #child: SelectionTargetUnitOfMeasure
    Component LabelFactor
    {
      #keys: '[113694.1.905832018]'
      BaseType: 'Label'
      Properties:
      [
        Alignment: 'right'
        FocusControl: 'EditorFactor'
        Shortcut: 'Alt+F'
        Text: '&Factor'
        Transparent: true
      ]
    }
    #child: EditorFactor
    #child: SelectionProduct
    Component CheckBoxIsProductDependent
    {
      #keys: '[113694.1.1013234337]'
      BaseType: 'CheckBox'
      Properties:
      [
        Shortcut: 'Alt+P'
        Text: '&Product dependent'
        Tooltip: 'When checked, the conversion factor will only apply to the selected product.'
      ]
    }
    Component LabelConversionInfo
    {
      #keys: '[113694.1.1032934790]'
      BaseType: 'Label'
      Properties:
      [
        Text: 'Base to 1 uom'
        TextColor: 'Black'
        Transparent: true
      ]
    }
    #child: SelectionSourceUnitOfMeasure
    Component LabelSourceUnitOfMeasure
    {
      #keys: '[124808.2.627675537]'
      BaseType: 'Label'
      Properties:
      [
        Alignment: 'right'
        FocusControl: 'SelectionSourceUnitOfMeasure'
        Shortcut: 'Alt+S'
        Text: '&Source unit of measure'
        Transparent: true
      ]
    }
  ]
  Properties:
  [
    EnterButton: 'btnOk'
    EscapeButton: 'btnCancel'
    Height: 194
    InitialPlacement: 'floating'
    Title: 'Conversion factor'
    Width: 380
    ModeledStringList ChildOrdering
    {
      c: SelectionSourceUnitOfMeasure
      c: SelectionTargetUnitOfMeasure
      c: LabelTargetUnitOfMeasure
      c: CheckBoxIsProductDependent
      c: SelectionProduct
      c: EditorFactor
      c: Toolbar
      c: LabelFactor
      c: LabelConversionInfo
      c: LabelSourceUnitOfMeasure
    }
  ]
}