openlp/openlp/core/ui/__init__.py

81 lines
3.7 KiB
Python
Raw Normal View History

# -*- coding: utf-8 -*-
# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
###############################################################################
# OpenLP - Open Source Lyrics Projection #
# --------------------------------------------------------------------------- #
2010-12-26 11:04:47 +00:00
# Copyright (c) 2008-2011 Raoul Snyman #
2011-05-26 16:25:54 +00:00
# Portions copyright (c) 2008-2011 Tim Bentley, Gerald Britton, Jonathan #
# Corwin, Michael Gorven, Scott Guerrieri, Matthias Hub, Meinert Jordan, #
2011-05-26 17:11:22 +00:00
# Armin Köhler, Joshua Miller, Stevan Pettit, Andreas Preikschat, Mattias #
2011-06-12 16:02:52 +00:00
# Põldaru, Christian Richter, Philip Ridout, Simon Scudder, Jeffrey Smith, #
2011-06-12 15:41:01 +00:00
# Maikel Stuivenberg, Martin Thompson, Jon Tibble, Frode Woldsund #
# --------------------------------------------------------------------------- #
# 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
2010-04-29 20:56:27 +00:00
class HideMode(object):
"""
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-02-26 11:16:21 +00:00
from firsttimeform import FirstTimeForm
2011-03-02 17:44:33 +00:00
from firsttimelanguageform import FirstTimeLanguageForm
2010-10-17 18:58:42 +00:00
from themeform import ThemeForm
2010-09-26 06:20:24 +00:00
from filerenameform import FileRenameForm
from starttimeform import StartTimeForm
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
from splashscreen import SplashScreen
from generaltab import GeneralTab
from themestab import ThemesTab
2010-07-09 21:32:32 +00:00
from advancedtab import AdvancedTab
from aboutform import AboutForm
2009-10-06 21:07:12 +00:00
from pluginform import PluginForm
from settingsform import SettingsForm
from formattingtagform import FormattingTagForm
2010-10-07 21:27:26 +00:00
from shortcutlistform import ShortcutListForm
from mediadockmanager import MediaDockManager
from servicemanager import ServiceManager
2009-03-22 07:11:05 +00:00
from thememanager import ThemeManager
__all__ = ['SplashScreen', 'AboutForm', 'SettingsForm', 'MainDisplay',
'SlideController', 'ServiceManager', 'ThemeManager', 'MediaDockManager',
2011-02-26 11:16:21 +00:00
'ServiceItemEditForm', u'FirstTimeForm']