/usr/share/videoporama/DefMoviePoint.py is in videoporama 0.8.1-0ubuntu5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'DefMoviePoint.ui'
#
# Created: Mon Sep 6 07:56:59 2010
# by: PyQt4 UI code generator 4.7.2
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
class Ui_DefMoviePointDlg(object):
def setupUi(self, DefMoviePointDlg):
DefMoviePointDlg.setObjectName("DefMoviePointDlg")
DefMoviePointDlg.setWindowModality(QtCore.Qt.WindowModal)
DefMoviePointDlg.resize(690, 517)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(DefMoviePointDlg.sizePolicy().hasHeightForWidth())
DefMoviePointDlg.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(9)
DefMoviePointDlg.setFont(font)
DefMoviePointDlg.setModal(True)
self.verticalLayout_3 = QtGui.QVBoxLayout(DefMoviePointDlg)
self.verticalLayout_3.setSpacing(4)
self.verticalLayout_3.setMargin(4)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.horizontalLayout_7 = QtGui.QHBoxLayout()
self.horizontalLayout_7.setSpacing(0)
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
self.label = QtGui.QLabel(DefMoviePointDlg)
self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label.setObjectName("label")
self.horizontalLayout_7.addWidget(self.label)
self.MovieFileNameEd = QtGui.QLineEdit(DefMoviePointDlg)
self.MovieFileNameEd.setReadOnly(True)
self.MovieFileNameEd.setObjectName("MovieFileNameEd")
self.horizontalLayout_7.addWidget(self.MovieFileNameEd)
self.verticalLayout_3.addLayout(self.horizontalLayout_7)
self.line_4 = QtGui.QFrame(DefMoviePointDlg)
self.line_4.setFrameShape(QtGui.QFrame.HLine)
self.line_4.setFrameShadow(QtGui.QFrame.Sunken)
self.line_4.setObjectName("line_4")
self.verticalLayout_3.addWidget(self.line_4)
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setSpacing(0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.verticalLayout = QtGui.QVBoxLayout()
self.verticalLayout.setSpacing(0)
self.verticalLayout.setObjectName("verticalLayout")
self.horizontalLayout_6 = QtGui.QHBoxLayout()
self.horizontalLayout_6.setSpacing(0)
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
self.CenterLBC = QtGui.QLabel(DefMoviePointDlg)
self.CenterLBC.setText("")
self.CenterLBC.setObjectName("CenterLBC")
self.horizontalLayout_6.addWidget(self.CenterLBC)
self.cibleVideo = QtGui.QLabel(DefMoviePointDlg)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.cibleVideo.sizePolicy().hasHeightForWidth())
self.cibleVideo.setSizePolicy(sizePolicy)
self.cibleVideo.setMinimumSize(QtCore.QSize(560, 315))
self.cibleVideo.setMaximumSize(QtCore.QSize(560, 315))
self.cibleVideo.setAutoFillBackground(True)
self.cibleVideo.setFrameShape(QtGui.QFrame.Box)
self.cibleVideo.setFrameShadow(QtGui.QFrame.Plain)
self.cibleVideo.setText("")
self.cibleVideo.setObjectName("cibleVideo")
self.horizontalLayout_6.addWidget(self.cibleVideo)
self.CenterLBD = QtGui.QLabel(DefMoviePointDlg)
self.CenterLBD.setText("")
self.CenterLBD.setObjectName("CenterLBD")
self.horizontalLayout_6.addWidget(self.CenterLBD)
self.verticalLayout.addLayout(self.horizontalLayout_6)
self.horizontalLayout.addLayout(self.verticalLayout)
self.verticalLayout_3.addLayout(self.horizontalLayout)
self.line_2 = QtGui.QFrame(DefMoviePointDlg)
self.line_2.setFrameShape(QtGui.QFrame.HLine)
self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
self.line_2.setObjectName("line_2")
self.verticalLayout_3.addWidget(self.line_2)
self.horizontalLayout_4 = QtGui.QHBoxLayout()
self.horizontalLayout_4.setSpacing(2)
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.verticalLayout_2 = QtGui.QVBoxLayout()
self.verticalLayout_2.setSpacing(0)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.horizontalLayout_5 = QtGui.QHBoxLayout()
self.horizontalLayout_5.setSpacing(0)
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.label_empty_left = QtGui.QLabel(DefMoviePointDlg)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_empty_left.sizePolicy().hasHeightForWidth())
self.label_empty_left.setSizePolicy(sizePolicy)
self.label_empty_left.setMinimumSize(QtCore.QSize(15, 0))
self.label_empty_left.setMaximumSize(QtCore.QSize(15, 16777215))
self.label_empty_left.setText("")
self.label_empty_left.setObjectName("label_empty_left")
self.horizontalLayout_5.addWidget(self.label_empty_left)
self.CustomWidget = QtGui.QLabel(DefMoviePointDlg)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.CustomWidget.sizePolicy().hasHeightForWidth())
self.CustomWidget.setSizePolicy(sizePolicy)
self.CustomWidget.setMinimumSize(QtCore.QSize(0, 20))
self.CustomWidget.setMaximumSize(QtCore.QSize(16777215, 20))
self.CustomWidget.setText("None")
self.CustomWidget.setObjectName("CustomWidget")
self.horizontalLayout_5.addWidget(self.CustomWidget)
self.label_empty_right = QtGui.QLabel(DefMoviePointDlg)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_empty_right.sizePolicy().hasHeightForWidth())
self.label_empty_right.setSizePolicy(sizePolicy)
self.label_empty_right.setMinimumSize(QtCore.QSize(15, 0))
self.label_empty_right.setMaximumSize(QtCore.QSize(15, 16777215))
self.label_empty_right.setText("")
self.label_empty_right.setObjectName("label_empty_right")
self.horizontalLayout_5.addWidget(self.label_empty_right)
self.verticalLayout_2.addLayout(self.horizontalLayout_5)
self.slider = QtGui.QSlider(DefMoviePointDlg)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.slider.sizePolicy().hasHeightForWidth())
self.slider.setSizePolicy(sizePolicy)
self.slider.setSingleStep(1000)
self.slider.setPageStep(10000)
self.slider.setOrientation(QtCore.Qt.Horizontal)
self.slider.setObjectName("slider")
self.verticalLayout_2.addWidget(self.slider)
self.horizontalLayout_4.addLayout(self.verticalLayout_2)
self.gridLayout = QtGui.QGridLayout()
self.gridLayout.setHorizontalSpacing(2)
self.gridLayout.setVerticalSpacing(0)
self.gridLayout.setObjectName("gridLayout")
self.label_2 = QtGui.QLabel(DefMoviePointDlg)
self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label_2.setObjectName("label_2")
self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
self.InitialDurationLabel = QtGui.QLabel(DefMoviePointDlg)
self.InitialDurationLabel.setText("00:00:00.0")
self.InitialDurationLabel.setObjectName("InitialDurationLabel")
self.gridLayout.addWidget(self.InitialDurationLabel, 1, 1, 1, 1)
self.tempsChrono = QtGui.QLabel(DefMoviePointDlg)
self.tempsChrono.setText("00:00:00.0")
self.tempsChrono.setObjectName("tempsChrono")
self.gridLayout.addWidget(self.tempsChrono, 0, 1, 1, 1)
self.label_3 = QtGui.QLabel(DefMoviePointDlg)
self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label_3.setObjectName("label_3")
self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
self.horizontalLayout_4.addLayout(self.gridLayout)
self.verticalLayout_3.addLayout(self.horizontalLayout_4)
self.line_3 = QtGui.QFrame(DefMoviePointDlg)
self.line_3.setFrameShape(QtGui.QFrame.HLine)
self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
self.line_3.setObjectName("line_3")
self.verticalLayout_3.addWidget(self.line_3)
self.horizontalLayout_3 = QtGui.QHBoxLayout()
self.horizontalLayout_3.setSpacing(0)
self.horizontalLayout_3.setContentsMargins(-1, 0, -1, -1)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.DefStartPosBT = QtGui.QToolButton(DefMoviePointDlg)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("icons/PosStart.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.DefStartPosBT.setIcon(icon)
self.DefStartPosBT.setObjectName("DefStartPosBT")
self.horizontalLayout_3.addWidget(self.DefStartPosBT)
self.StartPosEd = QtGui.QDateTimeEdit(DefMoviePointDlg)
self.StartPosEd.setMaximumSize(QtCore.QSize(90, 16777215))
self.StartPosEd.setSpecialValueText("None")
self.StartPosEd.setDisplayFormat("HH:mm:ss.z")
self.StartPosEd.setObjectName("StartPosEd")
self.horizontalLayout_3.addWidget(self.StartPosEd)
self.SeekLeftBt = QtGui.QToolButton(DefMoviePointDlg)
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap("icons/Seek_Left.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.SeekLeftBt.setIcon(icon1)
self.SeekLeftBt.setObjectName("SeekLeftBt")
self.horizontalLayout_3.addWidget(self.SeekLeftBt)
self.MPlayerPlayPauseBT = QtGui.QToolButton(DefMoviePointDlg)
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap("icons/player_play.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.MPlayerPlayPauseBT.setIcon(icon2)
self.MPlayerPlayPauseBT.setObjectName("MPlayerPlayPauseBT")
self.horizontalLayout_3.addWidget(self.MPlayerPlayPauseBT)
self.label_5 = QtGui.QLabel(DefMoviePointDlg)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())
self.label_5.setSizePolicy(sizePolicy)
self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label_5.setObjectName("label_5")
self.horizontalLayout_3.addWidget(self.label_5)
self.ActualDuration = QtGui.QLabel(DefMoviePointDlg)
self.ActualDuration.setText("00:00:00.0")
self.ActualDuration.setObjectName("ActualDuration")
self.horizontalLayout_3.addWidget(self.ActualDuration)
self.SeekRightBt = QtGui.QToolButton(DefMoviePointDlg)
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap("icons/Seek_Right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.SeekRightBt.setIcon(icon3)
self.SeekRightBt.setObjectName("SeekRightBt")
self.horizontalLayout_3.addWidget(self.SeekRightBt)
self.EndPosEd = QtGui.QDateTimeEdit(DefMoviePointDlg)
self.EndPosEd.setMaximumSize(QtCore.QSize(90, 16777215))
self.EndPosEd.setSpecialValueText("None")
self.EndPosEd.setCurrentSection(QtGui.QDateTimeEdit.HourSection)
self.EndPosEd.setDisplayFormat("HH:mm:ss.z")
self.EndPosEd.setObjectName("EndPosEd")
self.horizontalLayout_3.addWidget(self.EndPosEd)
self.DefEndPosBT = QtGui.QToolButton(DefMoviePointDlg)
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap("icons/PosEnd.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.DefEndPosBT.setIcon(icon4)
self.DefEndPosBT.setObjectName("DefEndPosBT")
self.horizontalLayout_3.addWidget(self.DefEndPosBT)
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_3.addItem(spacerItem)
self.verticalLayout_3.addLayout(self.horizontalLayout_3)
spacerItem1 = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.verticalLayout_3.addItem(spacerItem1)
self.line = QtGui.QFrame(DefMoviePointDlg)
self.line.setFrameShape(QtGui.QFrame.HLine)
self.line.setFrameShadow(QtGui.QFrame.Sunken)
self.line.setObjectName("line")
self.verticalLayout_3.addWidget(self.line)
self.horizontalLayout_2 = QtGui.QHBoxLayout()
self.horizontalLayout_2.setContentsMargins(-1, 0, -1, -1)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem2)
self.HelpBt = QtGui.QPushButton(DefMoviePointDlg)
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap("icons/Help.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.HelpBt.setIcon(icon5)
self.HelpBt.setObjectName("HelpBt")
self.horizontalLayout_2.addWidget(self.HelpBt)
self.Ok = QtGui.QPushButton(DefMoviePointDlg)
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)
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap("icons/ok.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.Ok.setIcon(icon6)
self.Ok.setObjectName("Ok")
self.horizontalLayout_2.addWidget(self.Ok)
self.Cancel = QtGui.QPushButton(DefMoviePointDlg)
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap("icons/cancel.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.Cancel.setIcon(icon7)
self.Cancel.setObjectName("Cancel")
self.horizontalLayout_2.addWidget(self.Cancel)
self.verticalLayout_3.addLayout(self.horizontalLayout_2)
self.retranslateUi(DefMoviePointDlg)
QtCore.QMetaObject.connectSlotsByName(DefMoviePointDlg)
def retranslateUi(self, DefMoviePointDlg):
DefMoviePointDlg.setWindowTitle(QtGui.QApplication.translate("DefMoviePointDlg", "Start and end movie position definition", None, QtGui.QApplication.UnicodeUTF8))
self.label.setText(QtGui.QApplication.translate("DefMoviePointDlg", "Movie filename :", None, QtGui.QApplication.UnicodeUTF8))
self.MovieFileNameEd.setToolTip(QtGui.QApplication.translate("DefMoviePointDlg", "Display the path and filename of the movie", None, QtGui.QApplication.UnicodeUTF8))
self.cibleVideo.setToolTip(QtGui.QApplication.translate("DefMoviePointDlg", "Display the movie", None, QtGui.QApplication.UnicodeUTF8))
self.slider.setToolTip(QtGui.QApplication.translate("DefMoviePointDlg", "Move the tab to define current position", None, QtGui.QApplication.UnicodeUTF8))
self.label_2.setText(QtGui.QApplication.translate("DefMoviePointDlg", "Total duration :", None, QtGui.QApplication.UnicodeUTF8))
self.label_3.setText(QtGui.QApplication.translate("DefMoviePointDlg", "Position :", None, QtGui.QApplication.UnicodeUTF8))
self.DefStartPosBT.setToolTip(QtGui.QApplication.translate("DefMoviePointDlg", "Use current position as start position", None, QtGui.QApplication.UnicodeUTF8))
self.DefStartPosBT.setText(QtGui.QApplication.translate("DefMoviePointDlg", "...", None, QtGui.QApplication.UnicodeUTF8))
self.StartPosEd.setToolTip(QtGui.QApplication.translate("DefMoviePointDlg", "Define the start position to use for this movie", None, QtGui.QApplication.UnicodeUTF8))
self.SeekLeftBt.setToolTip(QtGui.QApplication.translate("DefMoviePointDlg", "Move to start position", None, QtGui.QApplication.UnicodeUTF8))
self.SeekLeftBt.setText(QtGui.QApplication.translate("DefMoviePointDlg", "...", None, QtGui.QApplication.UnicodeUTF8))
self.MPlayerPlayPauseBT.setToolTip(QtGui.QApplication.translate("DefMoviePointDlg", "Click to start play, click again to pause de movie", None, QtGui.QApplication.UnicodeUTF8))
self.MPlayerPlayPauseBT.setText(QtGui.QApplication.translate("DefMoviePointDlg", "...", None, QtGui.QApplication.UnicodeUTF8))
self.label_5.setText(QtGui.QApplication.translate("DefMoviePointDlg", "Zone duration :", None, QtGui.QApplication.UnicodeUTF8))
self.SeekRightBt.setToolTip(QtGui.QApplication.translate("DefMoviePointDlg", "Move to end position", None, QtGui.QApplication.UnicodeUTF8))
self.SeekRightBt.setText(QtGui.QApplication.translate("DefMoviePointDlg", "...", None, QtGui.QApplication.UnicodeUTF8))
self.EndPosEd.setToolTip(QtGui.QApplication.translate("DefMoviePointDlg", "Define the end position to use for this movie", None, QtGui.QApplication.UnicodeUTF8))
self.DefEndPosBT.setToolTip(QtGui.QApplication.translate("DefMoviePointDlg", "Use current position as end position", None, QtGui.QApplication.UnicodeUTF8))
self.DefEndPosBT.setText(QtGui.QApplication.translate("DefMoviePointDlg", "...", None, QtGui.QApplication.UnicodeUTF8))
self.HelpBt.setToolTip(QtGui.QApplication.translate("DefMoviePointDlg", "Click on this button to display help about this dialog box", None, QtGui.QApplication.UnicodeUTF8))
self.HelpBt.setText(QtGui.QApplication.translate("DefMoviePointDlg", "&Help", None, QtGui.QApplication.UnicodeUTF8))
self.Ok.setToolTip(QtGui.QApplication.translate("DefMoviePointDlg", "Click on this button to accept modifications and close this dialog box", None, QtGui.QApplication.UnicodeUTF8))
self.Ok.setText(QtGui.QApplication.translate("DefMoviePointDlg", "&Ok", None, QtGui.QApplication.UnicodeUTF8))
self.Cancel.setToolTip(QtGui.QApplication.translate("DefMoviePointDlg", "Click on this button to reject all modifications and close this dialog box", None, QtGui.QApplication.UnicodeUTF8))
self.Cancel.setText(QtGui.QApplication.translate("DefMoviePointDlg", "&Cancel", None, QtGui.QApplication.UnicodeUTF8))
|