I'm currently trying to create a button gallery, however the button's functionality is triggered but a button attribute function. The reason for iteration through all these buttons. IE
self.PoseSlot_1.clicked.connect(self.printonetwoThree2)
self.PoseSlot_2.clicked.connect(self.printonetwoThree2)
self.PoseSlot_3.clicked.connect(self.printonetwoThree2)
self.PoseSlot_4.clicked.connect(self.printonetwoThree2)
...
is to create a default function on the click command if there is a null value.
I just figure I could make a loop so i didn't have to copy and paste the code like above
Oh yea also, All of the attributes are already generated through the UI file.* "PoseSlot_ ..."
self.PoseSlot_1.clicked.connect(self.printonetwoThree2)
self.PoseSlot_2.clicked.connect(self.printonetwoThree2)
self.PoseSlot_3.clicked.connect(self.printonetwoThree2)
self.PoseSlot_4.clicked.connect(self.printonetwoThree2)
...
is to create a default function on the click command if there is a null value.
I just figure I could make a loop so i didn't have to copy and paste the code like above
Oh yea also, All of the attributes are already generated through the UI file.* "PoseSlot_ ..."