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
    }
  ]
}
