[qcineoob] tabification
This commit is contained in:
parent
0e99cd984d
commit
ff0d9ced4d
9 changed files with 428 additions and 299 deletions
|
|
@ -40,7 +40,7 @@ class MiniMovie(QFrame):
|
|||
self.ui.shortDescLabel.setText(movie.short_description)
|
||||
self.ui.backendLabel.setText(backend.name)
|
||||
|
||||
if self.parent.ui.showTCheck.isChecked():
|
||||
if self.parent.parent.ui.showTCheck.isChecked():
|
||||
self.gotThumbnail()
|
||||
|
||||
def gotThumbnail(self):
|
||||
|
|
@ -64,6 +64,10 @@ class MiniMovie(QFrame):
|
|||
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue