def mousePressEvent(self, event): QFrame.mousePressEvent(self, event) video = self.backend.fillobj(self.video) if video: video_widget = Video(video, self) video_widget.show()
def mousePressEvent(self, event): QFrame.mousePressEvent(self, event) video = self.backend.get_video(self.video.id) if video: video_widget = Video(video, self) video_widget.show()
def mousePressEvent(self, event): QFrame.mousePressEvent(self, event) if event.button() == 4: self.newTabPressed() else: self.viewPressed()
def mousePressEvent(self, event): QFrame.mousePressEvent(self, event) video = self.backend.get_video(self.video.id) if video: video_widget = Video(video, self) video_widget.show()
def mousePressEvent(self, event): QFrame.mousePressEvent(self, event) if event.button() == 4: self.newTabPressed() else: self.viewPressed()
def mousePressEvent(self, event): QFrame.mousePressEvent(self, event) video = self.backend.fillobj(self.video) if video: video_widget = Video(video, self) video_widget.show()
def mousePressEvent(self, event): QFrame.mousePressEvent(self, event) QApplication.setOverrideCursor(Qt.WaitCursor) recipe = self.backend.get_recipe(self.recipe.id) if recipe: self.parent.doAction('Details of recipe "%s"' % recipe.title, self.parent.displayRecipe, [recipe, self.backend])
def mousePressEvent(self, event): QFrame.mousePressEvent(self, event) torrent = self.backend.get_torrent(self.torrent.id) if event.button() == 4: self.parent.parent.newTab(u'Details of torrent "%s"' % torrent.name, self.backend, torrent=torrent) else: if torrent: self.parent.doAction('Details of torrent "%s"' % torrent.name, self.parent.displayTorrent, [torrent, self.backend])
def mousePressEvent(self, event): QFrame.mousePressEvent(self, event) subtitle = self.backend.get_subtitle(self.subtitle.id) if event.button() == 4: self.parent.parent.newTab(u'Details of subtitle "%s"' % subtitle.name, self.backend, subtitle=subtitle) else: if subtitle: self.parent.doAction('Details of subtitle "%s"' % subtitle.name, self.parent.displaySubtitle, [subtitle, self.backend])
def mousePressEvent(self, event): QFrame.mousePressEvent(self, event) if event.button() == 2: self.gotThumbnail() elif event.button() == 4: movie = self.backend.get_movie(self.movie.id) self.parent.parent.newTab(u'Details of movie "%s"' % movie.original_title, self.backend, movie=movie) else: QApplication.setOverrideCursor(Qt.WaitCursor) movie = self.backend.get_movie(self.movie.id) if movie: self.parent.doAction('Details of movie "%s"' % movie.original_title, self.parent.displayMovie, [movie, self.backend])
def mousePressEvent(self, event): QFrame.mousePressEvent(self, event) if event.button() == 2: self.gotThumbnail() if event.button() == 4: person = self.backend.get_person(self.person.id) self.parent.parent.newTab(u'Details of person "%s"' % person.name, self.backend, person=person) else: QApplication.setOverrideCursor(Qt.WaitCursor) person = self.backend.get_person(self.person.id) if person: self.parent.doAction(u'Details of person "%s"' % person.name, self.parent.displayPerson, [person, self.backend])
def mousePressEvent(self, event): QFrame.mousePressEvent(self, event) if event.button() == 2: self.gotThumbnail() if event.button() == 4: person = self.backend.get_person(self.person.id) self.parent.parent.newTab(u'Details of person "%s"' % person.name, self.backend, person=person) else: QApplication.setOverrideCursor(Qt.WaitCursor) person = self.backend.get_person(self.person.id) if person: self.parent.doAction(u'Details of person "%s"' % person.name, self.parent.displayPerson, [person, self.backend])
def mousePressEvent(self, *args, **kwargs): QFrame.mousePressEvent(self, *args, **kwargs) self.emit(QtCore.SIGNAL("colorPickerClicked"), self)