object CardWin: TCardWin
  Left = 300
  Top = 867
  Width = 795
  Height = 580
  HorzScrollBar.Range = 793
  VertScrollBar.Range = 577
  ActiveControl = DBEdit3
  Caption = 'TV Card'
  Color = clBackground
  OnCloseQuery = FormCloseQuery
  PixelsPerInch = 100
  TextHeight = 17
  TextWidth = 7
  object Label20: TLabel
    Left = 64
    Top = 88
    Width = 77
    Height = 17
    Caption = 'Type invalid'
    Font.Color = clRed
    Font.Height = 15
    Font.Name = 'Helvetica'
    Font.Pitch = fpVariable
    Font.Style = []
    ParentFont = False
  end
  object GroupBox1: TGroupBox
    Left = 8
    Top = 336
    Width = 785
    Height = 241
    Caption = 'Card input'
    TabOrder = 29
    object Bevel1: TBevel
      Left = 232
      Top = 16
      Width = 1
      Height = 217
    end
  end
  object DBGrid1: TDBGrid
    Left = 16
    Top = 392
    Width = 217
    Height = 174
    DataSource = InputDataSource
    Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
    TabOrder = 5
    TitleFont.Color = clBlack
    TitleFont.Height = 15
    TitleFont.Name = 'Helvetica'
    TitleFont.Pitch = fpVariable
    TitleFont.Style = []
    Columns = <
      item
        Expanded = False
        FieldName = 'inputname'
        Title.Caption = 'Name'
        Visible = True
      end>
  end
  object DBNavigator1: TDBNavigator
    Left = 104
    Top = 360
    Width = 125
    Height = 27
    DataSource = InputDataSource
    VisibleButtons = [nbPrior, nbNext, nbInsert, nbDelete, nbCancel]
    TabOrder = 2
  end
  object DBText1: TDBText
    Left = 392
    Top = 360
    Width = 41
    Height = 25
    DataField = 'cardinputid'
    DataSource = InputDataSource
  end
  object DBEdit2: TDBEdit
    Left = 392
    Top = 424
    Width = 177
    Height = 25
    DataField = 'externalcommand'
    DataSource = InputDataSource
    MaxLength = 7
    TabOrder = 10
  end
  object Label1: TLabel
    Left = 256
    Top = 360
    Width = 15
    Height = 17
    Caption = 'ID'
  end
  object Label2: TLabel
    Left = 256
    Top = 392
    Width = 37
    Height = 17
    Caption = 'Name'
  end
  object Label3: TLabel
    Left = 256
    Top = 424
    Width = 120
    Height = 17
    Caption = 'External Command'
  end
  object Label4: TLabel
    Left = 600
    Top = 488
    Width = 88
    Height = 17
    Caption = 'Tune channel'
  end
  object Label5: TLabel
    Left = 256
    Top = 488
    Width = 85
    Height = 17
    Caption = 'Start channel'
  end
  object Label6: TLabel
    Left = 600
    Top = 392
    Width = 70
    Height = 17
    Caption = 'Preference'
  end
  object DBEdit11: TDBEdit
    Left = 696
    Top = 392
    Width = 41
    Height = 25
    DataField = 'preference'
    DataSource = InputDataSource
    MaxLength = 8
    TabOrder = 13
  end
  object Label14: TLabel
    Left = 8
    Top = 16
    Width = 31
    Height = 17
    Caption = 'Card'
  end
  object Label15: TLabel
    Left = 56
    Top = 16
    Width = 15
    Height = 17
    Caption = 'ID'
  end
  object DBText2: TDBText
    Left = 80
    Top = 16
    Width = 33
    Height = 25
    DataField = 'cardid'
    DataSource = CardDataSource
  end
  object ApplyButton: TButton
    HelpType = htContext
    Left = 720
    Top = 16
    Width = 67
    Height = 25
    Action = ApplyAction
    Caption = 'Save'
    TabOrder = 19
  end
  object DBCheckBox1: TDBCheckBox
    Left = 600
    Top = 424
    Width = 100
    Height = 30
    Caption = 'Shareable'
    DataField = 'shareable'
    DataSource = InputDataSource
    TabOrder = 14
    ValueChecked = 'Y'
    ValueUnchecked = 'N'
  end
  object DBEdit4: TDBEdit
    Left = 696
    Top = 488
    Width = 41
    Height = 25
    DataField = 'tunechan'
    DataSource = InputDataSource
    MaxLength = 7
    TabOrder = 15
  end
  object DBLookupComboBox1: TDBLookupComboBox
    Left = 392
    Top = 488
    Width = 177
    Height = 27
    DataField = 'startchan'
    DataSource = InputDataSource
    KeyField = 'chanid'
    ListField = 'name'
    ListSource = ChannelDataSource
    TabOrder = 12
  end
  object SourceCombo: TDBLookupComboBox
    Left = 392
    Top = 456
    Width = 177
    Height = 27
    DataField = 'sourceid'
    DataSource = InputDataSource
    KeyField = 'sourceid'
    ListField = 'name;sourceid'
    ListSource = SourceDataSource
    TabOrder = 11
  end
  object Label7: TLabel
    Left = 256
    Top = 456
    Width = 102
    Height = 17
    Caption = 'Channel source'
  end
  object Label9: TLabel
    Left = 160
    Top = 16
    Width = 65
    Height = 17
    Caption = 'Hostname'
  end
  object Label10: TLabel
    Left = 8
    Top = 304
    Width = 112
    Height = 17
    Caption = 'Default card input'
  end
  object DBEdit3: TDBEdit
    Left = 232
    Top = 16
    Width = 241
    Height = 25
    DataField = 'hostname'
    DataSource = CardDataSource
    MaxLength = 7
    TabOrder = 0
  end
  object DBLookupComboBox3: TDBLookupComboBox
    Left = 128
    Top = 304
    Width = 145
    Height = 27
    DataField = 'defaultinput'
    DataSource = CardDataSource
    KeyField = 'inputname'
    ListField = 'inputname'
    ListSource = InputDataSource
    TabOrder = 4
  end
  object DVBPane: TTabControl
    Left = 8
    Top = 64
    Width = 697
    Height = 225
    TabOrder = 25
    Tabs = <>
    Visible = False
    object Label18: TLabel
      Left = 16
      Top = 32
      Width = 94
      Height = 17
      Caption = 'Transport type'
    end
    object DBCheckBox2: TDBCheckBox
      Left = 16
      Top = 96
      Width = 345
      Height = 30
      Caption = 'Grab full transport stream from card'
      DataField = 'use_ts'
      DataSource = CardDataSource
      TabOrder = 4
      ValueChecked = '1'
      ValueUnchecked = '0'
    end
    object DBComboBox2: TDBComboBox
      Left = 136
      Top = 32
      Width = 41
      Height = 25
      Style = csDropDownList
      DataField = 'dvb_type'
      DataSource = CardDataSource
      ItemHeight = 19
      Items.Strings = (
        'S'
        'C'
        'T')
      TabOrder = 2
    end
    object DBComboBox3: TDBComboBox
      Left = 136
      Top = 64
      Width = 41
      Height = 25
      Style = csDropDownList
      DataField = 'videodevice'
      DataSource = CardDataSource
      ItemHeight = 19
      Items.Strings = (
        '0'
        '1'
        '2'
        '3')
      TabOrder = 1
    end
    object Label17: TLabel
      Left = 16
      Top = 64
      Width = 97
      Height = 17
      Caption = 'Device number'
    end
  end
  object AnalogPane: TTabControl
    Left = 8
    Top = 64
    Width = 697
    Height = 225
    TabOrder = 23
    Tabs = <>
    Visible = False
    object Label11: TLabel
      Left = 16
      Top = 40
      Width = 138
      Height = 17
      Caption = 'Video capture device'
    end
    object AudioDevLabel: TLabel
      Left = 16
      Top = 72
      Width = 150
      Height = 17
      Caption = 'Audio recording device'
    end
    object Label13: TLabel
      Left = 16
      Top = 104
      Width = 137
      Height = 17
      Caption = 'Teletext (VBI) device'
    end
    object AudioRateLabel: TLabel
      Left = 368
      Top = 72
      Width = 95
      Height = 17
      Caption = 'Audio rate limit'
    end
    object Label19: TLabel
      Left = 16
      Top = 104
      Width = 1
      Height = 17
    end
    object DBComboBox5: TDBComboBox
      Left = 184
      Top = 40
      Width = 140
      Height = 25
      Hint = 'lihk'#246'jhj'#246'gj'#246'g'
      DataField = 'videodevice'
      DataSource = CardDataSource
      ItemHeight = 19
      Items.Strings = (
        '/dev/video'
        '/dev/video0'
        '/dev/video1'
        '/dev/video2'
        '/dev/video3')
      TabOrder = 5
    end
    object AudioDevCombo: TDBComboBox
      Left = 184
      Top = 72
      Width = 140
      Height = 25
      DataField = 'audiodevice'
      DataSource = CardDataSource
      ItemHeight = 19
      Items.Strings = (
        '/dev/dsp'
        '/dev/dsp0'
        '/dev/dsp1'
        '/dev/dsp2'
        '/dev/dsp3')
      TabOrder = 6
    end
    object DBComboBox7: TDBComboBox
      Left = 184
      Top = 104
      Width = 140
      Height = 25
      DataField = 'vbidevice'
      DataSource = CardDataSource
      ItemHeight = 19
      Items.Strings = (
        '/dev/vbi'
        '/dev/vbi0'
        '/dev/vbi1'
        '/dev/vbi2'
        '/dev/vbi3')
      TabOrder = 7
    end
    object AudioRateCombo: TDBComboBox
      Left = 472
      Top = 72
      Width = 140
      Height = 25
      DataField = 'audioratelimit'
      DataSource = CardDataSource
      ItemHeight = 19
      Items.Strings = (
        '0'
        '32000'
        '44100'
        '48000')
      TabOrder = 8
    end
  end
  object CardtypeCombo: TDBComboBox
    Left = 64
    Top = 56
    Width = 140
    Height = 25
    Style = csDropDownList
    DataField = 'cardtype'
    DataSource = CardDataSource
    ItemHeight = 19
    Items.Strings = (
      'V4L'
      'MPEG'
      'DVB')
    TabOrder = 1
    OnChange = CardtypeComboChange
  end
  object Label8: TLabel
    Left = 24
    Top = 56
    Width = 32
    Height = 17
    Caption = 'Type'
  end
  object DBComboBox4: TDBComboBox
    Left = 392
    Top = 392
    Width = 177
    Height = 25
    DataField = 'inputname'
    DataSource = InputDataSource
    ItemHeight = 19
    Items.Strings = (
      'Television'
      'S-Video'
      'Composite1'
      'Composite2')
    TabOrder = 6
  end
  object InputDataSource: TDataSource
    DataSet = InputDataSet
    Left = 512
    Top = 352
  end
  object ActionList1: TActionList
    Left = 760
    Top = 80
    object ApplyAction: TAction
      Caption = 'ApplyAction'
      OnExecute = ApplyActionExecute
    end
    object CloseAction: TAction
      Caption = 'CloseAction'
    end
  end
  object CardDataSource: TDataSource
    DataSet = CardDataSet
    Left = 504
    Top = 32
  end
  object CardDataSet: TSQLClientDataSet
    CommandText = 'capturecard'
    Aggregates = <>
    Filtered = True
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    CommandType = ctTable
    DBConnection = SQLModule.Conn
    Left = 480
    Top = 32
  end
  object InputDataSet: TSQLClientDataSet
    CommandText = 'cardinput'
    Aggregates = <>
    Filtered = True
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    AfterScroll = InputDataSetAfterScroll
    OnNewRecord = InputDataSetNewRecord
    CommandType = ctTable
    DBConnection = SQLModule.Conn
    Left = 480
    Top = 352
  end
  object SourceDataSet: TSQLClientDataSet
    CommandText = 'videosource'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    AfterScroll = SourceDataSetAfterScroll
    CommandType = ctTable
    DBConnection = SQLModule.Conn
    Left = 392
    Top = 520
  end
  object SourceDataSource: TDataSource
    DataSet = SourceDataSet
    Left = 424
    Top = 520
  end
  object ChannelDataSource: TDataSource
    DataSet = ChannelDataSet
    Left = 496
    Top = 520
  end
  object ClientDataSet1: TClientDataSet
    Aggregates = <>
    FieldDefs = <>
    IndexDefs = <>
    Params = <>
    ProviderName = 'DataSetProvider1'
    StoreDefs = True
    Left = 728
    Top = 184
  end
  object DataSetProvider1: TDataSetProvider
    DataSet = ClientDataSet1
    Constraints = True
    Left = 728
    Top = 216
  end
  object ChannelDataSet: TSQLClientDataSet
    CommandText = 'channel'
    Aggregates = <>
    Filtered = True
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    CommandType = ctTable
    DBConnection = SQLModule.Conn
    Left = 464
    Top = 520
  end
end
