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

Method createTopRightGroupBox

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

Source from the content-addressed store, hash-verified

95 self.topLeftGroupBox.setLayout(layout)
96
97 def createTopRightGroupBox(self):
98 self.topRightGroupBox = QGroupBox("Group 2")
99
100 defaultPushButton = QPushButton("Default Push Button")
101 defaultPushButton.setDefault(True)
102
103 togglePushButton = QPushButton("Toggle Push Button")
104 togglePushButton.setCheckable(True)
105 togglePushButton.setChecked(True)
106
107 flatPushButton = QPushButton("Flat Push Button")
108 flatPushButton.setFlat(True)
109
110 layout = QVBoxLayout()
111 layout.addWidget(defaultPushButton)
112 layout.addWidget(togglePushButton)
113 layout.addWidget(flatPushButton)
114 layout.addStretch(1)
115 self.topRightGroupBox.setLayout(layout)
116
117 def createBottomLeftTabWidget(self):
118 self.bottomLeftTabWidget = QTabWidget()

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected