search for: updatecombostate

Displaying 1 result from an estimated 1 matches for "updatecombostate".

2018 Jun 15
2
CentOS7/Mate Qt bugs/features?
...= QVBoxLayout() layout.addWidget(self.combo) layout.addWidget(self.btn) layout.addWidget(self.btnClose) layout.setContentsMargins(50,50,50,50) self.setLayout(layout) self.btn.clicked.connect(self.updateComboState) def updateComboState(self): self.state = (self.state%2)+1 self.combo.setProperty("state", self.state) self.combo.style().unpolish(self.combo) self.combo.style().polish(self.combo) self.update()...