MCPcopy Create free account
hub / github.com/alpha2phi/python-apps / createTopLeftGroupBox

Method createTopLeftGroupBox

gui-apps/app_pyqt5.py:77–95  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75 self.progressBar.setValue(curVal + (maxVal - curVal) // 100)
76
77 def createTopLeftGroupBox(self):
78 self.topLeftGroupBox = QGroupBox("Group 1")
79
80 radioButton1 = QRadioButton("Radio button 1")
81 radioButton2 = QRadioButton("Radio button 2")
82 radioButton3 = QRadioButton("Radio button 3")
83 radioButton1.setChecked(True)
84
85 checkBox = QCheckBox("Tri-state check box")
86 checkBox.setTristate(True)
87 checkBox.setCheckState(Qt.PartiallyChecked)
88
89 layout = QVBoxLayout()
90 layout.addWidget(radioButton1)
91 layout.addWidget(radioButton2)
92 layout.addWidget(radioButton3)
93 layout.addWidget(checkBox)
94 layout.addStretch(1)
95 self.topLeftGroupBox.setLayout(layout)
96
97 def createTopRightGroupBox(self):
98 self.topRightGroupBox = QGroupBox("Group 2")

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected