summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/createvoicewindow.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-11-04Use cutelogger for Rockbox Utility internal trace.Dominik Riebeling1-1/+2
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
2013-01-27Update Qt includes for compatibility with Qt5.Dominik Riebeling1-0/+1
Change-Id: Ibe400700f6bce0335a2975c6d635e10ae940f932
2012-10-06Don't assume success for TTS object creation.Dominik Riebeling1-0/+6
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
2012-06-13Improve voice creation window a bit.Dominik Riebeling1-2/+2
- Make the window slightly smaller. There isn't too much information to be displayed, and Qt will enlarge the window if necessary anyway. - Rename the "wavtrim threshold" field, since "wavtrim" is not really descriptive for non-developers. Change-Id: I89622b3f1bca8bcd7326b447d28859412107287f
2012-06-12Remove encoder display from voice / talk dialogs.Dominik Riebeling1-14/+0
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
2012-05-19Show nicer language names in voice creation dialog.Dominik Riebeling1-11/+11
Instead of showing the internal language names show some more human friendly string. Currently only applies to the voice creation dialog, the language configuration dialog needs further adjustments to support display strings differing from values. Change-Id: Ic94838f1079c1d09a666d7dbd9682c577f686b3f
2012-01-06Split up encoders sources.Dominik Riebeling1-3/+3
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
2011-10-19Remove svn keyword lines from sources.Dominik Riebeling1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30806 a1c6a512-1295-4272-9138-f99709370657
2011-10-04Rockbox Utility: refresh some more dynamic strings after translation change.Dominik Riebeling1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30710 a1c6a512-1295-4272-9138-f99709370657
2011-10-02Rockbox Utility: listen to translation change events.Dominik Riebeling1-0/+10
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
2011-07-16Remove BrowseDirTree.Dominik Riebeling1-1/+0
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
2011-02-04Replace list of languages with map.Dominik Riebeling1-6/+10
- Use ISO codes as keys for voice languages instead of enumeration. - Instead of trying to select a suitable voicefile language from the UI language use the ISO codes stored as UI language and match against the mapping. - Always store the selected UI language. Fixes the voicefile creation language lookup to fail if the language used is the system language. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29207 a1c6a512-1295-4272-9138-f99709370657
2010-02-28Save values set in voice window before calling configuration dialog.Dominik Riebeling1-13/+20
This fixes the values set in the voice window getting overwritten with the initial values when opening the configuration dialog from the window via the "Change" button. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24963 a1c6a512-1295-4272-9138-f99709370657
2010-01-24rbutil: split RbSettings. use Stable/unstable status from server.Dominik Wenger1-2/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24331 a1c6a512-1295-4272-9138-f99709370657
2009-10-12rbutil: store the voice language in the correct setting.Dominik Wenger1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23141 a1c6a512-1295-4272-9138-f99709370657
2009-08-22rbutil: use target-id from rockbox-info.txt and remove it from rbutil.iniDominik Wenger1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22463 a1c6a512-1295-4272-9138-f99709370657
2009-06-26rbutil: improve voice and talk generation. Dominik Wenger1-1/+5
- 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
2009-05-09rbutil: make sure the voice creation window updates its display on startup.Dominik Wenger1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20896 a1c6a512-1295-4272-9138-f99709370657
2009-05-09rbutil: make RbSettings a static class. (FS#10183 with improvements)Dominik Wenger1-24/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20890 a1c6a512-1295-4272-9138-f99709370657
2009-04-29rbutil: completely rework how tts and encoders are configured. (FS#10070)Dominik Wenger1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20824 a1c6a512-1295-4272-9138-f99709370657
2009-04-29Completely rework RbSettings class.Dominik Riebeling1-10/+10
- 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
2008-07-05Fix some source strings to clean up translations.Dominik Riebeling1-5/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17947 a1c6a512-1295-4272-9138-f99709370657
2008-06-30Add missing keywords property.Dominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17902 a1c6a512-1295-4272-9138-f99709370657
2008-04-06rbutil: move many more connect calls, mainly for safety.Dominik Wenger1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16997 a1c6a512-1295-4272-9138-f99709370657
2008-03-14when changing settings from the Talk and Voice window also update the main ↵Dominik Riebeling1-4/+4
widgets settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16668 a1c6a512-1295-4272-9138-f99709370657
2008-03-01Fix voicefile / talkfile generation windows not updating the displayed ↵Dominik Riebeling1-3/+10
settings if the user used the "change" button. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16462 a1c6a512-1295-4272-9138-f99709370657
2008-02-13Make encoder name conversion functions static to the base class.Dominik Riebeling1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16305 a1c6a512-1295-4272-9138-f99709370657
2008-02-12Make TTS name conversion functions static members.Dominik Riebeling1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16294 a1c6a512-1295-4272-9138-f99709370657
2008-02-06Save the internal name for tts / encoder in the configuration file, not the ↵Dominik Riebeling1-2/+2
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-03Add a simple (and dumb) way to determine the language for voice file ↵Dominik Riebeling1-2/+15
creation if it hasn't been used before. Try to use the application language setting (doesn't work for all provided languages) and default to english. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16210 a1c6a512-1295-4272-9138-f99709370657
2008-02-03Redo my previous segfault fix in a better way.Dominik Riebeling1-5/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16205 a1c6a512-1295-4272-9138-f99709370657
2008-02-02Don't segfault upon opening the voice / talk creation window if the encoder ↵Dominik Riebeling1-7/+12
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
2008-01-25rbtutil: introduce a RbSettings class help code reuse, and minimises ↵Dominik Wenger1-27/+16
duplicated code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16159 a1c6a512-1295-4272-9138-f99709370657
2008-01-19rbutilqt: made the sapi TTS more configurable, you can now select a specific ↵Dominik Wenger1-13/+14
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-13rbutil: improve voice creation: better parser for genlang output. Make ↵Dominik Wenger1-0/+1
progressbar working while voicegeneration. Sort the voice language list. Make the rbutil Translations built in. (run lrelease before make) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16075 a1c6a512-1295-4272-9138-f99709370657
2008-01-11rbutil: added creation of voice files with rbutil.Dominik Wenger1-0/+113
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16059 a1c6a512-1295-4272-9138-f99709370657