Minor syntactic sugar

This commit is contained in:
Raoul Snyman 2014-08-20 22:09:07 +02:00
parent bec0071e7c
commit 4e6561b9c2
2 changed files with 8 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class Ui_MediaClipSelector(object):
self.position_horizontalslider.setObjectName("position_horizontalslider")
self.gridLayout.addWidget(self.position_horizontalslider, 6, 1, 1, 3)
self.retranslateUi(MediaClipSelector)
QtCore.QMetaObject.connectSlotsByName(MediaClipSelector)
#QtCore.QMetaObject.connectSlotsByName(MediaClipSelector)
MediaClipSelector.setTabOrder(self.media_path_combobox, self.load_disc_pushbutton)
MediaClipSelector.setTabOrder(self.load_disc_pushbutton, self.title_combo_box)
MediaClipSelector.setTabOrder(self.title_combo_box, self.audio_tracks_combobox)

View File

@ -72,6 +72,13 @@ class MediaClipSelectorForm(QtGui.QDialog, Ui_MediaClipSelector):
Constructor
"""
super(MediaClipSelectorForm, self).__init__(parent)
self.vlc_instance = None
self.vlc_media_player = None
self.vlc_media = None
self.timer = None
self.audio_cd_tracks = None
self.audio_cd = False
self.playback_length = 0
self.media_item = media_item
self.setupUi(self)
# most actions auto-connect due to the functions name, so only a few left to do