Commit Graph

456 Commits

Author SHA1 Message Date
ian@knightly.xyz 05e9e5dca0 Fixes bug 1080596 where presentations in the preview pane display live view rather than preview of selected slide.
In addition, fixes the aspect ratio & quality of thumbnails by saving them in the correct aspect ratio at a higher resolution, and loading them through the image manager.

New test cases implemented, or existing cases modified to test coverage complete for changes.

lp:~knightrider0xd/openlp/preview-shows-live-fix-1080596 (revision 2652)
[SUCCESS] https://ci.openlp.io/job/Branch-...

bzr-revno: 2661
Fixes: https://launchpad.net/bugs/1080596
2016-05-16 17:26:29 +01:00
Ian Knight a7466f1ea7 Check for Div0 and added unit test cases 2016-05-16 22:05:58 +09:30
Ian Knight 55002518ef Added Functional Tests, cleaned PEP8 errors 2016-05-06 04:27:32 +09:30
Ian Knight bc6253a627 Housekeeping, added check for thumbnails to avoid icon scaling issues 2016-05-05 13:27:04 +09:30
Ian Knight a2bc59b3d9 Merge from trunk 2016-05-04 21:50:37 +09:30
Ian Knight f0d7cf7f36 Corrected aspect ratio on slide previews 2016-05-04 21:40:42 +09:30
Ken Roberts 591ed15ab7 Merge upstream 2016-04-23 12:28:52 -07:00
Ken Roberts c1222dc2bb Convert strings to python3 in __init__ files 2016-04-22 17:40:59 -07:00
Tim Bentley bdeff60a97 updates 2016-04-17 20:32:15 +01:00
Tim Bentley 34f00cda92 dnd and files 2016-04-17 20:09:46 +01:00
Tim Bentley b2147045b2 colorbutton2 2016-04-17 20:06:17 +01:00
Tim Bentley 6767ba504c colorbutton 2016-04-17 19:57:03 +01:00
Tomas Groth 8991d2ca62 trunk 2016-01-03 18:02:23 +01:00
Tomas Groth dec1aa6720 Started on chords support 2016-01-03 18:01:44 +01:00
Tim Bentley 3a8b068af8 Year older 2015-12-31 22:46:06 +00:00
Jonathan Springer 7af1ca1d49 Migrate to PyQt5 2015-11-06 19:49:40 -05:00
Jonathan Springer eaf1e7a049 Docstring cleanups 2015-09-08 15:13:59 -04:00
Tomas Groth 335c804e8f Fix support for special characters in theme names. Fixes bug 1438563.
Fixes: https://launchpad.net/bugs/1438563
2015-04-02 10:04:56 +01:00
Phill Ridout af2467ed93 Check for theme version. Implement a custom exception
Fixes: https://launchpad.net/bugs/1419691
2015-02-13 21:47:06 +00:00
Raoul Snyman ffcea13021 Updated the copyright. 2015-01-18 15:39:21 +02:00
Tim Bentley f3c09af379 Years go by 2014-12-31 10:58:13 +00:00
Phill Ridout 3685948ed5 HEAD 2014-10-29 19:11:43 +00:00
Phill Ridout a4f788599f add custom colorbutton widget 2014-10-23 20:50:01 +01:00
Ken Roberts 0227e0a2bd Initial projector code 2014-10-06 12:10:03 -07:00
Tomas Groth 406cc506c1 Merged with trunk and fixed tests 2014-07-11 13:35:56 +02:00
Andreas Preikschat 8fb086134e dead code, not used variables, docs, unused imports 2014-05-01 19:49:43 +02:00
Tomas Groth bc29a01eb5 head 2014-04-23 21:30:12 +02:00
Raoul Snyman b9ba2c68a6 Fix up PEP8 issues. 2014-04-12 22:19:22 +02:00
Tomas Groth 258f1db411 Merged with head. 2014-03-18 20:40:09 +01:00
Tim Bentley 3d556a9790 Head 2014-02-23 15:02:53 +00:00
Philip Ridout 150ff4e980 HEAD 2014-02-11 20:29:57 +00:00
Tim Bentley 743ad7b44a Clean up inits 2014-01-11 21:29:01 +00:00
Felipe Polo-Wood d2782e099f Merged with Tim's refactoring changes 2014-01-09 14:52:20 -05:00
Tim Bentley 2755aad4c6 More PEP 8 changes 2014-01-01 09:33:07 +00:00
Felipe Polo-Wood 1a83a0a557 Merge head 2013-12-30 03:53:51 -05:00
Tim Bentley e6bcf7d852 Head and fix confilcts 2013-12-28 21:33:38 +00:00
Felipe Polo-Wood 1ef910463c Merge head 2013-12-28 12:06:29 -05:00
Tim Bentley 6d8b5cadb4 Lib cleanup and 2014 2013-12-24 08:56:50 +00:00
Tim Bentley cd9f9e4c8d move registry to common 2013-12-13 17:44:05 +00:00
Felipe Polo-Wood 04abbd97d0 implemented caching thru the ImageManager
Styling issues
Merge with fix-router changes
2013-11-22 13:21:07 -05:00
Philip Ridout c41842125d HEAD 2013-11-16 20:32:50 +00:00
Philip Ridout bb614d4af2 HEAD 2013-11-01 19:35:54 +00:00
Felipe Polo-Wood 6d464dec4b Added resizing capabilities to the thumbnails
Fixed a problem with setting the presentation slides from the remote
2013-10-29 11:38:28 -04:00
Philip Ridout a69b2d86ef More uneeded str's 2013-10-28 21:23:17 +00:00
Tim Bentley 63685cb29e Move Settings and translate 2013-10-13 21:36:42 +01:00
Tim Bentley a82c64237c Fix move of check_directory_exists 2013-10-13 18:23:52 +01:00
Philip Ridout 52781b9628 more Py3 fixes 2013-09-15 20:42:29 +01:00
Philip Ridout 9f5bd87a50 Py3 Fixes 2013-09-15 20:27:40 +01:00
Philip Ridout a06469fea0 head 2013-09-15 19:36:58 +01:00
Andreas Preikschat 3e1a863bae 2to3 and resources.py 2013-08-31 20:17:38 +02:00
Philip Ridout 364fde73c5 Fix #120515 by reimplementing QFileDialog.getOpenFileNames 2013-08-13 19:02:04 +01:00
Andreas Preikschat 67d12883c1 head 2013-06-04 21:36:34 +02:00
Andreas Preikschat 7a42cd3769 added test 2013-05-18 10:44:03 +02:00
Andreas Preikschat ceb8020998 head 2013-05-12 14:04:55 +02:00
Andreas Preikschat 2d22e8420a do not pass QImages to build_icon (if not needed) 2013-04-28 19:17:45 +02:00
Andreas Preikschat 22541e7297 use true division (py3) 2013-04-24 21:05:34 +02:00
Andreas Preikschat 6908577b54 fixed image display 2013-03-27 10:41:01 +01:00
Andreas Preikschat 0b2dc71f28 fixed not needed decode 2013-03-27 10:25:39 +01:00
Tim Bentley decdf96ce1 More update 2013-03-23 07:07:06 +00:00
Arjan Schrijver 043c35a985 Merge HEAD 2013-03-11 16:23:43 +01:00
Andreas Preikschat a70ef917fc cleaned core/lib/init 2013-03-07 13:30:24 +01:00
Arjan Schrijver c02098faa8 Merge HEAD 2013-03-03 17:53:33 +01:00
Andreas Preikschat 00451ebfe0 moved SettingsManager 2013-02-27 12:04:05 +01:00
Andreas Preikschat 7c9506af4a - fixed Bug #1100277 (Songs don't load with latest build)
- added nose to check_dependencies.py
- fixed version number compare in create_separated_list

bzr-revno: 2178
2013-02-16 06:48:52 +00:00
Arjan Schrijver cc9464ea74 Merge HEAD 2013-02-13 20:27:10 +01:00
Arjan Schrijver 3717e7fa20 - Enhanced 'choose group' dialog layout (thanks Raoul)
- Revert back to old QListWidget and use QTreeWidget only for images plugin
- Renamed dialogs to comply to coding standards
- Added image group icon
- Enabled animation on image groups
- Removed special 'Imported' folder and allow toplevel images instead
2013-02-10 17:11:12 +01:00
Tim Bentley c90d45ca73 Bye Bye Event Receiver 2013-02-07 08:42:17 +00:00
Andreas Preikschat 818bd4a435 fixed version number compare 2013-02-06 20:49:39 +01:00
Andreas Preikschat ede9bb70d9 attempt to fix bug #1100277
Fixes: https://launchpad.net/bugs/1100277
2013-02-05 18:36:43 +01:00
Arjan Schrijver adb7aac7cf Merge HEAD 2013-02-03 20:34:53 +01:00
Raoul Snyman 922c392ecb Slowly start moving names to PEP8 style names. 2013-02-02 22:54:34 +02:00
Arjan Schrijver dbce056688 Change QListWidget to QTreeWidget in media manager 2013-01-25 12:29:32 +01:00
Tim Bentley 25eb8ae8e8 Head 2013-01-23 20:32:49 +00:00
Andreas Preikschat 67ac6bcb90 Bug 1086987 (Log system does not log all exceptions)
bzr-revno: 2157
2013-01-23 20:30:59 +00:00
Tim Bentley aafef12bf8 Head with fixes 2013-01-23 20:29:43 +00:00
Tim Bentley f759191614 Move to properties 2013-01-22 19:34:15 +00:00
Tim Bentley 502a7c2c2e Kernel start 2013-01-22 18:54:59 +00:00
Andreas Preikschat dd8f35e58a fixed bug 1086987
Fixes: https://launchpad.net/bugs/1086987
2013-01-20 18:14:42 +01:00
Andreas Preikschat 91fbf037a2 splitted ui.py into two files; changed imports 2013-01-11 01:19:11 +01:00
Andreas Preikschat 2616f63007 removed value parameter (still needs work) 2013-01-11 00:07:48 +01:00
Andreas Preikschat 306919d15f moved settings to own file 2013-01-10 20:54:45 +01:00
Andreas Preikschat eb6bc6adbc started work to store setting in a (half) central place 2013-01-10 20:33:48 +01:00
Martin Zibricky fee8ae78bb Fix bug #1095268 - issue with QPyNullVariant. 2013-01-02 12:26:21 +01:00
Tim Bentley 4a0b3f90aa 2013 is comming 2012-12-29 20:56:56 +00:00
Tim Bentley ae576251bd Core lib 2012-12-28 22:06:43 +00:00
Andreas Preikschat 0a57bed2f7 fixed setting import 2012-12-27 18:00:40 +01:00
Andreas Preikschat cbd22b7141 fixed bug caused by merge 2012-12-27 17:46:27 +01:00
Andreas Preikschat b6c9fa16c5 reverted last commit 2012-12-27 17:27:59 +01:00
Andreas Preikschat 18aaf682e8 started to implment central place for default values 2012-12-20 21:33:43 +01:00
Andreas Preikschat 6ed77d4032 r2128 + conflicts 2012-12-20 13:09:12 +01:00
Andreas Preikschat d18564f847 fixed missing arg method 2012-12-06 19:59:07 +01:00
Andreas Preikschat 1a80a243a8 removed not needed import 2012-12-06 12:03:27 +01:00
Andreas Preikschat fc38f62a17 trunk + conflicts 2012-12-04 22:50:14 +01:00
Tim Bentley fae1d79fff 2020 2012-12-03 19:19:10 +00:00
Tim Bentley a7294a8e8b Copyright and Translation updates from 2.0 2012-12-01 07:57:54 +00:00
Tim Bentley 57ad90f1a6 Head 2012-11-16 21:46:56 +00:00
Tim Bentley 5646183803 Fixes 2012-11-11 21:16:14 +00:00
Tim Bentley 55f4bc3a73 Fix name and add spearator 2012-11-11 19:33:53 +00:00
Tim Bentley 69b2bcb21f Head 2016 2012-11-10 16:43:42 +00:00
Tim Bentley 47c9af348c Fix spelling - oops 2012-11-07 21:37:01 +00:00
Andreas Preikschat 3629c8a535 r2098 + conflict 2012-11-01 16:56:03 +01:00
Tim Bentley e24c588df3 Head 2012-10-25 20:17:14 +01:00
Tim Bentley 716dc9ccf0 More updates 2012-10-21 15:07:57 +01:00
Tim Bentley cdbc1fd82e Copyrights 2012-10-21 14:16:22 +01:00
Tim Bentley cf635c1459 Stop service item generation running media twice 2012-10-20 09:20:11 +01:00
Andreas Preikschat cff3f252fd r2082 + conflicts + fix 2012-10-11 12:40:22 +02:00
Andreas Preikschat c4bdea7edd fixes 2012-10-03 19:55:39 +02:00
Andreas Preikschat 159f3ea9a2 r2074 + conflicts 2012-10-03 18:38:06 +02:00
Andreas Preikschat 25177adce6 - update the image cache when the image timestamp changes
- reworked image manager's _cache

