[qcineoob] thumbnails resize, showThumbnailCheck state saved in config
This commit is contained in:
parent
d6a0291deb
commit
971ea3346a
5 changed files with 9 additions and 4 deletions
|
|
@ -54,7 +54,7 @@ class MiniPerson(QFrame):
|
|||
if not empty(self.person.thumbnail_url):
|
||||
data = urllib.urlopen(self.person.thumbnail_url).read()
|
||||
img = QImage.fromData(data)
|
||||
self.ui.imageLabel.setPixmap(QPixmap.fromImage(img))
|
||||
self.ui.imageLabel.setPixmap(QPixmap.fromImage(img).scaledToHeight(100,Qt.SmoothTransformation))
|
||||
|
||||
def enterEvent(self, event):
|
||||
self.setFrameShadow(self.Sunken)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue