(self)
返回到原来的缩略图信息。
返回到原来的缩略图信息。
返回到原来的缩略图信息。
def getShortInfo(self):
        """返回到原来的缩略图信息。"""
        self.detailInfo.hide()
        self.showShort = QPropertyAnimation(self, b"geometry")
        
        x = self.pos().x()
        y = self.pos().y()
        
        self.showShort.setStartValue(QRect(0, self.grandparent.header.height(), self.grandparent.width(), self.grandparent.mainContent.height()))
        self.showShort.setEndValue(QRect(0, self.grandparent.height()-64-self.parent.height(), self.grandparent.navigation.width(), 64))
        self.showShort.setDuration(300)
        self.showShort.setEasingCurve(QEasingCurve.InBack)
        
        self.showShort.start(QAbstractAnimation.DeleteWhenStopped)

        self.shortInfo.show()
        self.raise_()
def getShortInfo ( self ) : self . detailInfo . hide ( ) self . showShort = QPropertyAnimation ( self , b"geometry" ) x = self . pos ( ) . x ( ) y = self . pos ( ) . y ( ) self . showShort . setStartValue ( QRect ( 0 , self . grandparent . header . height ( ) , self . grandparent . width ( ) , self . grandparent . mainContent . height ( ) ) ) self . showShort . setEndValue ( QRect ( 0 , self . grandparent . height ( ) - 64 - self . parent . height ( ) , self . grandparent . navigation . width ( ) , 64 ) ) self . showShort . setDuration ( 300 ) self . showShort . setEasingCurve ( QEasingCurve . InBack ) self . showShort . start ( QAbstractAnimation . DeleteWhenStopped ) self . shortInfo . show ( ) self . raise_ ( )