bzr-revno: 2013
2012-07-02 20:45:03 +02:00
Andreas Preikschat 6869ea41f6 updated doc 2012-07-01 21:41:12 +02:00
Andreas Preikschat 6f353ab01d fixed variable name 2012-07-01 20:45:14 +02:00
Andreas Preikschat bc3173966a clean ups 2012-07-01 20:41:59 +02:00
Andreas Preikschat 78753d03dc r2005 2012-06-30 12:46:24 +02:00
Samuel Findlay 4510fdbede Added three names in Copyright headers and About window (Samuel Findlay, Edwin Lunando, Dave Warnock). Fixed consistency issues. 2012-06-23 00:14:53 +10:00
Andreas Preikschat f2884f0593 update image in cache when timestamp changed; docs 2012-06-18 14:07:26 +02:00
Andreas Preikschat 01db1d34d8 removed/added empty lines 2012-05-19 17:12:15 +02:00
Andreas Preikschat a085694be1 removed toString(), toPyObject() 2012-05-19 17:10:05 +02:00
Andreas Preikschat b124481ea2 continued with QVariant 2012-05-19 11:13:32 +02:00
Andreas Preikschat 175b01621d fixed songusage, clean ups 2012-05-19 10:44:45 +02:00
Andreas Preikschat 374a426340 added another case, clean ups 2012-05-19 10:29:31 +02:00
Andreas Preikschat ed3b7660fa removed not neede unicode calls 2012-05-17 20:57:01 +02:00
Andreas Preikschat 56c36f355d More clean ups and fixes 2012-05-17 18:35:58 +02:00
Andreas Preikschat 5378399302 more clean ups 2012-05-17 18:32:43 +02:00
Andreas Preikschat 4a979b49d9 continued to implement QString v2 api 2012-05-17 18:19:06 +02:00
Andreas Preikschat 2d99f59c84 started to use QString v2 api 2012-05-17 17:13:09 +02:00
Raoul Snyman 0f1bca77b4 Some small coding standards things. 2012-04-22 21:50:18 +02:00
Andreas Preikschat 620d858d68 clean ups 2012-04-12 16:16:12 +02:00
M2j ee3da31682 Check for Qt version before calling QtCore.QLocale().createSeparatedList 2012-02-26 16:15:00 +01:00
Tim Bentley 025fe7e145 Correct brackets 2012-02-25 18:31:02 +00:00
Tim Bentley 3e1ba89a41 Fix locale test 2012-02-25 17:44:21 +00:00
Tim Bentley c1c1de5472 Fix Impress and OpenLP so it now starts .
Fix Spelling
Remove QLocale code for now as not supported by PyQt

