openlp/openlp/core/ui/filerenamedialog.py

57 lines
3.2 KiB
Python
Raw Normal View History

2010-09-26 08:38:11 +00:00
# -*- coding: utf-8 -*-
2010-09-26 12:23:50 +00:00
# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
2010-09-26 08:38:11 +00:00
2010-09-26 12:23:50 +00:00
###############################################################################
# OpenLP - Open Source Lyrics Projection #
# --------------------------------------------------------------------------- #
2010-12-26 11:04:47 +00:00
# Copyright (c) 2008-2011 Raoul Snyman #
# Portions copyright (c) 2008-2011 Tim Bentley, Jonathan Corwin, Michael #
2010-09-26 12:23:50 +00:00
# Gorven, Scott Guerrieri, Meinert Jordan, Andreas Preikschat, Christian #
# Richter, Philip Ridout, Maikel Stuivenberg, Martin Thompson, Jon Tibble, #
# Carsten Tinggaard, 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-09-26 08:38:11 +00:00
from PyQt4 import QtCore, QtGui
2010-09-26 12:23:50 +00:00
from openlp.core.lib import translate
2010-09-26 08:38:11 +00:00
class Ui_FileRenameDialog(object):
def setupUi(self, FileRenameDialog):
2010-12-15 19:22:25 +00:00
FileRenameDialog.setObjectName(u'FileRenameDialog')
2010-09-26 08:38:11 +00:00
FileRenameDialog.resize(400, 87)
self.buttonBox = QtGui.QDialogButtonBox(FileRenameDialog)
self.buttonBox.setGeometry(QtCore.QRect(210, 50, 171, 25))
2010-11-03 18:03:28 +00:00
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel |
QtGui.QDialogButtonBox.Ok)
2010-12-15 19:22:25 +00:00
self.buttonBox.setObjectName(u'buttonBox')
2010-09-26 08:38:11 +00:00
self.widget = QtGui.QWidget(FileRenameDialog)
self.widget.setGeometry(QtCore.QRect(10, 10, 381, 35))
2010-12-15 19:22:25 +00:00
self.widget.setObjectName(u'widget')
2010-09-26 08:38:11 +00:00
self.horizontalLayout = QtGui.QHBoxLayout(self.widget)
2010-12-15 19:22:25 +00:00
self.horizontalLayout.setObjectName(u'horizontalLayout')
2010-12-16 16:08:10 +00:00
self.fileRenameLabel = QtGui.QLabel(self.widget)
self.fileRenameLabel.setObjectName(u'fileRenameLabel')
self.horizontalLayout.addWidget(self.fileRenameLabel)
self.fileNameEdit = QtGui.QLineEdit(self.widget)
self.fileNameEdit.setObjectName(u'fileNameEdit')
self.horizontalLayout.addWidget(self.fileNameEdit)
2010-09-26 08:38:11 +00:00
self.retranslateUi(FileRenameDialog)
QtCore.QMetaObject.connectSlotsByName(FileRenameDialog)
def retranslateUi(self, FileRenameDialog):
2010-12-16 16:08:10 +00:00
self.fileRenameLabel.setText(translate('OpenLP.FileRenameForm',
2010-12-26 11:04:47 +00:00
'New File Name:'))