Moved some stuff, added some new images, and one or two other things.

bzr-revno: 35
This commit is contained in:
Raoul Snyman 2008-10-23 19:41:22 +00:00
parent a2c41b5110
commit a1bc7f9e83
8 changed files with 31 additions and 30 deletions

View File

@ -1,40 +1,31 @@
#!/usr/bin/env pythonw #!/usr/bin/env python
# vim: autoindent shiftwidth=4 expandtab textwidth=80
""" """
OpenLP - Open Source Lyrics Projection
Copyright (c) 2008 Raoul Snyman
Portions copyright (c) 2008 Martin Thompson, Tim Bennet
Entry point for OpenLP wx.App 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; version 2 of the License.
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.
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
""" """
import wx class OpenLP(object):
def __init__(self):
from openlp.ui import mainframe pass
class OpenLP(wx.PySimpleApp):
def OnInit(self):
frame = mainframe.MainFrame(None, title="openlp.org")
frame.Show()
import sys
for f in sys.argv[1:]:
self.OpenFileMessage(f)
return True;
def OpenFileMessage(self, filename):
# TODO: OOS loading here
# rename function, too
dlg = wx.MessageDialog(None,
"This app was just asked to open:\n%s\n"%filename,
"File Opened", wx.OK|wx.ICON_INFORMATION)
def run(self):
pass
if __name__ == '__main__': if __name__ == '__main__':
app = OpenLP() app = OpenLP()
app.MainLoop() app.run()
# vim: autoindent shiftwidth=4 expandtab textwidth=80

View File

@ -1 +1,2 @@
from openlp.core.render import Renderer from openlp.core.render import Renderer
from openlp.core.settingsmanager import SettingsManager

View File

@ -0,0 +1,3 @@
class SettingsManager(object):
def __init__(self):
pass

Binary file not shown.

After

Width:  |  Height:  |  Size: 666 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

View File

@ -5,6 +5,11 @@
<file>song_export.png</file> <file>song_export.png</file>
<file>song_new.png</file> <file>song_new.png</file>
</qresource> </qresource>
<qresource prefix="custom" >
<file>custom_new.png</file>
<file>custom_edit.png</file>
<file>custom_delete.png</file>
</qresource>
<qresource prefix="wizards" > <qresource prefix="wizards" >
<file>wizard_importbible.bmp</file> <file>wizard_importbible.bmp</file>
</qresource> </qresource>
@ -58,6 +63,7 @@
<file>tools_alert.png</file> <file>tools_alert.png</file>
</qresource> </qresource>
<qresource prefix="themes" > <qresource prefix="themes" >
<file>theme_delete.png</file>
<file>theme_new.png</file> <file>theme_new.png</file>
<file>theme_edit.png</file> <file>theme_edit.png</file>
<file>theme_export.png</file> <file>theme_export.png</file>