forked from openlp/openlp
Finish adding custom plugin bits
bzr-revno: 390
This commit is contained in:
parent
7badfb650f
commit
6304f73b8e
35
openlp/plugins/custom/lib/customtab.py
Normal file
35
openlp/plugins/custom/lib/customtab.py
Normal 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')
|
@ -1,5 +1,7 @@
|
|||||||
|
[custom]
|
||||||
|
db type = sqlite
|
||||||
|
|
||||||
[bibles]
|
[bibles]
|
||||||
suffix name = bible3
|
|
||||||
db type = sqlite
|
db type = sqlite
|
||||||
|
|
||||||
[main]
|
[main]
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
[custom]
|
||||||
|
db type = sqlite
|
||||||
|
|
||||||
[bibles]
|
[bibles]
|
||||||
suffix name = bible3
|
|
||||||
db type = sqlite
|
db type = sqlite
|
||||||
|
|
||||||
[main]
|
[main]
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
[custom]
|
||||||
|
db type = sqlite
|
||||||
|
|
||||||
[bibles]
|
[bibles]
|
||||||
suffix name = bible3
|
|
||||||
db type = sqlite
|
db type = sqlite
|
||||||
|
|
||||||
[main]
|
[main]
|
||||||
|
Loading…
Reference in New Issue
Block a user