Logo Search packages:      
Sourcecode: videoporama version File versions  Download package

DefZoomPoint.py

# -*- coding: utf-8 -*-

## This file is part of Videoporama
# Videoporama is a program to make diaporama export in video file
# Copyright (C) 2007-2010  Olivier Ponchaut <opvg@numericable.be> - Dominique Levray

# 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; either version 2 of the License, or
# (at your option) any later version.
#
# 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.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

# Form implementation generated from reading ui file 'DefZoomPoint.ui'
#
# Created: Sat Jul 17 14:24:04 2010
#      by: PyQt4 UI code generator 4.7.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

00030 class Ui_DefZoomPointDlg(object):
    def setupUi(self, DefZoomPointDlg):
        DefZoomPointDlg.setObjectName("DefZoomPointDlg")
        DefZoomPointDlg.resize(800, 450)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DefZoomPointDlg.sizePolicy().hasHeightForWidth())
        DefZoomPointDlg.setSizePolicy(sizePolicy)
        self.verticalLayout = QtGui.QVBoxLayout(DefZoomPointDlg)
        self.verticalLayout.setSpacing(2)
        self.verticalLayout.setMargin(2)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.label = QtGui.QLabel(DefZoomPointDlg)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.ZoomPointXValue = QtGui.QDoubleSpinBox(DefZoomPointDlg)
        self.ZoomPointXValue.setMinimumSize(QtCore.QSize(100, 0))
        self.ZoomPointXValue.setMaximumSize(QtCore.QSize(100, 16777215))
        self.ZoomPointXValue.setObjectName("ZoomPointXValue")
        self.horizontalLayout.addWidget(self.ZoomPointXValue)
        self.ZoomPointXLabel = QtGui.QLabel(DefZoomPointDlg)
        self.ZoomPointXLabel.setObjectName("ZoomPointXLabel")
        self.horizontalLayout.addWidget(self.ZoomPointXLabel)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.label_2 = QtGui.QLabel(DefZoomPointDlg)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout.addWidget(self.label_2)
        self.ZoomPointYValue = QtGui.QDoubleSpinBox(DefZoomPointDlg)
        self.ZoomPointYValue.setMinimumSize(QtCore.QSize(100, 0))
        self.ZoomPointYValue.setMaximumSize(QtCore.QSize(100, 16777215))
        self.ZoomPointYValue.setObjectName("ZoomPointYValue")
        self.horizontalLayout.addWidget(self.ZoomPointYValue)
        self.ZoomPointYLabel = QtGui.QLabel(DefZoomPointDlg)
        self.ZoomPointYLabel.setObjectName("ZoomPointYLabel")
        self.horizontalLayout.addWidget(self.ZoomPointYLabel)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.label_3 = QtGui.QLabel(DefZoomPointDlg)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout.addWidget(self.label_3)
        self.ZoomPointZoomValue = QtGui.QDoubleSpinBox(DefZoomPointDlg)
        self.ZoomPointZoomValue.setMinimumSize(QtCore.QSize(100, 0))
        self.ZoomPointZoomValue.setMaximumSize(QtCore.QSize(100, 16777215))
        self.ZoomPointZoomValue.setObjectName("ZoomPointZoomValue")
        self.horizontalLayout.addWidget(self.ZoomPointZoomValue)
        self.ZoomPointZoomLabel = QtGui.QLabel(DefZoomPointDlg)
        self.ZoomPointZoomLabel.setObjectName("ZoomPointZoomLabel")
        self.horizontalLayout.addWidget(self.ZoomPointZoomLabel)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem3)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.SceneBox = QtGui.QGraphicsView(DefZoomPointDlg)
        self.SceneBox.setObjectName("SceneBox")
        self.verticalLayout.addWidget(self.SceneBox)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setContentsMargins(-1, 0, -1, -1)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.MagneticEdge = QtGui.QCheckBox(DefZoomPointDlg)
        self.MagneticEdge.setObjectName("MagneticEdge")
        self.horizontalLayout_2.addWidget(self.MagneticEdge)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem4)
        self.HelpBt = QtGui.QPushButton(DefZoomPointDlg)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("icons/Help.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.HelpBt.setIcon(icon)
        self.HelpBt.setObjectName("HelpBt")
        self.horizontalLayout_2.addWidget(self.HelpBt)
        self.Ok = QtGui.QPushButton(DefZoomPointDlg)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.Ok.sizePolicy().hasHeightForWidth())
        self.Ok.setSizePolicy(sizePolicy)
        self.Ok.setObjectName("Ok")
        self.horizontalLayout_2.addWidget(self.Ok)
        self.Cancel = QtGui.QPushButton(DefZoomPointDlg)
        self.Cancel.setObjectName("Cancel")
        self.horizontalLayout_2.addWidget(self.Cancel)
        self.verticalLayout.addLayout(self.horizontalLayout_2)

        self.retranslateUi(DefZoomPointDlg)
        QtCore.QMetaObject.connectSlotsByName(DefZoomPointDlg)

    def retranslateUi(self, DefZoomPointDlg):
        DefZoomPointDlg.setWindowTitle(QtGui.QApplication.translate("DefZoomPointDlg", "Stop point during zoom definition", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("DefZoomPointDlg", "X :", None, QtGui.QApplication.UnicodeUTF8))
        self.ZoomPointXLabel.setText(QtGui.QApplication.translate("DefZoomPointDlg", "% or pix", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("DefZoomPointDlg", "Y :", None, QtGui.QApplication.UnicodeUTF8))
        self.ZoomPointYLabel.setText(QtGui.QApplication.translate("DefZoomPointDlg", "% or pix", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("DefZoomPointDlg", "Zoom :", None, QtGui.QApplication.UnicodeUTF8))
        self.ZoomPointZoomLabel.setText(QtGui.QApplication.translate("DefZoomPointDlg", "% or pix", None, QtGui.QApplication.UnicodeUTF8))
        self.MagneticEdge.setText(QtGui.QApplication.translate("DefZoomPointDlg", "Magnetic edge", None, QtGui.QApplication.UnicodeUTF8))
        self.HelpBt.setText(QtGui.QApplication.translate("DefZoomPointDlg", "&Help", None, QtGui.QApplication.UnicodeUTF8))
        self.Ok.setText(QtGui.QApplication.translate("DefZoomPointDlg", "&Ok", None, QtGui.QApplication.UnicodeUTF8))
        self.Cancel.setText(QtGui.QApplication.translate("DefZoomPointDlg", "&Cancel", None, QtGui.QApplication.UnicodeUTF8))


Generated by  Doxygen 1.6.0   Back to index