def __layout__(self): layoutBtn = QHBoxLayout() layoutBtn.addWidget(self.btnClose) layoutBtn.addWidget(self.btnLogin) layout = QVBoxLayout() layout.addWidget(LblNull()) layout.addWidget(self.lblImg) layout.addWidget(self.ldtAccount) layout.addWidget(self.ldtPassword) layout.addLayout(layoutBtn) layout.addWidget(self.btnSignup) layout.addWidget(LblNull()) layout.addWidget(self.lblLogo) self.setLayout(layout)
def __layout__(self): layoutBtn = QHBoxLayout() layoutBtn.addWidget(self.btnClose) layoutBtn.addWidget(self.btnSave) layoutBtn.addWidget(self.btnToday) layoutBtn.addWidget(self.btnRefresh) layoutBtn.addWidget(self.btnExcel) layoutBtn.addWidget(LblNull(), 10) layoutTop = QHBoxLayout() layoutTop.addWidget(self.tblHeader) layoutTop.addWidget(self.tblTotal) layoutBottom = QHBoxLayout() layoutBottom.addWidget(self.tblBusiness) layoutBottom.addWidget(self.tblTime) layoutTbl = QVBoxLayout() layoutTbl.addLayout(layoutTop) layoutTbl.addLayout(layoutBottom) layoutTbl.addWidget(self.horScrTime) layoutScr = QHBoxLayout() layoutScr.addLayout(layoutTbl) layoutScr.addWidget(self.verScrTime) layout = QVBoxLayout() layout.addLayout(layoutBtn) layout.addLayout(layoutScr) self.setLayout(layout)
def __tableLayout__(self): layoutBtn = QHBoxLayout() layoutBtn.addWidget(self.btnClose) layoutBtn.addWidget(self.btnRefresh) layoutBtn.addWidget(LblNull(), 10) layout = QVBoxLayout() layout.addLayout(layoutBtn) layout.addWidget(self.tblNewUser) self.setLayout(layout)
def __layout__(self): layout = QHBoxLayout() layout.addWidget(self.cbxYear) layout.addWidget(LblDash()) layout.addWidget(self.cbxMonth) layout.addWidget(LblDash()) layout.addWidget(self.cbxDay) layout.addWidget(LblNull(), 10) self.setLayout(layout)
def __layout__(self): layoutBtn = QHBoxLayout() layoutBtn.addWidget(self.btnClose) layoutBtn.addWidget(self.btnNew) layoutBtn.addWidget(LblNull(), 10) layout = QVBoxLayout() layout.addLayout(layoutBtn) layout.addWidget(self.tbl) self.setLayout(layout)
def __layout__(self): layoutTop = QHBoxLayout() layoutTop.addWidget(self.cbxYear) layoutTop.addWidget(self.btnClose) layoutTop.addWidget(self.btnExcel) layoutTop.addWidget(self.btnRefresh) layoutTop.addWidget(LblNull(), 10) layout = QVBoxLayout() layout.addLayout(layoutTop) layout.addWidget(self.tab) self.setLayout(layout)
def __layout__(self): layoutBtn = QHBoxLayout() layoutBtn.addWidget(self.btnClose) layoutBtn.addWidget(self.btnSave) layoutBtn.addWidget(self.btnRefresh) layoutBtn.addWidget(self.btnExcel) layoutBtn.addWidget(LblNull(), 10) layout = QVBoxLayout() layout.addLayout(layoutBtn) layout.addWidget(self.lblCount) layout.addWidget(self.tbl) self.setLayout(layout)
def __layout__(self): layoutBtn = QHBoxLayout() layoutBtn.addWidget(self.cbxYear) layoutBtn.addWidget(self.btnClose) layoutBtn.addWidget(self.btnCreate) layoutBtn.addWidget(self.btnExcel) layoutBtn.addWidget(self.btnRefresh) layoutBtn.addWidget(LblNull(), 10) layoutTblUser = QVBoxLayout() layoutTblUser.addWidget(self.lblUser) layoutTblUser.addWidget(self.tblUser) layoutTblBusiness = QVBoxLayout() layoutTblBusiness.addWidget(self.lblBusiness) layoutTblBusiness.addWidget(self.tblBusiness) layoutTbl = QHBoxLayout() layoutTbl.addLayout(layoutTblUser) layoutTbl.addLayout(layoutTblBusiness) layoutTbl.addWidget(LblNull(), 10) layout = QVBoxLayout() layout.addLayout(layoutBtn) layout.addLayout(layoutTbl) self.setLayout(layout)