Графический интерфейс в aria2c RPC http://blindage.org/?p=5385
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

unitadd.lfm 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. object formAdd: TformAdd
  2. Left = 763
  3. Height = 240
  4. Top = 454
  5. Width = 320
  6. BorderStyle = bsSingle
  7. Caption = 'Add new URL'
  8. ClientHeight = 240
  9. ClientWidth = 320
  10. OnShow = FormShow
  11. Position = poOwnerFormCenter
  12. LCLVersion = '1.2.4.0'
  13. object edit_uri: TEdit
  14. Left = 9
  15. Height = 23
  16. Top = 28
  17. Width = 303
  18. TabOrder = 0
  19. end
  20. object Label1: TLabel
  21. Left = 9
  22. Height = 15
  23. Top = 12
  24. Width = 21
  25. Caption = 'URL'
  26. ParentColor = False
  27. end
  28. object Label2: TLabel
  29. Left = 9
  30. Height = 15
  31. Top = 62
  32. Width = 158
  33. Caption = 'or file with URLs (one per line)'
  34. ParentColor = False
  35. end
  36. object Button1: TButton
  37. Left = 160
  38. Height = 25
  39. Top = 56
  40. Width = 75
  41. Caption = 'Select'
  42. Enabled = False
  43. TabOrder = 1
  44. end
  45. object ComboBox1: TComboBox
  46. Left = 168
  47. Height = 23
  48. Top = 104
  49. Width = 144
  50. ItemHeight = 15
  51. ItemIndex = 0
  52. Items.Strings = (
  53. 'local machine'
  54. )
  55. Style = csDropDownList
  56. TabOrder = 2
  57. Text = 'local machine'
  58. end
  59. object Label3: TLabel
  60. Left = 168
  61. Height = 15
  62. Top = 91
  63. Width = 32
  64. Caption = 'Server'
  65. ParentColor = False
  66. end
  67. object Button2: TButton
  68. Left = 88
  69. Height = 25
  70. Top = 200
  71. Width = 75
  72. Caption = 'Add'
  73. OnClick = Button2Click
  74. TabOrder = 3
  75. end
  76. object Button3: TButton
  77. Left = 168
  78. Height = 25
  79. Top = 200
  80. Width = 75
  81. Caption = 'Cancel'
  82. OnClick = Button3Click
  83. TabOrder = 4
  84. end
  85. object Label4: TLabel
  86. Left = 272
  87. Height = 15
  88. Top = 136
  89. Width = 42
  90. Caption = 'Threads'
  91. ParentColor = False
  92. end
  93. object edit_threads: TEdit
  94. Left = 272
  95. Height = 23
  96. Top = 152
  97. Width = 23
  98. TabOrder = 5
  99. Text = '3'
  100. end
  101. object UpDown1: TUpDown
  102. Left = 295
  103. Height = 23
  104. Top = 152
  105. Width = 17
  106. Associate = edit_threads
  107. Min = 1
  108. Max = 8
  109. ParentShowHint = False
  110. Position = 3
  111. TabOrder = 6
  112. Wrap = False
  113. end
  114. object ComboBox2: TComboBox
  115. Left = 9
  116. Height = 23
  117. Top = 104
  118. Width = 151
  119. Enabled = False
  120. ItemHeight = 15
  121. ItemIndex = 0
  122. Items.Strings = (
  123. 'Usual http or ftp'
  124. 'Torrent'
  125. )
  126. Style = csDropDownList
  127. TabOrder = 7
  128. Text = 'Usual http or ftp'
  129. end
  130. object Label5: TLabel
  131. Left = 9
  132. Height = 15
  133. Top = 91
  134. Width = 80
  135. Caption = 'Download type'
  136. ParentColor = False
  137. end
  138. object Label6: TLabel
  139. Left = 9
  140. Height = 15
  141. Top = 136
  142. Width = 104
  143. Caption = 'Download directory'
  144. ParentColor = False
  145. end
  146. object edit_dir: TEdit
  147. Left = 9
  148. Height = 23
  149. Top = 152
  150. Width = 223
  151. TabOrder = 8
  152. Text = '/home/vlad/Downloads'
  153. end
  154. object Button4: TButton
  155. Left = 236
  156. Height = 23
  157. Top = 152
  158. Width = 28
  159. Caption = '...'
  160. OnClick = Button4Click
  161. TabOrder = 9
  162. end
  163. end