2008-11-25 20:50:19 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2009-09-08 19:58:05 +00:00
|
|
|
# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
|
2008-11-25 20:50:19 +00:00
|
|
|
|
2009-09-08 19:58:05 +00:00
|
|
|
###############################################################################
|
|
|
|
# OpenLP - Open Source Lyrics Projection #
|
|
|
|
# --------------------------------------------------------------------------- #
|
2011-12-27 10:33:55 +00:00
|
|
|
# Copyright (c) 2008-2012 Raoul Snyman #
|
|
|
|
# Portions copyright (c) 2008-2012 Tim Bentley, Gerald Britton, Jonathan #
|
2012-06-22 14:14:53 +00:00
|
|
|
# Corwin, Samuel Findlay, Michael Gorven, Scott Guerrieri, Matthias Hub, #
|
|
|
|
# Meinert Jordan, Armin Köhler, Edwin Lunando, Joshua Miller, Stevan Pettit, #
|
|
|
|
# Andreas Preikschat, Mattias Põldaru, Christian Richter, Philip Ridout, #
|
|
|
|
# Simon Scudder, Jeffrey Smith, Maikel Stuivenberg, Martin Thompson, Jon #
|
|
|
|
# Tibble, Dave Warnock, Frode Woldsund #
|
2009-09-08 19:58:05 +00:00
|
|
|
# --------------------------------------------------------------------------- #
|
|
|
|
# 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 #
|
|
|
|
###############################################################################
|
2010-06-10 19:45:02 +00:00
|
|
|
"""
|
|
|
|
The :mod:`ui` module provides the core user interface for OpenLP
|
|
|
|
"""
|
2011-01-15 00:53:12 +00:00
|
|
|
from PyQt4 import QtGui
|
|
|
|
|
2011-02-03 15:57:36 +00:00
|
|
|
from openlp.core.lib import translate
|
2008-11-25 20:50:19 +00:00
|
|
|
|
2010-04-29 20:56:27 +00:00
|
|
|
class HideMode(object):
|
|
|
|
"""
|
2011-01-03 11:25:30 +00:00
|
|
|
This is an enumeration class which specifies the different modes of hiding
|
|
|
|
the display.
|
2011-01-05 09:37:11 +00:00
|
|
|
|
|
|
|
``Blank``
|
|
|
|
This mode is used to hide all output, specifically by covering the
|
|
|
|
display with a black screen.
|
2011-01-09 17:07:17 +00:00
|
|
|
|
2011-01-05 09:37:11 +00:00
|
|
|
``Theme``
|
|
|
|
This mode is used to hide all output, but covers the display with the
|
|
|
|
current theme background, as opposed to black.
|
2011-01-09 17:07:17 +00:00
|
|
|
|
2011-01-05 09:37:11 +00:00
|
|
|
``Desktop``
|
|
|
|
This mode hides all output by minimising the display, leaving the user's
|
|
|
|
desktop showing.
|
2010-04-29 20:56:27 +00:00
|
|
|
"""
|
|
|
|
Blank = 1
|
|
|
|
Theme = 2
|
|
|
|
Screen = 3
|
|
|
|
|
2011-10-29 19:13:11 +00:00
|
|
|
class AlertLocation(object):
|
2011-10-29 13:21:54 +00:00
|
|
|
"""
|
2011-10-29 19:13:11 +00:00
|
|
|
This is an enumeration class which controls where Alerts are placed on the
|
|
|
|
screen.
|
2011-10-29 13:21:54 +00:00
|
|
|
|
|
|
|
``Top``
|
|
|
|
Place the text at the top of the screen.
|
|
|
|
|
|
|
|
``Middle``
|
|
|
|
Place the text in the middle of the screen.
|
|
|
|
|
|
|
|
``Bottom``
|
|
|
|
Place the text at the bottom of the screen.
|
|
|
|
"""
|
|
|
|
Top = 0
|
|
|
|
Middle = 1
|
|
|
|
Bottom = 2
|
|
|
|
|
2011-02-26 11:16:21 +00:00
|
|
|
from firsttimeform import FirstTimeForm
|
2011-03-02 17:44:33 +00:00
|
|
|
from firsttimelanguageform import FirstTimeLanguageForm
|
2011-10-02 07:52:28 +00:00
|
|
|
from themelayoutform import ThemeLayoutForm
|
2010-10-17 18:58:42 +00:00
|
|
|
from themeform import ThemeForm
|
2010-09-26 06:20:24 +00:00
|
|
|
from filerenameform import FileRenameForm
|
2011-02-12 10:04:10 +00:00
|
|
|
from starttimeform import StartTimeForm
|
2011-05-04 17:31:02 +00:00
|
|
|
from screen import ScreenList
|
2011-05-10 20:39:17 +00:00
|
|
|
from maindisplay import MainDisplay, Display
|
2010-03-17 21:08:18 +00:00
|
|
|
from servicenoteform import ServiceNoteForm
|
|
|
|
from serviceitemeditform import ServiceItemEditForm
|
2011-07-25 20:56:39 +00:00
|
|
|
from slidecontroller import SlideController, Controller
|
2008-11-30 18:36:13 +00:00
|
|
|
from splashscreen import SplashScreen
|
2009-02-28 23:19:45 +00:00
|
|
|
from generaltab import GeneralTab
|
|
|
|
from themestab import ThemesTab
|
2010-07-09 21:32:32 +00:00
|
|
|
from advancedtab import AdvancedTab
|
2009-11-29 14:07:25 +00:00
|
|
|
from aboutform import AboutForm
|
2009-10-06 21:07:12 +00:00
|
|
|
from pluginform import PluginForm
|
2009-02-28 11:18:04 +00:00
|
|
|
from settingsform import SettingsForm
|
2011-07-30 07:34:37 +00:00
|
|
|
from formattingtagform import FormattingTagForm
|
2010-10-07 21:27:26 +00:00
|
|
|
from shortcutlistform import ShortcutListForm
|
2009-10-07 05:09:35 +00:00
|
|
|
from mediadockmanager import MediaDockManager
|
2009-02-21 19:23:54 +00:00
|
|
|
from servicemanager import ServiceManager
|
2009-03-22 07:11:05 +00:00
|
|
|
from thememanager import ThemeManager
|
2008-11-25 21:03:09 +00:00
|
|
|
|
2011-02-02 23:12:31 +00:00
|
|
|
__all__ = ['SplashScreen', 'AboutForm', 'SettingsForm', 'MainDisplay',
|
|
|
|
'SlideController', 'ServiceManager', 'ThemeManager', 'MediaDockManager',
|
2011-02-26 11:16:21 +00:00
|
|
|
'ServiceItemEditForm', u'FirstTimeForm']
|