Re: pyside dynamic buttons

2011-12-13 Thread Vincent Vande Vyvre
Le 13/12/11 20:46, Richard a écrit : Hi, We are making a screen with data driven buttons. I can add buttons but can't redraw the buttons for new values. The buttuns are placed in a frame. I draw the buttons on the screen in a for loop: def drawS1Butons(self): n=

pyside dynamic buttons

2011-12-13 Thread Richard
Hi, We are making a screen with data driven buttons. I can add buttons but can't redraw the buttons for new values. The buttuns are placed in a frame. I draw the buttons on the screen in a for loop: def drawS1Butons(self): n=0 for self.S1 in self.Org.getVpuChilds(self.Focus):