diff --git a/openlp/plugins/custom/lib/customtab.py b/openlp/plugins/custom/lib/customtab.py new file mode 100644 index 000000000..1f7531e3e --- /dev/null +++ b/openlp/plugins/custom/lib/customtab.py @@ -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') diff --git a/resources/.openlp/openlp.conf b/resources/.openlp/openlp.conf index a800c4ec2..7ed79db68 100644 --- a/resources/.openlp/openlp.conf +++ b/resources/.openlp/openlp.conf @@ -1,5 +1,7 @@ +[custom] +db type = sqlite + [bibles] -suffix name = bible3 db type = sqlite [main] diff --git a/resources/.openlp/openlp.conf_posix b/resources/.openlp/openlp.conf_posix index 14d16800e..116cb4350 100644 --- a/resources/.openlp/openlp.conf_posix +++ b/resources/.openlp/openlp.conf_posix @@ -1,5 +1,7 @@ +[custom] +db type = sqlite + [bibles] -suffix name = bible3 db type = sqlite [main] diff --git a/resources/.openlp/openlp.conf_win b/resources/.openlp/openlp.conf_win index d863c88e1..5ce733cb9 100644 --- a/resources/.openlp/openlp.conf_win +++ b/resources/.openlp/openlp.conf_win @@ -1,5 +1,7 @@ +[custom] +db type = sqlite + [bibles] -suffix name = bible3 db type = sqlite [main]