summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/installtalkwindow.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-12-05rbutil: Merge finding player by USB ID with PlayerBuildInfo.Dominik Riebeling1-1/+0
Remaining rework of player info data handling. Change-Id: I0e10cdff43e0c9fef43b3b9a30af81f1cd7c4853
2020-08-16rbutil: QString::split() changed with Qt 5.14.Dominik Riebeling1-1/+5
Avoid a deprecated warning, and make it compile with Qt6, which removes the old version. Change-Id: Iaad10660a0c8bda9d7aa52ee250489ed135bd8a8
2013-11-04Use cutelogger for Rockbox Utility internal trace.Dominik Riebeling1-2/+3
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-10-06Check selection before trying to create talk files.Dominik Riebeling1-4/+10
This prevents users from accidentially trying to create talk files for nothing. Change-Id: I92eae0e0dc14a772c786bcdad67f404fe3786376
2012-09-05Correctly construct the path for talkfile generation.Dominik Riebeling1-1/+3
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
2012-09-02Remove string from translation list that doesn't make sense translating.Dominik Riebeling1-2/+2
Change-Id: Ieddeaa35e75b5b9661ade3a715358e031c1d695d
2012-06-25Add missing class name to System Trace log.Dominik Riebeling1-1/+0
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
2012-06-14Remove mountpoint when storing folders to talk.Dominik Riebeling1-2/+5
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
2012-06-14Save all settings in talkfile dialog.Dominik Riebeling1-18/+40
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
2012-06-13Rework talkfile creation window.Dominik Riebeling1-44/+46
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
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-01-06Split up encoders sources.Dominik Riebeling1-13/+13
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
2010-02-16Start with mountpoint as folder to talk selection if old value is invalid.Dominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24704 a1c6a512-1295-4272-9138-f99709370657
2010-02-16Use QFileDialog::getExistingDirectory() for path selection.Dominik Riebeling1-13/+10
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
2010-01-24rbutil: split RbSettings. use Stable/unstable status from server.Dominik Wenger1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24331 a1c6a512-1295-4272-9138-f99709370657
2009-10-13rbutil: rework and rename the "dont overwrite talkfiles" option so it really ↵Dominik Wenger1-2/+2
generates only new Talkfiles. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23162 a1c6a512-1295-4272-9138-f99709370657
2009-08-23rbutil: add a option to ignore specific files for .talk file generation.Dominik Wenger1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22478 a1c6a512-1295-4272-9138-f99709370657
2009-07-04When changing TTS settings from the talkfile dialog make sure to not reset ↵Dominik Riebeling1-1/+7
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
2009-06-26rbutil: improve voice and talk generation. Dominik Wenger1-1/+6
- 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 RbSettings a static class. (FS#10183 with improvements)Dominik Wenger1-17/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20890 a1c6a512-1295-4272-9138-f99709370657
2009-05-02Clean up ProgressLogger state handling:Dominik Riebeling1-1/+1
- 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
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-5/+5
- 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-12rbutil: Ups. forgot a file in the previous commit.Dominik Wenger1-2/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18017 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-05-27rbutil: improve talkfile generation. remove the options to keep and ↵Dominik Wenger1-5/+3
overwrite the wavfiles. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17637 a1c6a512-1295-4272-9138-f99709370657
2008-04-06rbutil: move many more connect calls, mainly for safety.Dominik Wenger1-2/+6
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-3/+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/+7
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-03Redo my previous segfault fix in a better way.Dominik Riebeling1-5/+2
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-5/+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-15/+13
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-11/+7
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
2007-12-15rbutil: reworked configuration of TTS engines to the new Style.Dominik Wenger1-47/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15932 a1c6a512-1295-4272-9138-f99709370657
2007-12-14rbutil: added a button into talkfile dialog, to directly jump to config of ↵Dominik Wenger1-0/+10
tts and enc. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15926 a1c6a512-1295-4272-9138-f99709370657
2007-12-14rbutil: added builtin rbspeex encoder. Reworked encoder configuration. Dominik Wenger1-14/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15925 a1c6a512-1295-4272-9138-f99709370657
2007-10-19rbutil: try to fix all Bugs from FS#7982 in the talkfile creation. ↵Dominik Wenger1-3/+2
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
2007-10-12rbutil: add options to create .talk files only for Folders or only for Files ↵Dominik Wenger1-0/+2
or for Both. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15087 a1c6a512-1295-4272-9138-f99709370657
2007-09-23rbutil: added support for talkfile creation with the rockbox sapi_voice.vbs ↵Dominik Wenger1-24/+36
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-15Cosmetics: remove trailing spaces.Antoine Cellerier1-12/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14723 a1c6a512-1295-4272-9138-f99709370657
2007-09-14Add BrowseDirtree::setDir(const QString&) to simplify the code.Antoine Cellerier1-4/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14694 a1c6a512-1295-4272-9138-f99709370657