object ChannelWin: TChannelWin
  HelpType = htContext
  Left = 358
  Top = 886
  Width = 795
  Height = 580
  HorzScrollBar.Range = 793
  VertScrollBar.Range = 577
  ActiveControl = DBGrid1
  Caption = 'Channel'
  Color = clBackground
  WindowState = wsMinimized
  OnCloseQuery = FormCloseQuery
  OnCreate = FormCreate
  PixelsPerInch = 100
  TextHeight = 17
  TextWidth = 7
  object GroupBox1: TGroupBox
    Left = 8
    Top = 48
    Width = 785
    Height = 529
    Caption = 'Channel'
    TabOrder = 25
    object Label44: TLabel
      Left = 400
      Top = 320
      Width = 187
      Height = 17
      Caption = 'Card type invalid or not found'
      Color = clBackground
      Font.Color = clRed
      Font.Height = 15
      Font.Name = 'Helvetica'
      Font.Pitch = fpVariable
      Font.Style = []
      ParentColor = False
      ParentFont = False
    end
    object DVBPane: TTabControl
      Left = 232
      Top = 168
      Width = 545
      Height = 353
      Style = tsNoTabs
      TabOrder = 1
      Tabs = <>
      Visible = False
      object DVBCPane: TTabControl
        Left = 0
        Top = 184
        Width = 537
        Height = 65
        Style = tsNoTabs
        TabOrder = 3
        Tabs = <>
        Visible = False
      end
      object DVBTPane: TTabControl
        Left = 0
        Top = 152
        Width = 537
        Height = 161
        Style = tsNoTabs
        TabOrder = 8
        Tabs = <>
        Visible = False
        object Label32: TLabel
          Left = 8
          Top = 0
          Width = 61
          Height = 17
          Caption = 'Inversion'
        end
        object Label33: TLabel
          Left = 8
          Top = 32
          Width = 66
          Height = 17
          Caption = 'Bandwidth'
        end
        object Label34: TLabel
          Left = 8
          Top = 64
          Width = 90
          Height = 17
          Caption = 'HP Code Rate'
        end
        object Label35: TLabel
          Left = 8
          Top = 96
          Width = 88
          Height = 17
          Caption = 'LP Code Rate'
        end
        object Label36: TLabel
          Left = 280
          Top = 0
          Width = 71
          Height = 17
          Caption = 'Modulation'
        end
        object Label37: TLabel
          Left = 280
          Top = 32
          Width = 120
          Height = 17
          Caption = 'Transmission Rate'
        end
        object Label38: TLabel
          Left = 280
          Top = 64
          Width = 93
          Height = 17
          Caption = 'Guard Interval'
        end
        object Label39: TLabel
          Left = 280
          Top = 96
          Width = 62
          Height = 17
          Caption = 'Hierarchy'
        end
        object DBComboBox3: TDBComboBox
          Left = 120
          Top = 0
          Width = 105
          Height = 25
          Style = csDropDownList
          DataField = 'inversion'
          DataSource = DVBDataSource
          ItemHeight = 19
          Items.Strings = (
            'AUTO'
            '1'
            '0')
          TabOrder = 8
        end
        object DBComboBox4: TDBComboBox
          Left = 120
          Top = 32
          Width = 105
          Height = 25
          Style = csDropDownList
          DataField = 'bandwidth'
          DataSource = DVBDataSource
          ItemHeight = 19
          Items.Strings = (
            'AUTO'
            '6'
            '7'
            '8')
          TabOrder = 9
        end
        object DBComboBox5: TDBComboBox
          Left = 120
          Top = 64
          Width = 105
          Height = 25
          Style = csDropDownList
          DataField = 'hp_code_rate'
          DataSource = DVBDataSource
          ItemHeight = 19
          Items.Strings = (
            'AUTO'
            'NONE'
            '1_2'
            '2_3'
            '3_4'
            '4_5'
            '5_6'
            '6_7'
            '7_8'
            '8_9')
          TabOrder = 10
        end
        object DBComboBox6: TDBComboBox
          Left = 120
          Top = 96
          Width = 105
          Height = 25
          Style = csDropDownList
          DataField = 'lp_code_rate'
          DataSource = DVBDataSource
          ItemHeight = 19
          Items.Strings = (
            'AUTO'
            'NONE'
            '1_2'
            '2_3'
            '3_4'
            '4_5'
            '5_6'
            '6_7'
            '7_8'
            '8_9')
          TabOrder = 11
        end
        object DBComboBox7: TDBComboBox
          Left = 416
          Top = 0
          Width = 89
          Height = 25
          Style = csDropDownList
          DataField = 'modulation'
          DataSource = DVBDataSource
          ItemHeight = 19
          Items.Strings = (
            'AUTO'
            'QPSK'
            'QAM_16'
            'QAM_32'
            'QAM_64'
            'QAM_128'
            'QAM_256')
          TabOrder = 12
        end
        object DBComboBox8: TDBComboBox
          Left = 416
          Top = 32
          Width = 89
          Height = 25
          Style = csDropDownList
          DataField = 'transmission_mode'
          DataSource = DVBDataSource
          ItemHeight = 19
          Items.Strings = (
            'AUTO'
            '2'
            '8')
          TabOrder = 13
        end
        object DBComboBox9: TDBComboBox
          Left = 416
          Top = 64
          Width = 89
          Height = 25
          Style = csDropDownList
          DataField = 'guard_interval'
          DataSource = DVBDataSource
          ItemHeight = 19
          Items.Strings = (
            'AUTO'
            '1_4'
            '1_8'
            '1_16'
            '1_32')
          TabOrder = 14
        end
        object DBComboBox10: TDBComboBox
          Left = 416
          Top = 96
          Width = 89
          Height = 25
          Style = csDropDownList
          DataField = 'hierarchy'
          DataSource = DVBDataSource
          ItemHeight = 19
          Items.Strings = (
            'AUTO'
            'NONE'
            '1'
            '2'
            '4')
          TabOrder = 15
        end
      end
      object Label19: TLabel
        Left = 8
        Top = 16
        Width = 32
        Height = 17
        Caption = 'Type'
      end
      object DBEdit13: TDBEdit
        Left = 88
        Top = 48
        Width = 137
        Height = 25
        DataField = 'pids'
        DataSource = DVBDataSource
        MaxLength = 8
        TabOrder = 0
      end
      object DBEdit14: TDBEdit
        Left = 440
        Top = 48
        Width = 84
        Height = 25
        DataField = 'listingid'
        DataSource = DVBDataSource
        MaxLength = 8
        TabOrder = 1
      end
      object Label21: TLabel
        Left = 88
        Top = 72
        Width = 215
        Height = 17
        Caption = 'Comma-separated list, no spaces'
      end
      object Label22: TLabel
        Left = 8
        Top = 48
        Width = 32
        Height = 17
        Caption = 'PIDs'
      end
      object Label25: TLabel
        Left = 368
        Top = 48
        Width = 61
        Height = 17
        Caption = 'Listing ID'
      end
      object DVBSPane: TTabControl
        Left = 0
        Top = 152
        Width = 537
        Height = 177
        Style = tsNoTabs
        TabOrder = 2
        Tabs = <>
        Visible = False
        object Label28: TLabel
          Left = 8
          Top = 0
          Width = 74
          Height = 17
          Caption = 'Polarization'
        end
        object Label29: TLabel
          Left = 8
          Top = 32
          Width = 79
          Height = 17
          Caption = 'Symbol Rate'
        end
        object DBEdit17: TDBEdit
          Left = 120
          Top = 32
          Width = 100
          Height = 25
          DataField = 'symbol_rate'
          DataSource = DVBDataSource
          MaxLength = 8
          TabOrder = 2
        end
        object DBComboBox2: TDBComboBox
          Left = 120
          Top = 0
          Width = 41
          Height = 25
          Style = csDropDownList
          DataField = 'pol'
          DataSource = DVBDataSource
          ItemHeight = 19
          Items.Strings = (
            'H'
            'V')
          TabOrder = 3
        end
        object DBEdit19: TDBEdit
          Left = 120
          Top = 64
          Width = 41
          Height = 25
          DataField = 'tone'
          DataSource = DVBDataSource
          MaxLength = 8
          TabOrder = 4
        end
        object DBEdit20: TDBEdit
          Left = 120
          Top = 96
          Width = 41
          Height = 25
          DataField = 'diseqc'
          DataSource = DVBDataSource
          MaxLength = 8
          TabOrder = 5
        end
        object Label42: TLabel
          Left = 8
          Top = 64
          Width = 33
          Height = 17
          Caption = 'Tone'
        end
        object Label43: TLabel
          Left = 8
          Top = 96
          Width = 48
          Height = 17
          Caption = 'DiSeqC'
        end
      end
      object DVBCLabel: TLabel
        Left = 88
        Top = 16
        Width = 45
        Height = 17
        Caption = 'DVB-C'
        Visible = False
      end
      object Label41: TLabel
        Left = 8
        Top = 120
        Width = 69
        Height = 17
        Caption = 'Frequency'
      end
      object DVBFreqEdit: TDBEdit
        Left = 120
        Top = 120
        Width = 100
        Height = 25
        DataField = 'freq'
        DataSource = DVBDataSource
        MaxLength = 11
        TabOrder = 13
      end
      object DVBTLabel: TLabel
        Left = 88
        Top = 16
        Width = 44
        Height = 17
        Caption = 'DVB-T'
        Visible = False
      end
      object DVBSLabel: TLabel
        Left = 88
        Top = 16
        Width = 44
        Height = 17
        Caption = 'DVB-S'
        Visible = False
      end
    end
    object GroupBox2: TGroupBox
      Left = 225
      Top = 16
      Width = 1
      Height = 505
      Caption = 'GroupBox2'
      TabOrder = 2
    end
  end
  object DBGrid1: TDBGrid
    Left = 16
    Top = 104
    Width = 209
    Height = 465
    DataSource = ChannelDataSource
    Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
    TabOrder = 0
    TitleFont.Color = clBlack
    TitleFont.Height = 15
    TitleFont.Name = 'Helvetica'
    TitleFont.Pitch = fpVariable
    TitleFont.Style = []
    Columns = <
      item
        Expanded = False
        FieldName = 'callsign'
        Title.Caption = 'Short'
        Width = 60
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'name'
        Title.Caption = 'Long name'
        Width = 110
        Visible = True
      end>
  end
  object DBNavigator1: TDBNavigator
    Left = 88
    Top = 72
    Width = 135
    Height = 27
    DataSource = ChannelDataSource
    VisibleButtons = [nbPrior, nbNext, nbInsert, nbDelete, nbCancel]
    ConfirmDelete = False
    TabOrder = 1
  end
  object DBText1: TDBText
    Left = 328
    Top = 72
    Width = 41
    Height = 30
    DataField = 'chanid'
    DataSource = ChannelDataSource
  end
  object DBEdit1: TDBEdit
    Left = 328
    Top = 104
    Width = 65
    Height = 25
    DataField = 'callsign'
    DataSource = ChannelDataSource
    MaxLength = 20
    TabOrder = 2
  end
  object DBEdit2: TDBEdit
    Left = 328
    Top = 136
    Width = 177
    Height = 25
    DataField = 'name'
    DataSource = ChannelDataSource
    MaxLength = 20
    TabOrder = 3
  end
  object DBEdit4: TDBEdit
    Left = 608
    Top = 104
    Width = 97
    Height = 25
    DataField = 'xmltvid'
    DataSource = ChannelDataSource
    MaxLength = 64
    TabOrder = 4
  end
  object Label1: TLabel
    Left = 248
    Top = 72
    Width = 15
    Height = 17
    Caption = 'ID'
  end
  object Label2: TLabel
    Left = 248
    Top = 104
    Width = 73
    Height = 17
    Caption = 'Short name'
  end
  object Label3: TLabel
    Left = 248
    Top = 136
    Width = 71
    Height = 17
    Caption = 'Long name'
  end
  object Label4: TLabel
    Left = 528
    Top = 104
    Width = 70
    Height = 17
    Caption = 'XMLTV ID'
  end
  object ChannumOldLabel: TLabel
    Left = 248
    Top = 168
    Width = 67
    Height = 17
    Caption = 'Chan Num'
  end
  object Label6: TLabel
    Left = 528
    Top = 136
    Width = 29
    Height = 17
    Caption = 'Icon'
  end
  object DBEdit3: TDBEdit
    Left = 328
    Top = 168
    Width = 65
    Height = 25
    DataField = 'channum'
    DataSource = ChannelDataSource
    MaxLength = 5
    TabOrder = 7
  end
  object DBEdit11: TDBEdit
    Left = 608
    Top = 136
    Width = 169
    Height = 25
    DataField = 'icon'
    DataSource = ChannelDataSource
    MaxLength = 255
    TabOrder = 9
  end
  object DBEdit12: TDBEdit
    Left = 256
    Top = 16
    Width = 100
    Height = 25
    DataField = 'name'
    DataSource = SourceDataSource
    MaxLength = 8
    TabOrder = 10
  end
  object DBComboBox1: TDBComboBox
    Left = 488
    Top = 16
    Width = 140
    Height = 25
    Style = csDropDownList
    DataField = 'xmltvgrabber'
    DataSource = SourceDataSource
    ItemHeight = 19
    Items.Strings = (
      'tv_grab_de'
      'tv_grab_na'
      'tv_grab_uk')
    TabOrder = 11
  end
  object Label14: TLabel
    Left = 8
    Top = 16
    Width = 103
    Height = 17
    Caption = 'Channel Source'
  end
  object Label15: TLabel
    Left = 144
    Top = 16
    Width = 15
    Height = 17
    Caption = 'ID'
  end
  object Label16: TLabel
    Left = 216
    Top = 16
    Width = 37
    Height = 17
    Caption = 'Name'
  end
  object Label17: TLabel
    Left = 376
    Top = 16
    Width = 105
    Height = 17
    Caption = 'XMLTV grabber'
  end
  object DBText2: TDBText
    Left = 168
    Top = 16
    Width = 33
    Height = 25
    DataField = 'sourceid'
    DataSource = SourceDataSource
  end
  object ApplyButton: TButton
    HelpType = htContext
    Left = 720
    Top = 16
    Width = 67
    Height = 25
    Action = ApplyAction
    Caption = 'Save'
    TabOrder = 17
  end
  object DBNavigator2: TDBNavigator
    Left = 640
    Top = 16
    Width = 30
    Height = 27
    DataSource = SourceDataSource
    VisibleButtons = [nbCancel]
    TabOrder = 18
  end
  object PresetLabel: TLabel
    Left = 248
    Top = 168
    Width = 42
    Height = 17
    Caption = 'Preset'
  end
  object AnalogPane: TTabControl
    Left = 240
    Top = 216
    Width = 545
    Height = 353
    Style = tsNoTabs
    TabOrder = 8
    Tabs = <>
    Visible = False
    object DBEdit5: TDBEdit
      Left = 120
      Top = 104
      Width = 100
      Height = 25
      DataField = 'finetune'
      DataSource = ChannelDataSource
      TabOrder = 0
    end
    object ChannumRealEdit: TDBEdit
      Left = 120
      Top = 56
      Width = 100
      Height = 25
      DataField = 'channum_real'
      DataSource = ChannelDataSource
      MaxLength = 128
      TabOrder = 1
    end
    object DBEdit7: TDBEdit
      Left = 384
      Top = 56
      Width = 100
      Height = 25
      DataField = 'videofilters'
      DataSource = ChannelDataSource
      MaxLength = 255
      TabOrder = 2
    end
    object DBEdit8: TDBEdit
      Left = 384
      Top = 88
      Width = 100
      Height = 25
      DataField = 'colour'
      DataSource = ChannelDataSource
      TabOrder = 3
    end
    object DBEdit9: TDBEdit
      Left = 384
      Top = 120
      Width = 100
      Height = 25
      DataField = 'brightness'
      DataSource = ChannelDataSource
      TabOrder = 4
    end
    object DBEdit10: TDBEdit
      Left = 384
      Top = 152
      Width = 100
      Height = 25
      DataField = 'contrast'
      DataSource = ChannelDataSource
      TabOrder = 5
    end
    object Label7: TLabel
      Left = 280
      Top = 56
      Width = 76
      Height = 17
      Caption = 'Video filters'
    end
    object Label8: TLabel
      Left = 280
      Top = 120
      Width = 69
      Height = 17
      Caption = 'Brightness'
    end
    object Label9: TLabel
      Left = 280
      Top = 88
      Width = 34
      Height = 17
      Caption = 'Color'
    end
    object Label10: TLabel
      Left = 280
      Top = 152
      Width = 55
      Height = 17
      Caption = 'Contrast'
    end
    object ChannumReal1Label: TLabel
      Left = 8
      Top = 56
      Width = 105
      Height = 17
      Caption = 'Channel number'
    end
    object Label12: TLabel
      Left = 8
      Top = 104
      Width = 67
      Height = 17
      Caption = 'Finetuning'
    end
    object ChannumReal2Label: TLabel
      Left = 8
      Top = 72
      Width = 93
      Height = 17
      Caption = '(for frequency)'
    end
    object Label23: TLabel
      Left = 8
      Top = 24
      Width = 32
      Height = 17
      Caption = 'Type'
    end
    object Label24: TLabel
      Left = 120
      Top = 24
      Width = 46
      Height = 17
      Caption = 'Analog'
    end
  end
  object ChannelDataSource: TDataSource
    DataSet = ChannelDataSet
    Left = 512
    Top = 56
  end
  object ActionList1: TActionList
    Left = 760
    Top = 56
    object ApplyAction: TAction
      Caption = 'ApplyAction'
      OnExecute = ApplyActionExecute
    end
    object CloseAction: TAction
      Caption = 'CloseAction'
    end
  end
  object SourceDataSource: TDataSource
    DataSet = SourceDataSet
    Left = 672
    Top = 48
  end
  object SourceDataSet: TSQLClientDataSet
    CommandText = 'videosource'
    Aggregates = <>
    Filtered = True
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    CommandType = ctTable
    DBConnection = SQLModule.Conn
    Left = 640
    Top = 48
  end
  object ChannelDataSet: TSQLClientDataSet
    CommandText = 'channel'
    Aggregates = <>
    Filtered = True
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    BeforePost = ChannelDataSetBeforePost
    BeforeCancel = ChannelDataSetBeforeCancel
    BeforeDelete = ChannelDataSetBeforeDelete
    AfterScroll = ChannelDataSetAfterScroll
    OnNewRecord = ChannelDataSetNewRecord
    CommandType = ctTable
    DBConnection = SQLModule.Conn
    Left = 480
    Top = 56
  end
  object CardtypeDataSet: TSQLClientDataSet
    CommandText = 
      'SELECT cardtype, dvb_type, videosource.sourceid AS sourceid FROM' +
      ' videosource, cardinput, capturecard WHERE videosource.sourceid ' +
      '= cardinput.sourceid AND cardinput.cardid = capturecard.cardid'
    Aggregates = <>
    Filtered = True
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    DBConnection = SQLModule.Conn
    Left = 520
    Top = 176
  end
  object DVBDataSet: TSQLClientDataSet
    CommandText = 'channel_dvb'
    Aggregates = <>
    Filtered = True
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    OnNewRecord = DVBDataSetNewRecord
    CommandType = ctTable
    DBConnection = SQLModule.Conn
    Left = 624
    Top = 176
  end
  object DVBDataSource: TDataSource
    DataSet = DVBDataSet
    Left = 656
    Top = 176
  end
end
