(self)
设置布局。
设置布局。
设置布局。
def setLayouts(self):
        """设置布局。"""
        self.mainLayout = QHBoxLayout()
        self.mainLayout.setSpacing(0)
        self.mainLayout.addWidget(self.logoLabel)
        self.mainLayout.addWidget(self.descriptionLabel)
        self.mainLayout.addSpacing(70)
        self.mainLayout.addWidget(self.prevButton)
        self.mainLayout.addWidget(self.nextButton)
        self.mainLayout.addSpacing(10)
        self.mainLayout.addWidget(self.searchLine)
        self.mainLayout.addStretch(1)
        self.mainLayout.addWidget(self.userPix)
        self.mainLayout.addSpacing(7)
        self.mainLayout.addWidget(self.loginButton)
        self.mainLayout.addSpacing(7)
        self.mainLayout.addWidget(self.line1)
        self.mainLayout.addSpacing(30)
        self.mainLayout.addWidget(self.showminButton)
        self.mainLayout.addWidget(self.showmaxButton)
        self.mainLayout.addSpacing(3)
        self.mainLayout.addWidget(self.closeButton)

        self.setLayout(self.mainLayout)
def setLayouts ( self ) : self . mainLayout = QHBoxLayout ( ) self . mainLayout . setSpacing ( 0 ) self . mainLayout . addWidget ( self . logoLabel ) self . mainLayout . addWidget ( self . descriptionLabel ) self . mainLayout . addSpacing ( 70 ) self . mainLayout . addWidget ( self . prevButton ) self . mainLayout . addWidget ( self . nextButton ) self . mainLayout . addSpacing ( 10 ) self . mainLayout . addWidget ( self . searchLine ) self . mainLayout . addStretch ( 1 ) self . mainLayout . addWidget ( self . userPix ) self . mainLayout . addSpacing ( 7 ) self . mainLayout . addWidget ( self . loginButton ) self . mainLayout . addSpacing ( 7 ) self . mainLayout . addWidget ( self . line1 ) self . mainLayout . addSpacing ( 30 ) self . mainLayout . addWidget ( self . showminButton ) self . mainLayout . addWidget ( self . showmaxButton ) self . mainLayout . addSpacing ( 3 ) self . mainLayout . addWidget ( self . closeButton ) self . setLayout ( self . mainLayout )