Fixes: https://launchpad.net/bugs/902115
2012-02-25 13:01:47 +00:00
Meinert Jordan 5b4b48a61c Displayed listed items are shown more natural type (Jack, René and Maria)
bzr-revno: 1881
2012-02-19 22:53:41 +02:00
M2j 9e03cf0715 use Qt method if available 2012-02-17 19:51:01 +01:00
M2j ce7029776a localize separated item list format 2012-02-16 21:36:35 +01:00
Jonathan Stafford 21d0e93505 Tidied up blank lines between class definitions (again) 2012-01-30 06:13:51 +08:00
Jonathan Stafford d26de263f3 Fixed missing u and tidied up blank lines between class definitions 2012-01-30 06:07:06 +08:00
Jonathan Stafford 02975a61bf Renamed and moved both enumerations to lib/__init__.py 2012-01-28 16:07:54 +08:00
Tim Bentley 2a5e8935bb New year merge 2011-12-27 10:33:55 +00:00
Mattias Põldaru 3d278d51a7 Fix BOM mess for utf-8 files. We assume no other file would begin with BOM, whatever encoding they have (they really shouldn't since BOM is used to detect unicode on Windows and at least by wiki nobody is opposed).
bzr-revno: 1836
2011-12-14 12:47:52 +02:00
Mattias Põldaru ca6250ae3b Supposedly fix BOM mess for utf-8 files. We assume no other file would begin with BOM, whatever encoding they have. 2011-12-10 20:21:18 +02:00
Mattias Põldaru e471edca89 Convert strings unicode as soon as possible and assume they are in unicode later. 2011-12-09 13:50:25 +02:00
Andreas Preikschat 8f3f09eef9 r1765 + resolved conflict 2011-10-01 09:28:45 +02:00
Raoul Snyman b0dc146043 Added the default background colour back in so that the rest of the app that is not expecting to have to supply a background colour doesn't have to be changed.
Fixes: https://launchpad.net/bugs/803342
2011-09-20 19:53:09 +02:00
Tim Bentley 834ed570ce Fix bug where string is added to image instead of QColor.
Fix issue where queue has records to process but it is not running.

Fixes: https://launchpad.net/bugs/854171
2011-09-20 16:23:29 +01:00
Raoul Snyman 015249407d Renamed some of the ItemCapabilities. 2011-08-28 19:45:13 +02:00
Raoul Snyman c81117991a HEAD 2011-08-26 22:59:27 +02:00
Raoul Snyman d5e92c0d35 Added a media files form and populated it from the media plugin, if the media plugin is enabled. 2011-08-23 23:48:46 +02:00
Tim Bentley ad61defdae Add border colors and fix song usage 2011-08-20 12:45:06 +01:00
Tim Bentley ecd7a197de Fix conflict 2011-08-04 05:51:41 +01:00
Andreas Preikschat c0976a4690 moved files and changed code to reflect string changes
Fixes: https://launchpad.net/bugs/816382
2011-07-30 09:34:37 +02:00