/usr/share/videoporama/sound.py is in videoporama 0.8.1-0ubuntu1.
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 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'sound.ui'
#
# Created: Fri Jan 21 15:35:57 2011
# by: PyQt4 UI code generator 4.8.2
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
class Ui_SND_Dialog(object):
def setupUi(self, SND_Dialog):
SND_Dialog.setObjectName(_fromUtf8("SND_Dialog"))
SND_Dialog.resize(982, 558)
self.gridLayout_2 = QtGui.QGridLayout(SND_Dialog)
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
spacerItem = QtGui.QSpacerItem(37, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
self.gridLayout_2.addItem(spacerItem, 0, 0, 1, 1)
self.position = QtGui.QLabel(SND_Dialog)
self.position.setMinimumSize(QtCore.QSize(0, 14))
self.position.setObjectName(_fromUtf8("position"))
self.gridLayout_2.addWidget(self.position, 0, 2, 1, 1)
self.infoTime = QtGui.QLabel(SND_Dialog)
self.infoTime.setObjectName(_fromUtf8("infoTime"))
self.gridLayout_2.addWidget(self.infoTime, 0, 4, 1, 1)
self.gridLayout_3 = QtGui.QGridLayout()
self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
self.scrollArea = QtGui.QScrollArea(SND_Dialog)
self.scrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.scrollArea.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
self.scrollArea.setWidgetResizable(True)
self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
self.scrollAreaWidgetContents = QtGui.QWidget()
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 930, 383))
self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
self.gridLayout = QtGui.QGridLayout(self.scrollAreaWidgetContents)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
spacerItem1 = QtGui.QSpacerItem(0, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem1, 1, 3, 1, 1)
spacerItem2 = QtGui.QSpacerItem(0, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem2, 4, 3, 1, 1)
spacerItem3 = QtGui.QSpacerItem(0, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem3, 5, 3, 1, 1)
spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem4, 6, 3, 1, 1)
self.SND_comment = QtGui.QTableWidget(self.scrollAreaWidgetContents)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.SND_comment.sizePolicy().hasHeightForWidth())
self.SND_comment.setSizePolicy(sizePolicy)
self.SND_comment.setMinimumSize(QtCore.QSize(350, 0))
self.SND_comment.setMaximumSize(QtCore.QSize(16777215, 46))
self.SND_comment.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.SND_comment.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.SND_comment.setAutoScroll(False)
self.SND_comment.setRowCount(1)
self.SND_comment.setObjectName(_fromUtf8("SND_comment"))
self.SND_comment.setColumnCount(0)
self.SND_comment.setRowCount(1)
self.SND_comment.horizontalHeader().setVisible(False)
self.SND_comment.horizontalHeader().setHighlightSections(False)
self.SND_comment.verticalHeader().setVisible(False)
self.SND_comment.verticalHeader().setHighlightSections(False)
self.gridLayout.addWidget(self.SND_comment, 5, 1, 1, 1)
self.SND_main = QtGui.QTableWidget(self.scrollAreaWidgetContents)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.SND_main.sizePolicy().hasHeightForWidth())
self.SND_main.setSizePolicy(sizePolicy)
self.SND_main.setMinimumSize(QtCore.QSize(350, 0))
self.SND_main.setMaximumSize(QtCore.QSize(16777215, 46))
self.SND_main.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.SND_main.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.SND_main.setAutoScroll(False)
self.SND_main.setRowCount(1)
self.SND_main.setObjectName(_fromUtf8("SND_main"))
self.SND_main.setColumnCount(0)
self.SND_main.setRowCount(1)
self.SND_main.horizontalHeader().setVisible(False)
self.SND_main.horizontalHeader().setHighlightSections(False)
self.SND_main.verticalHeader().setVisible(False)
self.SND_main.verticalHeader().setHighlightSections(False)
self.gridLayout.addWidget(self.SND_main, 4, 1, 1, 1)
self.SND_timeline = QtGui.QTableWidget(self.scrollAreaWidgetContents)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.SND_timeline.sizePolicy().hasHeightForWidth())
self.SND_timeline.setSizePolicy(sizePolicy)
self.SND_timeline.setMinimumSize(QtCore.QSize(350, 100))
self.SND_timeline.setMaximumSize(QtCore.QSize(16777215, 100))
self.SND_timeline.setBaseSize(QtCore.QSize(0, 0))
self.SND_timeline.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.SND_timeline.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.SND_timeline.setRowCount(1)
self.SND_timeline.setObjectName(_fromUtf8("SND_timeline"))
self.SND_timeline.setColumnCount(0)
self.SND_timeline.setRowCount(1)
self.SND_timeline.horizontalHeader().setVisible(False)
self.SND_timeline.horizontalHeader().setHighlightSections(False)
self.SND_timeline.verticalHeader().setVisible(False)
self.SND_timeline.verticalHeader().setHighlightSections(False)
self.gridLayout.addWidget(self.SND_timeline, 1, 1, 1, 1)
self.showPosition = QtGui.QSlider(self.scrollAreaWidgetContents)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.showPosition.sizePolicy().hasHeightForWidth())
self.showPosition.setSizePolicy(sizePolicy)
self.showPosition.setOrientation(QtCore.Qt.Horizontal)
self.showPosition.setObjectName(_fromUtf8("showPosition"))
self.gridLayout.addWidget(self.showPosition, 2, 1, 1, 1)
self.SND_video = QtGui.QTableWidget(self.scrollAreaWidgetContents)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.SND_video.sizePolicy().hasHeightForWidth())
self.SND_video.setSizePolicy(sizePolicy)
self.SND_video.setMinimumSize(QtCore.QSize(350, 0))
self.SND_video.setMaximumSize(QtCore.QSize(16777215, 80))
self.SND_video.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.SND_video.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.SND_video.setRowCount(2)
self.SND_video.setObjectName(_fromUtf8("SND_video"))
self.SND_video.setColumnCount(0)
self.SND_video.setRowCount(2)
self.SND_video.horizontalHeader().setVisible(False)
self.SND_video.horizontalHeader().setHighlightSections(False)
self.SND_video.verticalHeader().setVisible(False)
self.SND_video.verticalHeader().setHighlightSections(False)
self.gridLayout.addWidget(self.SND_video, 6, 1, 1, 1)
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
self.gridLayout_3.addWidget(self.scrollArea, 0, 1, 1, 1)
self.verticalLayout = QtGui.QVBoxLayout()
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
spacerItem5 = QtGui.QSpacerItem(20, 110, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
self.verticalLayout.addItem(spacerItem5)
self.cutMain = QtGui.QToolButton(SND_Dialog)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8("icons/cut.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.cutMain.setIcon(icon)
self.cutMain.setObjectName(_fromUtf8("cutMain"))
self.verticalLayout.addWidget(self.cutMain)
self.SND_add_main = QtGui.QToolButton(SND_Dialog)
self.SND_add_main.setMinimumSize(QtCore.QSize(28, 23))
self.SND_add_main.setMaximumSize(QtCore.QSize(28, 23))
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(_fromUtf8("icons/add.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.SND_add_main.setIcon(icon1)
self.SND_add_main.setObjectName(_fromUtf8("SND_add_main"))
self.verticalLayout.addWidget(self.SND_add_main)
self.SND_del_main = QtGui.QToolButton(SND_Dialog)
self.SND_del_main.setMinimumSize(QtCore.QSize(28, 23))
self.SND_del_main.setMaximumSize(QtCore.QSize(28, 23))
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(_fromUtf8("icons/delete.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.SND_del_main.setIcon(icon2)
self.SND_del_main.setObjectName(_fromUtf8("SND_del_main"))
self.verticalLayout.addWidget(self.SND_del_main)
self.verticalLayout_2 = QtGui.QVBoxLayout()
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.cutComment = QtGui.QToolButton(SND_Dialog)
self.cutComment.setIcon(icon)
self.cutComment.setObjectName(_fromUtf8("cutComment"))
self.verticalLayout_2.addWidget(self.cutComment)
self.SND_add_comment = QtGui.QToolButton(SND_Dialog)
self.SND_add_comment.setMinimumSize(QtCore.QSize(28, 23))
self.SND_add_comment.setMaximumSize(QtCore.QSize(28, 23))
self.SND_add_comment.setIcon(icon1)
self.SND_add_comment.setObjectName(_fromUtf8("SND_add_comment"))
self.verticalLayout_2.addWidget(self.SND_add_comment)
self.SND_del_comment = QtGui.QToolButton(SND_Dialog)
self.SND_del_comment.setMinimumSize(QtCore.QSize(28, 23))
self.SND_del_comment.setMaximumSize(QtCore.QSize(28, 23))
self.SND_del_comment.setIcon(icon2)
self.SND_del_comment.setObjectName(_fromUtf8("SND_del_comment"))
self.verticalLayout_2.addWidget(self.SND_del_comment)
spacerItem6 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.verticalLayout_2.addItem(spacerItem6)
self.verticalLayout.addLayout(self.verticalLayout_2)
self.gridLayout_3.addLayout(self.verticalLayout, 0, 0, 1, 1)
self.gridLayout_2.addLayout(self.gridLayout_3, 1, 0, 1, 5)
self.groupMplayer = QtGui.QGroupBox(SND_Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupMplayer.sizePolicy().hasHeightForWidth())
self.groupMplayer.setSizePolicy(sizePolicy)
self.groupMplayer.setMinimumSize(QtCore.QSize(300, 85))
self.groupMplayer.setObjectName(_fromUtf8("groupMplayer"))
self.gridLayout_2.addWidget(self.groupMplayer, 2, 0, 1, 5)
self.buttonBox = QtGui.QDialogButtonBox(SND_Dialog)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Help|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setCenterButtons(False)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.gridLayout_2.addWidget(self.buttonBox, 3, 0, 1, 5)
self.label = QtGui.QLabel(SND_Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
self.label.setSizePolicy(sizePolicy)
self.label.setMinimumSize(QtCore.QSize(69, 0))
self.label.setObjectName(_fromUtf8("label"))
self.gridLayout_2.addWidget(self.label, 0, 1, 1, 1)
self.label_2 = QtGui.QLabel(SND_Dialog)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.gridLayout_2.addWidget(self.label_2, 0, 3, 1, 1)
self.retranslateUi(SND_Dialog)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), SND_Dialog.accept)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), SND_Dialog.reject)
QtCore.QMetaObject.connectSlotsByName(SND_Dialog)
def retranslateUi(self, SND_Dialog):
SND_Dialog.setWindowTitle(QtGui.QApplication.translate("SND_Dialog", "Sound", None, QtGui.QApplication.UnicodeUTF8))
self.position.setText(QtGui.QApplication.translate("SND_Dialog", "position", None, QtGui.QApplication.UnicodeUTF8))
self.infoTime.setText(QtGui.QApplication.translate("SND_Dialog", "infoTime", None, QtGui.QApplication.UnicodeUTF8))
self.cutMain.setText(QtGui.QApplication.translate("SND_Dialog", "...", None, QtGui.QApplication.UnicodeUTF8))
self.SND_add_main.setToolTip(QtGui.QApplication.translate("SND_Dialog", "Add sound to main track", None, QtGui.QApplication.UnicodeUTF8))
self.SND_add_main.setText(QtGui.QApplication.translate("SND_Dialog", "...", None, QtGui.QApplication.UnicodeUTF8))
self.SND_del_main.setToolTip(QtGui.QApplication.translate("SND_Dialog", "Remove selected sound from main track", None, QtGui.QApplication.UnicodeUTF8))
self.SND_del_main.setText(QtGui.QApplication.translate("SND_Dialog", "...", None, QtGui.QApplication.UnicodeUTF8))
self.cutComment.setText(QtGui.QApplication.translate("SND_Dialog", "...", None, QtGui.QApplication.UnicodeUTF8))
self.SND_add_comment.setToolTip(QtGui.QApplication.translate("SND_Dialog", "Add sound to comment track to selected image", None, QtGui.QApplication.UnicodeUTF8))
self.SND_add_comment.setText(QtGui.QApplication.translate("SND_Dialog", "...", None, QtGui.QApplication.UnicodeUTF8))
self.SND_del_comment.setToolTip(QtGui.QApplication.translate("SND_Dialog", "Remove sound to comment track of selected image", None, QtGui.QApplication.UnicodeUTF8))
self.SND_del_comment.setText(QtGui.QApplication.translate("SND_Dialog", "...", None, QtGui.QApplication.UnicodeUTF8))
self.groupMplayer.setTitle(QtGui.QApplication.translate("SND_Dialog", "Player", None, QtGui.QApplication.UnicodeUTF8))
self.label.setText(QtGui.QApplication.translate("SND_Dialog", "Position : ", None, QtGui.QApplication.UnicodeUTF8))
self.label_2.setText(QtGui.QApplication.translate("SND_Dialog", "Sound length / diaporama lenght :", None, QtGui.QApplication.UnicodeUTF8))
|