Commit Graph

163 Commits

Author SHA1 Message Date
Tim Bentley 4696564c09 Add update to ServiceManager of Themes from ThemeManager 2009-04-23 19:22:54 +01:00
Tim Bentley a3e2bce831 now we can save the theme as new or overrite 2009-04-23 19:12:36 +01:00
Tim Bentley d85a0ba293 Fix renderer name
Introduce rendermanager
2009-04-22 20:46:10 +01:00
Tim Bentley a1368e1f76 Finish Theme Editing 2009-04-22 18:28:32 +01:00
Tim Bentley 852e24ab35 More Theme Changes
State corrections 
XML boolean fixes
2009-04-21 20:45:50 +01:00
Tim Bentley c8094b717f Add more controls and fix xml errors 2009-04-20 21:03:04 +01:00
Tim Bentley 0f80ab4266 Move Plugin Manager to core/lib 2009-04-20 19:22:42 +01:00
Tim Bentley 13a2339841 Remove unused file 2009-04-20 05:58:17 +01:00
Tim Bentley cf2ad84e74 More renderer cleanups
More ThemeManager fixes
Sortout XML tag name errors
2009-04-19 21:07:52 +01:00
Tim Bentley 570a35ae65 Renderer cleanups
Remove code duplication and simplifications
2009-04-19 20:12:18 +01:00
Tim Bentley 6a309c43ff move the renderer.py class to core.lib 2009-04-19 19:21:22 +01:00
Tim Bentley 79e7e09d65 Add theme delete functionality 2009-04-19 19:17:17 +01:00
Tim Bentley a02835f0f8 Add new dialog and fix the Theme import code not to include old style preview code 2009-04-19 09:15:40 +01:00
Tim Bentley a662404122 Fix XML schema for naming
Fix ThemeManager and Renderer to cover changes
Move code for Boolean Config issues
Various code style fixes
2009-04-15 05:58:51 +01:00
Tim Bentley 6b4a5ff5d9 Allow existing themes to be edited (well at least viewed) 2009-04-11 16:16:02 +01:00
Tim Bentley 61dbab1899 Amend theme XML to handle missing data
Add some value management on Theme dialog
2009-04-11 08:33:45 +01:00
Tim Bentley 192088165e Add Theme Manager files
Add Initial display of new theme
2009-04-11 06:43:52 +01:00
Tim Bentley 9b29d2b668 Change ThemeManager to use new XML format and renderer API's
Put in Propper logging for Screen resolution detection.
2009-04-10 06:59:40 +01:00
Tim Bentley b581fcab8f Add screen list to General Tab
Add new Font bits to XML code
Add guards to renderer incase of no second text area
2009-04-10 06:48:57 +01:00
Tim Bentley 5d29da2547 Update Renderer to allow Main and Footer boxes on the display 2009-04-09 20:12:47 +01:00
Tim Bentley 8ea6f35f1f Generate Array of Screens and their sizes and pass through components. 2009-04-09 19:50:20 +01:00
Tim Bentley 1fb2b366b2 Fix ThemeXML class as per review comments
Change all references to it
2009-04-07 20:45:21 +01:00
Tim Bentley 0dfe60ef9f Fix Problems from last merge review
Get Custom Plugin theme combo working following event post from ThemeManager
2009-04-07 20:03:36 +01:00
Tim Bentley 0e7dfb9fc4 Combine patch from previous tree which I messed up. Here is a summary of the changes.
444. By Tim Bentley 23 hours ago

    Add new event for Theme Loading
443. By Tim Bentley 23 hours ago

    Add Eventing after Themes loaded to tell plugins the themes have changed
442. By Tim Bentley on 2009-04-04

    Store Theme name in list for correct display
441. By Tim Bentley on 2009-04-04

    Add ThemeManagerDialog
    More Rendering improvements
440. By Tim Bentley on 2009-04-04

    Add Themes to Bible Tab and default values
439. By Tim Bentley on 2009-04-04

    Add rendering for Circles and amend XML schema accordingly
438. By Tim Bentley on 2009-04-04

    Renderer now supports linear gradients correctly
    Update XML to include direction
    Add Booleans instead of 0/1 to XML schema
437. By Tim Bentley on 2009-04-03

    More ThemeManager changes
    Fix Rendering and theme handling
    Generate PNG theme on conversion
436. By Tim Bentley on 2009-04-01

    Fix up Theme XML code to work with strings and files.
    Fix Render.py to work with new XML schema
435. By Tim Bentley on 2009-04-01

    Import version 2 xml and build object.
