forked from openlp/openlp
Fix dialog
This commit is contained in:
parent
44224b0c73
commit
66b23f6a6f
@ -1,62 +1,48 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
|
|
||||||
|
|
||||||
###############################################################################
|
# Form implementation generated from reading ui file 'serviceitemeditdialog.ui'
|
||||||
# OpenLP - Open Source Lyrics Projection #
|
#
|
||||||
# --------------------------------------------------------------------------- #
|
# Created: Thu Mar 18 22:05:22 2010
|
||||||
# Copyright (c) 2008-2010 Raoul Snyman #
|
# by: PyQt4 UI code generator 4.7
|
||||||
# Portions copyright (c) 2008-2010 Tim Bentley, Jonathan Corwin, Michael #
|
#
|
||||||
# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, #
|
# WARNING! All changes made in this file will be lost!
|
||||||
# Carsten Tinggaard #
|
|
||||||
# --------------------------------------------------------------------------- #
|
|
||||||
# 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 PyQt4 import QtCore, QtGui
|
||||||
|
|
||||||
class Ui_ServiceItemEditDialog(object):
|
class Ui_ServiceItemEditDialog(object):
|
||||||
def setupUi(self, ServiceItemEditDialog):
|
def setupUi(self, ServiceItemEditDialog):
|
||||||
ServiceItemEditDialog.setObjectName("ServiceItemEditDialog")
|
ServiceItemEditDialog.setObjectName("ServiceItemEditDialog")
|
||||||
ServiceItemEditDialog.resize(400, 287)
|
ServiceItemEditDialog.resize(386, 272)
|
||||||
self.widget = QtGui.QWidget(ServiceItemEditDialog)
|
self.layoutWidget = QtGui.QWidget(ServiceItemEditDialog)
|
||||||
self.widget.setGeometry(QtCore.QRect(20, 20, 351, 241))
|
self.layoutWidget.setGeometry(QtCore.QRect(20, 20, 351, 241))
|
||||||
self.widget.setObjectName("widget")
|
self.layoutWidget.setObjectName("layoutWidget")
|
||||||
self.verticalLayout_2 = QtGui.QVBoxLayout(self.widget)
|
self.outerLayout = QtGui.QVBoxLayout(self.layoutWidget)
|
||||||
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
self.outerLayout.setObjectName("outerLayout")
|
||||||
self.horizontalLayout = QtGui.QHBoxLayout()
|
self.topLayout = QtGui.QHBoxLayout()
|
||||||
self.horizontalLayout.setObjectName("horizontalLayout")
|
self.topLayout.setObjectName("topLayout")
|
||||||
self.listWidget = QtGui.QListWidget(self.widget)
|
self.listWidget = QtGui.QListWidget(self.layoutWidget)
|
||||||
self.listWidget.setAlternatingRowColors(True)
|
self.listWidget.setAlternatingRowColors(True)
|
||||||
self.listWidget.setObjectName("listWidget")
|
self.listWidget.setObjectName("listWidget")
|
||||||
self.horizontalLayout.addWidget(self.listWidget)
|
self.topLayout.addWidget(self.listWidget)
|
||||||
self.verticalLayout = QtGui.QVBoxLayout()
|
self.buttonLayout = QtGui.QVBoxLayout()
|
||||||
self.verticalLayout.setObjectName("verticalLayout")
|
self.buttonLayout.setObjectName("buttonLayout")
|
||||||
self.upButton = QtGui.QPushButton(self.widget)
|
self.upButton = QtGui.QPushButton(self.layoutWidget)
|
||||||
self.upButton.setObjectName("upButton")
|
self.upButton.setObjectName("upButton")
|
||||||
self.verticalLayout.addWidget(self.upButton)
|
self.buttonLayout.addWidget(self.upButton)
|
||||||
self.downButton = QtGui.QPushButton(self.widget)
|
spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
|
||||||
self.downButton.setObjectName("downButton")
|
self.buttonLayout.addItem(spacerItem)
|
||||||
self.verticalLayout.addWidget(self.downButton)
|
self.deleteButton = QtGui.QPushButton(self.layoutWidget)
|
||||||
self.deleteButton = QtGui.QPushButton(self.widget)
|
|
||||||
self.deleteButton.setObjectName("deleteButton")
|
self.deleteButton.setObjectName("deleteButton")
|
||||||
self.verticalLayout.addWidget(self.deleteButton)
|
self.buttonLayout.addWidget(self.deleteButton)
|
||||||
self.horizontalLayout.addLayout(self.verticalLayout)
|
self.downButton = QtGui.QPushButton(self.layoutWidget)
|
||||||
self.verticalLayout_2.addLayout(self.horizontalLayout)
|
self.downButton.setObjectName("downButton")
|
||||||
self.buttonBox = QtGui.QDialogButtonBox(self.widget)
|
self.buttonLayout.addWidget(self.downButton)
|
||||||
|
self.topLayout.addLayout(self.buttonLayout)
|
||||||
|
self.outerLayout.addLayout(self.topLayout)
|
||||||
|
self.buttonBox = QtGui.QDialogButtonBox(self.layoutWidget)
|
||||||
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Save)
|
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Save)
|
||||||
self.buttonBox.setObjectName("buttonBox")
|
self.buttonBox.setObjectName("buttonBox")
|
||||||
self.verticalLayout_2.addWidget(self.buttonBox)
|
self.outerLayout.addWidget(self.buttonBox)
|
||||||
|
|
||||||
self.retranslateUi(ServiceItemEditDialog)
|
self.retranslateUi(ServiceItemEditDialog)
|
||||||
QtCore.QMetaObject.connectSlotsByName(ServiceItemEditDialog)
|
QtCore.QMetaObject.connectSlotsByName(ServiceItemEditDialog)
|
||||||
@ -64,6 +50,6 @@ class Ui_ServiceItemEditDialog(object):
|
|||||||
def retranslateUi(self, ServiceItemEditDialog):
|
def retranslateUi(self, ServiceItemEditDialog):
|
||||||
ServiceItemEditDialog.setWindowTitle(QtGui.QApplication.translate("ServiceItemEditDialog", "Service Item Maintenance", None, QtGui.QApplication.UnicodeUTF8))
|
ServiceItemEditDialog.setWindowTitle(QtGui.QApplication.translate("ServiceItemEditDialog", "Service Item Maintenance", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.upButton.setText(QtGui.QApplication.translate("ServiceItemEditDialog", "Up", None, QtGui.QApplication.UnicodeUTF8))
|
self.upButton.setText(QtGui.QApplication.translate("ServiceItemEditDialog", "Up", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.downButton.setText(QtGui.QApplication.translate("ServiceItemEditDialog", "Down", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.deleteButton.setText(QtGui.QApplication.translate("ServiceItemEditDialog", "Delete", None, QtGui.QApplication.UnicodeUTF8))
|
self.deleteButton.setText(QtGui.QApplication.translate("ServiceItemEditDialog", "Delete", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.downButton.setText(QtGui.QApplication.translate("ServiceItemEditDialog", "Down", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
|
||||||
|
@ -6,14 +6,14 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>400</width>
|
<width>386</width>
|
||||||
<height>287</height>
|
<height>272</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Service Item Maintenance</string>
|
<string>Service Item Maintenance</string>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="">
|
<widget class="QWidget" name="layoutWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>20</x>
|
<x>20</x>
|
||||||
@ -22,9 +22,9 @@
|
|||||||
<height>241</height>
|
<height>241</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
<layout class="QVBoxLayout" name="outerLayout">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<layout class="QHBoxLayout" name="topLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QListWidget" name="listWidget">
|
<widget class="QListWidget" name="listWidget">
|
||||||
<property name="alternatingRowColors">
|
<property name="alternatingRowColors">
|
||||||
@ -33,7 +33,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="buttonLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="upButton">
|
<widget class="QPushButton" name="upButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -42,11 +42,17 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="downButton">
|
<spacer name="verticalSpacer">
|
||||||
<property name="text">
|
<property name="orientation">
|
||||||
<string>Down</string>
|
<enum>Qt::Vertical</enum>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>40</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="deleteButton">
|
<widget class="QPushButton" name="deleteButton">
|
||||||
@ -55,6 +61,13 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="downButton">
|
||||||
|
<property name="text">
|
||||||
|
<string>Down</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
Loading…
Reference in New Issue
Block a user