Finish adding custom plugin bits

bzr-revno: 390
This commit is contained in:
Tim Bentley 2009-03-07 09:20:56 +00:00
parent 7badfb650f
commit 6304f73b8e
4 changed files with 44 additions and 3 deletions

View File

@ -0,0 +1,35 @@
# -*- coding: utf-8 -*-
# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
"""
OpenLP - Open Source Lyrics Projection
Copyright (c) 2008 Raoul Snyman
Portions copyright (c) 2008 - 2009 Martin Thompson, Tim Bentley,
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
"""
from PyQt4 import QtCore, QtGui
from openlp.core import translate
from openlp.core.lib import SettingsTab
from openlp.core.resources import *
class CustomTab(SettingsTab):
"""
SongsTab is the songs settings tab in the settings dialog.
"""
def __init__(self):
SettingsTab.__init__(self, u'Custom')
def setupUi(self):
self.setObjectName(u'CustomTab')

View File

@ -1,5 +1,7 @@
[custom]
db type = sqlite
[bibles] [bibles]
suffix name = bible3
db type = sqlite db type = sqlite
[main] [main]

View File

@ -1,5 +1,7 @@
[custom]
db type = sqlite
[bibles] [bibles]
suffix name = bible3
db type = sqlite db type = sqlite
[main] [main]

View File

@ -1,5 +1,7 @@
[custom]
db type = sqlite
[bibles] [bibles]
suffix name = bible3
db type = sqlite db type = sqlite
[main] [main]