Logo Search packages:      
Sourcecode: videoporama version File versions

configuration.py

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

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

# 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 'configuration.ui'
#
# Created: Wed May 20 19:58:16 2009
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Configuration(object):
    def setupUi(self, Configuration):
        Configuration.setObjectName("Configuration")
        Configuration.resize(873, 371)
        self.chk = QtGui.QPushButton(Configuration)
        self.chk.setGeometry(QtCore.QRect(10, 330, 130, 30))
        self.chk.setObjectName("chk")
        self.saveconfig = QtGui.QPushButton(Configuration)
        self.saveconfig.setGeometry(QtCore.QRect(150, 330, 130, 30))
        self.saveconfig.setObjectName("saveconfig")
        self.cancel = QtGui.QPushButton(Configuration)
        self.cancel.setGeometry(QtCore.QRect(290, 330, 120, 30))
        self.cancel.setObjectName("cancel")
        self.groupBox = QtGui.QGroupBox(Configuration)
        self.groupBox.setGeometry(QtCore.QRect(10, 10, 401, 161))
        self.groupBox.setObjectName("groupBox")
        self.soxdir = QtGui.QLineEdit(self.groupBox)
        self.soxdir.setGeometry(QtCore.QRect(180, 110, 180, 25))
        self.soxdir.setObjectName("soxdir")
        self.mjpegtoolsbut = QtGui.QToolButton(self.groupBox)
        self.mjpegtoolsbut.setGeometry(QtCore.QRect(370, 70, 20, 23))
        self.mjpegtoolsbut.setObjectName("mjpegtoolsbut")
        self.textLabel1_3_2 = QtGui.QLabel(self.groupBox)
        self.textLabel1_3_2.setGeometry(QtCore.QRect(10, 70, 170, 30))
        self.textLabel1_3_2.setWordWrap(False)
        self.textLabel1_3_2.setObjectName("textLabel1_3_2")
        self.textLabel1_4 = QtGui.QLabel(self.groupBox)
        self.textLabel1_4.setGeometry(QtCore.QRect(10, 110, 170, 30))
        self.textLabel1_4.setWordWrap(False)
        self.textLabel1_4.setObjectName("textLabel1_4")
        self.mjpegtoolsdir = QtGui.QLineEdit(self.groupBox)
        self.mjpegtoolsdir.setGeometry(QtCore.QRect(180, 70, 180, 25))
        self.mjpegtoolsdir.setObjectName("mjpegtoolsdir")
        self.soxbut = QtGui.QToolButton(self.groupBox)
        self.soxbut.setGeometry(QtCore.QRect(370, 110, 20, 23))
        self.soxbut.setObjectName("soxbut")
        self.imgmgkdir = QtGui.QLineEdit(self.groupBox)
        self.imgmgkdir.setGeometry(QtCore.QRect(180, 29, 180, 25))
        self.imgmgkdir.setObjectName("imgmgkdir")
        self.imgmgkbut = QtGui.QToolButton(self.groupBox)
        self.imgmgkbut.setGeometry(QtCore.QRect(370, 29, 20, 23))
        self.imgmgkbut.setObjectName("imgmgkbut")
        self.textLabel1 = QtGui.QLabel(self.groupBox)
        self.textLabel1.setGeometry(QtCore.QRect(10, 30, 170, 30))
        self.textLabel1.setWordWrap(False)
        self.textLabel1.setObjectName("textLabel1")
        self.groupBox_2 = QtGui.QGroupBox(Configuration)
        self.groupBox_2.setGeometry(QtCore.QRect(10, 190, 401, 131))
        self.groupBox_2.setObjectName("groupBox_2")
        self.tmpdir = QtGui.QLineEdit(self.groupBox_2)
        self.tmpdir.setGeometry(QtCore.QRect(180, 28, 180, 25))
        self.tmpdir.setObjectName("tmpdir")
        self.textLabel1_6 = QtGui.QLabel(self.groupBox_2)
        self.textLabel1_6.setGeometry(QtCore.QRect(10, 29, 170, 30))
        self.textLabel1_6.setWordWrap(False)
        self.textLabel1_6.setObjectName("textLabel1_6")
        self.tmpdirbut = QtGui.QToolButton(self.groupBox_2)
        self.tmpdirbut.setGeometry(QtCore.QRect(370, 30, 20, 23))
        self.tmpdirbut.setObjectName("tmpdirbut")
        self.groupBox_3 = QtGui.QGroupBox(Configuration)
        self.groupBox_3.setGeometry(QtCore.QRect(430, 10, 431, 351))
        self.groupBox_3.setObjectName("groupBox_3")
        self.frame = QtGui.QFrame(self.groupBox_3)
        self.frame.setGeometry(QtCore.QRect(9, 270, 411, 31))
        self.frame.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame.setFrameShadow(QtGui.QFrame.Plain)
        self.frame.setLineWidth(0)
        self.frame.setObjectName("frame")
        self.textLabel4_4 = QtGui.QLabel(self.frame)
        self.textLabel4_4.setGeometry(QtCore.QRect(0, 0, 180, 20))
        self.textLabel4_4.setWordWrap(False)
        self.textLabel4_4.setObjectName("textLabel4_4")
        self.outputf = QtGui.QComboBox(self.frame)
        self.outputf.setGeometry(QtCore.QRect(200, 0, 211, 26))
        self.outputf.setMinimumSize(QtCore.QSize(0, 26))
        self.outputf.setObjectName("outputf")
        self.outputf.addItem(QtCore.QString())
        self.outputf.addItem(QtCore.QString())
        self.outputf.addItem(QtCore.QString())
        self.outputf.addItem(QtCore.QString())
        self.outputf.addItem(QtCore.QString())
        self.outputf.addItem(QtCore.QString())
        self.frame_2 = QtGui.QFrame(self.groupBox_3)
        self.frame_2.setGeometry(QtCore.QRect(10, 310, 411, 31))
        self.frame_2.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_2.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_2.setLineWidth(0)
        self.frame_2.setObjectName("frame_2")
        self.videof = QtGui.QComboBox(self.frame_2)
        self.videof.setGeometry(QtCore.QRect(200, 0, 210, 30))
        self.videof.setObjectName("videof")
        self.videof.addItem(QtCore.QString())
        self.videof.addItem(QtCore.QString())
        self.videof.addItem(QtCore.QString())
        self.videof.addItem(QtCore.QString())
        self.videof.addItem(QtCore.QString())
        self.videof.addItem(QtCore.QString())
        self.textLabel4_3_2 = QtGui.QLabel(self.frame_2)
        self.textLabel4_3_2.setGeometry(QtCore.QRect(0, 0, 190, 20))
        self.textLabel4_3_2.setWordWrap(False)
        self.textLabel4_3_2.setObjectName("textLabel4_3_2")
        self.frame_3 = QtGui.QFrame(self.groupBox_3)
        self.frame_3.setGeometry(QtCore.QRect(10, 150, 411, 31))
        self.frame_3.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_3.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_3.setLineWidth(0)
        self.frame_3.setObjectName("frame_3")
        self.frame_4 = QtGui.QFrame(self.frame_3)
        self.frame_4.setGeometry(QtCore.QRect(30, 90, 411, 31))
        self.frame_4.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_4.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_4.setLineWidth(0)
        self.frame_4.setObjectName("frame_4")
        self.frame_5 = QtGui.QFrame(self.frame_4)
        self.frame_5.setGeometry(QtCore.QRect(40, 100, 411, 31))
        self.frame_5.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_5.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_5.setLineWidth(0)
        self.frame_5.setObjectName("frame_5")
        self.textLabel5_3 = QtGui.QLabel(self.frame_3)
        self.textLabel5_3.setGeometry(QtCore.QRect(0, 0, 180, 20))
        self.textLabel5_3.setWordWrap(False)
        self.textLabel5_3.setObjectName("textLabel5_3")
        self.imgformat = QtGui.QComboBox(self.frame_3)
        self.imgformat.setGeometry(QtCore.QRect(200, 0, 210, 30))
        self.imgformat.setObjectName("imgformat")
        self.imgformat.addItem(QtCore.QString())
        self.imgformat.addItem(QtCore.QString())
        self.frame_6 = QtGui.QFrame(self.groupBox_3)
        self.frame_6.setGeometry(QtCore.QRect(10, 190, 411, 31))
        self.frame_6.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_6.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_6.setLineWidth(0)
        self.frame_6.setObjectName("frame_6")
        self.textLabel5_3_2 = QtGui.QLabel(self.frame_6)
        self.textLabel5_3_2.setGeometry(QtCore.QRect(0, 0, 180, 20))
        self.textLabel5_3_2.setWordWrap(False)
        self.textLabel5_3_2.setObjectName("textLabel5_3_2")
        self.bgcolor = QtGui.QLineEdit(self.frame_6)
        self.bgcolor.setGeometry(QtCore.QRect(194, 0, 190, 25))
        self.bgcolor.setObjectName("bgcolor")
        self.bgcolora = QtGui.QToolButton(self.frame_6)
        self.bgcolora.setGeometry(QtCore.QRect(390, 0, 18, 27))
        self.bgcolora.setObjectName("bgcolora")
        self.frame_7 = QtGui.QFrame(self.groupBox_3)
        self.frame_7.setGeometry(QtCore.QRect(10, 230, 411, 31))
        self.frame_7.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_7.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_7.setLineWidth(0)
        self.frame_7.setObjectName("frame_7")
        self.bgfile = QtGui.QLineEdit(self.frame_7)
        self.bgfile.setGeometry(QtCore.QRect(194, 0, 190, 25))
        self.bgfile.setObjectName("bgfile")
        self.textLabel5 = QtGui.QLabel(self.frame_7)
        self.textLabel5.setGeometry(QtCore.QRect(0, 0, 109, 20))
        self.textLabel5.setWordWrap(False)
        self.textLabel5.setObjectName("textLabel5")
        self.bgfilea = QtGui.QToolButton(self.frame_7)
        self.bgfilea.setGeometry(QtCore.QRect(390, 0, 18, 27))
        self.bgfilea.setObjectName("bgfilea")
        self.frame_8 = QtGui.QFrame(self.groupBox_3)
        self.frame_8.setGeometry(QtCore.QRect(10, 110, 411, 31))
        self.frame_8.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_8.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_8.setLineWidth(0)
        self.frame_8.setObjectName("frame_8")
        self.textLabel4_2 = QtGui.QLabel(self.frame_8)
        self.textLabel4_2.setGeometry(QtCore.QRect(0, 0, 160, 20))
        self.textLabel4_2.setWordWrap(False)
        self.textLabel4_2.setObjectName("textLabel4_2")
        self.typet = QtGui.QComboBox(self.frame_8)
        self.typet.setGeometry(QtCore.QRect(200, 0, 210, 30))
        self.typet.setObjectName("typet")
        self.frame_9 = QtGui.QFrame(self.groupBox_3)
        self.frame_9.setGeometry(QtCore.QRect(10, 70, 411, 31))
        self.frame_9.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_9.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_9.setLineWidth(0)
        self.frame_9.setObjectName("frame_9")
        self.speedt = QtGui.QComboBox(self.frame_9)
        self.speedt.setGeometry(QtCore.QRect(200, 0, 210, 30))
        self.speedt.setObjectName("speedt")
        self.speedt.addItem(QtCore.QString())
        self.speedt.addItem(QtCore.QString())
        self.speedt.addItem(QtCore.QString())
        self.speedt.addItem(QtCore.QString())
        self.speedt.addItem(QtCore.QString())
        self.speedt.addItem(QtCore.QString())
        self.textLabel4 = QtGui.QLabel(self.frame_9)
        self.textLabel4.setGeometry(QtCore.QRect(0, 0, 160, 20))
        self.textLabel4.setWordWrap(False)
        self.textLabel4.setObjectName("textLabel4")
        self.frame_10 = QtGui.QFrame(self.groupBox_3)
        self.frame_10.setGeometry(QtCore.QRect(10, 30, 411, 31))
        self.frame_10.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_10.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_10.setLineWidth(0)
        self.frame_10.setObjectName("frame_10")
        self.textLabel2 = QtGui.QLabel(self.frame_10)
        self.textLabel2.setGeometry(QtCore.QRect(0, 0, 190, 20))
        self.textLabel2.setWordWrap(False)
        self.textLabel2.setObjectName("textLabel2")
        self.time = QtGui.QSpinBox(self.frame_10)
        self.time.setGeometry(QtCore.QRect(200, 0, 70, 23))
        self.time.setMinimum(1)
        self.time.setObjectName("time")

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

    def retranslateUi(self, Configuration):
        Configuration.setWindowTitle(QtGui.QApplication.translate("Configuration", "Configuration", None, QtGui.QApplication.UnicodeUTF8))
        self.chk.setText(QtGui.QApplication.translate("Configuration", "C&heck config", None, QtGui.QApplication.UnicodeUTF8))
        self.chk.setShortcut(QtGui.QApplication.translate("Configuration", "Alt+H", None, QtGui.QApplication.UnicodeUTF8))
        self.saveconfig.setText(QtGui.QApplication.translate("Configuration", "&Save", None, QtGui.QApplication.UnicodeUTF8))
        self.saveconfig.setShortcut(QtGui.QApplication.translate("Configuration", "Alt+S", None, QtGui.QApplication.UnicodeUTF8))
        self.cancel.setText(QtGui.QApplication.translate("Configuration", "Ca&ncel", None, QtGui.QApplication.UnicodeUTF8))
        self.cancel.setShortcut(QtGui.QApplication.translate("Configuration", "Alt+N", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("Configuration", "Bin folder", None, QtGui.QApplication.UnicodeUTF8))
        self.mjpegtoolsbut.setText(QtGui.QApplication.translate("Configuration", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_3_2.setText(QtGui.QApplication.translate("Configuration", "Mjpegtools bin folder :", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_4.setText(QtGui.QApplication.translate("Configuration", "SoX bin folder :", None, QtGui.QApplication.UnicodeUTF8))
        self.soxbut.setText(QtGui.QApplication.translate("Configuration", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.imgmgkbut.setText(QtGui.QApplication.translate("Configuration", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("Configuration", "Ffmpeg bin folder :", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("Configuration", "Working folder", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_6.setText(QtGui.QApplication.translate("Configuration", "Temporary folder :", None, QtGui.QApplication.UnicodeUTF8))
        self.tmpdirbut.setText(QtGui.QApplication.translate("Configuration", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("Configuration", "Standard options", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel4_4.setText(QtGui.QApplication.translate("Configuration", "Output file format :", None, QtGui.QApplication.UnicodeUTF8))
        self.outputf.setItemText(0, QtGui.QApplication.translate("Configuration", "RAW DV", None, QtGui.QApplication.UnicodeUTF8))
        self.outputf.setItemText(1, QtGui.QApplication.translate("Configuration", "VCD", None, QtGui.QApplication.UnicodeUTF8))
        self.outputf.setItemText(2, QtGui.QApplication.translate("Configuration", "SVCD", None, QtGui.QApplication.UnicodeUTF8))
        self.outputf.setItemText(3, QtGui.QApplication.translate("Configuration", "DVD", None, QtGui.QApplication.UnicodeUTF8))
        self.outputf.setItemText(4, QtGui.QApplication.translate("Configuration", "Flash FLV", None, QtGui.QApplication.UnicodeUTF8))
        self.outputf.setItemText(5, QtGui.QApplication.translate("Configuration", "H264", None, QtGui.QApplication.UnicodeUTF8))
        self.videof.setItemText(0, QtGui.QApplication.translate("Configuration", " PAL (720x576)", None, QtGui.QApplication.UnicodeUTF8))
        self.videof.setItemText(1, QtGui.QApplication.translate("Configuration", "NTSC (720x480)", None, QtGui.QApplication.UnicodeUTF8))
        self.videof.setItemText(2, QtGui.QApplication.translate("Configuration", "SECAM (720x576)", None, QtGui.QApplication.UnicodeUTF8))
        self.videof.setItemText(3, QtGui.QApplication.translate("Configuration", "HD 720", None, QtGui.QApplication.UnicodeUTF8))
        self.videof.setItemText(4, QtGui.QApplication.translate("Configuration", "HD 1080", None, QtGui.QApplication.UnicodeUTF8))
        self.videof.setItemText(5, QtGui.QApplication.translate("Configuration", "Web (384x288)", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel4_3_2.setText(QtGui.QApplication.translate("Configuration", "Video format :", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel5_3.setText(QtGui.QApplication.translate("Configuration", "Image format :", None, QtGui.QApplication.UnicodeUTF8))
        self.imgformat.setItemText(0, QtGui.QApplication.translate("Configuration", "4:3 - Normal", None, QtGui.QApplication.UnicodeUTF8))
        self.imgformat.setItemText(1, QtGui.QApplication.translate("Configuration", "16:9 - Wide", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel5_3_2.setText(QtGui.QApplication.translate("Configuration", "Background color :", None, QtGui.QApplication.UnicodeUTF8))
        self.bgcolora.setText(QtGui.QApplication.translate("Configuration", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel5.setText(QtGui.QApplication.translate("Configuration", "Background file :", None, QtGui.QApplication.UnicodeUTF8))
        self.bgfilea.setText(QtGui.QApplication.translate("Configuration", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel4_2.setText(QtGui.QApplication.translate("Configuration", "Transition type :", None, QtGui.QApplication.UnicodeUTF8))
        self.speedt.setItemText(0, QtGui.QApplication.translate("Configuration", "Very slow", None, QtGui.QApplication.UnicodeUTF8))
        self.speedt.setItemText(1, QtGui.QApplication.translate("Configuration", "Slow", None, QtGui.QApplication.UnicodeUTF8))
        self.speedt.setItemText(2, QtGui.QApplication.translate("Configuration", "Medium", None, QtGui.QApplication.UnicodeUTF8))
        self.speedt.setItemText(3, QtGui.QApplication.translate("Configuration", "Medium+", None, QtGui.QApplication.UnicodeUTF8))
        self.speedt.setItemText(4, QtGui.QApplication.translate("Configuration", "Fast", None, QtGui.QApplication.UnicodeUTF8))
        self.speedt.setItemText(5, QtGui.QApplication.translate("Configuration", "Very fast", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel4.setText(QtGui.QApplication.translate("Configuration", "Transition speed :", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2.setText(QtGui.QApplication.translate("Configuration", "Time display :", None, QtGui.QApplication.UnicodeUTF8))


Generated by  Doxygen 1.6.0   Back to index