Dominik Wenger
18e74c9d81
rbutil: improve accessibility a little bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21300 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 19:41:16 +00:00
Dominik Riebeling
7f17fce424
Clean up configuration dialog debug output.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21201 a1c6a512-1295-4272-9138-f99709370657
2009-06-07 10:17:03 +00:00
Dominik Wenger
33d9cf091a
rbutil: make RbSettings a static class. (FS#10183 with improvements)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20890 a1c6a512-1295-4272-9138-f99709370657
2009-05-09 16:59:14 +00:00
Dominik Wenger
5b85ef6006
rbutil: completely rework how tts and encoders are configured. (FS#10070)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20824 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 21:27:01 +00:00
Dominik Riebeling
3d2e42ab4c
Completely rework RbSettings class.
...
- use a single member function for accessing a settings value.
- use an enum to figure the correct value in the settings file instead of functions.
- return the settings value as QVariant instead and leave converting to the caller.
- accept QVariant as value when setting values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20823 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 20:58:47 +00:00
Dominik Riebeling
42483bacc8
Fix cache path selection on Windows only allowing to select drives (FS#10013 by Yoshihisa Uchida).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20319 a1c6a512-1295-4272-9138-f99709370657
2009-03-13 16:53:28 +00:00
Dominik Riebeling
194fe0e6f0
Check configuration for validity in the configuration dialog.
...
If the configuration is invalid display information about the issues and don't accept the values. Fixes issue reported in FS#9944.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20100 a1c6a512-1295-4272-9138-f99709370657
2009-02-24 23:36:31 +00:00
Dominik Riebeling
af58ec63b6
Display cache path using native directory separators in configuration dialog.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19939 a1c6a512-1295-4272-9138-f99709370657
2009-02-07 15:59:20 +00:00
Dominik Riebeling
5c1b47dd1a
Make autodetection show a busy cursor (hourglass) during detection to improve visual feedback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19114 a1c6a512-1295-4272-9138-f99709370657
2008-11-16 11:00:27 +00:00
Dominik Riebeling
cbc9208e54
Don't reset the language setting if it wasn't changed but the configuration saved.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18279 a1c6a512-1295-4272-9138-f99709370657
2008-08-14 21:32:32 +00:00
Dominik Riebeling
c367c21a76
Make rbutil check the system language and try to use the correct translation. A language selection in the configuration file will override this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18118 a1c6a512-1295-4272-9138-f99709370657
2008-07-25 19:28:24 +00:00
Frank Gevaerts
ee3ed8a163
handle new installations (or upgrades) differently from invalid configurations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17983 a1c6a512-1295-4272-9138-f99709370657
2008-07-07 21:40:44 +00:00
Dominik Riebeling
b39c20e557
Make encoder selection update on device change. This includes a workaround as the settings object currently doesn't allow getting the encoder for any other than the selected device.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17968 a1c6a512-1295-4272-9138-f99709370657
2008-07-06 19:57:22 +00:00
Dominik Riebeling
537ed0133c
Make two missing strings translateable and translate to german.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17961 a1c6a512-1295-4272-9138-f99709370657
2008-07-06 16:23:51 +00:00
Dominik Riebeling
6667857eb2
Add a hint for translators.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17946 a1c6a512-1295-4272-9138-f99709370657
2008-07-05 21:35:23 +00:00
Dominik Wenger
7fb11a82a1
rbutil: move some detecting code, to make detecing things nicer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17813 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 21:53:22 +00:00
Dominik Riebeling
1692d9b996
processEvents before starting autodetection.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17600 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 22:27:48 +00:00
Dominik Riebeling
23744fe314
disable device tree during autodetection to give some (small) visual feedback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17599 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 22:03:37 +00:00
Dominik Riebeling
01f7223083
don't save mountpoint using native separators in the configuration. Makes things more consistent and fixes browsing the backup folder.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17568 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 10:38:26 +00:00
Dominik Riebeling
faceafc411
autodetection: convert path to native separators before displaying it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17566 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 10:14:47 +00:00
Dominik Wenger
251db06294
rbutil: remove encoder selection and bind it to selected device. (ie. lame for old archos, rbspeex for all others)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17439 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 15:23:15 +00:00
Dominik Wenger
b235b1306e
rbutil: move many more connect calls, mainly for safety.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16997 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 19:50:38 +00:00
Dominik Riebeling
229c64ba67
Upon autodetection tell the user if an incompatible player model (newer Sansa / Nano) was found. Detection is usb based only.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16979 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 21:48:54 +00:00
Dominik Wenger
1363881148
rbutil:let autodetection::detectUsb also use the rbsettings object.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16952 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 20:05:13 +00:00
Dominik Riebeling
8406d92475
Clean up double path in resource file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16854 a1c6a512-1295-4272-9138-f99709370657
2008-03-27 23:39:49 +00:00
Dominik Riebeling
8f0c7908b0
Make encoder name conversion functions static to the base class.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16305 a1c6a512-1295-4272-9138-f99709370657
2008-02-13 18:11:09 +00:00
Dominik Riebeling
8820c0114b
Make TTS name conversion functions static members.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16294 a1c6a512-1295-4272-9138-f99709370657
2008-02-12 21:45:50 +00:00
Dominik Riebeling
c789f3a8a2
Save the internal name for tts / encoder in the configuration file, not the displayed nice name. Additionally, kill a few warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16233 a1c6a512-1295-4272-9138-f99709370657
2008-02-06 21:51:35 +00:00
Dominik Wenger
3a54c9b58d
rbtutil: introduce a RbSettings class help code reuse, and minimises duplicated code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16159 a1c6a512-1295-4272-9138-f99709370657
2008-01-25 00:12:25 +00:00
Dominik Wenger
df6c5f414f
rbutil: introduce a util function to get the systemproxy, for better reuse.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16150 a1c6a512-1295-4272-9138-f99709370657
2008-01-23 21:54:40 +00:00
Dominik Wenger
6b5780dae3
rbutilqt: made the sapi TTS more configurable, you can now select a specific voice in the config dialog. Also reworked some setSetting functions, to remove depencies.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16111 a1c6a512-1295-4272-9138-f99709370657
2008-01-19 18:33:33 +00:00
Dominik Riebeling
9d482ebb6c
w32: when utilizing IE values for system proxy also honor the ProxyEnable value. In the configuration dialog, display a note when system proxy is disabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15962 a1c6a512-1295-4272-9138-f99709370657
2007-12-23 10:11:51 +00:00
Dominik Wenger
bebddd42c2
rbutil: reworked configuration of TTS engines to the new Style.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15932 a1c6a512-1295-4272-9138-f99709370657
2007-12-15 13:13:57 +00:00
Dominik Wenger
f5c695b43f
rbutil: added a button into talkfile dialog, to directly jump to config of tts and enc.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15926 a1c6a512-1295-4272-9138-f99709370657
2007-12-14 19:49:11 +00:00
Dominik Wenger
815504b449
rbutil: added builtin rbspeex encoder. Reworked encoder configuration.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15925 a1c6a512-1295-4272-9138-f99709370657
2007-12-14 19:26:54 +00:00
Dominik Riebeling
22cf8adf01
Use i10n for numbers using QLocale.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15027 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 21:26:53 +00:00
Dominik Riebeling
25441b396d
When changing cache path update the size information.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15022 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 18:02:54 +00:00
Dominik Riebeling
8431da1fff
Give the configuration dialog its old size back and make sure to always start at the Device tab.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14830 a1c6a512-1295-4272-9138-f99709370657
2007-09-23 15:26:27 +00:00
Dominik Wenger
acc70ec58d
rbutil: added support for talkfile creation with the rockbox sapi_voice.vbs script. Also let the configure dialog remember options and paths for different tts and encoders.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14828 a1c6a512-1295-4272-9138-f99709370657
2007-09-23 13:35:45 +00:00
Dominik Riebeling
74154436a5
w32: implement "system proxy" settings. This uses the IE setting by reading its values from the registry. Make system proxy the default value if no configuration file is found.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14827 a1c6a512-1295-4272-9138-f99709370657
2007-09-23 13:12:34 +00:00
Antoine Cellerier
1464c9b5d0
Cosmetics: remove trailing spaces.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14723 a1c6a512-1295-4272-9138-f99709370657
2007-09-15 22:57:07 +00:00
Dominik Riebeling
fc25266440
Device detection based on USB PIDs. This is currently linux only and requires libusb. There is also no way to figure the mount point from the USB PID so the old methods are tried for this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14698 a1c6a512-1295-4272-9138-f99709370657
2007-09-14 20:52:38 +00:00
Antoine Cellerier
974eb5deaf
Make it possible to change the BrowseDirtree caption (and do so for the device selection dialog).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14695 a1c6a512-1295-4272-9138-f99709370657
2007-09-14 20:22:53 +00:00
Antoine Cellerier
4c881e2c91
Add BrowseDirtree::setDir(const QString&) to simplify the code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14694 a1c6a512-1295-4272-9138-f99709370657
2007-09-14 20:10:54 +00:00
Antoine Cellerier
bedfd7c8b5
On linux, default to /media for the mountpoint selection but make it possible to chose other directories too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14693 a1c6a512-1295-4272-9138-f99709370657
2007-09-14 19:27:35 +00:00
Dominik Riebeling
3cd6a4502c
it's /media, not /Media.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14689 a1c6a512-1295-4272-9138-f99709370657
2007-09-14 14:47:26 +00:00
Dominik Wenger
b775101260
rbutil: limit the mountpoint selection to /Media on linux and /Volumes on Mac.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14688 a1c6a512-1295-4272-9138-f99709370657
2007-09-14 14:37:43 +00:00
Dominik Riebeling
b9dbd4ee9c
- rework language selection a bit: use language string as key instead of language file basename. Display the language string in the selection list too. This makes it possible to distinguish between two variants of the same language without adjusting the language name.
...
- move user settings from "defaults" section to "general". Makes the code cleaner and has been that way for historical reasons only anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14592 a1c6a512-1295-4272-9138-f99709370657
2007-09-03 14:37:00 +00:00
Dominik Riebeling
87a8f41edf
TTS configuration: default to the first profile found.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14550 a1c6a512-1295-4272-9138-f99709370657
2007-08-30 22:20:11 +00:00
Dominik Riebeling
4146da5565
When collapsing the devices tree upon detection collapse all.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14535 a1c6a512-1295-4272-9138-f99709370657
2007-08-30 18:14:56 +00:00