Displaying 1 result from an estimated 1 matches for "btnclose".
Did you mean:
bt_close
2018 Jun 15
2
CentOS7/Mate Qt bugs/features?
....Qt.WA_TranslucentBackground)
self.state = 1
self.combo = QComboBox()
for a in ['A','B','C']:
self.combo.addItem(a)
self.btn = QPushButton("Toggle")
self.btnClose = QPushButton("Close")
self.btnClose.clicked.connect(self.close)
layout = QVBoxLayout()
layout.addWidget(self.combo)
layout.addWidget(self.btn)
layout.addWidget(self.btnClose)
layout.setC...