object frmDbSqlSel: TfrmDbSqlSel
  Left = 513
  Height = 456
  Top = 391
  Width = 501
  Caption = 'Select SQL for logs'
  ClientHeight = 456
  ClientWidth = 501
  Color = clWhite
  LCLVersion = '4.6.0.0'
  OnClose = FormClose
  OnCreate = FormCreate
  OnShow = FormShow
  object gbLocalUser: TGroupBox
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = rbExternal
    AnchorSideTop.Side = asrBottom
    AnchorSideRight.Control = Owner
    AnchorSideRight.Side = asrBottom
    Left = 6
    Height = 137
    Top = 159
    Width = 489
    Anchors = [akTop, akLeft, akRight]
    BorderSpacing.Left = 6
    BorderSpacing.Top = 12
    BorderSpacing.Right = 6
    Caption = 'Define Local SQL user'
    ClientHeight = 110
    ClientWidth = 479
    ParentBackground = False
    TabOrder = 6
    TabStop = True
    Visible = False
    object edtUserName: TEdit
      AnchorSideLeft.Control = gbLocalUser
      AnchorSideTop.Control = lblUsername
      AnchorSideTop.Side = asrBottom
      AnchorSideRight.Control = edtPassword
      Left = 0
      Height = 21
      Top = 71
      Width = 171
      BorderSpacing.Right = 12
      TabOrder = 2
      Text = 'cqrlog'
      OnExit = edtUserNameExit
    end
    object edtPassword: TEdit
      AnchorSideLeft.Control = edtUserName
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = lblUsername
      AnchorSideTop.Side = asrBottom
      AnchorSideRight.Control = gbLocalUser
      AnchorSideRight.Side = asrBottom
      Left = 183
      Height = 21
      Top = 71
      Width = 137
      BorderSpacing.Right = 6
      TabOrder = 3
      Text = 'cqrlog'
      OnExit = edtPasswordExit
    end
    object lblPass: TLabel
      AnchorSideLeft.Control = edtPassword
      AnchorSideBottom.Control = edtPassword
      Left = 183
      Height = 16
      Top = 55
      Width = 58
      Anchors = [akLeft, akBottom]
      Caption = 'Password'
      ParentColor = False
    end
    object lblUsername: TLabel
      AnchorSideLeft.Control = gbLocalUser
      AnchorSideTop.Control = edtIP
      AnchorSideTop.Side = asrBottom
      AnchorSideBottom.Control = edtUserName
      Left = 0
      Height = 16
      Top = 55
      Width = 62
      BorderSpacing.Top = 10
      Caption = 'Username'
      ParentColor = False
    end
    object lblIp: TLabel
      AnchorSideLeft.Control = edtIP
      AnchorSideBottom.Control = edtIP
      Left = 6
      Height = 16
      Top = 8
      Width = 57
      Caption = 'IP addres'
      ParentColor = False
    end
    object lblPort: TLabel
      AnchorSideLeft.Control = edtIP
      AnchorSideTop.Control = gbLocalUser
      AnchorSideBottom.Control = edtPort
      Left = 272
      Height = 16
      Top = 7
      Width = 25
      Anchors = [akTop]
      BorderSpacing.Left = 10
      BorderSpacing.Top = 7
      Caption = 'Port'
      ParentColor = False
    end
    object edtPort: TEdit
      AnchorSideLeft.Control = edtIP
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = lblPort
      AnchorSideTop.Side = asrBottom
      Left = 272
      Height = 21
      Top = 24
      Width = 90
      Anchors = [akTop]
      BorderSpacing.Left = 12
      BorderSpacing.Top = 1
      MaxLength = 5
      NumbersOnly = True
      TabOrder = 1
      Text = '3306'
      OnExit = edtPortExit
    end
    object edtIP: TEdit
      AnchorSideLeft.Control = gbLocalUser
      AnchorSideTop.Control = lblIp
      AnchorSideTop.Side = asrBottom
      Left = 6
      Height = 21
      Top = 24
      Width = 242
      Anchors = [akTop]
      BorderSpacing.Left = 6
      TabOrder = 0
      Text = 'localhost'
      OnExit = edtIPExit
    end
  end
  object lblQuestion: TLabel
    AnchorSideLeft.Control = Owner
    AnchorSideLeft.Side = asrCenter
    AnchorSideTop.Control = pnlWelcome
    AnchorSideTop.Side = asrBottom
    Left = 84
    Height = 32
    Top = 43
    Width = 332
    BorderSpacing.Top = 6
    Caption = 'It seems you are trying to run this program for '#10'the first time. Do you want to save your Log data to:'
    Font.Style = [fsBold]
    ParentColor = False
    ParentFont = False
  end
  object rbFolder: TRadioButton
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = lblQuestion
    AnchorSideTop.Side = asrBottom
    Left = 24
    Height = 18
    Hint = 'Log data is saved to ~/.config/cqrlog/database folder. '#10'Access to that data is done by starting a new SQL server thread for that.'#10'Unfortunately using this way to save logs causes most of database '#10'connection problems with CQRLOG.'#10'_______________________________________________'#10'For further information press "Please read"-button'
    Top = 87
    Width = 251
    BorderSpacing.Left = 24
    BorderSpacing.Top = 12
    Caption = 'your linux user folder (CQRLOG default)'
    Checked = True
    ParentShowHint = False
    ShowHint = True
    TabOrder = 1
    TabStop = True
    OnClick = rbFolderClick
  end
  object rbLocal: TRadioButton
    AnchorSideLeft.Control = rbFolder
    AnchorSideTop.Control = rbFolder
    AnchorSideTop.Side = asrBottom
    Left = 24
    Height = 18
    Hint = 'Use SQL server already installed to your machine. Both Mysql or MariDB should work.'#10'CQRLOG tries first create SQL user with proper privileges to use the SQL server'#10'and then set proper values to "Database connection" window.'#10'This is done by ~/create_cqr_user.sh scipt that is tried to run with most common'#10'terminals xterm, gnome-terminal or lxterminal.'#10'If that fails you have to run script manually from your command-line console.'#10'_______________________________________________'#10'For further information press "Please read"-button'
    Top = 108
    Width = 180
    BorderSpacing.Top = 3
    Caption = 'local machine''s SQL server'
    ParentShowHint = False
    ShowHint = True
    TabOrder = 2
    TabStop = True
    OnChange = rbLocalChange
  end
  object rbExternal: TRadioButton
    AnchorSideLeft.Control = rbFolder
    AnchorSideTop.Control = rbLocal
    AnchorSideTop.Side = asrBottom
    Left = 24
    Height = 18
    Hint = 'Use SQL server anywhere. Both Mysql or MariDB should work.'#10'You have to define values to connect SQL server by yourself:'#10'Address, port, user and password required to connect to external SQL server.'#10'SQL user and privileges have to be created by SQL server administrator.'#10'Server can exist in your home network or Internet.'#10'With external networks VPN or SSH tunnel is recommended for security reasons.'#10'_______________________________________________'#10'For further information press "Please read"-button'
    Top = 129
    Width = 201
    BorderSpacing.Top = 3
    Caption = 'external networked SQL server'
    ParentShowHint = False
    ShowHint = True
    TabOrder = 3
    TabStop = True
    OnChange = rbExternalChange
  end
  object btnOK: TButton
    AnchorSideTop.Side = asrBottom
    AnchorSideRight.Control = Owner
    AnchorSideRight.Side = asrBottom
    AnchorSideBottom.Control = Owner
    AnchorSideBottom.Side = asrBottom
    Left = 414
    Height = 25
    Hint = 'Confirm your selection and continue.'#10'______________________________________________________________'#10'If you made wrong selection remove ~/.config/cqrlog folder'#10'(before saving any qsos, all will be deleted if 1st option was used)'#10'and then start Cqrlog again to get back to this screen.'
    Top = 419
    Width = 75
    Anchors = [akRight, akBottom]
    BorderSpacing.Right = 12
    BorderSpacing.Bottom = 12
    Caption = 'OK'
    ParentShowHint = False
    ShowHint = True
    TabOrder = 5
    OnClick = btnOKClick
  end
  object pnlWelcome: TPanel
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = Owner
    AnchorSideRight.Control = Owner
    AnchorSideRight.Side = asrBottom
    Left = 30
    Height = 31
    Top = 6
    Width = 441
    Anchors = [akTop, akLeft, akRight]
    AutoSize = True
    BorderSpacing.Left = 30
    BorderSpacing.Top = 6
    BorderSpacing.Right = 30
    ClientHeight = 31
    ClientWidth = 441
    Color = clWhite
    ParentBackground = False
    ParentColor = False
    TabOrder = 0
    object lblWelcome: TLabel
      AnchorSideLeft.Control = pnlWelcome
      AnchorSideLeft.Side = asrCenter
      AnchorSideTop.Control = pnlWelcome
      AnchorSideTop.Side = asrCenter
      Left = 96
      Height = 29
      Top = 1
      Width = 249
      Caption = 'Welcome to CQRLOG'
      Font.Color = clOlive
      Font.Height = 25
      Font.Style = [fsBold, fsItalic]
      ParentColor = False
      ParentFont = False
    end
  end
  object imLogo: TImage
    AnchorSideLeft.Control = btnOK
    AnchorSideTop.Control = rbFolder
    AnchorSideRight.Side = asrBottom
    Left = 414
    Height = 64
    Top = 87
    Width = 64
    Picture.Data = {
[encoded data, 20448 characters]
    }
  end
  object pnlInfo: TPanel
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = rbExternal
    AnchorSideTop.Side = asrBottom
    AnchorSideRight.Control = Owner
    AnchorSideRight.Side = asrBottom
    AnchorSideBottom.Side = asrBottom
    Left = 8
    Height = 89
    Top = 304
    Width = 441
    Anchors = []
    BorderSpacing.Left = 30
    BorderSpacing.Top = 12
    BorderSpacing.Right = 30
    ClientHeight = 89
    ClientWidth = 441
    Color = clWhite
    ParentBackground = False
    ParentColor = False
    TabOrder = 4
    Visible = False
    object lblInfo: TLabel
      AnchorSideLeft.Control = pnlInfo
      AnchorSideTop.Control = pnlInfo
      AnchorSideRight.Control = pnlInfo
      Left = 1
      Height = 32
      Top = 1
      Width = 337
      Caption = 'Cqrlog is creatng your first log, it might take some time.'#10'Please be patient!'
      Font.Color = clMaroon
      ParentColor = False
      ParentFont = False
      ShowAccelChar = False
      WordWrap = True
    end
  end
  object lblError: TLabel
    AnchorSideLeft.Control = Owner
    AnchorSideBottom.Control = btnOK
    AnchorSideBottom.Side = asrBottom
    Left = 6
    Height = 1
    Top = 443
    Width = 1
    Anchors = [akLeft, akBottom]
    BorderSpacing.Left = 6
    Font.Color = clRed
    ParentColor = False
    ParentFont = False
  end
  object btnHelp: TSpeedButton
    AnchorSideTop.Control = btnOK
    AnchorSideRight.Control = btnOK
    Left = 292
    Height = 25
    Hint = 'Did you read help of first start ?'#10'___________________'#10'PLEASE DO IT NOW !'
    Top = 419
    Width = 116
    Anchors = [akTop, akRight]
    BorderSpacing.Right = 6
    Caption = '(Please read)'
    Glyph.Data = {
      F6030000424DF6030000000000003600000028000000100000000F0000000100
      200000000000C003000064000000640000000000000000000000FFFFFF00FFFF
      FF0095564AFB89463BFF8A4437FF8B4437FF8C4538FF8D4639FF8E4739FF8F48
      3AFF90493BFF914A3CFF924B3DFF985346F8FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00784641F5DBDCDCFFD4DCDCFFD4DCDCFFD4DCDCFFD3DCDCFFD3DCDCFFD3DC
      DCFFD3DCDCFFD3DCDCFFD6DCDCFFB0928B8BFFFFFF00FFFFFF00FFFFFF00FFFF
      FF0096574BF589463BFF8A4437FF8B4437FF8C4538FF8D4639FF8E4739FF8F48
      3AFF90493BFF914A3CFF924B3DFF9A5547F0FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00AF7467F5AD7568FFB0705EFFB27160FFB47462FFB36E5CFFB56F5DFFBB78
      66FFBD7B68FFBF7D6BFFC17F6BFFB87563F7FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00B4776AF5AE7568FFB37362FFB57462FFB4705DFFDDBEB4FFE7D1CCFFBB79
      66FFBF7D69FFC17F6CFFC3816DFFBA7664F7FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00DAB2AAFAAF7668FFB97865FFBB7967FFB76F5AFFFDFAFAFFFFFFFFFFC485
      73FFC3826EFFC68470FFC88672FFBD7966E1FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00AD7062F5B87D70FFBE7D69FFC07E6BFFBF7A66FFDFBCB1FFD9B5ACFFC67F
      68FFCA8873FFCC8A75FFCE8C76FFBF7D69E2FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00B17668F5BC8373FFC3826FFFC5836FFFC27A64FFFDFBFAFFFFFFFFFFC07B
      68FFCF8B73FFD18F79FFD3917BFFC37F6CE2FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00B27769F5C08676FFCA8773FFC88470FFCA846EFFE7C7BCFFFFFFFFFFFBF8
      F7FFCF9888FFD69178FFD8967FFFC6846FE2FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00B2796AF5C58A7BFFCC866FFFE0B8ABFFC8856FFFCF876FFFE3B7A8FFFEFB
      FAFFFFFFFFFFD19A89FFDE9A81FFCB8772E2FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00B07465F5C88C7AFFDFAC9CFFFFFFFFFFF8F2F0FFD28970FFD6896DFFEBC2
      B6FFFFFFFFFFEED8D1FFE19B82FFCE8B76E2FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00DDB6AFFACB8E7BFFD58B73FFFBF4F1FFFFFFFFFFF9F5F3FFF9EAE5FFFFFF
      FFFFFFFFFFFFE8B8A4FFEAA48AFFCE8A74E7FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00B27667F5D29784FFDE9B82FFDD9981FFEFCABBFFFBF1EEFFFBEFEBFFF9E9
      E3FFEDB6A2FFEAA589FFEFAC91FFCE8B75E7FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00B67A6CF5D79B88FFE5A088FFE5A288FFE6A086FFE79F84FFE8A185FFEAA4
      88FFEEAA8EFFF0AE93FFF4B297FFCE8C76E7FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00E2A289A4D0927FD7D49078DAD39079DAD5927BDAD7947CDAD8947DDADB96
      7FDADB9880DADC9A81DAE19F86DBD4937CAEFFFFFF00FFFFFF00
    }
    ShowHint = True
    ParentShowHint = False
    OnClick = btnHelpClick
  end
end
