forked from openlp/openlp
Migrated AlertForm, EditSongForm, OpenLPExportForm, OpenLPImportForm, OpenSongExportForm, OpenSongImportForm, and SettingsDialog to python code.
Updated the form icon to openlp.org icon on all .ui files. Updated __init__ for new forms and added the contribute link back to the about dialog. Linked new forms into the MainWindow. No functionality behind the forms, but getting "prettied" up bzr-revno: 83
This commit is contained in:
parent
3752f4279d
commit
f00ea8ad77
@ -1,457 +1,211 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE Project SYSTEM "Project-4.2.dtd">
|
<!DOCTYPE Project SYSTEM "Project-4.4.dtd">
|
||||||
<!-- eric4 project file for project openlp.org 2.0 -->
|
<!-- eric4 project file for project openlp.org 2.0 -->
|
||||||
<!-- Saved: 2008-11-03, 22:59:32 -->
|
<!-- Saved: 2008-11-05, 22:20:39 -->
|
||||||
<!-- Copyright (C) 2008 Raoul Snyman, raoulsnyman@openlp.org -->
|
<!-- Copyright (C) 2008 Raoul Snyman, raoulsnyman@openlp.org -->
|
||||||
<Project version="4.2">
|
<Project version="4.4">
|
||||||
<ProgLanguage mixed="0">Python</ProgLanguage>
|
<ProgLanguage mixed="0">Python</ProgLanguage>
|
||||||
<ProjectType>Qt4</ProjectType>
|
<ProjectType>Qt4</ProjectType>
|
||||||
<Description></Description>
|
<Description></Description>
|
||||||
<Version>1.9.0</Version>
|
<Version>1.9.0</Version>
|
||||||
<Author>Raoul Snyman</Author>
|
<Author>Raoul Snyman</Author>
|
||||||
<Email>raoulsnyman@openlp.org</Email>
|
<Email>raoulsnyman@openlp.org</Email>
|
||||||
<Sources>
|
<Sources>
|
||||||
<Source>
|
<Source>openlp.pyw</Source>
|
||||||
<Name>openlp.pyw</Name>
|
<Source>openlp/theme/test/test_theme.py</Source>
|
||||||
</Source>
|
<Source>openlp/theme/__init__.py</Source>
|
||||||
<Source>
|
<Source>openlp/theme/theme.py</Source>
|
||||||
<Dir>openlp</Dir>
|
<Source>openlp/controls/__init__.py</Source>
|
||||||
<Dir>theme</Dir>
|
<Source>openlp/core/test/test_render_theme.py</Source>
|
||||||
<Dir>test</Dir>
|
<Source>openlp/core/test/test_render.py</Source>
|
||||||
<Name>test_theme.py</Name>
|
<Source>openlp/core/interpolate.py</Source>
|
||||||
</Source>
|
<Source>openlp/core/__init__.py</Source>
|
||||||
<Source>
|
<Source>openlp/core/render.py</Source>
|
||||||
<Dir>openlp</Dir>
|
<Source>openlp/ui/__init__.py</Source>
|
||||||
<Dir>theme</Dir>
|
<Source>openlp/ui/forms/__init__.py</Source>
|
||||||
<Name>__init__.py</Name>
|
<Source>openlp/__init__.py</Source>
|
||||||
</Source>
|
<Source>openlp/utils/ConfigHelper.py</Source>
|
||||||
<Source>
|
<Source>openlp/utils/__init__.py</Source>
|
||||||
<Dir>openlp</Dir>
|
<Source>demo.py</Source>
|
||||||
<Dir>theme</Dir>
|
<Source>openlp/core/settingsmanager.py</Source>
|
||||||
<Name>theme.py</Name>
|
<Source>openlp/resources/openlp_rc.py</Source>
|
||||||
</Source>
|
<Source>openlp/resources/__init__.py</Source>
|
||||||
<Source>
|
<Source>openlp/ui/forms/about.py</Source>
|
||||||
<Dir>openlp</Dir>
|
<Source>openlp/ui/forms/mainwindow.py</Source>
|
||||||
<Dir>controls</Dir>
|
<Source>openlp/core/plugin.py</Source>
|
||||||
<Name>__init__.py</Name>
|
<Source>openlp/core/xmlrootclass.py</Source>
|
||||||
</Source>
|
<Source>openlp/song/__init__.py</Source>
|
||||||
<Source>
|
<Source>openlp/song/song.py</Source>
|
||||||
<Dir>openlp</Dir>
|
<Source>openlp/song/test/test_song_opensong.py</Source>
|
||||||
<Dir>core</Dir>
|
<Source>openlp/song/test/test_song_basic.py</Source>
|
||||||
<Dir>test</Dir>
|
<Source>openlp/song/test/test_song_text.py</Source>
|
||||||
<Name>test_render_theme.py</Name>
|
<Source>openlp/plugins/biblemanager/__init__.py</Source>
|
||||||
</Source>
|
<Source>openlp/plugins/biblemanager/BibleDBImpl.py</Source>
|
||||||
<Source>
|
<Source>openlp/plugins/biblemanager/BibleManager.py</Source>
|
||||||
<Dir>openlp</Dir>
|
<Source>openlp/plugins/biblemanager/BibleHTTPImpl.py</Source>
|
||||||
<Dir>core</Dir>
|
<Source>openlp/plugins/biblemanager/test/__init__.py</Source>
|
||||||
<Dir>test</Dir>
|
<Source>openlp/plugins/biblemanager/test/test_bibleManager.py</Source>
|
||||||
<Name>test_render.py</Name>
|
<Source>openlp/song/test/test_song_verse.py</Source>
|
||||||
</Source>
|
<Source>openlp/plugins/__init__.py</Source>
|
||||||
<Source>
|
<Source>openlp/plugins/testplugin1.py</Source>
|
||||||
<Dir>openlp</Dir>
|
<Source>openlp/plugins/plugin.py</Source>
|
||||||
<Dir>core</Dir>
|
<Source>openlp/plugins/plugin_manager.py</Source>
|
||||||
<Name>interpolate.py</Name>
|
<Source>openlp/plugins/testplugin2/__init__.py</Source>
|
||||||
</Source>
|
<Source>openlp/plugins/testplugin2/testplugin2.py</Source>
|
||||||
<Source>
|
<Source>openlp/plugins/test/test_plugin_manager.py</Source>
|
||||||
<Dir>openlp</Dir>
|
<Source>openlp/ui/forms/splashscreen.py</Source>
|
||||||
<Dir>core</Dir>
|
<Source>openlp/ui/forms/settings.py</Source>
|
||||||
<Name>__init__.py</Name>
|
<Source>openlp/ui/forms/alertform.py</Source>
|
||||||
</Source>
|
<Source>openlp/ui/forms/editsongform.py</Source>
|
||||||
<Source>
|
<Source>openlp/ui/forms/openlpexportform.py</Source>
|
||||||
<Dir>openlp</Dir>
|
<Source>openlp/ui/forms/openlpimportform.py</Source>
|
||||||
<Dir>core</Dir>
|
<Source>openlp/ui/forms/opensongexportform.py</Source>
|
||||||
<Name>render.py</Name>
|
<Source>openlp/ui/forms/opensongimportform.py</Source>
|
||||||
</Source>
|
</Sources>
|
||||||
<Source>
|
<Forms>
|
||||||
<Dir>openlp</Dir>
|
<Form>openlp/resources/forms/mainwindow.ui</Form>
|
||||||
<Dir>ui</Dir>
|
<Form>openlp/resources/forms/settings.ui</Form>
|
||||||
<Name>__init__.py</Name>
|
<Form>openlp/resources/forms/themewizard.ui</Form>
|
||||||
</Source>
|
<Form>openlp/resources/forms/about.ui</Form>
|
||||||
<Source>
|
<Form>openlp/resources/forms/editsongform.ui</Form>
|
||||||
<Dir>openlp</Dir>
|
<Form>openlp/resources/forms/alertform.ui</Form>
|
||||||
<Dir>ui</Dir>
|
<Form>openlp/resources/forms/openlpimportform.ui</Form>
|
||||||
<Dir>forms</Dir>
|
<Form>openlp/resources/forms/openlpexportform.ui</Form>
|
||||||
<Name>__init__.py</Name>
|
<Form>openlp/resources/forms/opensongimportform.ui</Form>
|
||||||
</Source>
|
<Form>openlp/resources/forms/opensongexportform.ui</Form>
|
||||||
<Source>
|
<Form>openlp/resources/forms/splashscreen.ui</Form>
|
||||||
<Dir>openlp</Dir>
|
</Forms>
|
||||||
<Name>__init__.py</Name>
|
<Translations>
|
||||||
</Source>
|
</Translations>
|
||||||
<Source>
|
<Resources>
|
||||||
<Dir>openlp</Dir>
|
<Resource>openlp/resources/images/openlp-2.qrc</Resource>
|
||||||
<Dir>utils</Dir>
|
</Resources>
|
||||||
<Name>ConfigHelper.py</Name>
|
<Interfaces>
|
||||||
</Source>
|
</Interfaces>
|
||||||
<Source>
|
<Others>
|
||||||
<Dir>openlp</Dir>
|
<Other>copyright.txt</Other>
|
||||||
<Dir>utils</Dir>
|
</Others>
|
||||||
<Name>__init__.py</Name>
|
<MainScript>openlp.pyw</MainScript>
|
||||||
</Source>
|
<Vcs>
|
||||||
<Source>
|
<VcsType>None</VcsType>
|
||||||
<Name>demo.py</Name>
|
<VcsOptions>
|
||||||
</Source>
|
<dict>
|
||||||
<Source>
|
<key>
|
||||||
<Dir>openlp</Dir>
|
<string>add</string>
|
||||||
<Dir>core</Dir>
|
</key>
|
||||||
<Name>settingsmanager.py</Name>
|
<value>
|
||||||
</Source>
|
<list>
|
||||||
<Source>
|
<string></string>
|
||||||
<Dir>openlp</Dir>
|
</list>
|
||||||
<Dir>resources</Dir>
|
</value>
|
||||||
<Name>openlp_rc.py</Name>
|
<key>
|
||||||
</Source>
|
<string>checkout</string>
|
||||||
<Source>
|
</key>
|
||||||
<Dir>openlp</Dir>
|
<value>
|
||||||
<Dir>resources</Dir>
|
<list>
|
||||||
<Name>__init__.py</Name>
|
<string></string>
|
||||||
</Source>
|
</list>
|
||||||
<Source>
|
</value>
|
||||||
<Dir>openlp</Dir>
|
<key>
|
||||||
<Dir>ui</Dir>
|
<string>commit</string>
|
||||||
<Dir>forms</Dir>
|
</key>
|
||||||
<Name>about.py</Name>
|
<value>
|
||||||
</Source>
|
<list>
|
||||||
<Source>
|
<string></string>
|
||||||
<Dir>openlp</Dir>
|
</list>
|
||||||
<Dir>ui</Dir>
|
</value>
|
||||||
<Dir>forms</Dir>
|
<key>
|
||||||
<Name>mainwindow.py</Name>
|
<string>diff</string>
|
||||||
</Source>
|
</key>
|
||||||
<Source>
|
<value>
|
||||||
<Dir>openlp</Dir>
|
<list>
|
||||||
<Dir>core</Dir>
|
<string></string>
|
||||||
<Name>plugin.py</Name>
|
</list>
|
||||||
</Source>
|
</value>
|
||||||
<Source>
|
<key>
|
||||||
<Dir>openlp</Dir>
|
<string>export</string>
|
||||||
<Dir>core</Dir>
|
</key>
|
||||||
<Name>xmlrootclass.py</Name>
|
<value>
|
||||||
</Source>
|
<list>
|
||||||
<Source>
|
<string></string>
|
||||||
<Dir>openlp</Dir>
|
</list>
|
||||||
<Dir>song</Dir>
|
</value>
|
||||||
<Name>__init__.py</Name>
|
<key>
|
||||||
</Source>
|
<string>global</string>
|
||||||
<Source>
|
</key>
|
||||||
<Dir>openlp</Dir>
|
<value>
|
||||||
<Dir>song</Dir>
|
<list>
|
||||||
<Name>song.py</Name>
|
<string></string>
|
||||||
</Source>
|
</list>
|
||||||
<Source>
|
</value>
|
||||||
<Dir>openlp</Dir>
|
<key>
|
||||||
<Dir>song</Dir>
|
<string>history</string>
|
||||||
<Dir>test</Dir>
|
</key>
|
||||||
<Name>test_song_opensong.py</Name>
|
<value>
|
||||||
</Source>
|
<list>
|
||||||
<Source>
|
<string></string>
|
||||||
<Dir>openlp</Dir>
|
</list>
|
||||||
<Dir>song</Dir>
|
</value>
|
||||||
<Dir>test</Dir>
|
<key>
|
||||||
<Name>test_song_basic.py</Name>
|
<string>log</string>
|
||||||
</Source>
|
</key>
|
||||||
<Source>
|
<value>
|
||||||
<Dir>openlp</Dir>
|
<list>
|
||||||
<Dir>song</Dir>
|
<string></string>
|
||||||
<Dir>test</Dir>
|
</list>
|
||||||
<Name>test_song_text.py</Name>
|
</value>
|
||||||
</Source>
|
<key>
|
||||||
<Source>
|
<string>remove</string>
|
||||||
<Dir>openlp</Dir>
|
</key>
|
||||||
<Dir>plugins</Dir>
|
<value>
|
||||||
<Dir>biblemanager</Dir>
|
<list>
|
||||||
<Name>__init__.py</Name>
|
<string></string>
|
||||||
</Source>
|
</list>
|
||||||
<Source>
|
</value>
|
||||||
<Dir>openlp</Dir>
|
<key>
|
||||||
<Dir>plugins</Dir>
|
<string>status</string>
|
||||||
<Dir>biblemanager</Dir>
|
</key>
|
||||||
<Name>BibleDBImpl.py</Name>
|
<value>
|
||||||
</Source>
|
<list>
|
||||||
<Source>
|
<string></string>
|
||||||
<Dir>openlp</Dir>
|
</list>
|
||||||
<Dir>plugins</Dir>
|
</value>
|
||||||
<Dir>biblemanager</Dir>
|
<key>
|
||||||
<Name>BibleManager.py</Name>
|
<string>tag</string>
|
||||||
</Source>
|
</key>
|
||||||
<Source>
|
<value>
|
||||||
<Dir>openlp</Dir>
|
<list>
|
||||||
<Dir>plugins</Dir>
|
<string></string>
|
||||||
<Dir>biblemanager</Dir>
|
</list>
|
||||||
<Name>BibleHTTPImpl.py</Name>
|
</value>
|
||||||
</Source>
|
<key>
|
||||||
<Source>
|
<string>update</string>
|
||||||
<Dir>openlp</Dir>
|
</key>
|
||||||
<Dir>plugins</Dir>
|
<value>
|
||||||
<Dir>biblemanager</Dir>
|
<list>
|
||||||
<Dir>test</Dir>
|
<string></string>
|
||||||
<Name>__init__.py</Name>
|
</list>
|
||||||
</Source>
|
</value>
|
||||||
<Source>
|
</dict>
|
||||||
<Dir>openlp</Dir>
|
</VcsOptions>
|
||||||
<Dir>plugins</Dir>
|
<VcsOtherData>
|
||||||
<Dir>biblemanager</Dir>
|
<dict>
|
||||||
<Dir>test</Dir>
|
<key>
|
||||||
<Name>test_bibleManager.py</Name>
|
<string>standardLayout</string>
|
||||||
</Source>
|
</key>
|
||||||
<Source>
|
<value>
|
||||||
<Dir>openlp</Dir>
|
<bool>True</bool>
|
||||||
<Dir>song</Dir>
|
</value>
|
||||||
<Dir>test</Dir>
|
</dict>
|
||||||
<Name>test_song_verse.py</Name>
|
</VcsOtherData>
|
||||||
</Source>
|
</Vcs>
|
||||||
<Source>
|
<FiletypeAssociations>
|
||||||
<Dir>openlp</Dir>
|
<FiletypeAssociation pattern="*.ui" type="FORMS" />
|
||||||
<Dir>plugins</Dir>
|
<FiletypeAssociation pattern="*.idl" type="INTERFACES" />
|
||||||
<Name>__init__.py</Name>
|
<FiletypeAssociation pattern="*.ptl" type="SOURCES" />
|
||||||
</Source>
|
<FiletypeAssociation pattern="*.pyw" type="SOURCES" />
|
||||||
<Source>
|
<FiletypeAssociation pattern="*.ui.h" type="FORMS" />
|
||||||
<Dir>openlp</Dir>
|
<FiletypeAssociation pattern="*.py" type="SOURCES" />
|
||||||
<Dir>plugins</Dir>
|
<FiletypeAssociation pattern="*.qrc" type="RESOURCES" />
|
||||||
<Name>testplugin1.py</Name>
|
</FiletypeAssociations>
|
||||||
</Source>
|
|
||||||
<Source>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>plugins</Dir>
|
|
||||||
<Name>plugin.py</Name>
|
|
||||||
</Source>
|
|
||||||
<Source>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>plugins</Dir>
|
|
||||||
<Name>plugin_manager.py</Name>
|
|
||||||
</Source>
|
|
||||||
<Source>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>plugins</Dir>
|
|
||||||
<Dir>testplugin2</Dir>
|
|
||||||
<Name>__init__.py</Name>
|
|
||||||
</Source>
|
|
||||||
<Source>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>plugins</Dir>
|
|
||||||
<Dir>testplugin2</Dir>
|
|
||||||
<Name>testplugin2.py</Name>
|
|
||||||
</Source>
|
|
||||||
<Source>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>plugins</Dir>
|
|
||||||
<Dir>test</Dir>
|
|
||||||
<Name>test_plugin_manager.py</Name>
|
|
||||||
</Source>
|
|
||||||
<Source>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>ui</Dir>
|
|
||||||
<Dir>forms</Dir>
|
|
||||||
<Name>splashscreen.py</Name>
|
|
||||||
</Source>
|
|
||||||
</Sources>
|
|
||||||
<Forms>
|
|
||||||
<Form>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>resources</Dir>
|
|
||||||
<Dir>forms</Dir>
|
|
||||||
<Name>mainwindow.ui</Name>
|
|
||||||
</Form>
|
|
||||||
<Form>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>resources</Dir>
|
|
||||||
<Dir>forms</Dir>
|
|
||||||
<Name>settings.ui</Name>
|
|
||||||
</Form>
|
|
||||||
<Form>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>resources</Dir>
|
|
||||||
<Dir>forms</Dir>
|
|
||||||
<Name>themewizard.ui</Name>
|
|
||||||
</Form>
|
|
||||||
<Form>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>resources</Dir>
|
|
||||||
<Dir>forms</Dir>
|
|
||||||
<Name>about.ui</Name>
|
|
||||||
</Form>
|
|
||||||
<Form>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>resources</Dir>
|
|
||||||
<Dir>forms</Dir>
|
|
||||||
<Name>editsongform.ui</Name>
|
|
||||||
</Form>
|
|
||||||
<Form>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>resources</Dir>
|
|
||||||
<Dir>forms</Dir>
|
|
||||||
<Name>alertform.ui</Name>
|
|
||||||
</Form>
|
|
||||||
<Form>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>resources</Dir>
|
|
||||||
<Dir>forms</Dir>
|
|
||||||
<Name>openlpimportform.ui</Name>
|
|
||||||
</Form>
|
|
||||||
<Form>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>resources</Dir>
|
|
||||||
<Dir>forms</Dir>
|
|
||||||
<Name>openlpexportform.ui</Name>
|
|
||||||
</Form>
|
|
||||||
<Form>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>resources</Dir>
|
|
||||||
<Dir>forms</Dir>
|
|
||||||
<Name>opensongimportform.ui</Name>
|
|
||||||
</Form>
|
|
||||||
<Form>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>resources</Dir>
|
|
||||||
<Dir>forms</Dir>
|
|
||||||
<Name>opensongexportform.ui</Name>
|
|
||||||
</Form>
|
|
||||||
<Form>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>resources</Dir>
|
|
||||||
<Dir>forms</Dir>
|
|
||||||
<Name>splashscreen.ui</Name>
|
|
||||||
</Form>
|
|
||||||
</Forms>
|
|
||||||
<Translations>
|
|
||||||
</Translations>
|
|
||||||
<Resources>
|
|
||||||
<Resource>
|
|
||||||
<Dir>openlp</Dir>
|
|
||||||
<Dir>resources</Dir>
|
|
||||||
<Dir>images</Dir>
|
|
||||||
<Name>openlp-2.qrc</Name>
|
|
||||||
</Resource>
|
|
||||||
</Resources>
|
|
||||||
<Interfaces>
|
|
||||||
</Interfaces>
|
|
||||||
<Others>
|
|
||||||
<Other>
|
|
||||||
<Name>copyright.txt</Name>
|
|
||||||
</Other>
|
|
||||||
</Others>
|
|
||||||
<MainScript>
|
|
||||||
<Name>openlp.pyw</Name>
|
|
||||||
</MainScript>
|
|
||||||
<Vcs>
|
|
||||||
<VcsType>Subversion</VcsType>
|
|
||||||
<VcsOptions>
|
|
||||||
<dict>
|
|
||||||
<key>
|
|
||||||
<string>add</string>
|
|
||||||
</key>
|
|
||||||
<value>
|
|
||||||
<list>
|
|
||||||
<string></string>
|
|
||||||
</list>
|
|
||||||
</value>
|
|
||||||
<key>
|
|
||||||
<string>checkout</string>
|
|
||||||
</key>
|
|
||||||
<value>
|
|
||||||
<list>
|
|
||||||
<string></string>
|
|
||||||
</list>
|
|
||||||
</value>
|
|
||||||
<key>
|
|
||||||
<string>commit</string>
|
|
||||||
</key>
|
|
||||||
<value>
|
|
||||||
<list>
|
|
||||||
<string></string>
|
|
||||||
</list>
|
|
||||||
</value>
|
|
||||||
<key>
|
|
||||||
<string>diff</string>
|
|
||||||
</key>
|
|
||||||
<value>
|
|
||||||
<list>
|
|
||||||
<string></string>
|
|
||||||
</list>
|
|
||||||
</value>
|
|
||||||
<key>
|
|
||||||
<string>export</string>
|
|
||||||
</key>
|
|
||||||
<value>
|
|
||||||
<list>
|
|
||||||
<string></string>
|
|
||||||
</list>
|
|
||||||
</value>
|
|
||||||
<key>
|
|
||||||
<string>global</string>
|
|
||||||
</key>
|
|
||||||
<value>
|
|
||||||
<list>
|
|
||||||
<string></string>
|
|
||||||
</list>
|
|
||||||
</value>
|
|
||||||
<key>
|
|
||||||
<string>history</string>
|
|
||||||
</key>
|
|
||||||
<value>
|
|
||||||
<list>
|
|
||||||
<string></string>
|
|
||||||
</list>
|
|
||||||
</value>
|
|
||||||
<key>
|
|
||||||
<string>log</string>
|
|
||||||
</key>
|
|
||||||
<value>
|
|
||||||
<list>
|
|
||||||
<string></string>
|
|
||||||
</list>
|
|
||||||
</value>
|
|
||||||
<key>
|
|
||||||
<string>remove</string>
|
|
||||||
</key>
|
|
||||||
<value>
|
|
||||||
<list>
|
|
||||||
<string></string>
|
|
||||||
</list>
|
|
||||||
</value>
|
|
||||||
<key>
|
|
||||||
<string>status</string>
|
|
||||||
</key>
|
|
||||||
<value>
|
|
||||||
<list>
|
|
||||||
<string></string>
|
|
||||||
</list>
|
|
||||||
</value>
|
|
||||||
<key>
|
|
||||||
<string>tag</string>
|
|
||||||
</key>
|
|
||||||
<value>
|
|
||||||
<list>
|
|
||||||
<string></string>
|
|
||||||
</list>
|
|
||||||
</value>
|
|
||||||
<key>
|
|
||||||
<string>update</string>
|
|
||||||
</key>
|
|
||||||
<value>
|
|
||||||
<list>
|
|
||||||
<string></string>
|
|
||||||
</list>
|
|
||||||
</value>
|
|
||||||
</dict>
|
|
||||||
</VcsOptions>
|
|
||||||
<VcsOtherData>
|
|
||||||
<dict>
|
|
||||||
<key>
|
|
||||||
<string>standardLayout</string>
|
|
||||||
</key>
|
|
||||||
<value>
|
|
||||||
<bool>True</bool>
|
|
||||||
</value>
|
|
||||||
</dict>
|
|
||||||
</VcsOtherData>
|
|
||||||
</Vcs>
|
|
||||||
<FiletypeAssociations>
|
|
||||||
<FiletypeAssociation pattern="*.ui" type="FORMS" />
|
|
||||||
<FiletypeAssociation pattern="*.idl" type="INTERFACES" />
|
|
||||||
<FiletypeAssociation pattern="*.ptl" type="SOURCES" />
|
|
||||||
<FiletypeAssociation pattern="*.pyw" type="SOURCES" />
|
|
||||||
<FiletypeAssociation pattern="*.ui.h" type="FORMS" />
|
|
||||||
<FiletypeAssociation pattern="*.py" type="SOURCES" />
|
|
||||||
<FiletypeAssociation pattern="*.qrc" type="RESOURCES" />
|
|
||||||
</FiletypeAssociations>
|
|
||||||
</Project>
|
</Project>
|
@ -13,8 +13,8 @@
|
|||||||
<string>About openlp.org</string>
|
<string>About openlp.org</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon" >
|
<property name="windowIcon" >
|
||||||
<iconset>
|
<iconset resource="../images/openlp-2.qrc" >
|
||||||
<normaloff>:/Logo/favicon.ico</normaloff>:/Logo/favicon.ico</iconset>
|
<normaloff>:/icon/openlp.org-icon-32.bmp</normaloff>:/icon/openlp.org-icon-32.bmp</iconset>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="AboutDialogLayout" >
|
<layout class="QVBoxLayout" name="AboutDialogLayout" >
|
||||||
<property name="spacing" >
|
<property name="spacing" >
|
||||||
@ -346,6 +346,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<resources>
|
<resources>
|
||||||
<include location="../images/openlp-2.qrc" />
|
<include location="../images/openlp-2.qrc" />
|
||||||
<include location="../images/openlp-2.qrc" />
|
<include location="../images/openlp-2.qrc" />
|
||||||
|
<include location="../images/openlp-2.qrc" />
|
||||||
</resources>
|
</resources>
|
||||||
<connections>
|
<connections>
|
||||||
<connection>
|
<connection>
|
||||||
|
@ -12,6 +12,10 @@
|
|||||||
<property name="windowTitle" >
|
<property name="windowTitle" >
|
||||||
<string>Alert Message</string>
|
<string>Alert Message</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="windowIcon" >
|
||||||
|
<iconset resource="../images/openlp-2.qrc" >
|
||||||
|
<normaloff>:/icon/openlp.org-icon-32.bmp</normaloff>:/icon/openlp.org-icon-32.bmp</iconset>
|
||||||
|
</property>
|
||||||
<layout class="QVBoxLayout" name="AlertFormLayout" >
|
<layout class="QVBoxLayout" name="AlertFormLayout" >
|
||||||
<property name="spacing" >
|
<property name="spacing" >
|
||||||
<number>8</number>
|
<number>8</number>
|
||||||
@ -105,7 +109,9 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources>
|
||||||
|
<include location="../images/openlp-2.qrc" />
|
||||||
|
</resources>
|
||||||
<connections>
|
<connections>
|
||||||
<connection>
|
<connection>
|
||||||
<sender>CancelButton</sender>
|
<sender>CancelButton</sender>
|
||||||
|
@ -12,6 +12,10 @@
|
|||||||
<property name="windowTitle" >
|
<property name="windowTitle" >
|
||||||
<string>Song Editor</string>
|
<string>Song Editor</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="windowIcon" >
|
||||||
|
<iconset resource="../images/openlp-2.qrc" >
|
||||||
|
<normaloff>:/icon/openlp.org-icon-32.bmp</normaloff>:/icon/openlp.org-icon-32.bmp</iconset>
|
||||||
|
</property>
|
||||||
<layout class="QVBoxLayout" name="EditSongFormLayout" >
|
<layout class="QVBoxLayout" name="EditSongFormLayout" >
|
||||||
<property name="spacing" >
|
<property name="spacing" >
|
||||||
<number>8</number>
|
<number>8</number>
|
||||||
|
@ -12,6 +12,10 @@
|
|||||||
<property name="windowTitle" >
|
<property name="windowTitle" >
|
||||||
<string>openlp.org Song Exporter</string>
|
<string>openlp.org Song Exporter</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="windowIcon" >
|
||||||
|
<iconset resource="../images/openlp-2.qrc" >
|
||||||
|
<normaloff>:/icon/openlp.org-icon-32.bmp</normaloff>:/icon/openlp.org-icon-32.bmp</iconset>
|
||||||
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_5" >
|
<layout class="QVBoxLayout" name="verticalLayout_5" >
|
||||||
<property name="margin" >
|
<property name="margin" >
|
||||||
<number>8</number>
|
<number>8</number>
|
||||||
|
@ -12,6 +12,10 @@
|
|||||||
<property name="windowTitle" >
|
<property name="windowTitle" >
|
||||||
<string>openlp.org Song Importer</string>
|
<string>openlp.org Song Importer</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="windowIcon" >
|
||||||
|
<iconset resource="../images/openlp-2.qrc" >
|
||||||
|
<normaloff>:/icon/openlp.org-icon-32.bmp</normaloff>:/icon/openlp.org-icon-32.bmp</iconset>
|
||||||
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_5" >
|
<layout class="QVBoxLayout" name="verticalLayout_5" >
|
||||||
<property name="margin" >
|
<property name="margin" >
|
||||||
<number>8</number>
|
<number>8</number>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<ui version="4.0" >
|
<ui version="4.0" >
|
||||||
<class>OpenLPExportForm</class>
|
<class>OpenSongExportForm</class>
|
||||||
<widget class="QWidget" name="OpenLPExportForm" >
|
<widget class="QWidget" name="OpenSongExportForm" >
|
||||||
<property name="geometry" >
|
<property name="geometry" >
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
@ -12,6 +12,10 @@
|
|||||||
<property name="windowTitle" >
|
<property name="windowTitle" >
|
||||||
<string>OpenSong Song Exporter</string>
|
<string>OpenSong Song Exporter</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="windowIcon" >
|
||||||
|
<iconset resource="../images/openlp-2.qrc" >
|
||||||
|
<normaloff>:/icon/openlp.org-icon-32.bmp</normaloff>:/icon/openlp.org-icon-32.bmp</iconset>
|
||||||
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_5" >
|
<layout class="QVBoxLayout" name="verticalLayout_5" >
|
||||||
<property name="margin" >
|
<property name="margin" >
|
||||||
<number>8</number>
|
<number>8</number>
|
||||||
@ -543,7 +547,7 @@
|
|||||||
<connection>
|
<connection>
|
||||||
<sender>ClosePushButton</sender>
|
<sender>ClosePushButton</sender>
|
||||||
<signal>clicked()</signal>
|
<signal>clicked()</signal>
|
||||||
<receiver>OpenLPExportForm</receiver>
|
<receiver>OpenSongExportForm</receiver>
|
||||||
<slot>close()</slot>
|
<slot>close()</slot>
|
||||||
<hints>
|
<hints>
|
||||||
<hint type="sourcelabel" >
|
<hint type="sourcelabel" >
|
||||||
|
@ -6,12 +6,16 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>481</width>
|
<width>481</width>
|
||||||
<height>152</height>
|
<height>153</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle" >
|
<property name="windowTitle" >
|
||||||
<string>OpenSong Song Importer</string>
|
<string>OpenSong Song Importer</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="windowIcon" >
|
||||||
|
<iconset resource="../images/openlp-2.qrc" >
|
||||||
|
<normaloff>:/icon/openlp.org-icon-32.bmp</normaloff>:/icon/openlp.org-icon-32.bmp</iconset>
|
||||||
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout" >
|
<layout class="QVBoxLayout" name="verticalLayout" >
|
||||||
<property name="spacing" >
|
<property name="spacing" >
|
||||||
<number>6</number>
|
<number>6</number>
|
||||||
|
@ -12,6 +12,10 @@
|
|||||||
<property name="windowTitle" >
|
<property name="windowTitle" >
|
||||||
<string>Settings</string>
|
<string>Settings</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="windowIcon" >
|
||||||
|
<iconset resource="../images/openlp-2.qrc" >
|
||||||
|
<normaloff>:/icon/openlp.org-icon-32.bmp</normaloff>:/icon/openlp.org-icon-32.bmp</iconset>
|
||||||
|
</property>
|
||||||
<layout class="QVBoxLayout" name="SettingsLayout" >
|
<layout class="QVBoxLayout" name="SettingsLayout" >
|
||||||
<property name="spacing" >
|
<property name="spacing" >
|
||||||
<number>8</number>
|
<number>8</number>
|
||||||
@ -955,9 +959,6 @@ p, li { white-space: pre-wrap; }
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
<zorder>GeneralLeftWidget</zorder>
|
|
||||||
<zorder>GeneralRightWidget</zorder>
|
|
||||||
<zorder>verticalSpacer</zorder>
|
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -1,23 +1,32 @@
|
|||||||
"""
|
"""
|
||||||
OpenLP - Open Source Lyrics Projection
|
OpenLP - Open Source Lyrics Projection
|
||||||
Copyright (c) 2008 Raoul Snyman
|
Copyright (c) 2008 Raoul Snyman
|
||||||
Portions copyright (c) 2008 Martin Thompson, Tim Bentley
|
Portions copyright (c) 2008 Martin Thompson, Tim Bentley
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify it under
|
This program is free software; you can redistribute it and/or modify it under
|
||||||
the terms of the GNU General Public License as published by the Free Software
|
the terms of the GNU General Public License as published by the Free Software
|
||||||
Foundation; version 2 of the License.
|
Foundation; version 2 of the License.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License along with
|
You should have received a copy of the GNU General Public License along with
|
||||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||||
Place, Suite 330, Boston, MA 02111-1307 USA
|
Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from mainwindow import MainWindow
|
from mainwindow import MainWindow
|
||||||
from about import AboutForm
|
from about import AboutForm
|
||||||
from splashscreen import SplashScreen
|
from alertform import AlertForm
|
||||||
|
from editsongform import EditSongForm
|
||||||
__all__ = ['MainWindow', 'AboutForm', 'SplashScreen']
|
from openlpexportform import OpenLPExportForm
|
||||||
|
from openlpimportform import OpenLPImportForm
|
||||||
|
from opensongexportform import OpenSongExportForm
|
||||||
|
from opensongimportform import OpenSongImportForm
|
||||||
|
from settings import SettingsDialog
|
||||||
|
from splashscreen import SplashScreen
|
||||||
|
|
||||||
|
__all__ = ['SplashScreen', 'MainWindow', 'AboutForm', 'AlertForm',
|
||||||
|
'EditSongForm', 'OpenLPExportForm', 'OpenLPImportForm', 'OpenSongExportForm',
|
||||||
|
'OpenSongImportForm', 'SettingsDialog']
|
||||||
|
@ -1,217 +1,227 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Form implementation generated from reading ui file '/home/raoul/Projects/openlp-2/openlp/resources/forms/about.ui'
|
# Form implementation generated from reading ui file 'C:\Project Folders\Personal Projects\openlp-2\trunk\openlp\resources\forms\about.ui'
|
||||||
#
|
#
|
||||||
# Created: Wed Oct 29 21:34:51 2008
|
# Created: Wed Nov 05 20:52:55 2008
|
||||||
# by: PyQt4 UI code generator 4.4.3
|
# by: PyQt4 UI code generator 4.4.4-snapshot-20080918
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
|
||||||
from PyQt4 import QtCore, QtGui
|
from PyQt4 import QtCore, QtGui
|
||||||
from openlp.resources import *
|
|
||||||
|
from openlp.resources import *
|
||||||
class AboutForm(object):
|
|
||||||
def __init__(self):
|
class AboutForm(object):
|
||||||
self.about_form = QtGui.QDialog()
|
|
||||||
self.setupUi()
|
def __init__(self):
|
||||||
|
self.AboutDialog = QtGui.QDialog()
|
||||||
def setupUi(self):
|
self.setupUi()
|
||||||
self.about_form.setObjectName("about_form")
|
|
||||||
self.about_form.resize(470, 481)
|
def setupUi(self):
|
||||||
icon = QtGui.QIcon()
|
self.AboutDialog.setObjectName("AboutDialog")
|
||||||
icon.addPixmap(QtGui.QPixmap(":/Logo/favicon.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
self.AboutDialog.resize(470, 481)
|
||||||
self.about_form.setWindowIcon(icon)
|
icon = QtGui.QIcon()
|
||||||
self.AboutDialogLayout = QtGui.QVBoxLayout(self.about_form)
|
icon.addPixmap(QtGui.QPixmap(":/icon/openlp.org-icon-32.bmp"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
self.AboutDialogLayout.setSpacing(8)
|
self.AboutDialog.setWindowIcon(icon)
|
||||||
self.AboutDialogLayout.setMargin(8)
|
self.AboutDialogLayout = QtGui.QVBoxLayout(self.AboutDialog)
|
||||||
self.AboutDialogLayout.setObjectName("AboutDialogLayout")
|
self.AboutDialogLayout.setSpacing(8)
|
||||||
self.Logo = QtGui.QLabel(self.about_form)
|
self.AboutDialogLayout.setMargin(8)
|
||||||
self.Logo.setAutoFillBackground(True)
|
self.AboutDialogLayout.setObjectName("AboutDialogLayout")
|
||||||
self.Logo.setStyleSheet("background-color: rgb(255, 255, 255);")
|
self.Logo = QtGui.QLabel(self.AboutDialog)
|
||||||
self.Logo.setFrameShape(QtGui.QFrame.WinPanel)
|
self.Logo.setAutoFillBackground(False)
|
||||||
self.Logo.setFrameShadow(QtGui.QFrame.Sunken)
|
self.Logo.setStyleSheet("background-color: rgb(255, 255, 255);")
|
||||||
self.Logo.setLineWidth(1)
|
self.Logo.setFrameShape(QtGui.QFrame.StyledPanel)
|
||||||
self.Logo.setPixmap(QtGui.QPixmap(":/graphics/about-new.bmp"))
|
self.Logo.setLineWidth(1)
|
||||||
self.Logo.setScaledContents(False)
|
self.Logo.setPixmap(QtGui.QPixmap(":/graphics/about-new.bmp"))
|
||||||
self.Logo.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
|
self.Logo.setScaledContents(False)
|
||||||
self.Logo.setObjectName("Logo")
|
self.Logo.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
|
||||||
self.AboutDialogLayout.addWidget(self.Logo)
|
self.Logo.setObjectName("Logo")
|
||||||
self.AboutNotebook = QtGui.QTabWidget(self.about_form)
|
self.AboutDialogLayout.addWidget(self.Logo)
|
||||||
self.AboutNotebook.setObjectName("AboutNotebook")
|
self.AboutNotebook = QtGui.QTabWidget(self.AboutDialog)
|
||||||
self.LicenseTab = QtGui.QWidget()
|
self.AboutNotebook.setObjectName("AboutNotebook")
|
||||||
self.LicenseTab.setObjectName("LicenseTab")
|
self.LicenseTab = QtGui.QWidget()
|
||||||
self.LicenseTabLayout = QtGui.QVBoxLayout(self.LicenseTab)
|
self.LicenseTab.setObjectName("LicenseTab")
|
||||||
self.LicenseTabLayout.setSpacing(8)
|
self.LicenseTabLayout = QtGui.QVBoxLayout(self.LicenseTab)
|
||||||
self.LicenseTabLayout.setMargin(8)
|
self.LicenseTabLayout.setSpacing(8)
|
||||||
self.LicenseTabLayout.setObjectName("LicenseTabLayout")
|
self.LicenseTabLayout.setMargin(8)
|
||||||
self.CopyrightLabel = QtGui.QLabel(self.LicenseTab)
|
self.LicenseTabLayout.setObjectName("LicenseTabLayout")
|
||||||
self.CopyrightLabel.setObjectName("CopyrightLabel")
|
self.CopyrightLabel = QtGui.QLabel(self.LicenseTab)
|
||||||
self.LicenseTabLayout.addWidget(self.CopyrightLabel)
|
self.CopyrightLabel.setObjectName("CopyrightLabel")
|
||||||
self.AboutAuthors = QtGui.QLabel(self.LicenseTab)
|
self.LicenseTabLayout.addWidget(self.CopyrightLabel)
|
||||||
self.AboutAuthors.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignVCenter)
|
self.AboutAuthors = QtGui.QLabel(self.LicenseTab)
|
||||||
self.AboutAuthors.setWordWrap(True)
|
self.AboutAuthors.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignVCenter)
|
||||||
self.AboutAuthors.setObjectName("AboutAuthors")
|
self.AboutAuthors.setWordWrap(True)
|
||||||
self.LicenseTabLayout.addWidget(self.AboutAuthors)
|
self.AboutAuthors.setObjectName("AboutAuthors")
|
||||||
self.License1Label = QtGui.QLabel(self.LicenseTab)
|
self.LicenseTabLayout.addWidget(self.AboutAuthors)
|
||||||
self.License1Label.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignVCenter)
|
self.License1Label = QtGui.QLabel(self.LicenseTab)
|
||||||
self.License1Label.setWordWrap(True)
|
self.License1Label.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignVCenter)
|
||||||
self.License1Label.setObjectName("License1Label")
|
self.License1Label.setWordWrap(True)
|
||||||
self.LicenseTabLayout.addWidget(self.License1Label)
|
self.License1Label.setObjectName("License1Label")
|
||||||
self.License2Label = QtGui.QLabel(self.LicenseTab)
|
self.LicenseTabLayout.addWidget(self.License1Label)
|
||||||
self.License2Label.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignVCenter)
|
self.License2Label = QtGui.QLabel(self.LicenseTab)
|
||||||
self.License2Label.setWordWrap(True)
|
self.License2Label.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignVCenter)
|
||||||
self.License2Label.setObjectName("License2Label")
|
self.License2Label.setWordWrap(True)
|
||||||
self.LicenseTabLayout.addWidget(self.License2Label)
|
self.License2Label.setObjectName("License2Label")
|
||||||
self.License3Label = QtGui.QLabel(self.LicenseTab)
|
self.LicenseTabLayout.addWidget(self.License2Label)
|
||||||
self.License3Label.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignVCenter)
|
self.License3Label = QtGui.QLabel(self.LicenseTab)
|
||||||
self.License3Label.setWordWrap(True)
|
self.License3Label.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignVCenter)
|
||||||
self.License3Label.setObjectName("License3Label")
|
self.License3Label.setWordWrap(True)
|
||||||
self.LicenseTabLayout.addWidget(self.License3Label)
|
self.License3Label.setObjectName("License3Label")
|
||||||
self.AboutNotebook.addTab(self.LicenseTab, "")
|
self.LicenseTabLayout.addWidget(self.License3Label)
|
||||||
self.CreditsTab = QtGui.QWidget()
|
self.AboutNotebook.addTab(self.LicenseTab, "")
|
||||||
self.CreditsTab.setObjectName("CreditsTab")
|
self.CreditsTab = QtGui.QWidget()
|
||||||
self.CreditsTabLayout = QtGui.QVBoxLayout(self.CreditsTab)
|
self.CreditsTab.setObjectName("CreditsTab")
|
||||||
self.CreditsTabLayout.setObjectName("CreditsTabLayout")
|
self.CreditsTabLayout = QtGui.QVBoxLayout(self.CreditsTab)
|
||||||
self.CreditsScrollArea = QtGui.QScrollArea(self.CreditsTab)
|
self.CreditsTabLayout.setObjectName("CreditsTabLayout")
|
||||||
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
|
self.CreditsScrollArea = QtGui.QScrollArea(self.CreditsTab)
|
||||||
sizePolicy.setHorizontalStretch(0)
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
|
||||||
sizePolicy.setVerticalStretch(0)
|
sizePolicy.setHorizontalStretch(0)
|
||||||
sizePolicy.setHeightForWidth(self.CreditsScrollArea.sizePolicy().hasHeightForWidth())
|
sizePolicy.setVerticalStretch(0)
|
||||||
self.CreditsScrollArea.setSizePolicy(sizePolicy)
|
sizePolicy.setHeightForWidth(self.CreditsScrollArea.sizePolicy().hasHeightForWidth())
|
||||||
self.CreditsScrollArea.setSizeIncrement(QtCore.QSize(10, 10))
|
self.CreditsScrollArea.setSizePolicy(sizePolicy)
|
||||||
self.CreditsScrollArea.setBaseSize(QtCore.QSize(372, 391))
|
self.CreditsScrollArea.setSizeIncrement(QtCore.QSize(10, 10))
|
||||||
self.CreditsScrollArea.setMouseTracking(True)
|
self.CreditsScrollArea.setBaseSize(QtCore.QSize(372, 391))
|
||||||
self.CreditsScrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
|
self.CreditsScrollArea.setMouseTracking(True)
|
||||||
self.CreditsScrollArea.setWidgetResizable(False)
|
self.CreditsScrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
|
||||||
self.CreditsScrollArea.setAlignment(QtCore.Qt.AlignCenter)
|
self.CreditsScrollArea.setWidgetResizable(False)
|
||||||
self.CreditsScrollArea.setObjectName("CreditsScrollArea")
|
self.CreditsScrollArea.setAlignment(QtCore.Qt.AlignCenter)
|
||||||
self.CreditsScrollContent = QtGui.QWidget(self.CreditsScrollArea)
|
self.CreditsScrollArea.setObjectName("CreditsScrollArea")
|
||||||
self.CreditsScrollContent.setGeometry(QtCore.QRect(30, 0, 353, 760))
|
self.CreditsScrollContent = QtGui.QWidget(self.CreditsScrollArea)
|
||||||
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
|
self.CreditsScrollContent.setGeometry(QtCore.QRect(6, 0, 400, 760))
|
||||||
sizePolicy.setHorizontalStretch(0)
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
|
||||||
sizePolicy.setVerticalStretch(0)
|
sizePolicy.setHorizontalStretch(0)
|
||||||
sizePolicy.setHeightForWidth(self.CreditsScrollContent.sizePolicy().hasHeightForWidth())
|
sizePolicy.setVerticalStretch(0)
|
||||||
self.CreditsScrollContent.setSizePolicy(sizePolicy)
|
sizePolicy.setHeightForWidth(self.CreditsScrollContent.sizePolicy().hasHeightForWidth())
|
||||||
self.CreditsScrollContent.setBaseSize(QtCore.QSize(353, 760))
|
self.CreditsScrollContent.setSizePolicy(sizePolicy)
|
||||||
self.CreditsScrollContent.setObjectName("CreditsScrollContent")
|
self.CreditsScrollContent.setBaseSize(QtCore.QSize(400, 760))
|
||||||
self.CreditsScrollContentLayout = QtGui.QVBoxLayout(self.CreditsScrollContent)
|
self.CreditsScrollContent.setObjectName("CreditsScrollContent")
|
||||||
self.CreditsScrollContentLayout.setSpacing(0)
|
self.CreditsScrollContentLayout = QtGui.QVBoxLayout(self.CreditsScrollContent)
|
||||||
self.CreditsScrollContentLayout.setMargin(8)
|
self.CreditsScrollContentLayout.setSpacing(0)
|
||||||
self.CreditsScrollContentLayout.setObjectName("CreditsScrollContentLayout")
|
self.CreditsScrollContentLayout.setMargin(8)
|
||||||
self.CreditsLabel = QtGui.QLabel(self.CreditsScrollContent)
|
self.CreditsScrollContentLayout.setObjectName("CreditsScrollContentLayout")
|
||||||
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
|
self.CreditsLabel = QtGui.QLabel(self.CreditsScrollContent)
|
||||||
sizePolicy.setHorizontalStretch(0)
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
|
||||||
sizePolicy.setVerticalStretch(0)
|
sizePolicy.setHorizontalStretch(0)
|
||||||
sizePolicy.setHeightForWidth(self.CreditsLabel.sizePolicy().hasHeightForWidth())
|
sizePolicy.setVerticalStretch(0)
|
||||||
self.CreditsLabel.setSizePolicy(sizePolicy)
|
sizePolicy.setHeightForWidth(self.CreditsLabel.sizePolicy().hasHeightForWidth())
|
||||||
self.CreditsLabel.setMinimumSize(QtCore.QSize(369, 391))
|
self.CreditsLabel.setSizePolicy(sizePolicy)
|
||||||
self.CreditsLabel.setSizeIncrement(QtCore.QSize(10, 10))
|
self.CreditsLabel.setMinimumSize(QtCore.QSize(369, 391))
|
||||||
self.CreditsLabel.setBaseSize(QtCore.QSize(369, 760))
|
self.CreditsLabel.setSizeIncrement(QtCore.QSize(10, 10))
|
||||||
font = QtGui.QFont()
|
self.CreditsLabel.setBaseSize(QtCore.QSize(369, 760))
|
||||||
font.setPointSize(12)
|
font = QtGui.QFont()
|
||||||
self.CreditsLabel.setFont(font)
|
font.setPointSize(12)
|
||||||
self.CreditsLabel.setObjectName("CreditsLabel")
|
self.CreditsLabel.setFont(font)
|
||||||
self.CreditsScrollContentLayout.addWidget(self.CreditsLabel)
|
self.CreditsLabel.setObjectName("CreditsLabel")
|
||||||
self.CreditsScrollArea.setWidget(self.CreditsScrollContent)
|
self.CreditsScrollContentLayout.addWidget(self.CreditsLabel)
|
||||||
self.CreditsTabLayout.addWidget(self.CreditsScrollArea)
|
self.CreditsScrollArea.setWidget(self.CreditsScrollContent)
|
||||||
self.AboutNotebook.addTab(self.CreditsTab, "")
|
self.CreditsTabLayout.addWidget(self.CreditsScrollArea)
|
||||||
self.AboutDialogLayout.addWidget(self.AboutNotebook)
|
self.AboutNotebook.addTab(self.CreditsTab, "")
|
||||||
self.ButtonWidget = QtGui.QWidget(self.about_form)
|
self.AboutDialogLayout.addWidget(self.AboutNotebook)
|
||||||
self.ButtonWidget.setObjectName("ButtonWidget")
|
self.ButtonWidget = QtGui.QWidget(self.AboutDialog)
|
||||||
self.ButtonWidgetLayout = QtGui.QHBoxLayout(self.ButtonWidget)
|
self.ButtonWidget.setObjectName("ButtonWidget")
|
||||||
self.ButtonWidgetLayout.setSpacing(8)
|
self.ButtonWidgetLayout = QtGui.QHBoxLayout(self.ButtonWidget)
|
||||||
self.ButtonWidgetLayout.setMargin(0)
|
self.ButtonWidgetLayout.setSpacing(8)
|
||||||
self.ButtonWidgetLayout.setObjectName("ButtonWidgetLayout")
|
self.ButtonWidgetLayout.setMargin(0)
|
||||||
spacerItem = QtGui.QSpacerItem(275, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
self.ButtonWidgetLayout.setObjectName("ButtonWidgetLayout")
|
||||||
self.ButtonWidgetLayout.addItem(spacerItem)
|
spacerItem = QtGui.QSpacerItem(275, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
self.ContributeButton = QtGui.QPushButton(self.ButtonWidget)
|
self.ButtonWidgetLayout.addItem(spacerItem)
|
||||||
self.ContributeButton.setObjectName("ContributeButton")
|
self.ContributeButton = QtGui.QPushButton(self.ButtonWidget)
|
||||||
self.ButtonWidgetLayout.addWidget(self.ContributeButton)
|
self.ContributeButton.setObjectName("ContributeButton")
|
||||||
self.CloseButton = QtGui.QPushButton(self.ButtonWidget)
|
self.ButtonWidgetLayout.addWidget(self.ContributeButton)
|
||||||
self.CloseButton.setObjectName("CloseButton")
|
self.CloseButton = QtGui.QPushButton(self.ButtonWidget)
|
||||||
self.ButtonWidgetLayout.addWidget(self.CloseButton)
|
self.CloseButton.setObjectName("CloseButton")
|
||||||
self.AboutDialogLayout.addWidget(self.ButtonWidget)
|
self.ButtonWidgetLayout.addWidget(self.CloseButton)
|
||||||
self.extContributeItem = QtGui.QAction(self.about_form)
|
self.AboutDialogLayout.addWidget(self.ButtonWidget)
|
||||||
self.extContributeItem.setObjectName("extContributeItem")
|
self.extContributeItem = QtGui.QAction(self.AboutDialog)
|
||||||
|
self.extContributeItem.setObjectName("extContributeItem")
|
||||||
self.retranslateUi()
|
|
||||||
self.AboutNotebook.setCurrentIndex(0)
|
self.retranslateUi()
|
||||||
QtCore.QObject.connect(self.CloseButton, QtCore.SIGNAL("clicked()"), self.about_form.close)
|
self.AboutNotebook.setCurrentIndex(1)
|
||||||
QtCore.QMetaObject.connectSlotsByName(self.about_form)
|
QtCore.QObject.connect(self.CloseButton, QtCore.SIGNAL("clicked()"), self.AboutDialog.close)
|
||||||
self.about_form.setTabOrder(self.CreditsScrollArea, self.ContributeButton)
|
QtCore.QMetaObject.connectSlotsByName(self.AboutDialog)
|
||||||
|
self.AboutDialog.setTabOrder(self.CreditsScrollArea, self.ContributeButton)
|
||||||
def retranslateUi(self):
|
|
||||||
self.about_form.setWindowTitle(QtGui.QApplication.translate("about_form", "About openlp.org", None, QtGui.QApplication.UnicodeUTF8))
|
QtCore.QObject.connect(self.ContributeButton, QtCore.SIGNAL("clicked()"), self.onContributeButtonClicked)
|
||||||
self.CopyrightLabel.setText(QtGui.QApplication.translate("about_form", "Copyright © 2004-2008 openlp.org Foundation", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.AboutAuthors.setText(QtGui.QApplication.translate("about_form", "openlp.org is written and maintained by volunteers. If you would like to see more free Christian software being written, please consider contributing by using the button below.", None, QtGui.QApplication.UnicodeUTF8))
|
def retranslateUi(self):
|
||||||
self.License1Label.setText(QtGui.QApplication.translate("about_form", "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.", None, QtGui.QApplication.UnicodeUTF8))
|
self.AboutDialog.setWindowTitle(QtGui.QApplication.translate("AboutDialog", "About openlp.org", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.License2Label.setText(QtGui.QApplication.translate("about_form", "You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.", None, QtGui.QApplication.UnicodeUTF8))
|
self.CopyrightLabel.setText(QtGui.QApplication.translate("AboutDialog", "Copyright © 2004-2008 openlp.org Foundation", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.License3Label.setText(QtGui.QApplication.translate("about_form", "This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.", None, QtGui.QApplication.UnicodeUTF8))
|
self.AboutAuthors.setText(QtGui.QApplication.translate("AboutDialog", "openlp.org is written and maintained by volunteers. If you would like to see more free Christian software being written, please consider contributing by using the button below.", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.AboutNotebook.setTabText(self.AboutNotebook.indexOf(self.LicenseTab), QtGui.QApplication.translate("about_form", "License", None, QtGui.QApplication.UnicodeUTF8))
|
self.License1Label.setText(QtGui.QApplication.translate("AboutDialog", "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.CreditsLabel.setText(QtGui.QApplication.translate("about_form", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
self.License2Label.setText(QtGui.QApplication.translate("AboutDialog", "You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
self.License3Label.setText(QtGui.QApplication.translate("AboutDialog", "This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
"p, li { white-space: pre-wrap; }\n"
|
self.AboutNotebook.setTabText(self.AboutNotebook.indexOf(self.LicenseTab), QtGui.QApplication.translate("AboutDialog", "License", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
"</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:12pt; font-weight:400; font-style:normal;\">\n"
|
self.CreditsLabel.setText(QtGui.QApplication.translate("AboutDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><span style=\" font-size:10pt; font-weight:600; text-decoration: underline;\">openlp.org 2.0.0</span></p>\n"
|
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Copyright © 2004-2008 openlp.org Foundation</p>\n"
|
"p, li { white-space: pre-wrap; }\n"
|
||||||
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
"</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:12pt; font-weight:400; font-style:normal;\">\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Lead Developer -</span></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><span style=\" font-size:10pt; font-weight:600; text-decoration: underline;\">openlp.org 2.0.0</span></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Raoul Snyman</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Copyright © 2004-2008 openlp.org Foundation</p>\n"
|
||||||
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Original Development -</span></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Lead Developer -</span></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Tim Ebenezer</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Raoul Snyman</p>\n"
|
||||||
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Additional Development -</span></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Original Development -</span></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Derek Scotney</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Tim Ebenezer</p>\n"
|
||||||
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Testing -</span></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Additional Development -</span></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Jonathan Corwin</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Derek Scotney</p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Scott Hileard</p>\n"
|
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Ken Marshall</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Testing -</span></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Duane Pearce</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Jonathan Corwin</p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Andrew (thealok)</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Scott Hileard</p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Les Norbo</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Ken Marshall</p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Many others in the community</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Duane Pearce</p>\n"
|
||||||
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Andrew (thealok)</p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Documentation -</span></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Les Norbo</p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Raoul Snyman</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Many others in the community</p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Hannah Snyman</p>\n"
|
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">David Bunce</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Documentation -</span></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Seth Mayo</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Raoul Snyman</p>\n"
|
||||||
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Hannah Snyman</p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Components Used -</span></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">David Bunce</p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">JCL & JVCL - Project Jedi</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Seth Mayo</p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">Mozilla Public License</span></p>\n"
|
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
||||||
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Components Used -</span></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Toolbar2000 - JR Software</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">JCL & JVCL - Project Jedi</p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">GNU General Public License</span></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">Mozilla Public License</span></p>\n"
|
||||||
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">TBX - Alex Denisov</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Toolbar2000 - JR Software</p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">Custom Freeware License</span></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">GNU General Public License</span></p>\n"
|
||||||
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Graphics 32 - Alex Denisov</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">TBX - Alex Denisov</p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">Mozilla Public License</span></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">Custom Freeware License</span></p>\n"
|
||||||
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Saturn Component Pack - Saturn Laboratories</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Graphics 32 - Alex Denisov</p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">Mozilla Public License</span></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">Mozilla Public License</span></p>\n"
|
||||||
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Final Credit -</span></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Saturn Component Pack - Saturn Laboratories</p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">\"For God so loved the world that He gave</span></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">Mozilla Public License</span></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">His one and only Son, so that whoever</span></p>\n"
|
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">believes in Him will not perish but inherit</span></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Final Credit -</span></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">eternal life.\" -- John 3:16</span></p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">\"For God so loved the world that He gave</span></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">And last but not least, final credit goes to</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">His one and only Son, so that whoever</span></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">God our Father, for sending His Son to die</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">believes in Him will not perish but inherit</span></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">on the cross, setting us free from sin. We</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">eternal life.\" -- John 3:16</span></p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">bring this software to you for free because</p>\n"
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">And last but not least, final credit goes to</p>\n"
|
||||||
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">He has set us free.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">God our Father, for sending His Son to die</p>\n"
|
||||||
self.AboutNotebook.setTabText(self.AboutNotebook.indexOf(self.CreditsTab), QtGui.QApplication.translate("about_form", "Credits", None, QtGui.QApplication.UnicodeUTF8))
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">on the cross, setting us free from sin. We</p>\n"
|
||||||
self.ContributeButton.setText(QtGui.QApplication.translate("about_form", "Contribute", None, QtGui.QApplication.UnicodeUTF8))
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">bring this software to you for free because</p>\n"
|
||||||
self.CloseButton.setText(QtGui.QApplication.translate("about_form", "Close", None, QtGui.QApplication.UnicodeUTF8))
|
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">He has set us free.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.extContributeItem.setText(QtGui.QApplication.translate("about_form", "&Contribute", None, QtGui.QApplication.UnicodeUTF8))
|
self.AboutNotebook.setTabText(self.AboutNotebook.indexOf(self.CreditsTab), QtGui.QApplication.translate("AboutDialog", "Credits", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ContributeButton.setText(QtGui.QApplication.translate("AboutDialog", "Contribute", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
def show(self):
|
self.CloseButton.setText(QtGui.QApplication.translate("AboutDialog", "Close", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
screen = QtGui.QDesktopWidget().screenGeometry()
|
self.extContributeItem.setText(QtGui.QApplication.translate("AboutDialog", "&Contribute", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
size = self.about_form.geometry()
|
|
||||||
self.about_form.move((screen.width() - size.width()) / 2, (screen.height() - size.height()) / 2)
|
def show(self):
|
||||||
self.about_form.show()
|
self.AboutDialog.show()
|
||||||
|
|
||||||
|
def onContributeButtonClicked(self):
|
||||||
|
''' This routine will open the default
|
||||||
|
web-browser to the contribute page
|
||||||
|
of openlp.org as did the original
|
||||||
|
button on the About form
|
||||||
|
'''
|
||||||
|
import webbrowser
|
||||||
|
url = "http://www.openlp.org/en/documentation/introduction/contributing.html"
|
||||||
|
webbrowser.open_new(url)
|
||||||
|
81
openlp/ui/forms/alertform.py
Normal file
81
openlp/ui/forms/alertform.py
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Form implementation generated from reading ui file 'C:\Project Folders\Personal Projects\openlp-2\trunk\openlp\resources\forms\alertform.ui'
|
||||||
|
#
|
||||||
|
# Created: Wed Nov 05 20:54:20 2008
|
||||||
|
# by: PyQt4 UI code generator 4.4.4-snapshot-20080918
|
||||||
|
#
|
||||||
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
|
||||||
|
from PyQt4 import QtCore, QtGui
|
||||||
|
|
||||||
|
from openlp.resources import *
|
||||||
|
|
||||||
|
class AlertForm(object):
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self.AlertForm = QtGui.QWidget()
|
||||||
|
self.setupUi()
|
||||||
|
|
||||||
|
def setupUi(self):
|
||||||
|
self.AlertForm.setObjectName("AlertForm")
|
||||||
|
self.AlertForm.resize(370, 105)
|
||||||
|
icon = QtGui.QIcon()
|
||||||
|
icon.addPixmap(QtGui.QPixmap(":/icon/openlp.org-icon-32.bmp"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.AlertForm.setWindowIcon(icon)
|
||||||
|
self.AlertFormLayout = QtGui.QVBoxLayout(self.AlertForm)
|
||||||
|
self.AlertFormLayout.setSpacing(8)
|
||||||
|
self.AlertFormLayout.setMargin(8)
|
||||||
|
self.AlertFormLayout.setObjectName("AlertFormLayout")
|
||||||
|
self.AlertEntryWidget = QtGui.QWidget(self.AlertForm)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.AlertEntryWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.AlertEntryWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.AlertEntryWidget.setObjectName("AlertEntryWidget")
|
||||||
|
self.AlertEntryLabel = QtGui.QLabel(self.AlertEntryWidget)
|
||||||
|
self.AlertEntryLabel.setGeometry(QtCore.QRect(0, 0, 353, 16))
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.AlertEntryLabel.sizePolicy().hasHeightForWidth())
|
||||||
|
self.AlertEntryLabel.setSizePolicy(sizePolicy)
|
||||||
|
self.AlertEntryLabel.setObjectName("AlertEntryLabel")
|
||||||
|
self.AlertEntryEditItem = QtGui.QLineEdit(self.AlertEntryWidget)
|
||||||
|
self.AlertEntryEditItem.setGeometry(QtCore.QRect(0, 20, 353, 21))
|
||||||
|
self.AlertEntryEditItem.setObjectName("AlertEntryEditItem")
|
||||||
|
self.AlertFormLayout.addWidget(self.AlertEntryWidget)
|
||||||
|
self.ButtonBoxWidget = QtGui.QWidget(self.AlertForm)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.ButtonBoxWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.ButtonBoxWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.ButtonBoxWidget.setObjectName("ButtonBoxWidget")
|
||||||
|
self.horizontalLayout = QtGui.QHBoxLayout(self.ButtonBoxWidget)
|
||||||
|
self.horizontalLayout.setSpacing(8)
|
||||||
|
self.horizontalLayout.setMargin(0)
|
||||||
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
||||||
|
spacerItem = QtGui.QSpacerItem(267, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.horizontalLayout.addItem(spacerItem)
|
||||||
|
self.DisplayButton = QtGui.QPushButton(self.ButtonBoxWidget)
|
||||||
|
self.DisplayButton.setObjectName("DisplayButton")
|
||||||
|
self.horizontalLayout.addWidget(self.DisplayButton)
|
||||||
|
self.CancelButton = QtGui.QPushButton(self.ButtonBoxWidget)
|
||||||
|
self.CancelButton.setObjectName("CancelButton")
|
||||||
|
self.horizontalLayout.addWidget(self.CancelButton)
|
||||||
|
self.AlertFormLayout.addWidget(self.ButtonBoxWidget)
|
||||||
|
|
||||||
|
self.retranslateUi()
|
||||||
|
QtCore.QObject.connect(self.CancelButton, QtCore.SIGNAL("clicked()"), self.AlertForm.close)
|
||||||
|
QtCore.QMetaObject.connectSlotsByName(self.AlertForm)
|
||||||
|
|
||||||
|
def retranslateUi(self):
|
||||||
|
self.AlertForm.setWindowTitle(QtGui.QApplication.translate("AlertForm", "Alert Message", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.AlertEntryLabel.setText(QtGui.QApplication.translate("AlertForm", "Alert Text:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.DisplayButton.setText(QtGui.QApplication.translate("AlertForm", "Display", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.CancelButton.setText(QtGui.QApplication.translate("AlertForm", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
|
||||||
|
def show(self):
|
||||||
|
self.AlertForm.show()
|
190
openlp/ui/forms/editsongform.py
Normal file
190
openlp/ui/forms/editsongform.py
Normal file
@ -0,0 +1,190 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Form implementation generated from reading ui file 'C:\Project Folders\Personal Projects\openlp-2\trunk\openlp\resources\forms\editsongform.ui'
|
||||||
|
#
|
||||||
|
# Created: Wed Nov 05 20:55:02 2008
|
||||||
|
# by: PyQt4 UI code generator 4.4.4-snapshot-20080918
|
||||||
|
#
|
||||||
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
|
||||||
|
from PyQt4 import QtCore, QtGui
|
||||||
|
|
||||||
|
from openlp.resources import *
|
||||||
|
|
||||||
|
class EditSongForm(object):
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self.EditSongForm = QtGui.QWidget()
|
||||||
|
self.setupUi()
|
||||||
|
|
||||||
|
def setupUi(self):
|
||||||
|
self.EditSongForm.setObjectName("EditSongForm")
|
||||||
|
self.EditSongForm.resize(665, 481)
|
||||||
|
icon = QtGui.QIcon()
|
||||||
|
icon.addPixmap(QtGui.QPixmap(":/icon/openlp.org-icon-32.bmp"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.EditSongForm.setWindowIcon(icon)
|
||||||
|
self.EditSongFormLayout = QtGui.QVBoxLayout(self.EditSongForm)
|
||||||
|
self.EditSongFormLayout.setSpacing(8)
|
||||||
|
self.EditSongFormLayout.setMargin(8)
|
||||||
|
self.EditSongFormLayout.setObjectName("EditSongFormLayout")
|
||||||
|
self.TopWidget = QtGui.QWidget(self.EditSongForm)
|
||||||
|
self.TopWidget.setObjectName("TopWidget")
|
||||||
|
self.TopWidgetLayout = QtGui.QHBoxLayout(self.TopWidget)
|
||||||
|
self.TopWidgetLayout.setSpacing(8)
|
||||||
|
self.TopWidgetLayout.setMargin(0)
|
||||||
|
self.TopWidgetLayout.setObjectName("TopWidgetLayout")
|
||||||
|
self.TextWidget = QtGui.QWidget(self.TopWidget)
|
||||||
|
self.TextWidget.setObjectName("TextWidget")
|
||||||
|
self.TextWidgetLayout = QtGui.QVBoxLayout(self.TextWidget)
|
||||||
|
self.TextWidgetLayout.setSpacing(8)
|
||||||
|
self.TextWidgetLayout.setMargin(0)
|
||||||
|
self.TextWidgetLayout.setObjectName("TextWidgetLayout")
|
||||||
|
self.TitleLabel = QtGui.QLabel(self.TextWidget)
|
||||||
|
self.TitleLabel.setObjectName("TitleLabel")
|
||||||
|
self.TextWidgetLayout.addWidget(self.TitleLabel)
|
||||||
|
self.TitleEditItem = QtGui.QLineEdit(self.TextWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.TitleEditItem.sizePolicy().hasHeightForWidth())
|
||||||
|
self.TitleEditItem.setSizePolicy(sizePolicy)
|
||||||
|
self.TitleEditItem.setObjectName("TitleEditItem")
|
||||||
|
self.TextWidgetLayout.addWidget(self.TitleEditItem)
|
||||||
|
self.LyricsLabel = QtGui.QLabel(self.TextWidget)
|
||||||
|
self.LyricsLabel.setObjectName("LyricsLabel")
|
||||||
|
self.TextWidgetLayout.addWidget(self.LyricsLabel)
|
||||||
|
self.LyricsTextEdit = QtGui.QTextEdit(self.TextWidget)
|
||||||
|
self.LyricsTextEdit.setLineWrapMode(QtGui.QTextEdit.NoWrap)
|
||||||
|
self.LyricsTextEdit.setAcceptRichText(False)
|
||||||
|
self.LyricsTextEdit.setObjectName("LyricsTextEdit")
|
||||||
|
self.TextWidgetLayout.addWidget(self.LyricsTextEdit)
|
||||||
|
self.TopWidgetLayout.addWidget(self.TextWidget)
|
||||||
|
self.AuthorWidget = QtGui.QWidget(self.TopWidget)
|
||||||
|
self.AuthorWidget.setObjectName("AuthorWidget")
|
||||||
|
self.AuthorWidgetLayout = QtGui.QVBoxLayout(self.AuthorWidget)
|
||||||
|
self.AuthorWidgetLayout.setSpacing(8)
|
||||||
|
self.AuthorWidgetLayout.setMargin(0)
|
||||||
|
self.AuthorWidgetLayout.setObjectName("AuthorWidgetLayout")
|
||||||
|
self.AuthorsLabel = QtGui.QLabel(self.AuthorWidget)
|
||||||
|
self.AuthorsLabel.setObjectName("AuthorsLabel")
|
||||||
|
self.AuthorWidgetLayout.addWidget(self.AuthorsLabel)
|
||||||
|
self.AuthorSelectWidget = QtGui.QWidget(self.AuthorWidget)
|
||||||
|
self.AuthorSelectWidget.setObjectName("AuthorSelectWidget")
|
||||||
|
self.AuthorSelectWidgetLayout = QtGui.QHBoxLayout(self.AuthorSelectWidget)
|
||||||
|
self.AuthorSelectWidgetLayout.setSpacing(8)
|
||||||
|
self.AuthorSelectWidgetLayout.setMargin(0)
|
||||||
|
self.AuthorSelectWidgetLayout.setObjectName("AuthorSelectWidgetLayout")
|
||||||
|
self.AuthorsSelectionComboItem = QtGui.QComboBox(self.AuthorSelectWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.AuthorsSelectionComboItem.sizePolicy().hasHeightForWidth())
|
||||||
|
self.AuthorsSelectionComboItem.setSizePolicy(sizePolicy)
|
||||||
|
self.AuthorsSelectionComboItem.setEditable(False)
|
||||||
|
self.AuthorsSelectionComboItem.setInsertPolicy(QtGui.QComboBox.InsertAlphabetically)
|
||||||
|
self.AuthorsSelectionComboItem.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLength)
|
||||||
|
self.AuthorsSelectionComboItem.setMinimumContentsLength(8)
|
||||||
|
self.AuthorsSelectionComboItem.setObjectName("AuthorsSelectionComboItem")
|
||||||
|
self.AuthorSelectWidgetLayout.addWidget(self.AuthorsSelectionComboItem)
|
||||||
|
self.AuthorAddtoSongItem = QtGui.QPushButton(self.AuthorSelectWidget)
|
||||||
|
self.AuthorAddtoSongItem.setMaximumSize(QtCore.QSize(110, 16777215))
|
||||||
|
self.AuthorAddtoSongItem.setObjectName("AuthorAddtoSongItem")
|
||||||
|
self.AuthorSelectWidgetLayout.addWidget(self.AuthorAddtoSongItem)
|
||||||
|
self.AuthorWidgetLayout.addWidget(self.AuthorSelectWidget)
|
||||||
|
self.AuthorManagementWidget = QtGui.QWidget(self.AuthorWidget)
|
||||||
|
self.AuthorManagementWidget.setObjectName("AuthorManagementWidget")
|
||||||
|
self.AuthorManagementWidgetLayout = QtGui.QHBoxLayout(self.AuthorManagementWidget)
|
||||||
|
self.AuthorManagementWidgetLayout.setSpacing(8)
|
||||||
|
self.AuthorManagementWidgetLayout.setMargin(0)
|
||||||
|
self.AuthorManagementWidgetLayout.setObjectName("AuthorManagementWidgetLayout")
|
||||||
|
self.NewAuthorButton = QtGui.QPushButton(self.AuthorManagementWidget)
|
||||||
|
self.NewAuthorButton.setObjectName("NewAuthorButton")
|
||||||
|
self.AuthorManagementWidgetLayout.addWidget(self.NewAuthorButton)
|
||||||
|
self.AuthorDeleteItem = QtGui.QPushButton(self.AuthorManagementWidget)
|
||||||
|
self.AuthorDeleteItem.setObjectName("AuthorDeleteItem")
|
||||||
|
self.AuthorManagementWidgetLayout.addWidget(self.AuthorDeleteItem)
|
||||||
|
self.AuthorWidgetLayout.addWidget(self.AuthorManagementWidget)
|
||||||
|
self.SelectedAuthorsLabel = QtGui.QLabel(self.AuthorWidget)
|
||||||
|
self.SelectedAuthorsLabel.setObjectName("SelectedAuthorsLabel")
|
||||||
|
self.AuthorWidgetLayout.addWidget(self.SelectedAuthorsLabel)
|
||||||
|
self.AuthorsListItem = QtGui.QListView(self.AuthorWidget)
|
||||||
|
self.AuthorsListItem.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
|
||||||
|
self.AuthorsListItem.setSelectionRectVisible(True)
|
||||||
|
self.AuthorsListItem.setObjectName("AuthorsListItem")
|
||||||
|
self.AuthorWidgetLayout.addWidget(self.AuthorsListItem)
|
||||||
|
self.RemoveAuthorWidget = QtGui.QWidget(self.AuthorWidget)
|
||||||
|
self.RemoveAuthorWidget.setObjectName("RemoveAuthorWidget")
|
||||||
|
self.RemoveAuthorWidgetLayout = QtGui.QHBoxLayout(self.RemoveAuthorWidget)
|
||||||
|
self.RemoveAuthorWidgetLayout.setSpacing(8)
|
||||||
|
self.RemoveAuthorWidgetLayout.setMargin(0)
|
||||||
|
self.RemoveAuthorWidgetLayout.setObjectName("RemoveAuthorWidgetLayout")
|
||||||
|
spacerItem = QtGui.QSpacerItem(122, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.RemoveAuthorWidgetLayout.addItem(spacerItem)
|
||||||
|
self.AuthorRemoveItem = QtGui.QPushButton(self.RemoveAuthorWidget)
|
||||||
|
self.AuthorRemoveItem.setObjectName("AuthorRemoveItem")
|
||||||
|
self.RemoveAuthorWidgetLayout.addWidget(self.AuthorRemoveItem)
|
||||||
|
self.AuthorWidgetLayout.addWidget(self.RemoveAuthorWidget)
|
||||||
|
self.CopyrightInfoLabel = QtGui.QLabel(self.AuthorWidget)
|
||||||
|
self.CopyrightInfoLabel.setObjectName("CopyrightInfoLabel")
|
||||||
|
self.AuthorWidgetLayout.addWidget(self.CopyrightInfoLabel)
|
||||||
|
self.CopyrightWidget = QtGui.QWidget(self.AuthorWidget)
|
||||||
|
self.CopyrightWidget.setObjectName("CopyrightWidget")
|
||||||
|
self.CopyrightWidgetLayout = QtGui.QHBoxLayout(self.CopyrightWidget)
|
||||||
|
self.CopyrightWidgetLayout.setSpacing(8)
|
||||||
|
self.CopyrightWidgetLayout.setMargin(0)
|
||||||
|
self.CopyrightWidgetLayout.setObjectName("CopyrightWidgetLayout")
|
||||||
|
self.CopyrightEditItem = QtGui.QLineEdit(self.CopyrightWidget)
|
||||||
|
self.CopyrightEditItem.setObjectName("CopyrightEditItem")
|
||||||
|
self.CopyrightWidgetLayout.addWidget(self.CopyrightEditItem)
|
||||||
|
self.CopyrightInsertItem = QtGui.QPushButton(self.CopyrightWidget)
|
||||||
|
self.CopyrightInsertItem.setMaximumSize(QtCore.QSize(29, 16777215))
|
||||||
|
self.CopyrightInsertItem.setObjectName("CopyrightInsertItem")
|
||||||
|
self.CopyrightWidgetLayout.addWidget(self.CopyrightInsertItem)
|
||||||
|
self.AuthorWidgetLayout.addWidget(self.CopyrightWidget)
|
||||||
|
self.TopWidgetLayout.addWidget(self.AuthorWidget)
|
||||||
|
self.EditSongFormLayout.addWidget(self.TopWidget)
|
||||||
|
self.ThemeWidget = QtGui.QWidget(self.EditSongForm)
|
||||||
|
self.ThemeWidget.setObjectName("ThemeWidget")
|
||||||
|
self.ThemeWidgetLayout = QtGui.QHBoxLayout(self.ThemeWidget)
|
||||||
|
self.ThemeWidgetLayout.setSpacing(8)
|
||||||
|
self.ThemeWidgetLayout.setMargin(0)
|
||||||
|
self.ThemeWidgetLayout.setObjectName("ThemeWidgetLayout")
|
||||||
|
self.ThemeLabel = QtGui.QLabel(self.ThemeWidget)
|
||||||
|
self.ThemeLabel.setMaximumSize(QtCore.QSize(70, 16777215))
|
||||||
|
self.ThemeLabel.setObjectName("ThemeLabel")
|
||||||
|
self.ThemeWidgetLayout.addWidget(self.ThemeLabel)
|
||||||
|
self.ThemeSelectionComboItem = QtGui.QComboBox(self.ThemeWidget)
|
||||||
|
self.ThemeSelectionComboItem.setObjectName("ThemeSelectionComboItem")
|
||||||
|
self.ThemeWidgetLayout.addWidget(self.ThemeSelectionComboItem)
|
||||||
|
self.ThemeAddItem = QtGui.QPushButton(self.ThemeWidget)
|
||||||
|
self.ThemeAddItem.setMaximumSize(QtCore.QSize(110, 16777215))
|
||||||
|
self.ThemeAddItem.setObjectName("ThemeAddItem")
|
||||||
|
self.ThemeWidgetLayout.addWidget(self.ThemeAddItem)
|
||||||
|
self.EditSongFormLayout.addWidget(self.ThemeWidget)
|
||||||
|
self.ButtonBox = QtGui.QDialogButtonBox(self.EditSongForm)
|
||||||
|
self.ButtonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Save)
|
||||||
|
self.ButtonBox.setObjectName("ButtonBox")
|
||||||
|
self.EditSongFormLayout.addWidget(self.ButtonBox)
|
||||||
|
|
||||||
|
self.retranslateUi()
|
||||||
|
QtCore.QObject.connect(self.ButtonBox, QtCore.SIGNAL("rejected()"), self.EditSongForm.close)
|
||||||
|
QtCore.QObject.connect(self.ButtonBox, QtCore.SIGNAL("accepted()"), self.EditSongForm.close)
|
||||||
|
QtCore.QMetaObject.connectSlotsByName(self.EditSongForm)
|
||||||
|
|
||||||
|
def retranslateUi(self):
|
||||||
|
self.EditSongForm.setWindowTitle(QtGui.QApplication.translate("EditSongForm", "Song Editor", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.TitleLabel.setText(QtGui.QApplication.translate("EditSongForm", "Title:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.LyricsLabel.setText(QtGui.QApplication.translate("EditSongForm", "Lyrics:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.AuthorsLabel.setText(QtGui.QApplication.translate("EditSongForm", "Authors:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.AuthorAddtoSongItem.setText(QtGui.QApplication.translate("EditSongForm", "Add to Song", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.NewAuthorButton.setText(QtGui.QApplication.translate("EditSongForm", "Add a New Author", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.AuthorDeleteItem.setText(QtGui.QApplication.translate("EditSongForm", "Delete Author", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SelectedAuthorsLabel.setText(QtGui.QApplication.translate("EditSongForm", "Selected Authors:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.AuthorRemoveItem.setText(QtGui.QApplication.translate("EditSongForm", "Remove Selected Author(s)", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.CopyrightInfoLabel.setText(QtGui.QApplication.translate("EditSongForm", "Copyright Info:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.CopyrightInsertItem.setText(QtGui.QApplication.translate("EditSongForm", "©", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ThemeLabel.setText(QtGui.QApplication.translate("EditSongForm", "Theme", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ThemeAddItem.setText(QtGui.QApplication.translate("EditSongForm", "Add a Theme", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
|
||||||
|
def show(self):
|
||||||
|
self.EditSongForm.show()
|
File diff suppressed because it is too large
Load Diff
299
openlp/ui/forms/openlpexportform.py
Normal file
299
openlp/ui/forms/openlpexportform.py
Normal file
@ -0,0 +1,299 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Form implementation generated from reading ui file 'C:\Project Folders\Personal Projects\openlp-2\trunk\openlp\resources\forms\openlpexportform.ui'
|
||||||
|
#
|
||||||
|
# Created: Wed Nov 05 20:55:51 2008
|
||||||
|
# by: PyQt4 UI code generator 4.4.4-snapshot-20080918
|
||||||
|
#
|
||||||
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
|
||||||
|
from PyQt4 import QtCore, QtGui
|
||||||
|
|
||||||
|
from openlp.resources import *
|
||||||
|
|
||||||
|
class OpenLPExportForm(object):
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self.OpenLPExportForm = QtGui.QWidget()
|
||||||
|
self.setupUi()
|
||||||
|
|
||||||
|
def setupUi(self):
|
||||||
|
self.OpenLPExportForm.setObjectName("OpenLPExportForm")
|
||||||
|
self.OpenLPExportForm.resize(473, 459)
|
||||||
|
icon = QtGui.QIcon()
|
||||||
|
icon.addPixmap(QtGui.QPixmap(":/icon/openlp.org-icon-32.bmp"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.OpenLPExportForm.setWindowIcon(icon)
|
||||||
|
self.verticalLayout_5 = QtGui.QVBoxLayout(self.OpenLPExportForm)
|
||||||
|
self.verticalLayout_5.setMargin(8)
|
||||||
|
self.verticalLayout_5.setObjectName("verticalLayout_5")
|
||||||
|
self.ExportFileWidget = QtGui.QWidget(self.OpenLPExportForm)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.ExportFileWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.ExportFileWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.ExportFileWidget.setObjectName("ExportFileWidget")
|
||||||
|
self.horizontalLayout = QtGui.QHBoxLayout(self.ExportFileWidget)
|
||||||
|
self.horizontalLayout.setSpacing(3)
|
||||||
|
self.horizontalLayout.setMargin(0)
|
||||||
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
||||||
|
self.ExportFileLabel = QtGui.QLabel(self.ExportFileWidget)
|
||||||
|
self.ExportFileLabel.setObjectName("ExportFileLabel")
|
||||||
|
self.horizontalLayout.addWidget(self.ExportFileLabel)
|
||||||
|
self.ExportFileLineEdit = QtGui.QLineEdit(self.ExportFileWidget)
|
||||||
|
self.ExportFileLineEdit.setObjectName("ExportFileLineEdit")
|
||||||
|
self.horizontalLayout.addWidget(self.ExportFileLineEdit)
|
||||||
|
self.ExportFileSelectPushButton = QtGui.QPushButton(self.ExportFileWidget)
|
||||||
|
icon1 = QtGui.QIcon()
|
||||||
|
icon1.addPixmap(QtGui.QPixmap(":/exports/export_load.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.ExportFileSelectPushButton.setIcon(icon1)
|
||||||
|
self.ExportFileSelectPushButton.setObjectName("ExportFileSelectPushButton")
|
||||||
|
self.horizontalLayout.addWidget(self.ExportFileSelectPushButton)
|
||||||
|
self.verticalLayout_5.addWidget(self.ExportFileWidget)
|
||||||
|
self.SongListFrame = QtGui.QFrame(self.OpenLPExportForm)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.SongListFrame.sizePolicy().hasHeightForWidth())
|
||||||
|
self.SongListFrame.setSizePolicy(sizePolicy)
|
||||||
|
self.SongListFrame.setFrameShape(QtGui.QFrame.Box)
|
||||||
|
self.SongListFrame.setFrameShadow(QtGui.QFrame.Raised)
|
||||||
|
self.SongListFrame.setObjectName("SongListFrame")
|
||||||
|
self.horizontalLayout_6 = QtGui.QHBoxLayout(self.SongListFrame)
|
||||||
|
self.horizontalLayout_6.setSpacing(8)
|
||||||
|
self.horizontalLayout_6.setMargin(8)
|
||||||
|
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
|
||||||
|
self.ExportFileSongListWidget = QtGui.QWidget(self.SongListFrame)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.ExportFileSongListWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.ExportFileSongListWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.ExportFileSongListWidget.setObjectName("ExportFileSongListWidget")
|
||||||
|
self.verticalLayout = QtGui.QVBoxLayout(self.ExportFileSongListWidget)
|
||||||
|
self.verticalLayout.setSpacing(6)
|
||||||
|
self.verticalLayout.setMargin(0)
|
||||||
|
self.verticalLayout.setObjectName("verticalLayout")
|
||||||
|
self.ExportListLabel = QtGui.QLabel(self.ExportFileSongListWidget)
|
||||||
|
self.ExportListLabel.setObjectName("ExportListLabel")
|
||||||
|
self.verticalLayout.addWidget(self.ExportListLabel)
|
||||||
|
self.ExportListTable = QtGui.QTableWidget(self.ExportFileSongListWidget)
|
||||||
|
self.ExportListTable.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)
|
||||||
|
self.ExportListTable.setShowGrid(False)
|
||||||
|
self.ExportListTable.setWordWrap(False)
|
||||||
|
self.ExportListTable.setCornerButtonEnabled(False)
|
||||||
|
self.ExportListTable.setObjectName("ExportListTable")
|
||||||
|
self.ExportListTable.setColumnCount(2)
|
||||||
|
self.ExportListTable.setRowCount(0)
|
||||||
|
item = QtGui.QTableWidgetItem()
|
||||||
|
self.ExportListTable.setHorizontalHeaderItem(0, item)
|
||||||
|
item = QtGui.QTableWidgetItem()
|
||||||
|
self.ExportListTable.setHorizontalHeaderItem(1, item)
|
||||||
|
self.verticalLayout.addWidget(self.ExportListTable)
|
||||||
|
self.ExportSelectAllWidget = QtGui.QWidget(self.ExportFileSongListWidget)
|
||||||
|
self.ExportSelectAllWidget.setObjectName("ExportSelectAllWidget")
|
||||||
|
self.horizontalLayout_2 = QtGui.QHBoxLayout(self.ExportSelectAllWidget)
|
||||||
|
self.horizontalLayout_2.setSpacing(6)
|
||||||
|
self.horizontalLayout_2.setMargin(0)
|
||||||
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
||||||
|
self.ExportSelectAllPushButton = QtGui.QPushButton(self.ExportSelectAllWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.ExportSelectAllPushButton.sizePolicy().hasHeightForWidth())
|
||||||
|
self.ExportSelectAllPushButton.setSizePolicy(sizePolicy)
|
||||||
|
self.ExportSelectAllPushButton.setMinimumSize(QtCore.QSize(100, 0))
|
||||||
|
icon2 = QtGui.QIcon()
|
||||||
|
icon2.addPixmap(QtGui.QPixmap(":/exports/export_selectall.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.ExportSelectAllPushButton.setIcon(icon2)
|
||||||
|
self.ExportSelectAllPushButton.setObjectName("ExportSelectAllPushButton")
|
||||||
|
self.horizontalLayout_2.addWidget(self.ExportSelectAllPushButton)
|
||||||
|
spacerItem = QtGui.QSpacerItem(89, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.horizontalLayout_2.addItem(spacerItem)
|
||||||
|
self.verticalLayout.addWidget(self.ExportSelectAllWidget)
|
||||||
|
self.exportFilterWidget = QtGui.QWidget(self.ExportFileSongListWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.exportFilterWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.exportFilterWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.exportFilterWidget.setMinimumSize(QtCore.QSize(0, 0))
|
||||||
|
self.exportFilterWidget.setObjectName("exportFilterWidget")
|
||||||
|
self.horizontalLayout_3 = QtGui.QHBoxLayout(self.exportFilterWidget)
|
||||||
|
self.horizontalLayout_3.setMargin(0)
|
||||||
|
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
||||||
|
self.ExportFilterComboBox = QtGui.QComboBox(self.exportFilterWidget)
|
||||||
|
self.ExportFilterComboBox.setMinimumSize(QtCore.QSize(70, 0))
|
||||||
|
self.ExportFilterComboBox.setObjectName("ExportFilterComboBox")
|
||||||
|
self.ExportFilterComboBox.addItem(QtCore.QString())
|
||||||
|
self.ExportFilterComboBox.addItem(QtCore.QString())
|
||||||
|
self.ExportFilterComboBox.addItem(QtCore.QString())
|
||||||
|
self.horizontalLayout_3.addWidget(self.ExportFilterComboBox)
|
||||||
|
self.ExportFilterLineEdit = QtGui.QLineEdit(self.exportFilterWidget)
|
||||||
|
self.ExportFilterLineEdit.setObjectName("ExportFilterLineEdit")
|
||||||
|
self.horizontalLayout_3.addWidget(self.ExportFilterLineEdit)
|
||||||
|
self.verticalLayout.addWidget(self.exportFilterWidget)
|
||||||
|
self.horizontalLayout_6.addWidget(self.ExportFileSongListWidget)
|
||||||
|
self.AddSelectedWidget = QtGui.QWidget(self.SongListFrame)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.AddSelectedWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.AddSelectedWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.AddSelectedWidget.setObjectName("AddSelectedWidget")
|
||||||
|
self.verticalLayout_3 = QtGui.QVBoxLayout(self.AddSelectedWidget)
|
||||||
|
self.verticalLayout_3.setMargin(0)
|
||||||
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
||||||
|
spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
|
||||||
|
self.verticalLayout_3.addItem(spacerItem1)
|
||||||
|
self.AddSelectedPushButton = QtGui.QPushButton(self.AddSelectedWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.AddSelectedPushButton.sizePolicy().hasHeightForWidth())
|
||||||
|
self.AddSelectedPushButton.setSizePolicy(sizePolicy)
|
||||||
|
self.AddSelectedPushButton.setMinimumSize(QtCore.QSize(25, 25))
|
||||||
|
icon3 = QtGui.QIcon()
|
||||||
|
icon3.addPixmap(QtGui.QPixmap(":/exports/export_move_to_list.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.AddSelectedPushButton.setIcon(icon3)
|
||||||
|
self.AddSelectedPushButton.setObjectName("AddSelectedPushButton")
|
||||||
|
self.verticalLayout_3.addWidget(self.AddSelectedPushButton)
|
||||||
|
spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
|
||||||
|
self.verticalLayout_3.addItem(spacerItem2)
|
||||||
|
self.horizontalLayout_6.addWidget(self.AddSelectedWidget)
|
||||||
|
self.SelectedFileListWidget = QtGui.QWidget(self.SongListFrame)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.SelectedFileListWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.SelectedFileListWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.SelectedFileListWidget.setObjectName("SelectedFileListWidget")
|
||||||
|
self.verticalLayout_2 = QtGui.QVBoxLayout(self.SelectedFileListWidget)
|
||||||
|
self.verticalLayout_2.setMargin(0)
|
||||||
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
||||||
|
self.SelectedListLabel = QtGui.QLabel(self.SelectedFileListWidget)
|
||||||
|
self.SelectedListLabel.setObjectName("SelectedListLabel")
|
||||||
|
self.verticalLayout_2.addWidget(self.SelectedListLabel)
|
||||||
|
self.SelectedListTable = QtGui.QTableWidget(self.SelectedFileListWidget)
|
||||||
|
self.SelectedListTable.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)
|
||||||
|
self.SelectedListTable.setShowGrid(False)
|
||||||
|
self.SelectedListTable.setWordWrap(False)
|
||||||
|
self.SelectedListTable.setCornerButtonEnabled(False)
|
||||||
|
self.SelectedListTable.setObjectName("SelectedListTable")
|
||||||
|
self.SelectedListTable.setColumnCount(2)
|
||||||
|
self.SelectedListTable.setRowCount(0)
|
||||||
|
item = QtGui.QTableWidgetItem()
|
||||||
|
self.SelectedListTable.setHorizontalHeaderItem(0, item)
|
||||||
|
item = QtGui.QTableWidgetItem()
|
||||||
|
self.SelectedListTable.setHorizontalHeaderItem(1, item)
|
||||||
|
self.verticalLayout_2.addWidget(self.SelectedListTable)
|
||||||
|
self.SelectedSelectAllWidget = QtGui.QWidget(self.SelectedFileListWidget)
|
||||||
|
self.SelectedSelectAllWidget.setObjectName("SelectedSelectAllWidget")
|
||||||
|
self.horizontalLayout_4 = QtGui.QHBoxLayout(self.SelectedSelectAllWidget)
|
||||||
|
self.horizontalLayout_4.setSpacing(6)
|
||||||
|
self.horizontalLayout_4.setMargin(0)
|
||||||
|
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
|
||||||
|
self.SelectedSelectAllPushButton = QtGui.QPushButton(self.SelectedSelectAllWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.SelectedSelectAllPushButton.sizePolicy().hasHeightForWidth())
|
||||||
|
self.SelectedSelectAllPushButton.setSizePolicy(sizePolicy)
|
||||||
|
self.SelectedSelectAllPushButton.setMinimumSize(QtCore.QSize(100, 0))
|
||||||
|
self.SelectedSelectAllPushButton.setIcon(icon2)
|
||||||
|
self.SelectedSelectAllPushButton.setObjectName("SelectedSelectAllPushButton")
|
||||||
|
self.horizontalLayout_4.addWidget(self.SelectedSelectAllPushButton)
|
||||||
|
spacerItem3 = QtGui.QSpacerItem(92, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.horizontalLayout_4.addItem(spacerItem3)
|
||||||
|
self.verticalLayout_2.addWidget(self.SelectedSelectAllWidget)
|
||||||
|
self.SelectedRemoveSelectedWidget = QtGui.QWidget(self.SelectedFileListWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.SelectedRemoveSelectedWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.SelectedRemoveSelectedWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.SelectedRemoveSelectedWidget.setObjectName("SelectedRemoveSelectedWidget")
|
||||||
|
self.horizontalLayout_5 = QtGui.QHBoxLayout(self.SelectedRemoveSelectedWidget)
|
||||||
|
self.horizontalLayout_5.setMargin(0)
|
||||||
|
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
|
||||||
|
self.SelectedRemoveSelectedButton = QtGui.QPushButton(self.SelectedRemoveSelectedWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.SelectedRemoveSelectedButton.sizePolicy().hasHeightForWidth())
|
||||||
|
self.SelectedRemoveSelectedButton.setSizePolicy(sizePolicy)
|
||||||
|
self.SelectedRemoveSelectedButton.setMinimumSize(QtCore.QSize(140, 0))
|
||||||
|
icon4 = QtGui.QIcon()
|
||||||
|
icon4.addPixmap(QtGui.QPixmap(":/exports/export_remove.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.SelectedRemoveSelectedButton.setIcon(icon4)
|
||||||
|
self.SelectedRemoveSelectedButton.setObjectName("SelectedRemoveSelectedButton")
|
||||||
|
self.horizontalLayout_5.addWidget(self.SelectedRemoveSelectedButton)
|
||||||
|
spacerItem4 = QtGui.QSpacerItem(49, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.horizontalLayout_5.addItem(spacerItem4)
|
||||||
|
self.verticalLayout_2.addWidget(self.SelectedRemoveSelectedWidget)
|
||||||
|
self.horizontalLayout_6.addWidget(self.SelectedFileListWidget)
|
||||||
|
self.verticalLayout_5.addWidget(self.SongListFrame)
|
||||||
|
self.ProgressGroupBox = QtGui.QGroupBox(self.OpenLPExportForm)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.ProgressGroupBox.sizePolicy().hasHeightForWidth())
|
||||||
|
self.ProgressGroupBox.setSizePolicy(sizePolicy)
|
||||||
|
self.ProgressGroupBox.setObjectName("ProgressGroupBox")
|
||||||
|
self.verticalLayout_4 = QtGui.QVBoxLayout(self.ProgressGroupBox)
|
||||||
|
self.verticalLayout_4.setSpacing(8)
|
||||||
|
self.verticalLayout_4.setContentsMargins(8, 0, 8, 8)
|
||||||
|
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
||||||
|
self.ProgressLabel = QtGui.QLabel(self.ProgressGroupBox)
|
||||||
|
self.ProgressLabel.setObjectName("ProgressLabel")
|
||||||
|
self.verticalLayout_4.addWidget(self.ProgressLabel)
|
||||||
|
self.ProgressBar = QtGui.QProgressBar(self.ProgressGroupBox)
|
||||||
|
self.ProgressBar.setProperty("value", QtCore.QVariant(24))
|
||||||
|
self.ProgressBar.setObjectName("ProgressBar")
|
||||||
|
self.verticalLayout_4.addWidget(self.ProgressBar)
|
||||||
|
self.verticalLayout_5.addWidget(self.ProgressGroupBox)
|
||||||
|
self.ButtonBarWidget = QtGui.QWidget(self.OpenLPExportForm)
|
||||||
|
self.ButtonBarWidget.setObjectName("ButtonBarWidget")
|
||||||
|
self.horizontalLayout_7 = QtGui.QHBoxLayout(self.ButtonBarWidget)
|
||||||
|
self.horizontalLayout_7.setSpacing(8)
|
||||||
|
self.horizontalLayout_7.setMargin(0)
|
||||||
|
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
|
||||||
|
spacerItem5 = QtGui.QSpacerItem(288, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.horizontalLayout_7.addItem(spacerItem5)
|
||||||
|
self.ExportPushButton = QtGui.QPushButton(self.ButtonBarWidget)
|
||||||
|
self.ExportPushButton.setObjectName("ExportPushButton")
|
||||||
|
self.horizontalLayout_7.addWidget(self.ExportPushButton)
|
||||||
|
self.ClosePushButton = QtGui.QPushButton(self.ButtonBarWidget)
|
||||||
|
self.ClosePushButton.setObjectName("ClosePushButton")
|
||||||
|
self.horizontalLayout_7.addWidget(self.ClosePushButton)
|
||||||
|
self.verticalLayout_5.addWidget(self.ButtonBarWidget)
|
||||||
|
|
||||||
|
self.retranslateUi()
|
||||||
|
QtCore.QObject.connect(self.ClosePushButton, QtCore.SIGNAL("clicked()"), self.OpenLPExportForm.close)
|
||||||
|
QtCore.QObject.connect(self.ExportSelectAllPushButton, QtCore.SIGNAL("clicked()"), self.ExportListTable.selectAll)
|
||||||
|
QtCore.QObject.connect(self.SelectedSelectAllPushButton, QtCore.SIGNAL("clicked()"), self.SelectedListTable.selectAll)
|
||||||
|
QtCore.QObject.connect(self.SelectedRemoveSelectedButton, QtCore.SIGNAL("clicked()"), self.SelectedListTable.clear)
|
||||||
|
QtCore.QMetaObject.connectSlotsByName(self.OpenLPExportForm)
|
||||||
|
|
||||||
|
def retranslateUi(self):
|
||||||
|
self.OpenLPExportForm.setWindowTitle(QtGui.QApplication.translate("OpenLPExportForm", "openlp.org Song Exporter", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportFileLabel.setText(QtGui.QApplication.translate("OpenLPExportForm", "Select openlp.org export filename:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportListLabel.setText(QtGui.QApplication.translate("OpenLPExportForm", "Full Song List", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportListTable.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("OpenLPExportForm", "Song Title", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportListTable.horizontalHeaderItem(1).setText(QtGui.QApplication.translate("OpenLPExportForm", "Author", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportSelectAllPushButton.setText(QtGui.QApplication.translate("OpenLPExportForm", "Select All", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportFilterComboBox.setItemText(0, QtGui.QApplication.translate("OpenLPExportForm", "Lyrics", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportFilterComboBox.setItemText(1, QtGui.QApplication.translate("OpenLPExportForm", "Title", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportFilterComboBox.setItemText(2, QtGui.QApplication.translate("OpenLPExportForm", "Author", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SelectedListLabel.setText(QtGui.QApplication.translate("OpenLPExportForm", "Song Export List", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SelectedListTable.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("OpenLPExportForm", "Song Title", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SelectedListTable.horizontalHeaderItem(1).setText(QtGui.QApplication.translate("OpenLPExportForm", "Author", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SelectedSelectAllPushButton.setText(QtGui.QApplication.translate("OpenLPExportForm", "Select All", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SelectedRemoveSelectedButton.setText(QtGui.QApplication.translate("OpenLPExportForm", "Remove Selected", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ProgressGroupBox.setTitle(QtGui.QApplication.translate("OpenLPExportForm", "Progress:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ProgressLabel.setText(QtGui.QApplication.translate("OpenLPExportForm", "Ready to export", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportPushButton.setText(QtGui.QApplication.translate("OpenLPExportForm", "Export", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ClosePushButton.setText(QtGui.QApplication.translate("OpenLPExportForm", "Close", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
|
||||||
|
def show(self):
|
||||||
|
self.OpenLPExportForm.show()
|
299
openlp/ui/forms/openlpimportform.py
Normal file
299
openlp/ui/forms/openlpimportform.py
Normal file
@ -0,0 +1,299 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Form implementation generated from reading ui file 'C:\Project Folders\Personal Projects\openlp-2\trunk\openlp\resources\forms\openlpimportform.ui'
|
||||||
|
#
|
||||||
|
# Created: Wed Nov 05 20:56:08 2008
|
||||||
|
# by: PyQt4 UI code generator 4.4.4-snapshot-20080918
|
||||||
|
#
|
||||||
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
|
||||||
|
from PyQt4 import QtCore, QtGui
|
||||||
|
|
||||||
|
from openlp.resources import *
|
||||||
|
|
||||||
|
class OpenLPImportForm(object):
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self.OpenLPImportForm = QtGui.QWidget()
|
||||||
|
self.setupUi()
|
||||||
|
|
||||||
|
def setupUi(self):
|
||||||
|
self.OpenLPImportForm.setObjectName("OpenLPImportForm")
|
||||||
|
self.OpenLPImportForm.resize(473, 459)
|
||||||
|
icon = QtGui.QIcon()
|
||||||
|
icon.addPixmap(QtGui.QPixmap(":/icon/openlp.org-icon-32.bmp"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.OpenLPImportForm.setWindowIcon(icon)
|
||||||
|
self.verticalLayout_5 = QtGui.QVBoxLayout(self.OpenLPImportForm)
|
||||||
|
self.verticalLayout_5.setMargin(8)
|
||||||
|
self.verticalLayout_5.setObjectName("verticalLayout_5")
|
||||||
|
self.ImportFileWidget = QtGui.QWidget(self.OpenLPImportForm)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.ImportFileWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.ImportFileWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.ImportFileWidget.setObjectName("ImportFileWidget")
|
||||||
|
self.horizontalLayout = QtGui.QHBoxLayout(self.ImportFileWidget)
|
||||||
|
self.horizontalLayout.setSpacing(3)
|
||||||
|
self.horizontalLayout.setMargin(0)
|
||||||
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
||||||
|
self.ImportFileLabel = QtGui.QLabel(self.ImportFileWidget)
|
||||||
|
self.ImportFileLabel.setObjectName("ImportFileLabel")
|
||||||
|
self.horizontalLayout.addWidget(self.ImportFileLabel)
|
||||||
|
self.ImportFileLineEdit = QtGui.QLineEdit(self.ImportFileWidget)
|
||||||
|
self.ImportFileLineEdit.setObjectName("ImportFileLineEdit")
|
||||||
|
self.horizontalLayout.addWidget(self.ImportFileLineEdit)
|
||||||
|
self.ImportFileSelectPushButton = QtGui.QPushButton(self.ImportFileWidget)
|
||||||
|
icon1 = QtGui.QIcon()
|
||||||
|
icon1.addPixmap(QtGui.QPixmap(":/imports/import_load.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.ImportFileSelectPushButton.setIcon(icon1)
|
||||||
|
self.ImportFileSelectPushButton.setObjectName("ImportFileSelectPushButton")
|
||||||
|
self.horizontalLayout.addWidget(self.ImportFileSelectPushButton)
|
||||||
|
self.verticalLayout_5.addWidget(self.ImportFileWidget)
|
||||||
|
self.SongListFrame = QtGui.QFrame(self.OpenLPImportForm)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.SongListFrame.sizePolicy().hasHeightForWidth())
|
||||||
|
self.SongListFrame.setSizePolicy(sizePolicy)
|
||||||
|
self.SongListFrame.setFrameShape(QtGui.QFrame.Box)
|
||||||
|
self.SongListFrame.setFrameShadow(QtGui.QFrame.Raised)
|
||||||
|
self.SongListFrame.setObjectName("SongListFrame")
|
||||||
|
self.horizontalLayout_6 = QtGui.QHBoxLayout(self.SongListFrame)
|
||||||
|
self.horizontalLayout_6.setSpacing(8)
|
||||||
|
self.horizontalLayout_6.setMargin(8)
|
||||||
|
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
|
||||||
|
self.ImportFileSongListWidget = QtGui.QWidget(self.SongListFrame)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.ImportFileSongListWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.ImportFileSongListWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.ImportFileSongListWidget.setObjectName("ImportFileSongListWidget")
|
||||||
|
self.verticalLayout = QtGui.QVBoxLayout(self.ImportFileSongListWidget)
|
||||||
|
self.verticalLayout.setSpacing(6)
|
||||||
|
self.verticalLayout.setMargin(0)
|
||||||
|
self.verticalLayout.setObjectName("verticalLayout")
|
||||||
|
self.ImportListLabel = QtGui.QLabel(self.ImportFileSongListWidget)
|
||||||
|
self.ImportListLabel.setObjectName("ImportListLabel")
|
||||||
|
self.verticalLayout.addWidget(self.ImportListLabel)
|
||||||
|
self.ImportListTable = QtGui.QTableWidget(self.ImportFileSongListWidget)
|
||||||
|
self.ImportListTable.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)
|
||||||
|
self.ImportListTable.setShowGrid(False)
|
||||||
|
self.ImportListTable.setWordWrap(False)
|
||||||
|
self.ImportListTable.setCornerButtonEnabled(False)
|
||||||
|
self.ImportListTable.setObjectName("ImportListTable")
|
||||||
|
self.ImportListTable.setColumnCount(2)
|
||||||
|
self.ImportListTable.setRowCount(0)
|
||||||
|
item = QtGui.QTableWidgetItem()
|
||||||
|
self.ImportListTable.setHorizontalHeaderItem(0, item)
|
||||||
|
item = QtGui.QTableWidgetItem()
|
||||||
|
self.ImportListTable.setHorizontalHeaderItem(1, item)
|
||||||
|
self.verticalLayout.addWidget(self.ImportListTable)
|
||||||
|
self.ImportSelectAllWidget = QtGui.QWidget(self.ImportFileSongListWidget)
|
||||||
|
self.ImportSelectAllWidget.setObjectName("ImportSelectAllWidget")
|
||||||
|
self.horizontalLayout_2 = QtGui.QHBoxLayout(self.ImportSelectAllWidget)
|
||||||
|
self.horizontalLayout_2.setSpacing(6)
|
||||||
|
self.horizontalLayout_2.setMargin(0)
|
||||||
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
||||||
|
self.ImportSelectAllPushButton = QtGui.QPushButton(self.ImportSelectAllWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.ImportSelectAllPushButton.sizePolicy().hasHeightForWidth())
|
||||||
|
self.ImportSelectAllPushButton.setSizePolicy(sizePolicy)
|
||||||
|
self.ImportSelectAllPushButton.setMinimumSize(QtCore.QSize(100, 0))
|
||||||
|
icon2 = QtGui.QIcon()
|
||||||
|
icon2.addPixmap(QtGui.QPixmap(":/imports/import_selectall.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.ImportSelectAllPushButton.setIcon(icon2)
|
||||||
|
self.ImportSelectAllPushButton.setObjectName("ImportSelectAllPushButton")
|
||||||
|
self.horizontalLayout_2.addWidget(self.ImportSelectAllPushButton)
|
||||||
|
spacerItem = QtGui.QSpacerItem(89, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.horizontalLayout_2.addItem(spacerItem)
|
||||||
|
self.verticalLayout.addWidget(self.ImportSelectAllWidget)
|
||||||
|
self.importFilterWidget = QtGui.QWidget(self.ImportFileSongListWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.importFilterWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.importFilterWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.importFilterWidget.setMinimumSize(QtCore.QSize(0, 0))
|
||||||
|
self.importFilterWidget.setObjectName("importFilterWidget")
|
||||||
|
self.horizontalLayout_3 = QtGui.QHBoxLayout(self.importFilterWidget)
|
||||||
|
self.horizontalLayout_3.setMargin(0)
|
||||||
|
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
||||||
|
self.ImportFilterComboBox = QtGui.QComboBox(self.importFilterWidget)
|
||||||
|
self.ImportFilterComboBox.setMinimumSize(QtCore.QSize(70, 0))
|
||||||
|
self.ImportFilterComboBox.setObjectName("ImportFilterComboBox")
|
||||||
|
self.ImportFilterComboBox.addItem(QtCore.QString())
|
||||||
|
self.ImportFilterComboBox.addItem(QtCore.QString())
|
||||||
|
self.ImportFilterComboBox.addItem(QtCore.QString())
|
||||||
|
self.horizontalLayout_3.addWidget(self.ImportFilterComboBox)
|
||||||
|
self.importFilterLineEdit = QtGui.QLineEdit(self.importFilterWidget)
|
||||||
|
self.importFilterLineEdit.setObjectName("importFilterLineEdit")
|
||||||
|
self.horizontalLayout_3.addWidget(self.importFilterLineEdit)
|
||||||
|
self.verticalLayout.addWidget(self.importFilterWidget)
|
||||||
|
self.horizontalLayout_6.addWidget(self.ImportFileSongListWidget)
|
||||||
|
self.AddSelectedWidget = QtGui.QWidget(self.SongListFrame)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.AddSelectedWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.AddSelectedWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.AddSelectedWidget.setObjectName("AddSelectedWidget")
|
||||||
|
self.verticalLayout_3 = QtGui.QVBoxLayout(self.AddSelectedWidget)
|
||||||
|
self.verticalLayout_3.setMargin(0)
|
||||||
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
||||||
|
spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
|
||||||
|
self.verticalLayout_3.addItem(spacerItem1)
|
||||||
|
self.AddSelectedPushButton = QtGui.QPushButton(self.AddSelectedWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.AddSelectedPushButton.sizePolicy().hasHeightForWidth())
|
||||||
|
self.AddSelectedPushButton.setSizePolicy(sizePolicy)
|
||||||
|
self.AddSelectedPushButton.setMinimumSize(QtCore.QSize(25, 25))
|
||||||
|
icon3 = QtGui.QIcon()
|
||||||
|
icon3.addPixmap(QtGui.QPixmap(":/imports/import_move_to_list.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.AddSelectedPushButton.setIcon(icon3)
|
||||||
|
self.AddSelectedPushButton.setObjectName("AddSelectedPushButton")
|
||||||
|
self.verticalLayout_3.addWidget(self.AddSelectedPushButton)
|
||||||
|
spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
|
||||||
|
self.verticalLayout_3.addItem(spacerItem2)
|
||||||
|
self.horizontalLayout_6.addWidget(self.AddSelectedWidget)
|
||||||
|
self.SelectedFileListWidget = QtGui.QWidget(self.SongListFrame)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.SelectedFileListWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.SelectedFileListWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.SelectedFileListWidget.setObjectName("SelectedFileListWidget")
|
||||||
|
self.verticalLayout_2 = QtGui.QVBoxLayout(self.SelectedFileListWidget)
|
||||||
|
self.verticalLayout_2.setMargin(0)
|
||||||
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
||||||
|
self.SelectedListLabel = QtGui.QLabel(self.SelectedFileListWidget)
|
||||||
|
self.SelectedListLabel.setObjectName("SelectedListLabel")
|
||||||
|
self.verticalLayout_2.addWidget(self.SelectedListLabel)
|
||||||
|
self.SelectedListTable = QtGui.QTableWidget(self.SelectedFileListWidget)
|
||||||
|
self.SelectedListTable.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)
|
||||||
|
self.SelectedListTable.setShowGrid(False)
|
||||||
|
self.SelectedListTable.setWordWrap(False)
|
||||||
|
self.SelectedListTable.setCornerButtonEnabled(False)
|
||||||
|
self.SelectedListTable.setObjectName("SelectedListTable")
|
||||||
|
self.SelectedListTable.setColumnCount(2)
|
||||||
|
self.SelectedListTable.setRowCount(0)
|
||||||
|
item = QtGui.QTableWidgetItem()
|
||||||
|
self.SelectedListTable.setHorizontalHeaderItem(0, item)
|
||||||
|
item = QtGui.QTableWidgetItem()
|
||||||
|
self.SelectedListTable.setHorizontalHeaderItem(1, item)
|
||||||
|
self.verticalLayout_2.addWidget(self.SelectedListTable)
|
||||||
|
self.SelectedSelectAllWidget = QtGui.QWidget(self.SelectedFileListWidget)
|
||||||
|
self.SelectedSelectAllWidget.setObjectName("SelectedSelectAllWidget")
|
||||||
|
self.horizontalLayout_4 = QtGui.QHBoxLayout(self.SelectedSelectAllWidget)
|
||||||
|
self.horizontalLayout_4.setSpacing(6)
|
||||||
|
self.horizontalLayout_4.setMargin(0)
|
||||||
|
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
|
||||||
|
self.SelectedSelectAllPushButton = QtGui.QPushButton(self.SelectedSelectAllWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.SelectedSelectAllPushButton.sizePolicy().hasHeightForWidth())
|
||||||
|
self.SelectedSelectAllPushButton.setSizePolicy(sizePolicy)
|
||||||
|
self.SelectedSelectAllPushButton.setMinimumSize(QtCore.QSize(100, 0))
|
||||||
|
self.SelectedSelectAllPushButton.setIcon(icon2)
|
||||||
|
self.SelectedSelectAllPushButton.setObjectName("SelectedSelectAllPushButton")
|
||||||
|
self.horizontalLayout_4.addWidget(self.SelectedSelectAllPushButton)
|
||||||
|
spacerItem3 = QtGui.QSpacerItem(92, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.horizontalLayout_4.addItem(spacerItem3)
|
||||||
|
self.verticalLayout_2.addWidget(self.SelectedSelectAllWidget)
|
||||||
|
self.SelectedRemoveSelectedWidget = QtGui.QWidget(self.SelectedFileListWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.SelectedRemoveSelectedWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.SelectedRemoveSelectedWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.SelectedRemoveSelectedWidget.setObjectName("SelectedRemoveSelectedWidget")
|
||||||
|
self.horizontalLayout_5 = QtGui.QHBoxLayout(self.SelectedRemoveSelectedWidget)
|
||||||
|
self.horizontalLayout_5.setMargin(0)
|
||||||
|
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
|
||||||
|
self.SelectedRemoveSelectedButton = QtGui.QPushButton(self.SelectedRemoveSelectedWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.SelectedRemoveSelectedButton.sizePolicy().hasHeightForWidth())
|
||||||
|
self.SelectedRemoveSelectedButton.setSizePolicy(sizePolicy)
|
||||||
|
self.SelectedRemoveSelectedButton.setMinimumSize(QtCore.QSize(140, 0))
|
||||||
|
icon4 = QtGui.QIcon()
|
||||||
|
icon4.addPixmap(QtGui.QPixmap(":/imports/import_remove.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.SelectedRemoveSelectedButton.setIcon(icon4)
|
||||||
|
self.SelectedRemoveSelectedButton.setObjectName("SelectedRemoveSelectedButton")
|
||||||
|
self.horizontalLayout_5.addWidget(self.SelectedRemoveSelectedButton)
|
||||||
|
spacerItem4 = QtGui.QSpacerItem(49, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.horizontalLayout_5.addItem(spacerItem4)
|
||||||
|
self.verticalLayout_2.addWidget(self.SelectedRemoveSelectedWidget)
|
||||||
|
self.horizontalLayout_6.addWidget(self.SelectedFileListWidget)
|
||||||
|
self.verticalLayout_5.addWidget(self.SongListFrame)
|
||||||
|
self.ProgressGroupBox = QtGui.QGroupBox(self.OpenLPImportForm)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.ProgressGroupBox.sizePolicy().hasHeightForWidth())
|
||||||
|
self.ProgressGroupBox.setSizePolicy(sizePolicy)
|
||||||
|
self.ProgressGroupBox.setObjectName("ProgressGroupBox")
|
||||||
|
self.verticalLayout_4 = QtGui.QVBoxLayout(self.ProgressGroupBox)
|
||||||
|
self.verticalLayout_4.setSpacing(8)
|
||||||
|
self.verticalLayout_4.setContentsMargins(8, 0, 8, 8)
|
||||||
|
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
||||||
|
self.ProgressLabel = QtGui.QLabel(self.ProgressGroupBox)
|
||||||
|
self.ProgressLabel.setObjectName("ProgressLabel")
|
||||||
|
self.verticalLayout_4.addWidget(self.ProgressLabel)
|
||||||
|
self.ProgressBar = QtGui.QProgressBar(self.ProgressGroupBox)
|
||||||
|
self.ProgressBar.setProperty("value", QtCore.QVariant(0))
|
||||||
|
self.ProgressBar.setObjectName("ProgressBar")
|
||||||
|
self.verticalLayout_4.addWidget(self.ProgressBar)
|
||||||
|
self.verticalLayout_5.addWidget(self.ProgressGroupBox)
|
||||||
|
self.ButtonBarWidget = QtGui.QWidget(self.OpenLPImportForm)
|
||||||
|
self.ButtonBarWidget.setObjectName("ButtonBarWidget")
|
||||||
|
self.horizontalLayout_7 = QtGui.QHBoxLayout(self.ButtonBarWidget)
|
||||||
|
self.horizontalLayout_7.setSpacing(8)
|
||||||
|
self.horizontalLayout_7.setMargin(0)
|
||||||
|
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
|
||||||
|
spacerItem5 = QtGui.QSpacerItem(288, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.horizontalLayout_7.addItem(spacerItem5)
|
||||||
|
self.ImportPushButton = QtGui.QPushButton(self.ButtonBarWidget)
|
||||||
|
self.ImportPushButton.setObjectName("ImportPushButton")
|
||||||
|
self.horizontalLayout_7.addWidget(self.ImportPushButton)
|
||||||
|
self.ClosePushButton = QtGui.QPushButton(self.ButtonBarWidget)
|
||||||
|
self.ClosePushButton.setObjectName("ClosePushButton")
|
||||||
|
self.horizontalLayout_7.addWidget(self.ClosePushButton)
|
||||||
|
self.verticalLayout_5.addWidget(self.ButtonBarWidget)
|
||||||
|
|
||||||
|
self.retranslateUi()
|
||||||
|
QtCore.QObject.connect(self.ClosePushButton, QtCore.SIGNAL("clicked()"), self.OpenLPImportForm.close)
|
||||||
|
QtCore.QObject.connect(self.ImportSelectAllPushButton, QtCore.SIGNAL("clicked()"), self.ImportListTable.selectAll)
|
||||||
|
QtCore.QObject.connect(self.SelectedSelectAllPushButton, QtCore.SIGNAL("clicked()"), self.SelectedListTable.selectAll)
|
||||||
|
QtCore.QObject.connect(self.SelectedRemoveSelectedButton, QtCore.SIGNAL("clicked()"), self.SelectedListTable.clear)
|
||||||
|
QtCore.QMetaObject.connectSlotsByName(self.OpenLPImportForm)
|
||||||
|
|
||||||
|
def retranslateUi(self):
|
||||||
|
self.OpenLPImportForm.setWindowTitle(QtGui.QApplication.translate("OpenLPImportForm", "openlp.org Song Importer", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ImportFileLabel.setText(QtGui.QApplication.translate("OpenLPImportForm", "Select openlp.org songfile to import:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ImportListLabel.setText(QtGui.QApplication.translate("OpenLPImportForm", "Import File Song List", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ImportListTable.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("OpenLPImportForm", "Song Title", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ImportListTable.horizontalHeaderItem(1).setText(QtGui.QApplication.translate("OpenLPImportForm", "Author", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ImportSelectAllPushButton.setText(QtGui.QApplication.translate("OpenLPImportForm", "Select All", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ImportFilterComboBox.setItemText(0, QtGui.QApplication.translate("OpenLPImportForm", "Lyrics", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ImportFilterComboBox.setItemText(1, QtGui.QApplication.translate("OpenLPImportForm", "Title", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ImportFilterComboBox.setItemText(2, QtGui.QApplication.translate("OpenLPImportForm", "Author", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SelectedListLabel.setText(QtGui.QApplication.translate("OpenLPImportForm", "Song Import List", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SelectedListTable.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("OpenLPImportForm", "Song Title", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SelectedListTable.horizontalHeaderItem(1).setText(QtGui.QApplication.translate("OpenLPImportForm", "Author", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SelectedSelectAllPushButton.setText(QtGui.QApplication.translate("OpenLPImportForm", "Select All", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SelectedRemoveSelectedButton.setText(QtGui.QApplication.translate("OpenLPImportForm", "Remove Selected", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ProgressGroupBox.setTitle(QtGui.QApplication.translate("OpenLPImportForm", "Progress:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ProgressLabel.setText(QtGui.QApplication.translate("OpenLPImportForm", "Ready to import", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ImportPushButton.setText(QtGui.QApplication.translate("OpenLPImportForm", "Import", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ClosePushButton.setText(QtGui.QApplication.translate("OpenLPImportForm", "Close", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
|
||||||
|
def show(self):
|
||||||
|
self.OpenLPImportForm.show()
|
299
openlp/ui/forms/opensongexportform.py
Normal file
299
openlp/ui/forms/opensongexportform.py
Normal file
@ -0,0 +1,299 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Form implementation generated from reading ui file 'C:\Project Folders\Personal Projects\openlp-2\trunk\openlp\resources\forms\opensongexportform.ui'
|
||||||
|
#
|
||||||
|
# Created: Wed Nov 05 20:56:41 2008
|
||||||
|
# by: PyQt4 UI code generator 4.4.4-snapshot-20080918
|
||||||
|
#
|
||||||
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
|
||||||
|
from PyQt4 import QtCore, QtGui
|
||||||
|
|
||||||
|
from openlp.resources import *
|
||||||
|
|
||||||
|
class OpenSongExportForm(object):
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self.OpenSongExportForm = QtGui.QWidget()
|
||||||
|
self.setupUi()
|
||||||
|
|
||||||
|
def setupUi(self):
|
||||||
|
self.OpenSongExportForm.setObjectName("OpenSongExportForm")
|
||||||
|
self.OpenSongExportForm.resize(473, 459)
|
||||||
|
icon = QtGui.QIcon()
|
||||||
|
icon.addPixmap(QtGui.QPixmap(":/icon/openlp.org-icon-32.bmp"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.OpenSongExportForm.setWindowIcon(icon)
|
||||||
|
self.verticalLayout_5 = QtGui.QVBoxLayout(self.OpenSongExportForm)
|
||||||
|
self.verticalLayout_5.setMargin(8)
|
||||||
|
self.verticalLayout_5.setObjectName("verticalLayout_5")
|
||||||
|
self.ExportFileWidget = QtGui.QWidget(self.OpenSongExportForm)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.ExportFileWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.ExportFileWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.ExportFileWidget.setObjectName("ExportFileWidget")
|
||||||
|
self.horizontalLayout = QtGui.QHBoxLayout(self.ExportFileWidget)
|
||||||
|
self.horizontalLayout.setSpacing(3)
|
||||||
|
self.horizontalLayout.setMargin(0)
|
||||||
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
||||||
|
self.ExportFileLabel = QtGui.QLabel(self.ExportFileWidget)
|
||||||
|
self.ExportFileLabel.setObjectName("ExportFileLabel")
|
||||||
|
self.horizontalLayout.addWidget(self.ExportFileLabel)
|
||||||
|
self.ExportFileLineEdit = QtGui.QLineEdit(self.ExportFileWidget)
|
||||||
|
self.ExportFileLineEdit.setObjectName("ExportFileLineEdit")
|
||||||
|
self.horizontalLayout.addWidget(self.ExportFileLineEdit)
|
||||||
|
self.ExportFileSelectPushButton = QtGui.QPushButton(self.ExportFileWidget)
|
||||||
|
icon1 = QtGui.QIcon()
|
||||||
|
icon1.addPixmap(QtGui.QPixmap(":/exports/export_load.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.ExportFileSelectPushButton.setIcon(icon1)
|
||||||
|
self.ExportFileSelectPushButton.setObjectName("ExportFileSelectPushButton")
|
||||||
|
self.horizontalLayout.addWidget(self.ExportFileSelectPushButton)
|
||||||
|
self.verticalLayout_5.addWidget(self.ExportFileWidget)
|
||||||
|
self.SongListFrame = QtGui.QFrame(self.OpenSongExportForm)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.SongListFrame.sizePolicy().hasHeightForWidth())
|
||||||
|
self.SongListFrame.setSizePolicy(sizePolicy)
|
||||||
|
self.SongListFrame.setFrameShape(QtGui.QFrame.Box)
|
||||||
|
self.SongListFrame.setFrameShadow(QtGui.QFrame.Raised)
|
||||||
|
self.SongListFrame.setObjectName("SongListFrame")
|
||||||
|
self.horizontalLayout_6 = QtGui.QHBoxLayout(self.SongListFrame)
|
||||||
|
self.horizontalLayout_6.setSpacing(8)
|
||||||
|
self.horizontalLayout_6.setMargin(8)
|
||||||
|
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
|
||||||
|
self.ExportFileSongListWidget = QtGui.QWidget(self.SongListFrame)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.ExportFileSongListWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.ExportFileSongListWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.ExportFileSongListWidget.setObjectName("ExportFileSongListWidget")
|
||||||
|
self.verticalLayout = QtGui.QVBoxLayout(self.ExportFileSongListWidget)
|
||||||
|
self.verticalLayout.setSpacing(6)
|
||||||
|
self.verticalLayout.setMargin(0)
|
||||||
|
self.verticalLayout.setObjectName("verticalLayout")
|
||||||
|
self.ExportListLabel = QtGui.QLabel(self.ExportFileSongListWidget)
|
||||||
|
self.ExportListLabel.setObjectName("ExportListLabel")
|
||||||
|
self.verticalLayout.addWidget(self.ExportListLabel)
|
||||||
|
self.ExportListTable = QtGui.QTableWidget(self.ExportFileSongListWidget)
|
||||||
|
self.ExportListTable.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)
|
||||||
|
self.ExportListTable.setShowGrid(False)
|
||||||
|
self.ExportListTable.setWordWrap(False)
|
||||||
|
self.ExportListTable.setCornerButtonEnabled(False)
|
||||||
|
self.ExportListTable.setObjectName("ExportListTable")
|
||||||
|
self.ExportListTable.setColumnCount(2)
|
||||||
|
self.ExportListTable.setRowCount(0)
|
||||||
|
item = QtGui.QTableWidgetItem()
|
||||||
|
self.ExportListTable.setHorizontalHeaderItem(0, item)
|
||||||
|
item = QtGui.QTableWidgetItem()
|
||||||
|
self.ExportListTable.setHorizontalHeaderItem(1, item)
|
||||||
|
self.verticalLayout.addWidget(self.ExportListTable)
|
||||||
|
self.ExportSelectAllWidget = QtGui.QWidget(self.ExportFileSongListWidget)
|
||||||
|
self.ExportSelectAllWidget.setObjectName("ExportSelectAllWidget")
|
||||||
|
self.horizontalLayout_2 = QtGui.QHBoxLayout(self.ExportSelectAllWidget)
|
||||||
|
self.horizontalLayout_2.setSpacing(6)
|
||||||
|
self.horizontalLayout_2.setMargin(0)
|
||||||
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
||||||
|
self.ExportSelectAllPushButton = QtGui.QPushButton(self.ExportSelectAllWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.ExportSelectAllPushButton.sizePolicy().hasHeightForWidth())
|
||||||
|
self.ExportSelectAllPushButton.setSizePolicy(sizePolicy)
|
||||||
|
self.ExportSelectAllPushButton.setMinimumSize(QtCore.QSize(100, 0))
|
||||||
|
icon2 = QtGui.QIcon()
|
||||||
|
icon2.addPixmap(QtGui.QPixmap(":/exports/export_selectall.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.ExportSelectAllPushButton.setIcon(icon2)
|
||||||
|
self.ExportSelectAllPushButton.setObjectName("ExportSelectAllPushButton")
|
||||||
|
self.horizontalLayout_2.addWidget(self.ExportSelectAllPushButton)
|
||||||
|
spacerItem = QtGui.QSpacerItem(89, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.horizontalLayout_2.addItem(spacerItem)
|
||||||
|
self.verticalLayout.addWidget(self.ExportSelectAllWidget)
|
||||||
|
self.exportFilterWidget = QtGui.QWidget(self.ExportFileSongListWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.exportFilterWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.exportFilterWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.exportFilterWidget.setMinimumSize(QtCore.QSize(0, 0))
|
||||||
|
self.exportFilterWidget.setObjectName("exportFilterWidget")
|
||||||
|
self.horizontalLayout_3 = QtGui.QHBoxLayout(self.exportFilterWidget)
|
||||||
|
self.horizontalLayout_3.setMargin(0)
|
||||||
|
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
||||||
|
self.ExportFilterComboBox = QtGui.QComboBox(self.exportFilterWidget)
|
||||||
|
self.ExportFilterComboBox.setMinimumSize(QtCore.QSize(70, 0))
|
||||||
|
self.ExportFilterComboBox.setObjectName("ExportFilterComboBox")
|
||||||
|
self.ExportFilterComboBox.addItem(QtCore.QString())
|
||||||
|
self.ExportFilterComboBox.addItem(QtCore.QString())
|
||||||
|
self.ExportFilterComboBox.addItem(QtCore.QString())
|
||||||
|
self.horizontalLayout_3.addWidget(self.ExportFilterComboBox)
|
||||||
|
self.ExportFilterLineEdit = QtGui.QLineEdit(self.exportFilterWidget)
|
||||||
|
self.ExportFilterLineEdit.setObjectName("ExportFilterLineEdit")
|
||||||
|
self.horizontalLayout_3.addWidget(self.ExportFilterLineEdit)
|
||||||
|
self.verticalLayout.addWidget(self.exportFilterWidget)
|
||||||
|
self.horizontalLayout_6.addWidget(self.ExportFileSongListWidget)
|
||||||
|
self.AddSelectedWidget = QtGui.QWidget(self.SongListFrame)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.AddSelectedWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.AddSelectedWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.AddSelectedWidget.setObjectName("AddSelectedWidget")
|
||||||
|
self.verticalLayout_3 = QtGui.QVBoxLayout(self.AddSelectedWidget)
|
||||||
|
self.verticalLayout_3.setMargin(0)
|
||||||
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
||||||
|
spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
|
||||||
|
self.verticalLayout_3.addItem(spacerItem1)
|
||||||
|
self.AddSelectedPushButton = QtGui.QPushButton(self.AddSelectedWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.AddSelectedPushButton.sizePolicy().hasHeightForWidth())
|
||||||
|
self.AddSelectedPushButton.setSizePolicy(sizePolicy)
|
||||||
|
self.AddSelectedPushButton.setMinimumSize(QtCore.QSize(25, 25))
|
||||||
|
icon3 = QtGui.QIcon()
|
||||||
|
icon3.addPixmap(QtGui.QPixmap(":/exports/export_move_to_list.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.AddSelectedPushButton.setIcon(icon3)
|
||||||
|
self.AddSelectedPushButton.setObjectName("AddSelectedPushButton")
|
||||||
|
self.verticalLayout_3.addWidget(self.AddSelectedPushButton)
|
||||||
|
spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
|
||||||
|
self.verticalLayout_3.addItem(spacerItem2)
|
||||||
|
self.horizontalLayout_6.addWidget(self.AddSelectedWidget)
|
||||||
|
self.SelectedFileListWidget = QtGui.QWidget(self.SongListFrame)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.SelectedFileListWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.SelectedFileListWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.SelectedFileListWidget.setObjectName("SelectedFileListWidget")
|
||||||
|
self.verticalLayout_2 = QtGui.QVBoxLayout(self.SelectedFileListWidget)
|
||||||
|
self.verticalLayout_2.setMargin(0)
|
||||||
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
||||||
|
self.SelectedListLabel = QtGui.QLabel(self.SelectedFileListWidget)
|
||||||
|
self.SelectedListLabel.setObjectName("SelectedListLabel")
|
||||||
|
self.verticalLayout_2.addWidget(self.SelectedListLabel)
|
||||||
|
self.SelectedListTable = QtGui.QTableWidget(self.SelectedFileListWidget)
|
||||||
|
self.SelectedListTable.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)
|
||||||
|
self.SelectedListTable.setShowGrid(False)
|
||||||
|
self.SelectedListTable.setWordWrap(False)
|
||||||
|
self.SelectedListTable.setCornerButtonEnabled(False)
|
||||||
|
self.SelectedListTable.setObjectName("SelectedListTable")
|
||||||
|
self.SelectedListTable.setColumnCount(2)
|
||||||
|
self.SelectedListTable.setRowCount(0)
|
||||||
|
item = QtGui.QTableWidgetItem()
|
||||||
|
self.SelectedListTable.setHorizontalHeaderItem(0, item)
|
||||||
|
item = QtGui.QTableWidgetItem()
|
||||||
|
self.SelectedListTable.setHorizontalHeaderItem(1, item)
|
||||||
|
self.verticalLayout_2.addWidget(self.SelectedListTable)
|
||||||
|
self.SelectedSelectAllWidget = QtGui.QWidget(self.SelectedFileListWidget)
|
||||||
|
self.SelectedSelectAllWidget.setObjectName("SelectedSelectAllWidget")
|
||||||
|
self.horizontalLayout_4 = QtGui.QHBoxLayout(self.SelectedSelectAllWidget)
|
||||||
|
self.horizontalLayout_4.setSpacing(6)
|
||||||
|
self.horizontalLayout_4.setMargin(0)
|
||||||
|
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
|
||||||
|
self.SelectedSelectAllPushButton = QtGui.QPushButton(self.SelectedSelectAllWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.SelectedSelectAllPushButton.sizePolicy().hasHeightForWidth())
|
||||||
|
self.SelectedSelectAllPushButton.setSizePolicy(sizePolicy)
|
||||||
|
self.SelectedSelectAllPushButton.setMinimumSize(QtCore.QSize(100, 0))
|
||||||
|
self.SelectedSelectAllPushButton.setIcon(icon2)
|
||||||
|
self.SelectedSelectAllPushButton.setObjectName("SelectedSelectAllPushButton")
|
||||||
|
self.horizontalLayout_4.addWidget(self.SelectedSelectAllPushButton)
|
||||||
|
spacerItem3 = QtGui.QSpacerItem(92, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.horizontalLayout_4.addItem(spacerItem3)
|
||||||
|
self.verticalLayout_2.addWidget(self.SelectedSelectAllWidget)
|
||||||
|
self.SelectedRemoveSelectedWidget = QtGui.QWidget(self.SelectedFileListWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.SelectedRemoveSelectedWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.SelectedRemoveSelectedWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.SelectedRemoveSelectedWidget.setObjectName("SelectedRemoveSelectedWidget")
|
||||||
|
self.horizontalLayout_5 = QtGui.QHBoxLayout(self.SelectedRemoveSelectedWidget)
|
||||||
|
self.horizontalLayout_5.setMargin(0)
|
||||||
|
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
|
||||||
|
self.SelectedRemoveSelectedButton = QtGui.QPushButton(self.SelectedRemoveSelectedWidget)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.SelectedRemoveSelectedButton.sizePolicy().hasHeightForWidth())
|
||||||
|
self.SelectedRemoveSelectedButton.setSizePolicy(sizePolicy)
|
||||||
|
self.SelectedRemoveSelectedButton.setMinimumSize(QtCore.QSize(140, 0))
|
||||||
|
icon4 = QtGui.QIcon()
|
||||||
|
icon4.addPixmap(QtGui.QPixmap(":/exports/export_remove.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.SelectedRemoveSelectedButton.setIcon(icon4)
|
||||||
|
self.SelectedRemoveSelectedButton.setObjectName("SelectedRemoveSelectedButton")
|
||||||
|
self.horizontalLayout_5.addWidget(self.SelectedRemoveSelectedButton)
|
||||||
|
spacerItem4 = QtGui.QSpacerItem(49, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.horizontalLayout_5.addItem(spacerItem4)
|
||||||
|
self.verticalLayout_2.addWidget(self.SelectedRemoveSelectedWidget)
|
||||||
|
self.horizontalLayout_6.addWidget(self.SelectedFileListWidget)
|
||||||
|
self.verticalLayout_5.addWidget(self.SongListFrame)
|
||||||
|
self.ProgressGroupBox = QtGui.QGroupBox(self.OpenSongExportForm)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.ProgressGroupBox.sizePolicy().hasHeightForWidth())
|
||||||
|
self.ProgressGroupBox.setSizePolicy(sizePolicy)
|
||||||
|
self.ProgressGroupBox.setObjectName("ProgressGroupBox")
|
||||||
|
self.verticalLayout_4 = QtGui.QVBoxLayout(self.ProgressGroupBox)
|
||||||
|
self.verticalLayout_4.setSpacing(8)
|
||||||
|
self.verticalLayout_4.setContentsMargins(8, 0, 8, 8)
|
||||||
|
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
||||||
|
self.ProgressLabel = QtGui.QLabel(self.ProgressGroupBox)
|
||||||
|
self.ProgressLabel.setObjectName("ProgressLabel")
|
||||||
|
self.verticalLayout_4.addWidget(self.ProgressLabel)
|
||||||
|
self.ProgressBar = QtGui.QProgressBar(self.ProgressGroupBox)
|
||||||
|
self.ProgressBar.setProperty("value", QtCore.QVariant(24))
|
||||||
|
self.ProgressBar.setObjectName("ProgressBar")
|
||||||
|
self.verticalLayout_4.addWidget(self.ProgressBar)
|
||||||
|
self.verticalLayout_5.addWidget(self.ProgressGroupBox)
|
||||||
|
self.ButtonBarWidget = QtGui.QWidget(self.OpenSongExportForm)
|
||||||
|
self.ButtonBarWidget.setObjectName("ButtonBarWidget")
|
||||||
|
self.horizontalLayout_7 = QtGui.QHBoxLayout(self.ButtonBarWidget)
|
||||||
|
self.horizontalLayout_7.setSpacing(8)
|
||||||
|
self.horizontalLayout_7.setMargin(0)
|
||||||
|
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
|
||||||
|
spacerItem5 = QtGui.QSpacerItem(288, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.horizontalLayout_7.addItem(spacerItem5)
|
||||||
|
self.ExportPushButton = QtGui.QPushButton(self.ButtonBarWidget)
|
||||||
|
self.ExportPushButton.setObjectName("ExportPushButton")
|
||||||
|
self.horizontalLayout_7.addWidget(self.ExportPushButton)
|
||||||
|
self.ClosePushButton = QtGui.QPushButton(self.ButtonBarWidget)
|
||||||
|
self.ClosePushButton.setObjectName("ClosePushButton")
|
||||||
|
self.horizontalLayout_7.addWidget(self.ClosePushButton)
|
||||||
|
self.verticalLayout_5.addWidget(self.ButtonBarWidget)
|
||||||
|
|
||||||
|
self.retranslateUi()
|
||||||
|
QtCore.QObject.connect(self.ClosePushButton, QtCore.SIGNAL("clicked()"), self.OpenSongExportForm.close)
|
||||||
|
QtCore.QObject.connect(self.ExportSelectAllPushButton, QtCore.SIGNAL("clicked()"), self.ExportListTable.selectAll)
|
||||||
|
QtCore.QObject.connect(self.SelectedSelectAllPushButton, QtCore.SIGNAL("clicked()"), self.SelectedListTable.selectAll)
|
||||||
|
QtCore.QObject.connect(self.SelectedRemoveSelectedButton, QtCore.SIGNAL("clicked()"), self.SelectedListTable.clear)
|
||||||
|
QtCore.QMetaObject.connectSlotsByName(self.OpenSongExportForm)
|
||||||
|
|
||||||
|
def retranslateUi(self):
|
||||||
|
self.OpenSongExportForm.setWindowTitle(QtGui.QApplication.translate("OpenSongExportForm", "OpenSong Song Exporter", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportFileLabel.setText(QtGui.QApplication.translate("OpenSongExportForm", "Select OpenSong song folder:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportListLabel.setText(QtGui.QApplication.translate("OpenSongExportForm", "Full Song List", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportListTable.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("OpenSongExportForm", "Song Title", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportListTable.horizontalHeaderItem(1).setText(QtGui.QApplication.translate("OpenSongExportForm", "Author", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportSelectAllPushButton.setText(QtGui.QApplication.translate("OpenSongExportForm", "Select All", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportFilterComboBox.setItemText(0, QtGui.QApplication.translate("OpenSongExportForm", "Lyrics", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportFilterComboBox.setItemText(1, QtGui.QApplication.translate("OpenSongExportForm", "Title", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportFilterComboBox.setItemText(2, QtGui.QApplication.translate("OpenSongExportForm", "Author", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SelectedListLabel.setText(QtGui.QApplication.translate("OpenSongExportForm", "Song Export List", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SelectedListTable.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("OpenSongExportForm", "Song Title", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SelectedListTable.horizontalHeaderItem(1).setText(QtGui.QApplication.translate("OpenSongExportForm", "Author", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SelectedSelectAllPushButton.setText(QtGui.QApplication.translate("OpenSongExportForm", "Select All", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SelectedRemoveSelectedButton.setText(QtGui.QApplication.translate("OpenSongExportForm", "Remove Selected", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ProgressGroupBox.setTitle(QtGui.QApplication.translate("OpenSongExportForm", "Progress:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ProgressLabel.setText(QtGui.QApplication.translate("OpenSongExportForm", "Ready to export", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ExportPushButton.setText(QtGui.QApplication.translate("OpenSongExportForm", "Export", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ClosePushButton.setText(QtGui.QApplication.translate("OpenSongExportForm", "Close", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
|
||||||
|
def show(self):
|
||||||
|
self.OpenSongExportForm.show()
|
102
openlp/ui/forms/opensongimportform.py
Normal file
102
openlp/ui/forms/opensongimportform.py
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Form implementation generated from reading ui file 'C:\Project Folders\Personal Projects\openlp-2\trunk\openlp\resources\forms\opensongimportform.ui'
|
||||||
|
#
|
||||||
|
# Created: Wed Nov 05 20:56:54 2008
|
||||||
|
# by: PyQt4 UI code generator 4.4.4-snapshot-20080918
|
||||||
|
#
|
||||||
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
|
||||||
|
from PyQt4 import QtCore, QtGui
|
||||||
|
|
||||||
|
from openlp.resources import *
|
||||||
|
|
||||||
|
class OpenSongImportForm(object):
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self.OpenSongImportForm = QtGui.QWidget()
|
||||||
|
self.setupUi()
|
||||||
|
|
||||||
|
def setupUi(self):
|
||||||
|
self.OpenSongImportForm.setObjectName("OpenSongImportForm")
|
||||||
|
self.OpenSongImportForm.resize(481, 153)
|
||||||
|
icon = QtGui.QIcon()
|
||||||
|
icon.addPixmap(QtGui.QPixmap(":/icon/openlp.org-icon-32.bmp"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.OpenSongImportForm.setWindowIcon(icon)
|
||||||
|
self.verticalLayout = QtGui.QVBoxLayout(self.OpenSongImportForm)
|
||||||
|
self.verticalLayout.setSpacing(6)
|
||||||
|
self.verticalLayout.setMargin(8)
|
||||||
|
self.verticalLayout.setObjectName("verticalLayout")
|
||||||
|
self.ImportFileWidget = QtGui.QWidget(self.OpenSongImportForm)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.ImportFileWidget.sizePolicy().hasHeightForWidth())
|
||||||
|
self.ImportFileWidget.setSizePolicy(sizePolicy)
|
||||||
|
self.ImportFileWidget.setObjectName("ImportFileWidget")
|
||||||
|
self.horizontalLayout = QtGui.QHBoxLayout(self.ImportFileWidget)
|
||||||
|
self.horizontalLayout.setSpacing(6)
|
||||||
|
self.horizontalLayout.setMargin(0)
|
||||||
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
||||||
|
self.ImportFileLabel = QtGui.QLabel(self.ImportFileWidget)
|
||||||
|
self.ImportFileLabel.setObjectName("ImportFileLabel")
|
||||||
|
self.horizontalLayout.addWidget(self.ImportFileLabel)
|
||||||
|
self.ImportFileLineEdit = QtGui.QLineEdit(self.ImportFileWidget)
|
||||||
|
self.ImportFileLineEdit.setObjectName("ImportFileLineEdit")
|
||||||
|
self.horizontalLayout.addWidget(self.ImportFileLineEdit)
|
||||||
|
self.ImportFileSelectPushButton = QtGui.QPushButton(self.ImportFileWidget)
|
||||||
|
icon1 = QtGui.QIcon()
|
||||||
|
icon1.addPixmap(QtGui.QPixmap(":/imports/import_load.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.ImportFileSelectPushButton.setIcon(icon1)
|
||||||
|
self.ImportFileSelectPushButton.setObjectName("ImportFileSelectPushButton")
|
||||||
|
self.horizontalLayout.addWidget(self.ImportFileSelectPushButton)
|
||||||
|
self.verticalLayout.addWidget(self.ImportFileWidget)
|
||||||
|
self.ProgressGroupBox = QtGui.QGroupBox(self.OpenSongImportForm)
|
||||||
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
|
||||||
|
sizePolicy.setHorizontalStretch(0)
|
||||||
|
sizePolicy.setVerticalStretch(0)
|
||||||
|
sizePolicy.setHeightForWidth(self.ProgressGroupBox.sizePolicy().hasHeightForWidth())
|
||||||
|
self.ProgressGroupBox.setSizePolicy(sizePolicy)
|
||||||
|
self.ProgressGroupBox.setObjectName("ProgressGroupBox")
|
||||||
|
self.verticalLayout_4 = QtGui.QVBoxLayout(self.ProgressGroupBox)
|
||||||
|
self.verticalLayout_4.setSpacing(6)
|
||||||
|
self.verticalLayout_4.setContentsMargins(6, 0, 8, 8)
|
||||||
|
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
||||||
|
self.ProgressLabel = QtGui.QLabel(self.ProgressGroupBox)
|
||||||
|
self.ProgressLabel.setObjectName("ProgressLabel")
|
||||||
|
self.verticalLayout_4.addWidget(self.ProgressLabel)
|
||||||
|
self.ProgressBar = QtGui.QProgressBar(self.ProgressGroupBox)
|
||||||
|
self.ProgressBar.setProperty("value", QtCore.QVariant(24))
|
||||||
|
self.ProgressBar.setObjectName("ProgressBar")
|
||||||
|
self.verticalLayout_4.addWidget(self.ProgressBar)
|
||||||
|
self.verticalLayout.addWidget(self.ProgressGroupBox)
|
||||||
|
self.ButtonBarWidget = QtGui.QWidget(self.OpenSongImportForm)
|
||||||
|
self.ButtonBarWidget.setObjectName("ButtonBarWidget")
|
||||||
|
self.horizontalLayout_7 = QtGui.QHBoxLayout(self.ButtonBarWidget)
|
||||||
|
self.horizontalLayout_7.setSpacing(8)
|
||||||
|
self.horizontalLayout_7.setMargin(0)
|
||||||
|
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
|
||||||
|
spacerItem = QtGui.QSpacerItem(288, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.horizontalLayout_7.addItem(spacerItem)
|
||||||
|
self.ImportPushButton = QtGui.QPushButton(self.ButtonBarWidget)
|
||||||
|
self.ImportPushButton.setObjectName("ImportPushButton")
|
||||||
|
self.horizontalLayout_7.addWidget(self.ImportPushButton)
|
||||||
|
self.ClosePushButton = QtGui.QPushButton(self.ButtonBarWidget)
|
||||||
|
self.ClosePushButton.setObjectName("ClosePushButton")
|
||||||
|
self.horizontalLayout_7.addWidget(self.ClosePushButton)
|
||||||
|
self.verticalLayout.addWidget(self.ButtonBarWidget)
|
||||||
|
|
||||||
|
self.retranslateUi()
|
||||||
|
QtCore.QObject.connect(self.ClosePushButton, QtCore.SIGNAL("clicked()"), self.OpenSongImportForm.close)
|
||||||
|
QtCore.QMetaObject.connectSlotsByName(self.OpenSongImportForm)
|
||||||
|
|
||||||
|
def retranslateUi(self):
|
||||||
|
self.OpenSongImportForm.setWindowTitle(QtGui.QApplication.translate("OpenSongImportForm", "OpenSong Song Importer", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ImportFileLabel.setText(QtGui.QApplication.translate("OpenSongImportForm", "OpenSong Folder:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ProgressGroupBox.setTitle(QtGui.QApplication.translate("OpenSongImportForm", "Progress:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ProgressLabel.setText(QtGui.QApplication.translate("OpenSongImportForm", "Ready to import", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ImportPushButton.setText(QtGui.QApplication.translate("OpenSongImportForm", "Import", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ClosePushButton.setText(QtGui.QApplication.translate("OpenSongImportForm", "Close", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
|
||||||
|
def show(self):
|
||||||
|
self.OpenSongImportForm.show()
|
516
openlp/ui/forms/settings.py
Normal file
516
openlp/ui/forms/settings.py
Normal file
@ -0,0 +1,516 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Form implementation generated from reading ui file 'C:\Project Folders\Personal Projects\openlp-2\trunk\openlp\resources\forms\settings.ui'
|
||||||
|
#
|
||||||
|
# Created: Wed Nov 05 20:57:21 2008
|
||||||
|
# by: PyQt4 UI code generator 4.4.4-snapshot-20080918
|
||||||
|
#
|
||||||
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
|
||||||
|
from PyQt4 import QtCore, QtGui
|
||||||
|
|
||||||
|
from openlp.resources import *
|
||||||
|
|
||||||
|
class SettingsDialog(object):
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self.SettingsDialog = QtGui.QDialog()
|
||||||
|
self.setupUi()
|
||||||
|
|
||||||
|
def setupUi(self):
|
||||||
|
self.SettingsDialog.setObjectName("SettingsDialog")
|
||||||
|
self.SettingsDialog.resize(721, 441)
|
||||||
|
icon = QtGui.QIcon()
|
||||||
|
icon.addPixmap(QtGui.QPixmap(":/icon/openlp.org-icon-32.bmp"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
|
self.SettingsDialog.setWindowIcon(icon)
|
||||||
|
self.SettingsLayout = QtGui.QVBoxLayout(self.SettingsDialog)
|
||||||
|
self.SettingsLayout.setSpacing(8)
|
||||||
|
self.SettingsLayout.setMargin(8)
|
||||||
|
self.SettingsLayout.setObjectName("SettingsLayout")
|
||||||
|
self.SettingsTabWidget = QtGui.QTabWidget(self.SettingsDialog)
|
||||||
|
self.SettingsTabWidget.setObjectName("SettingsTabWidget")
|
||||||
|
self.ThemesTab = QtGui.QWidget()
|
||||||
|
self.ThemesTab.setObjectName("ThemesTab")
|
||||||
|
self.ThemesTabLayout = QtGui.QHBoxLayout(self.ThemesTab)
|
||||||
|
self.ThemesTabLayout.setSpacing(8)
|
||||||
|
self.ThemesTabLayout.setMargin(8)
|
||||||
|
self.ThemesTabLayout.setObjectName("ThemesTabLayout")
|
||||||
|
self.GlobalGroupBox = QtGui.QGroupBox(self.ThemesTab)
|
||||||
|
self.GlobalGroupBox.setObjectName("GlobalGroupBox")
|
||||||
|
self.GlobalGroupBoxLayout = QtGui.QVBoxLayout(self.GlobalGroupBox)
|
||||||
|
self.GlobalGroupBoxLayout.setSpacing(8)
|
||||||
|
self.GlobalGroupBoxLayout.setMargin(8)
|
||||||
|
self.GlobalGroupBoxLayout.setObjectName("GlobalGroupBoxLayout")
|
||||||
|
self.DefaultComboBox = QtGui.QComboBox(self.GlobalGroupBox)
|
||||||
|
self.DefaultComboBox.setObjectName("DefaultComboBox")
|
||||||
|
self.DefaultComboBox.addItem(QtCore.QString())
|
||||||
|
self.DefaultComboBox.addItem(QtCore.QString())
|
||||||
|
self.DefaultComboBox.addItem(QtCore.QString())
|
||||||
|
self.GlobalGroupBoxLayout.addWidget(self.DefaultComboBox)
|
||||||
|
self.DefaultListView = QtGui.QListView(self.GlobalGroupBox)
|
||||||
|
self.DefaultListView.setObjectName("DefaultListView")
|
||||||
|
self.GlobalGroupBoxLayout.addWidget(self.DefaultListView)
|
||||||
|
self.ThemesTabLayout.addWidget(self.GlobalGroupBox)
|
||||||
|
self.LevelGroupBox = QtGui.QGroupBox(self.ThemesTab)
|
||||||
|
self.LevelGroupBox.setObjectName("LevelGroupBox")
|
||||||
|
self.formLayout = QtGui.QFormLayout(self.LevelGroupBox)
|
||||||
|
self.formLayout.setLabelAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
|
||||||
|
self.formLayout.setFormAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
|
||||||
|
self.formLayout.setMargin(8)
|
||||||
|
self.formLayout.setSpacing(8)
|
||||||
|
self.formLayout.setObjectName("formLayout")
|
||||||
|
self.SongLevelRadioButton = QtGui.QRadioButton(self.LevelGroupBox)
|
||||||
|
self.SongLevelRadioButton.setObjectName("SongLevelRadioButton")
|
||||||
|
self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.SongLevelRadioButton)
|
||||||
|
self.SongLevelLabel = QtGui.QLabel(self.LevelGroupBox)
|
||||||
|
self.SongLevelLabel.setWordWrap(True)
|
||||||
|
self.SongLevelLabel.setObjectName("SongLevelLabel")
|
||||||
|
self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.SongLevelLabel)
|
||||||
|
self.ServiceLevelRadioButton = QtGui.QRadioButton(self.LevelGroupBox)
|
||||||
|
self.ServiceLevelRadioButton.setObjectName("ServiceLevelRadioButton")
|
||||||
|
self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.ServiceLevelRadioButton)
|
||||||
|
self.ServiceLevelLabel = QtGui.QLabel(self.LevelGroupBox)
|
||||||
|
self.ServiceLevelLabel.setWordWrap(True)
|
||||||
|
self.ServiceLevelLabel.setObjectName("ServiceLevelLabel")
|
||||||
|
self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.ServiceLevelLabel)
|
||||||
|
self.GlobalLevelRadioButton = QtGui.QRadioButton(self.LevelGroupBox)
|
||||||
|
self.GlobalLevelRadioButton.setChecked(True)
|
||||||
|
self.GlobalLevelRadioButton.setObjectName("GlobalLevelRadioButton")
|
||||||
|
self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.GlobalLevelRadioButton)
|
||||||
|
self.GlobalLevelLabel = QtGui.QLabel(self.LevelGroupBox)
|
||||||
|
self.GlobalLevelLabel.setWordWrap(True)
|
||||||
|
self.GlobalLevelLabel.setObjectName("GlobalLevelLabel")
|
||||||
|
self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.GlobalLevelLabel)
|
||||||
|
self.ThemesTabLayout.addWidget(self.LevelGroupBox)
|
||||||
|
self.SettingsTabWidget.addTab(self.ThemesTab, "")
|
||||||
|
self.DisplayTab = QtGui.QWidget()
|
||||||
|
self.DisplayTab.setObjectName("DisplayTab")
|
||||||
|
self.DisplayTabLayout = QtGui.QHBoxLayout(self.DisplayTab)
|
||||||
|
self.DisplayTabLayout.setSpacing(8)
|
||||||
|
self.DisplayTabLayout.setMargin(8)
|
||||||
|
self.DisplayTabLayout.setObjectName("DisplayTabLayout")
|
||||||
|
self.LeftColumn = QtGui.QWidget(self.DisplayTab)
|
||||||
|
self.LeftColumn.setObjectName("LeftColumn")
|
||||||
|
self.LeftColumnLayout = QtGui.QVBoxLayout(self.LeftColumn)
|
||||||
|
self.LeftColumnLayout.setSpacing(8)
|
||||||
|
self.LeftColumnLayout.setMargin(0)
|
||||||
|
self.LeftColumnLayout.setObjectName("LeftColumnLayout")
|
||||||
|
self.MonitorGroupBox = QtGui.QGroupBox(self.LeftColumn)
|
||||||
|
self.MonitorGroupBox.setObjectName("MonitorGroupBox")
|
||||||
|
self.MonitorLayout = QtGui.QVBoxLayout(self.MonitorGroupBox)
|
||||||
|
self.MonitorLayout.setSpacing(8)
|
||||||
|
self.MonitorLayout.setMargin(8)
|
||||||
|
self.MonitorLayout.setObjectName("MonitorLayout")
|
||||||
|
self.MonitorLabel = QtGui.QLabel(self.MonitorGroupBox)
|
||||||
|
self.MonitorLabel.setObjectName("MonitorLabel")
|
||||||
|
self.MonitorLayout.addWidget(self.MonitorLabel)
|
||||||
|
self.MonitorComboBox = QtGui.QComboBox(self.MonitorGroupBox)
|
||||||
|
self.MonitorComboBox.setObjectName("MonitorComboBox")
|
||||||
|
self.MonitorComboBox.addItem(QtCore.QString())
|
||||||
|
self.MonitorComboBox.addItem(QtCore.QString())
|
||||||
|
self.MonitorLayout.addWidget(self.MonitorComboBox)
|
||||||
|
self.LeftColumnLayout.addWidget(self.MonitorGroupBox)
|
||||||
|
self.FontSizeGroupBox = QtGui.QGroupBox(self.LeftColumn)
|
||||||
|
self.FontSizeGroupBox.setObjectName("FontSizeGroupBox")
|
||||||
|
self.FontSizeLayout = QtGui.QVBoxLayout(self.FontSizeGroupBox)
|
||||||
|
self.FontSizeLayout.setSpacing(8)
|
||||||
|
self.FontSizeLayout.setMargin(8)
|
||||||
|
self.FontSizeLayout.setObjectName("FontSizeLayout")
|
||||||
|
self.AutoResizeRadioButton = QtGui.QRadioButton(self.FontSizeGroupBox)
|
||||||
|
self.AutoResizeRadioButton.setChecked(True)
|
||||||
|
self.AutoResizeRadioButton.setObjectName("AutoResizeRadioButton")
|
||||||
|
self.FontSizeLayout.addWidget(self.AutoResizeRadioButton)
|
||||||
|
self.WrapLinesRadioButton = QtGui.QRadioButton(self.FontSizeGroupBox)
|
||||||
|
self.WrapLinesRadioButton.setObjectName("WrapLinesRadioButton")
|
||||||
|
self.FontSizeLayout.addWidget(self.WrapLinesRadioButton)
|
||||||
|
self.LeftColumnLayout.addWidget(self.FontSizeGroupBox)
|
||||||
|
self.SongDisplayGroupBox = QtGui.QGroupBox(self.LeftColumn)
|
||||||
|
self.SongDisplayGroupBox.setObjectName("SongDisplayGroupBox")
|
||||||
|
self.SongDisplayLayout = QtGui.QVBoxLayout(self.SongDisplayGroupBox)
|
||||||
|
self.SongDisplayLayout.setSpacing(8)
|
||||||
|
self.SongDisplayLayout.setMargin(8)
|
||||||
|
self.SongDisplayLayout.setObjectName("SongDisplayLayout")
|
||||||
|
self.EnableCreditsCheckBox = QtGui.QCheckBox(self.SongDisplayGroupBox)
|
||||||
|
self.EnableCreditsCheckBox.setChecked(True)
|
||||||
|
self.EnableCreditsCheckBox.setObjectName("EnableCreditsCheckBox")
|
||||||
|
self.SongDisplayLayout.addWidget(self.EnableCreditsCheckBox)
|
||||||
|
self.LeftColumnLayout.addWidget(self.SongDisplayGroupBox)
|
||||||
|
spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
|
||||||
|
self.LeftColumnLayout.addItem(spacerItem)
|
||||||
|
self.DisplayTabLayout.addWidget(self.LeftColumn)
|
||||||
|
self.RightColumn = QtGui.QWidget(self.DisplayTab)
|
||||||
|
self.RightColumn.setObjectName("RightColumn")
|
||||||
|
self.RightColumnLayout = QtGui.QVBoxLayout(self.RightColumn)
|
||||||
|
self.RightColumnLayout.setSpacing(8)
|
||||||
|
self.RightColumnLayout.setMargin(0)
|
||||||
|
self.RightColumnLayout.setObjectName("RightColumnLayout")
|
||||||
|
self.VerseDisplayGroupBox = QtGui.QGroupBox(self.RightColumn)
|
||||||
|
self.VerseDisplayGroupBox.setObjectName("VerseDisplayGroupBox")
|
||||||
|
self.VerseDisplayLayout = QtGui.QVBoxLayout(self.VerseDisplayGroupBox)
|
||||||
|
self.VerseDisplayLayout.setSpacing(8)
|
||||||
|
self.VerseDisplayLayout.setMargin(8)
|
||||||
|
self.VerseDisplayLayout.setObjectName("VerseDisplayLayout")
|
||||||
|
self.VerseTypeWidget = QtGui.QWidget(self.VerseDisplayGroupBox)
|
||||||
|
self.VerseTypeWidget.setObjectName("VerseTypeWidget")
|
||||||
|
self.VerseTypeLayout = QtGui.QHBoxLayout(self.VerseTypeWidget)
|
||||||
|
self.VerseTypeLayout.setSpacing(8)
|
||||||
|
self.VerseTypeLayout.setMargin(0)
|
||||||
|
self.VerseTypeLayout.setObjectName("VerseTypeLayout")
|
||||||
|
self.VerseRadioButton = QtGui.QRadioButton(self.VerseTypeWidget)
|
||||||
|
self.VerseRadioButton.setObjectName("VerseRadioButton")
|
||||||
|
self.VerseTypeLayout.addWidget(self.VerseRadioButton)
|
||||||
|
self.ParagraphRadioButton = QtGui.QRadioButton(self.VerseTypeWidget)
|
||||||
|
self.ParagraphRadioButton.setChecked(True)
|
||||||
|
self.ParagraphRadioButton.setObjectName("ParagraphRadioButton")
|
||||||
|
self.VerseTypeLayout.addWidget(self.ParagraphRadioButton)
|
||||||
|
self.VerseDisplayLayout.addWidget(self.VerseTypeWidget)
|
||||||
|
self.NewChaptersCheckBox = QtGui.QCheckBox(self.VerseDisplayGroupBox)
|
||||||
|
self.NewChaptersCheckBox.setObjectName("NewChaptersCheckBox")
|
||||||
|
self.VerseDisplayLayout.addWidget(self.NewChaptersCheckBox)
|
||||||
|
self.DisplayStyleWidget = QtGui.QWidget(self.VerseDisplayGroupBox)
|
||||||
|
self.DisplayStyleWidget.setObjectName("DisplayStyleWidget")
|
||||||
|
self.DisplayStyleLayout = QtGui.QHBoxLayout(self.DisplayStyleWidget)
|
||||||
|
self.DisplayStyleLayout.setSpacing(8)
|
||||||
|
self.DisplayStyleLayout.setMargin(0)
|
||||||
|
self.DisplayStyleLayout.setObjectName("DisplayStyleLayout")
|
||||||
|
self.DisplayStyleLabel = QtGui.QLabel(self.DisplayStyleWidget)
|
||||||
|
self.DisplayStyleLabel.setObjectName("DisplayStyleLabel")
|
||||||
|
self.DisplayStyleLayout.addWidget(self.DisplayStyleLabel)
|
||||||
|
self.DisplayStyleComboBox = QtGui.QComboBox(self.DisplayStyleWidget)
|
||||||
|
self.DisplayStyleComboBox.setObjectName("DisplayStyleComboBox")
|
||||||
|
self.DisplayStyleComboBox.addItem(QtCore.QString())
|
||||||
|
self.DisplayStyleComboBox.addItem(QtCore.QString())
|
||||||
|
self.DisplayStyleComboBox.addItem(QtCore.QString())
|
||||||
|
self.DisplayStyleComboBox.addItem(QtCore.QString())
|
||||||
|
self.DisplayStyleLayout.addWidget(self.DisplayStyleComboBox)
|
||||||
|
spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.DisplayStyleLayout.addItem(spacerItem1)
|
||||||
|
self.VerseDisplayLayout.addWidget(self.DisplayStyleWidget)
|
||||||
|
self.ChangeNoteLabel = QtGui.QLabel(self.VerseDisplayGroupBox)
|
||||||
|
self.ChangeNoteLabel.setObjectName("ChangeNoteLabel")
|
||||||
|
self.VerseDisplayLayout.addWidget(self.ChangeNoteLabel)
|
||||||
|
self.RightColumnLayout.addWidget(self.VerseDisplayGroupBox)
|
||||||
|
self.BlankScreenGroupBox = QtGui.QGroupBox(self.RightColumn)
|
||||||
|
self.BlankScreenGroupBox.setObjectName("BlankScreenGroupBox")
|
||||||
|
self.BlankScreenLayout = QtGui.QVBoxLayout(self.BlankScreenGroupBox)
|
||||||
|
self.BlankScreenLayout.setSpacing(8)
|
||||||
|
self.BlankScreenLayout.setMargin(8)
|
||||||
|
self.BlankScreenLayout.setObjectName("BlankScreenLayout")
|
||||||
|
self.WarningCheckBox = QtGui.QCheckBox(self.BlankScreenGroupBox)
|
||||||
|
self.WarningCheckBox.setObjectName("WarningCheckBox")
|
||||||
|
self.BlankScreenLayout.addWidget(self.WarningCheckBox)
|
||||||
|
self.RightColumnLayout.addWidget(self.BlankScreenGroupBox)
|
||||||
|
self.VideoModeGroupBox = QtGui.QGroupBox(self.RightColumn)
|
||||||
|
self.VideoModeGroupBox.setObjectName("VideoModeGroupBox")
|
||||||
|
self.VideoModeLayout = QtGui.QVBoxLayout(self.VideoModeGroupBox)
|
||||||
|
self.VideoModeLayout.setSpacing(8)
|
||||||
|
self.VideoModeLayout.setMargin(8)
|
||||||
|
self.VideoModeLayout.setObjectName("VideoModeLayout")
|
||||||
|
self.UseVMRCheckBox = QtGui.QCheckBox(self.VideoModeGroupBox)
|
||||||
|
self.UseVMRCheckBox.setObjectName("UseVMRCheckBox")
|
||||||
|
self.VideoModeLayout.addWidget(self.UseVMRCheckBox)
|
||||||
|
self.UseVMRLabel = QtGui.QLabel(self.VideoModeGroupBox)
|
||||||
|
self.UseVMRLabel.setObjectName("UseVMRLabel")
|
||||||
|
self.VideoModeLayout.addWidget(self.UseVMRLabel)
|
||||||
|
self.RightColumnLayout.addWidget(self.VideoModeGroupBox)
|
||||||
|
spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
|
||||||
|
self.RightColumnLayout.addItem(spacerItem2)
|
||||||
|
self.DisplayTabLayout.addWidget(self.RightColumn)
|
||||||
|
self.SettingsTabWidget.addTab(self.DisplayTab, "")
|
||||||
|
self.SlideTab = QtGui.QWidget()
|
||||||
|
self.SlideTab.setObjectName("SlideTab")
|
||||||
|
self.SlideLayout = QtGui.QHBoxLayout(self.SlideTab)
|
||||||
|
self.SlideLayout.setSpacing(8)
|
||||||
|
self.SlideLayout.setMargin(8)
|
||||||
|
self.SlideLayout.setObjectName("SlideLayout")
|
||||||
|
self.SlideLeftColumn = QtGui.QWidget(self.SlideTab)
|
||||||
|
self.SlideLeftColumn.setObjectName("SlideLeftColumn")
|
||||||
|
self.SlideLeftLayout = QtGui.QVBoxLayout(self.SlideLeftColumn)
|
||||||
|
self.SlideLeftLayout.setSpacing(8)
|
||||||
|
self.SlideLeftLayout.setMargin(0)
|
||||||
|
self.SlideLeftLayout.setObjectName("SlideLeftLayout")
|
||||||
|
self.AlertGroupBox = QtGui.QGroupBox(self.SlideLeftColumn)
|
||||||
|
self.AlertGroupBox.setObjectName("AlertGroupBox")
|
||||||
|
self.AlertLayout = QtGui.QVBoxLayout(self.AlertGroupBox)
|
||||||
|
self.AlertLayout.setSpacing(8)
|
||||||
|
self.AlertLayout.setMargin(8)
|
||||||
|
self.AlertLayout.setObjectName("AlertLayout")
|
||||||
|
self.FontLabel = QtGui.QLabel(self.AlertGroupBox)
|
||||||
|
self.FontLabel.setObjectName("FontLabel")
|
||||||
|
self.AlertLayout.addWidget(self.FontLabel)
|
||||||
|
self.FontComboBox = QtGui.QFontComboBox(self.AlertGroupBox)
|
||||||
|
self.FontComboBox.setObjectName("FontComboBox")
|
||||||
|
self.AlertLayout.addWidget(self.FontComboBox)
|
||||||
|
self.ColorWidget = QtGui.QWidget(self.AlertGroupBox)
|
||||||
|
self.ColorWidget.setObjectName("ColorWidget")
|
||||||
|
self.ColorLayout = QtGui.QHBoxLayout(self.ColorWidget)
|
||||||
|
self.ColorLayout.setSpacing(8)
|
||||||
|
self.ColorLayout.setMargin(0)
|
||||||
|
self.ColorLayout.setObjectName("ColorLayout")
|
||||||
|
self.FontColorLabel = QtGui.QLabel(self.ColorWidget)
|
||||||
|
self.FontColorLabel.setObjectName("FontColorLabel")
|
||||||
|
self.ColorLayout.addWidget(self.FontColorLabel)
|
||||||
|
self.FontColorPanel = QtGui.QGraphicsView(self.ColorWidget)
|
||||||
|
self.FontColorPanel.setMinimumSize(QtCore.QSize(24, 24))
|
||||||
|
self.FontColorPanel.setMaximumSize(QtCore.QSize(24, 24))
|
||||||
|
self.FontColorPanel.setObjectName("FontColorPanel")
|
||||||
|
self.ColorLayout.addWidget(self.FontColorPanel)
|
||||||
|
spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.ColorLayout.addItem(spacerItem3)
|
||||||
|
self.BackgroundColorLabel = QtGui.QLabel(self.ColorWidget)
|
||||||
|
self.BackgroundColorLabel.setObjectName("BackgroundColorLabel")
|
||||||
|
self.ColorLayout.addWidget(self.BackgroundColorLabel)
|
||||||
|
self.BackgroundColorPanel = QtGui.QGraphicsView(self.ColorWidget)
|
||||||
|
self.BackgroundColorPanel.setMinimumSize(QtCore.QSize(24, 24))
|
||||||
|
self.BackgroundColorPanel.setMaximumSize(QtCore.QSize(24, 24))
|
||||||
|
self.BackgroundColorPanel.setObjectName("BackgroundColorPanel")
|
||||||
|
self.ColorLayout.addWidget(self.BackgroundColorPanel)
|
||||||
|
self.AlertLayout.addWidget(self.ColorWidget)
|
||||||
|
self.FontPreview = QtGui.QGraphicsView(self.AlertGroupBox)
|
||||||
|
self.FontPreview.setMaximumSize(QtCore.QSize(16777215, 64))
|
||||||
|
self.FontPreview.setObjectName("FontPreview")
|
||||||
|
self.AlertLayout.addWidget(self.FontPreview)
|
||||||
|
self.LengthWidget = QtGui.QWidget(self.AlertGroupBox)
|
||||||
|
self.LengthWidget.setObjectName("LengthWidget")
|
||||||
|
self.LengthLayout = QtGui.QHBoxLayout(self.LengthWidget)
|
||||||
|
self.LengthLayout.setSpacing(8)
|
||||||
|
self.LengthLayout.setMargin(0)
|
||||||
|
self.LengthLayout.setObjectName("LengthLayout")
|
||||||
|
self.LengthLabel = QtGui.QLabel(self.LengthWidget)
|
||||||
|
self.LengthLabel.setObjectName("LengthLabel")
|
||||||
|
self.LengthLayout.addWidget(self.LengthLabel)
|
||||||
|
self.LengthSpinBox = QtGui.QSpinBox(self.LengthWidget)
|
||||||
|
self.LengthSpinBox.setMaximum(180)
|
||||||
|
self.LengthSpinBox.setProperty("value", QtCore.QVariant(5))
|
||||||
|
self.LengthSpinBox.setObjectName("LengthSpinBox")
|
||||||
|
self.LengthLayout.addWidget(self.LengthSpinBox)
|
||||||
|
spacerItem4 = QtGui.QSpacerItem(147, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.LengthLayout.addItem(spacerItem4)
|
||||||
|
self.AlertLayout.addWidget(self.LengthWidget)
|
||||||
|
self.SlideLeftLayout.addWidget(self.AlertGroupBox)
|
||||||
|
spacerItem5 = QtGui.QSpacerItem(20, 94, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
|
||||||
|
self.SlideLeftLayout.addItem(spacerItem5)
|
||||||
|
self.SlideLayout.addWidget(self.SlideLeftColumn)
|
||||||
|
self.widget = QtGui.QWidget(self.SlideTab)
|
||||||
|
self.widget.setObjectName("widget")
|
||||||
|
self.SlideRightLayout = QtGui.QVBoxLayout(self.widget)
|
||||||
|
self.SlideRightLayout.setSpacing(8)
|
||||||
|
self.SlideRightLayout.setMargin(0)
|
||||||
|
self.SlideRightLayout.setObjectName("SlideRightLayout")
|
||||||
|
self.SongWizardGroupBox = QtGui.QGroupBox(self.widget)
|
||||||
|
self.SongWizardGroupBox.setObjectName("SongWizardGroupBox")
|
||||||
|
self.SongWizardLayout = QtGui.QVBoxLayout(self.SongWizardGroupBox)
|
||||||
|
self.SongWizardLayout.setSpacing(8)
|
||||||
|
self.SongWizardLayout.setMargin(8)
|
||||||
|
self.SongWizardLayout.setObjectName("SongWizardLayout")
|
||||||
|
self.SongWizardCheckBox = QtGui.QCheckBox(self.SongWizardGroupBox)
|
||||||
|
self.SongWizardCheckBox.setChecked(True)
|
||||||
|
self.SongWizardCheckBox.setObjectName("SongWizardCheckBox")
|
||||||
|
self.SongWizardLayout.addWidget(self.SongWizardCheckBox)
|
||||||
|
self.SlideRightLayout.addWidget(self.SongWizardGroupBox)
|
||||||
|
self.SlideWrapAroundGroupBox = QtGui.QGroupBox(self.widget)
|
||||||
|
self.SlideWrapAroundGroupBox.setObjectName("SlideWrapAroundGroupBox")
|
||||||
|
self.SlideWrapAroundLayout = QtGui.QVBoxLayout(self.SlideWrapAroundGroupBox)
|
||||||
|
self.SlideWrapAroundLayout.setSpacing(8)
|
||||||
|
self.SlideWrapAroundLayout.setMargin(8)
|
||||||
|
self.SlideWrapAroundLayout.setObjectName("SlideWrapAroundLayout")
|
||||||
|
self.SlideWrapAroundCheckBox = QtGui.QCheckBox(self.SlideWrapAroundGroupBox)
|
||||||
|
self.SlideWrapAroundCheckBox.setObjectName("SlideWrapAroundCheckBox")
|
||||||
|
self.SlideWrapAroundLayout.addWidget(self.SlideWrapAroundCheckBox)
|
||||||
|
self.SlideRightLayout.addWidget(self.SlideWrapAroundGroupBox)
|
||||||
|
self.TimedCyclingGroupBox = QtGui.QGroupBox(self.widget)
|
||||||
|
self.TimedCyclingGroupBox.setObjectName("TimedCyclingGroupBox")
|
||||||
|
self.TimedCyclingLayout = QtGui.QVBoxLayout(self.TimedCyclingGroupBox)
|
||||||
|
self.TimedCyclingLayout.setSpacing(8)
|
||||||
|
self.TimedCyclingLayout.setMargin(8)
|
||||||
|
self.TimedCyclingLayout.setObjectName("TimedCyclingLayout")
|
||||||
|
self.IntervalWidget = QtGui.QWidget(self.TimedCyclingGroupBox)
|
||||||
|
self.IntervalWidget.setObjectName("IntervalWidget")
|
||||||
|
self.IntervalLayout = QtGui.QHBoxLayout(self.IntervalWidget)
|
||||||
|
self.IntervalLayout.setSpacing(8)
|
||||||
|
self.IntervalLayout.setMargin(0)
|
||||||
|
self.IntervalLayout.setObjectName("IntervalLayout")
|
||||||
|
self.UpdateIntervalLabel = QtGui.QLabel(self.IntervalWidget)
|
||||||
|
self.UpdateIntervalLabel.setObjectName("UpdateIntervalLabel")
|
||||||
|
self.IntervalLayout.addWidget(self.UpdateIntervalLabel)
|
||||||
|
self.IntervalSpinBox = QtGui.QSpinBox(self.IntervalWidget)
|
||||||
|
self.IntervalSpinBox.setMaximum(600)
|
||||||
|
self.IntervalSpinBox.setProperty("value", QtCore.QVariant(30))
|
||||||
|
self.IntervalSpinBox.setObjectName("IntervalSpinBox")
|
||||||
|
self.IntervalLayout.addWidget(self.IntervalSpinBox)
|
||||||
|
spacerItem6 = QtGui.QSpacerItem(139, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.IntervalLayout.addItem(spacerItem6)
|
||||||
|
self.TimedCyclingLayout.addWidget(self.IntervalWidget)
|
||||||
|
self.EnabledCyclingCheckBox = QtGui.QCheckBox(self.TimedCyclingGroupBox)
|
||||||
|
self.EnabledCyclingCheckBox.setObjectName("EnabledCyclingCheckBox")
|
||||||
|
self.TimedCyclingLayout.addWidget(self.EnabledCyclingCheckBox)
|
||||||
|
self.SlideRightLayout.addWidget(self.TimedCyclingGroupBox)
|
||||||
|
spacerItem7 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
|
||||||
|
self.SlideRightLayout.addItem(spacerItem7)
|
||||||
|
self.SlideLayout.addWidget(self.widget)
|
||||||
|
self.SettingsTabWidget.addTab(self.SlideTab, "")
|
||||||
|
self.GeneralTab = QtGui.QWidget()
|
||||||
|
self.GeneralTab.setObjectName("GeneralTab")
|
||||||
|
self.GeneralLayout = QtGui.QHBoxLayout(self.GeneralTab)
|
||||||
|
self.GeneralLayout.setSpacing(8)
|
||||||
|
self.GeneralLayout.setMargin(8)
|
||||||
|
self.GeneralLayout.setObjectName("GeneralLayout")
|
||||||
|
self.GeneralLeftWidget = QtGui.QWidget(self.GeneralTab)
|
||||||
|
self.GeneralLeftWidget.setObjectName("GeneralLeftWidget")
|
||||||
|
self.GeneralLeftLayout = QtGui.QVBoxLayout(self.GeneralLeftWidget)
|
||||||
|
self.GeneralLeftLayout.setSpacing(8)
|
||||||
|
self.GeneralLeftLayout.setMargin(0)
|
||||||
|
self.GeneralLeftLayout.setObjectName("GeneralLeftLayout")
|
||||||
|
self.CCLIGroupBox = QtGui.QGroupBox(self.GeneralLeftWidget)
|
||||||
|
self.CCLIGroupBox.setObjectName("CCLIGroupBox")
|
||||||
|
self.CCLILayout = QtGui.QGridLayout(self.CCLIGroupBox)
|
||||||
|
self.CCLILayout.setMargin(8)
|
||||||
|
self.CCLILayout.setSpacing(8)
|
||||||
|
self.CCLILayout.setObjectName("CCLILayout")
|
||||||
|
self.NumberLabel = QtGui.QLabel(self.CCLIGroupBox)
|
||||||
|
self.NumberLabel.setObjectName("NumberLabel")
|
||||||
|
self.CCLILayout.addWidget(self.NumberLabel, 0, 0, 1, 1)
|
||||||
|
self.NumberEdit = QtGui.QLineEdit(self.CCLIGroupBox)
|
||||||
|
self.NumberEdit.setObjectName("NumberEdit")
|
||||||
|
self.CCLILayout.addWidget(self.NumberEdit, 0, 1, 1, 1)
|
||||||
|
self.UsernameLabel = QtGui.QLabel(self.CCLIGroupBox)
|
||||||
|
self.UsernameLabel.setObjectName("UsernameLabel")
|
||||||
|
self.CCLILayout.addWidget(self.UsernameLabel, 1, 0, 1, 1)
|
||||||
|
self.UsernameEdit = QtGui.QLineEdit(self.CCLIGroupBox)
|
||||||
|
self.UsernameEdit.setObjectName("UsernameEdit")
|
||||||
|
self.CCLILayout.addWidget(self.UsernameEdit, 1, 1, 1, 1)
|
||||||
|
self.PasswordLabel = QtGui.QLabel(self.CCLIGroupBox)
|
||||||
|
self.PasswordLabel.setObjectName("PasswordLabel")
|
||||||
|
self.CCLILayout.addWidget(self.PasswordLabel, 2, 0, 1, 1)
|
||||||
|
self.PasswordEdit = QtGui.QLineEdit(self.CCLIGroupBox)
|
||||||
|
self.PasswordEdit.setEchoMode(QtGui.QLineEdit.Password)
|
||||||
|
self.PasswordEdit.setObjectName("PasswordEdit")
|
||||||
|
self.CCLILayout.addWidget(self.PasswordEdit, 2, 1, 1, 1)
|
||||||
|
self.GeneralLeftLayout.addWidget(self.CCLIGroupBox)
|
||||||
|
spacerItem8 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
|
||||||
|
self.GeneralLeftLayout.addItem(spacerItem8)
|
||||||
|
self.GeneralLayout.addWidget(self.GeneralLeftWidget)
|
||||||
|
self.GeneralRightWidget = QtGui.QWidget(self.GeneralTab)
|
||||||
|
self.GeneralRightWidget.setObjectName("GeneralRightWidget")
|
||||||
|
self.GeneralRightLayout = QtGui.QVBoxLayout(self.GeneralRightWidget)
|
||||||
|
self.GeneralRightLayout.setSpacing(8)
|
||||||
|
self.GeneralRightLayout.setMargin(0)
|
||||||
|
self.GeneralRightLayout.setObjectName("GeneralRightLayout")
|
||||||
|
self.AutoOpenGroupBox = QtGui.QGroupBox(self.GeneralRightWidget)
|
||||||
|
self.AutoOpenGroupBox.setObjectName("AutoOpenGroupBox")
|
||||||
|
self.AutoOpenLayout = QtGui.QVBoxLayout(self.AutoOpenGroupBox)
|
||||||
|
self.AutoOpenLayout.setObjectName("AutoOpenLayout")
|
||||||
|
self.AutoOpenCheckBox = QtGui.QCheckBox(self.AutoOpenGroupBox)
|
||||||
|
self.AutoOpenCheckBox.setObjectName("AutoOpenCheckBox")
|
||||||
|
self.AutoOpenLayout.addWidget(self.AutoOpenCheckBox)
|
||||||
|
self.GeneralRightLayout.addWidget(self.AutoOpenGroupBox)
|
||||||
|
self.SearchGroupBox = QtGui.QGroupBox(self.GeneralRightWidget)
|
||||||
|
self.SearchGroupBox.setObjectName("SearchGroupBox")
|
||||||
|
self.verticalLayout = QtGui.QVBoxLayout(self.SearchGroupBox)
|
||||||
|
self.verticalLayout.setObjectName("verticalLayout")
|
||||||
|
self.SearchCheckBox = QtGui.QCheckBox(self.SearchGroupBox)
|
||||||
|
self.SearchCheckBox.setChecked(True)
|
||||||
|
self.SearchCheckBox.setObjectName("SearchCheckBox")
|
||||||
|
self.verticalLayout.addWidget(self.SearchCheckBox)
|
||||||
|
self.GeneralRightLayout.addWidget(self.SearchGroupBox)
|
||||||
|
spacerItem9 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
|
||||||
|
self.GeneralRightLayout.addItem(spacerItem9)
|
||||||
|
self.GeneralLayout.addWidget(self.GeneralRightWidget)
|
||||||
|
self.SettingsTabWidget.addTab(self.GeneralTab, "")
|
||||||
|
self.SettingsLayout.addWidget(self.SettingsTabWidget)
|
||||||
|
self.ButtonsBar = QtGui.QWidget(self.SettingsDialog)
|
||||||
|
self.ButtonsBar.setObjectName("ButtonsBar")
|
||||||
|
self.ButtonsLayout = QtGui.QHBoxLayout(self.ButtonsBar)
|
||||||
|
self.ButtonsLayout.setSpacing(0)
|
||||||
|
self.ButtonsLayout.setMargin(0)
|
||||||
|
self.ButtonsLayout.setObjectName("ButtonsLayout")
|
||||||
|
spacerItem10 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
||||||
|
self.ButtonsLayout.addItem(spacerItem10)
|
||||||
|
self.ButtonsBox = QtGui.QDialogButtonBox(self.ButtonsBar)
|
||||||
|
self.ButtonsBox.setMaximumSize(QtCore.QSize(341, 16777215))
|
||||||
|
self.ButtonsBox.setOrientation(QtCore.Qt.Horizontal)
|
||||||
|
self.ButtonsBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
|
||||||
|
self.ButtonsBox.setObjectName("ButtonsBox")
|
||||||
|
self.ButtonsLayout.addWidget(self.ButtonsBox)
|
||||||
|
self.SettingsLayout.addWidget(self.ButtonsBar)
|
||||||
|
|
||||||
|
self.retranslateUi()
|
||||||
|
self.SettingsTabWidget.setCurrentIndex(0)
|
||||||
|
QtCore.QObject.connect(self.ButtonsBox, QtCore.SIGNAL("accepted()"), self.SettingsDialog.accept)
|
||||||
|
QtCore.QObject.connect(self.ButtonsBox, QtCore.SIGNAL("rejected()"), self.SettingsDialog.reject)
|
||||||
|
QtCore.QMetaObject.connectSlotsByName(self.SettingsDialog)
|
||||||
|
|
||||||
|
def retranslateUi(self):
|
||||||
|
self.SettingsDialog.setWindowTitle(QtGui.QApplication.translate("SettingsDialog", "Settings", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.GlobalGroupBox.setTitle(QtGui.QApplication.translate("SettingsDialog", "Global theme", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.DefaultComboBox.setItemText(0, QtGui.QApplication.translate("SettingsDialog", "African Sunset", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.DefaultComboBox.setItemText(1, QtGui.QApplication.translate("SettingsDialog", "Snowy Mountains", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.DefaultComboBox.setItemText(2, QtGui.QApplication.translate("SettingsDialog", "Wilderness", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.LevelGroupBox.setTitle(QtGui.QApplication.translate("SettingsDialog", "Theme level", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SongLevelRadioButton.setText(QtGui.QApplication.translate("SettingsDialog", "Song level", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SongLevelLabel.setText(QtGui.QApplication.translate("SettingsDialog", "Use the theme from each song in the database. If a song doesn\'t have a theme associated with it, then use the service\'s theme. If the service doesn\'t have a theme, then use the global theme.", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ServiceLevelRadioButton.setText(QtGui.QApplication.translate("SettingsDialog", "Service level", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ServiceLevelLabel.setText(QtGui.QApplication.translate("SettingsDialog", "Use the theme from the service , overriding any of the individual songs\' themes. If the service doesn\'t have a theme, then use the global theme.", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.GlobalLevelRadioButton.setText(QtGui.QApplication.translate("SettingsDialog", "Global level", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.GlobalLevelLabel.setText(QtGui.QApplication.translate("SettingsDialog", "Use the global theme, overriding any themes associated wither either the service or the songs.", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SettingsTabWidget.setTabText(self.SettingsTabWidget.indexOf(self.ThemesTab), QtGui.QApplication.translate("SettingsDialog", "Themes", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.MonitorGroupBox.setTitle(QtGui.QApplication.translate("SettingsDialog", "Monitors", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.MonitorLabel.setText(QtGui.QApplication.translate("SettingsDialog", "Select monitor for output display:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.MonitorComboBox.setItemText(0, QtGui.QApplication.translate("SettingsDialog", "Monitor 1 on X11 Windowing System", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.MonitorComboBox.setItemText(1, QtGui.QApplication.translate("SettingsDialog", "Monitor 2 on X11 Windowing System", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.FontSizeGroupBox.setTitle(QtGui.QApplication.translate("SettingsDialog", "Font Size", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.AutoResizeRadioButton.setText(QtGui.QApplication.translate("SettingsDialog", "Automatically resize font to fit text to slide", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.WrapLinesRadioButton.setText(QtGui.QApplication.translate("SettingsDialog", "Wrap long lines to keep desired font", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SongDisplayGroupBox.setTitle(QtGui.QApplication.translate("SettingsDialog", "Song Display", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.EnableCreditsCheckBox.setText(QtGui.QApplication.translate("SettingsDialog", "Enable displaying of song credits", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.VerseDisplayGroupBox.setTitle(QtGui.QApplication.translate("SettingsDialog", "Verse Display", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.VerseRadioButton.setText(QtGui.QApplication.translate("SettingsDialog", "Verse style", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ParagraphRadioButton.setText(QtGui.QApplication.translate("SettingsDialog", "Paragraph style", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.NewChaptersCheckBox.setText(QtGui.QApplication.translate("SettingsDialog", "Only show new chapter numbers", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.DisplayStyleLabel.setText(QtGui.QApplication.translate("SettingsDialog", "Display Style:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.DisplayStyleComboBox.setItemText(0, QtGui.QApplication.translate("SettingsDialog", "No brackets", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.DisplayStyleComboBox.setItemText(1, QtGui.QApplication.translate("SettingsDialog", "( and )", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.DisplayStyleComboBox.setItemText(2, QtGui.QApplication.translate("SettingsDialog", "{ and }", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.DisplayStyleComboBox.setItemText(3, QtGui.QApplication.translate("SettingsDialog", "[ and ]", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.ChangeNoteLabel.setText(QtGui.QApplication.translate("SettingsDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
||||||
|
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
||||||
|
"p, li { white-space: pre-wrap; }\n"
|
||||||
|
"</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
|
||||||
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Changes don\'t affect verses already in the service</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.BlankScreenGroupBox.setTitle(QtGui.QApplication.translate("SettingsDialog", "Blank Screen", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.WarningCheckBox.setText(QtGui.QApplication.translate("SettingsDialog", "Show warning on startup", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.VideoModeGroupBox.setTitle(QtGui.QApplication.translate("SettingsDialog", "Video Mode", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.UseVMRCheckBox.setText(QtGui.QApplication.translate("SettingsDialog", "Use Video Mode Rendering", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.UseVMRLabel.setText(QtGui.QApplication.translate("SettingsDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
||||||
|
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
||||||
|
"p, li { white-space: pre-wrap; }\n"
|
||||||
|
"</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
|
||||||
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">No video preview available with VMR enabled</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SettingsTabWidget.setTabText(self.SettingsTabWidget.indexOf(self.DisplayTab), QtGui.QApplication.translate("SettingsDialog", "Display", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.AlertGroupBox.setTitle(QtGui.QApplication.translate("SettingsDialog", "Alerts", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.FontLabel.setText(QtGui.QApplication.translate("SettingsDialog", "Font Name:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.FontColorLabel.setText(QtGui.QApplication.translate("SettingsDialog", "Font Color:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.BackgroundColorLabel.setText(QtGui.QApplication.translate("SettingsDialog", "Background Color:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.LengthLabel.setText(QtGui.QApplication.translate("SettingsDialog", "Display length:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.LengthSpinBox.setSuffix(QtGui.QApplication.translate("SettingsDialog", "s", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SongWizardGroupBox.setTitle(QtGui.QApplication.translate("SettingsDialog", "Song Wizard", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SongWizardCheckBox.setText(QtGui.QApplication.translate("SettingsDialog", "Use the Song Wizard to add songs", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SlideWrapAroundGroupBox.setTitle(QtGui.QApplication.translate("SettingsDialog", "Slide Wrap Around", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SlideWrapAroundCheckBox.setText(QtGui.QApplication.translate("SettingsDialog", "Enable slide wrap around", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.TimedCyclingGroupBox.setTitle(QtGui.QApplication.translate("SettingsDialog", "Timed Cycling", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.UpdateIntervalLabel.setText(QtGui.QApplication.translate("SettingsDialog", "Update interval:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.IntervalSpinBox.setSuffix(QtGui.QApplication.translate("SettingsDialog", "s", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.EnabledCyclingCheckBox.setText(QtGui.QApplication.translate("SettingsDialog", "Enable timed cycling", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SettingsTabWidget.setTabText(self.SettingsTabWidget.indexOf(self.SlideTab), QtGui.QApplication.translate("SettingsDialog", "Slide", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.CCLIGroupBox.setTitle(QtGui.QApplication.translate("SettingsDialog", "CCLI Details", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.NumberLabel.setText(QtGui.QApplication.translate("SettingsDialog", "CCLI Number:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.UsernameLabel.setText(QtGui.QApplication.translate("SettingsDialog", "SongSelect Username:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.PasswordLabel.setText(QtGui.QApplication.translate("SettingsDialog", "SongSelect Password:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.AutoOpenGroupBox.setTitle(QtGui.QApplication.translate("SettingsDialog", "Auto Open Last Service", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.AutoOpenCheckBox.setText(QtGui.QApplication.translate("SettingsDialog", "Automatically open the last service at startup", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SearchGroupBox.setTitle(QtGui.QApplication.translate("SettingsDialog", "Search", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SearchCheckBox.setText(QtGui.QApplication.translate("SettingsDialog", "Enabled search-as-you-type", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.SettingsTabWidget.setTabText(self.SettingsTabWidget.indexOf(self.GeneralTab), QtGui.QApplication.translate("SettingsDialog", "General", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
|
||||||
|
def show(self):
|
||||||
|
self.SettingsDialog.show()
|
Loading…
Reference in New Issue
Block a user