forked from len0rd/rockbox
Implement download caching. Set the folder for the cache data in the configuration dialog. Caching is disabled per default and defaults to the systems temp folder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14476 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0877a1a9f5
commit
5ef236869f
12 changed files with 206 additions and 19 deletions
|
|
@ -270,6 +270,9 @@
|
|||
<attribute name="title" >
|
||||
<string>Cac&he</string>
|
||||
</attribute>
|
||||
<attribute name="icon" >
|
||||
<iconset resource="rbutilqt.qrc" >:/icons/icons/package-x-generic.png</iconset>
|
||||
</attribute>
|
||||
<attribute name="toolTip" >
|
||||
<string>Download cache settings</string>
|
||||
</attribute>
|
||||
|
|
@ -304,7 +307,11 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="cachePath" />
|
||||
<widget class="QLineEdit" name="cachePath" >
|
||||
<property name="toolTip" >
|
||||
<string>Entering an invalid folder will reset the path to the systems temporary path.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="buttonCacheBrowse" >
|
||||
|
|
@ -329,6 +336,9 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="cacheOfflineMode" >
|
||||
<property name="toolTip" >
|
||||
<string>This will try to use all information from the cache, even information about updates. Only use this option if you want to install without network connection. Note: you need to do the same install you want to perform later with network access first to download all required files to the cache.</string>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>O&ffline mode</string>
|
||||
</property>
|
||||
|
|
@ -367,6 +377,9 @@
|
|||
<property name="text" >
|
||||
<string>Clean cache &now</string>
|
||||
</property>
|
||||
<property name="icon" >
|
||||
<iconset resource="rbutilqt.qrc" >:/icons/icons/user-trash-full.png</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue