summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/installtalkwindow.cpp (follow)
Commit message (Collapse)AuthorAge
* Use cutelogger for Rockbox Utility internal trace.Dominik Riebeling2013-11-04
| | | | | | | | Change tracing from qDebug() to use cutelogger, which is available under the LGPL2.1. This allows to automatically add filename and line number to the log, and also provides multiple log levels. Change-Id: I5dbdaf902ba54ea99f07ae10a07467c52fdac910
* Update Qt includes for compatibility with Qt5.Dominik Riebeling2013-01-27
| | | | Change-Id: Ibe400700f6bce0335a2975c6d635e10ae940f932
* Don't assume success for TTS object creation.Dominik Riebeling2012-10-06
| | | | | | | | While the current implementation of getTTS() will always return an object this might change later. Check the returned object before using it to be on the safe side. Change-Id: Ic949cae7cfbe6f3086dee6aab741b0acafe14640
* Check selection before trying to create talk files.Dominik Riebeling2012-10-06
| | | | | | This prevents users from accidentially trying to create talk files for nothing. Change-Id: I92eae0e0dc14a772c786bcdad67f404fe3786376
* Correctly construct the path for talkfile generation.Dominik Riebeling2012-09-05
| | | | | | | | | | | | | While TalkFileCreator uses the current mountpoint for writing logging information it does not use it for constructing the correct path to generate talkfiles for. Since there is not much point in generating talkfiles for files that are not on the player (and the UI limits the paths that can get selected to folders on the player) make TalkFileCreator use the mountpoint for creating correct paths. Fixes FS#12748. Change-Id: Id682a3738649e4167556255599553edc6e2acd48
* Remove string from translation list that doesn't make sense translating.Dominik Riebeling2012-09-02
| | | | Change-Id: Ieddeaa35e75b5b9661ade3a715358e031c1d695d
* Add missing class name to System Trace log.Dominik Riebeling2012-06-25
| | | | | | | | To identify the source for System Trace entries qDebug() calls usually add the class name at the beginning. Add some missing ones and remove some trailing spaces. Change-Id: I3179bb206e96de8b5a1c05c0fc0958936e4513f3
* Remove mountpoint when storing folders to talk.Dominik Riebeling2012-06-14
| | | | | | | | | When using Rockbox Utility some later time the mountpoint might have changed. This would invalidate the list of folders to voice even if the folders are still present on the player. Remove the mountpoint part before storing the folders, and add it when loading the settings. Change-Id: Ic4ed98b205d20f6a0b3a1e1da396bbdcd02c255e
* Save all settings in talkfile dialog.Dominik Riebeling2012-06-14
| | | | | | | | | | | Save settings that haven't been and rename the configuration file value for the talked folder. Since the folder was replaced with a list we can't use the old value anymore so there's no need to keep a name that's not really suitable anymore. Solves FS#12634. Change-Id: I8db2a536409b94c45f28db9418a11f11f57dfacb
* Rework talkfile creation window.Dominik Riebeling2012-06-13
| | | | | | | | | | | | Support selecting multiple folders by replacing the provided path with a tree view that allows selecting multiple entries. The view is limited to the selected mountpoint (i.e. the player) so this removes the possibility of generating talk files for files that are not on the player. However, since Rockbox Utility disables most functionality without an attached player this isn't too much of a problem. Creating a standalone application for talkfile creation that is not limited to the player is possible as well. Change-Id: Ic68e7556f2e2e5b9c121aaba759a42a4d1d9d53a
* Remove encoder display from voice / talk dialogs.Dominik Riebeling2012-06-12
| | | | | | | The encoder is fixed depending on the selected target, so there is no real benefit in displaying it in voice and talkfile generation dialogs. Change-Id: I1389800d04fcdac558b243368acfee6b1b64afc9
* Split up encoders sources.Dominik Riebeling2012-01-06
| | | | | | | | | | Create a separate source / header file for each supported encoder and the base class and rename classes for better readability. This should also make it easier adding new encoders. Remove a few trailing spaces while at it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31592 a1c6a512-1295-4272-9138-f99709370657
* Remove svn keyword lines from sources.Dominik Riebeling2011-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30806 a1c6a512-1295-4272-9138-f99709370657
* Rockbox Utility: refresh some more dynamic strings after translation change.Dominik Riebeling2011-10-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30710 a1c6a512-1295-4272-9138-f99709370657
* Rockbox Utility: listen to translation change events.Dominik Riebeling2011-10-02
| | | | | | | | | When changing the language don't require a restart anymore. Instead listen to the appropriate changeEvent and retranslate the UI. Designer generated UI files already provide such a function. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30633 a1c6a512-1295-4272-9138-f99709370657
* Remove BrowseDirTree.Dominik Riebeling2011-07-16
| | | | | | | With the rework of the mountpoint selection the tree browser isn't used anymore. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30142 a1c6a512-1295-4272-9138-f99709370657
* Start with mountpoint as folder to talk selection if old value is invalid.Dominik Riebeling2010-02-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24704 a1c6a512-1295-4272-9138-f99709370657
* Use QFileDialog::getExistingDirectory() for path selection.Dominik Riebeling2010-02-16
| | | | | | | | This makes it possible for native dialogs to get used on Windows and OS X. The mountpoint selection dialog needs special handling and still uses the BrowseDirtree class for now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24703 a1c6a512-1295-4272-9138-f99709370657
* rbutil: split RbSettings. use Stable/unstable status from server.Dominik Wenger2010-01-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24331 a1c6a512-1295-4272-9138-f99709370657
* rbutil: rework and rename the "dont overwrite talkfiles" option so it really ↵Dominik Wenger2009-10-13
| | | | | | generates only new Talkfiles. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23162 a1c6a512-1295-4272-9138-f99709370657
* rbutil: add a option to ignore specific files for .talk file generation.Dominik Wenger2009-08-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22478 a1c6a512-1295-4272-9138-f99709370657
* When changing TTS settings from the talkfile dialog make sure to not reset ↵Dominik Riebeling2009-07-04
| | | | | | the currently selected folder if its valid. Fixes FS#10409. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21637 a1c6a512-1295-4272-9138-f99709370657
* rbutil: improve voice and talk generation. Dominik Wenger2009-06-26
| | | | | | | | | - introduce a talkgenerator to better share code between voice and talk generation. - name intermediate .talkfiles after the md5sum of the text. (prevents naming problems). - do not directly use the logger, instead emit signals. - move talkfile and voicefile generation to base/ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21524 a1c6a512-1295-4272-9138-f99709370657
* rbutil: make RbSettings a static class. (FS#10183 with improvements)Dominik Wenger2009-05-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20890 a1c6a512-1295-4272-9138-f99709370657
* Clean up ProgressLogger state handling:Dominik Riebeling2009-05-02
| | | | | | | | - use better names for member functions - don't emit aborted() when exiting a successful log git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20844 a1c6a512-1295-4272-9138-f99709370657
* rbutil: completely rework how tts and encoders are configured. (FS#10070)Dominik Wenger2009-04-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20824 a1c6a512-1295-4272-9138-f99709370657
* Completely rework RbSettings class.Dominik Riebeling2009-04-29
| | | | | | | | | | - 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
* rbutil: Ups. forgot a file in the previous commit.Dominik Wenger2008-07-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18017 a1c6a512-1295-4272-9138-f99709370657
* Fix some source strings to clean up translations.Dominik Riebeling2008-07-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17947 a1c6a512-1295-4272-9138-f99709370657
* rbutil: improve talkfile generation. remove the options to keep and ↵Dominik Wenger2008-05-27
| | | | | | overwrite the wavfiles. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17637 a1c6a512-1295-4272-9138-f99709370657
* rbutil: move many more connect calls, mainly for safety.Dominik Wenger2008-04-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16997 a1c6a512-1295-4272-9138-f99709370657
* when changing settings from the Talk and Voice window also update the main ↵Dominik Riebeling2008-03-14
| | | | | | widgets settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16668 a1c6a512-1295-4272-9138-f99709370657
* Fix voicefile / talkfile generation windows not updating the displayed ↵Dominik Riebeling2008-03-01
| | | | | | settings if the user used the "change" button. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16462 a1c6a512-1295-4272-9138-f99709370657
* Make encoder name conversion functions static to the base class.Dominik Riebeling2008-02-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16305 a1c6a512-1295-4272-9138-f99709370657
* Make TTS name conversion functions static members.Dominik Riebeling2008-02-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16294 a1c6a512-1295-4272-9138-f99709370657
* Save the internal name for tts / encoder in the configuration file, not the ↵Dominik Riebeling2008-02-06
| | | | | | displayed nice name. Additionally, kill a few warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16233 a1c6a512-1295-4272-9138-f99709370657
* Redo my previous segfault fix in a better way.Dominik Riebeling2008-02-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16205 a1c6a512-1295-4272-9138-f99709370657
* Don't segfault upon opening the voice / talk creation window if the encoder ↵Dominik Riebeling2008-02-02
| | | | | | setting is missing. This could happen if the configuration file is older and the user didn't re-save the settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16202 a1c6a512-1295-4272-9138-f99709370657
* rbtutil: introduce a RbSettings class help code reuse, and minimises ↵Dominik Wenger2008-01-25
| | | | | | duplicated code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16159 a1c6a512-1295-4272-9138-f99709370657
* rbutilqt: made the sapi TTS more configurable, you can now select a specific ↵Dominik Wenger2008-01-19
| | | | | | 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
* rbutil: reworked configuration of TTS engines to the new Style.Dominik Wenger2007-12-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15932 a1c6a512-1295-4272-9138-f99709370657
* rbutil: added a button into talkfile dialog, to directly jump to config of ↵Dominik Wenger2007-12-14
| | | | | | tts and enc. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15926 a1c6a512-1295-4272-9138-f99709370657
* rbutil: added builtin rbspeex encoder. Reworked encoder configuration. Dominik Wenger2007-12-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15925 a1c6a512-1295-4272-9138-f99709370657
* rbutil: try to fix all Bugs from FS#7982 in the talkfile creation. ↵Dominik Wenger2007-10-19
| | | | | | Additionally fix the positon of the _dirname.talk file and uninstallation of talkfiles. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15212 a1c6a512-1295-4272-9138-f99709370657
* rbutil: add options to create .talk files only for Folders or only for Files ↵Dominik Wenger2007-10-12
| | | | | | or for Both. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15087 a1c6a512-1295-4272-9138-f99709370657
* rbutil: added support for talkfile creation with the rockbox sapi_voice.vbs ↵Dominik Wenger2007-09-23
| | | | | | 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
* Cosmetics: remove trailing spaces.Antoine Cellerier2007-09-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14723 a1c6a512-1295-4272-9138-f99709370657
* Add BrowseDirtree::setDir(const QString&) to simplify the code.Antoine Cellerier2007-09-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14694 a1c6a512-1295-4272-9138-f99709370657
* - rework language selection a bit: use language string as key instead of ↵Dominik Riebeling2007-09-03
| | | | | | | | | 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
* Fix a possible crash when entering the talkfile window without correct ↵Dominik Riebeling2007-08-31
| | | | | | settings. Thanks to Nico_P. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14553 a1c6a512-1295-4272-9138-f99709370657