2009-04-06 19:45:45 +01:00
Tim Bentley 95409076d0 Update Render.py to handle footers to slides if required.
Values will eventually come from Theme.
2009-03-29 17:51:42 +01:00
Tim Bentley 4ac2ed4fd6 Update Render to use Qgradient instead of home built code.
Colors hard coded for now.
2009-03-29 15:38:23 +01:00
Tim Bentley 8aa67b5a8b Fix bugs around ThemeManager
Add themexmlhandler to manage xml marshalling for themes
2009-03-28 20:12:22 +00:00
Tim Bentley 68501479d7 Add Theme Preview to ThemeManager 2009-03-28 07:01:00 +00:00
Tim Bentley 1e32183a2a Add Import functionality to Theme Manager 2009-03-28 05:43:30 +00:00
Tim Bentley 381afda908 Fixed duplicate Image plugin loading
Fixed error in Custom Plugin stopping it load
2009-03-25 20:30:48 +00:00
Tim Bentley e2715e0358 More corrections following revert 2009-03-24 06:07:03 +00:00
Tim Bentley ddde031adb Final changes following a revert and removal.
Finish plugin.py
Add getThemes hook to thememanager.py
2009-03-23 20:18:06 +00:00
Tim Bentley 66f13e5ede Clean up Plugin Interface to be more Generic
Clean up Mainwindow for adding plugins
Add ThemeManager to Main window and pass to plugins
Add event Manager code to plugins and define some listners
Revert changes to Alert Form.
2009-03-23 19:17:07 +00:00
Tim Bentley 62f48a33f2 Continue fixing the EventManager usage
Use Mainwindow to trigger the loading of the themes by the ServiceManager
2009-03-22 20:20:45 +00:00
Tim Bentley 6a0eaa2cfe Clean up Plugin Interface to be more Generic
Clean up Mainwindow for adding plugins
Add ThemeManager to Main window and pass to plugins 
Add event Manager code to plugins and define some listners
Update AlertDialog to send message and allow text to be entered
2009-03-22 07:13:34 +00:00
Tim Bentley b8c0ee1d70 Add ThemeManager and EventManager 2009-03-22 07:11:05 +00:00
Tim Bentley be3725a6fe Remove PluginUtils as no longer used all references migrated
bzr-revno: 426
2009-03-19 17:36:06 +00:00
Tim Bentley e99239ef12 Big cleanup.
Custom and Video Plugins up to latest standard (MVC)
Config now working with new handles Video and Images.
Moved strings from "" to u'' where found.

bzr-revno: 421
2009-03-15 19:31:33 +00:00
Tim Bentley 268f6361b5 Fix up quote problems in SongXMLHandler
Add MVC to Custom
Add Update to Custom
Remove xml1.py as has served it's purpose

bzr-revno: 416
2009-03-14 07:08:15 +00:00
Tim Bentley 6224795661 Add Classes for songxml, video tidy up and custom plugins
bzr-revno: 413
2009-03-13 06:13:11 +00:00
Martin Thompson 90a91aa788 Updated tests to pass again.
Found some device dependent problems in the tests of the theme
rendering (when monitor resolution changes, so does font size (in
pixels)). This meant that the tests failed (as they are comparisons
with golden-bitmaps). Have updated the tests to do a more "approximate
comparison", with a low tolerance.  This is slow currently, could do
with optimising.

bzr-revno: 411
2009-03-12 20:19:24 +00:00
Martin Thompson 1d9569236d nothing
bzr-revno: 410
2009-03-12 20:18:14 +00:00
Martin Thompson f1a6057b08 Removed some commented out code
bzr-revno: 409
2009-03-12 20:17:31 +00:00
Tim Bentley 21bfa234e8 Add SongXMLHander Class
Tidy up OSIS Bible importer
Start to move Video Plugin to mediaitem and remove PluginUtils

bzr-revno: 408
2009-03-12 19:52:37 +00:00
Raoul Snyman 051b314da8 Fixed the displayResults method of SongMediaItem to display 1 song + all authors, rather than an instance of a song for each author of that song.
Fixed up the topics management dialog a bit.
Corrected the spacing on the eventreceiver.py file.
Corrected the calling of the receiver to use the static methods without creating an instance of the Receiver class each time.

bzr-revno: 403
2009-03-10 16:46:25 +00:00
Raoul Snyman f844f696a1 Moved image media manager item out into it's own class.
bzr-revno: 398
2009-03-08 12:41:07 +00:00
Tim Bentley 980ed505e2 Tidy up Video and Bible tab code.
bzr-revno: 381
2009-03-06 06:05:01 +00:00
Raoul Snyman c9ef88cfdc Fixed up the settings dialog and the alerts tab a bit.
bzr-revno: 379
2009-03-05 20:31:17 +00:00
Tim Bentley dffcec7ca3 Change Tab load code to base class instead of plugins
Code VideoTab to save and reload value

bzr-revno: 378
2009-03-05 18:16:10 +00:00
Raoul Snyman 8533912cea Fixed the main form splitter problem, set the margins and spacing on some of the layouts in the bible media item.
bzr-revno: 377
2009-03-05 10:52:55 +00:00