Hello -- thanks all for your kind replies. The ideas for multiple
creation are all useful. One more point below:
On Mon, Dec 10, 2012 at 9:49 PM, Matt Newell wrote:
>> self . p1xSpin, self . p1ySpin, self . c1xSpin, self . c1ySpin,
>> self . c2xSpin, self . c2ySpin, se
On Mon, Dec 10, 2012 at 4:00 AM, wrote:
> is there any other method I can follow to shorten the
> tortuous list of repetitive commands for initializing multiple widgets?
If you don't mind referring to the objects by index number rather
than individual names, you can do this:
self.myListOfE
On Sunday, December 09, 2012 11:48:18 PM Shriramana Sharma wrote:
> Hi -- recently I was trying to shorten the following overly verbose
> (IMO) lines to:
>
> self . p1xSpin = QSpinBox ()
> self . p1ySpin = QSpinBox ()
> self . c1xSpin = QSpinBox ()
>
Hi -- recently I was trying to shorten the following overly verbose
(IMO) lines to:
self . p1xSpin = QSpinBox ()
self . p1ySpin = QSpinBox ()
self . c1xSpin = QSpinBox ()
self . c1ySpin = QSpinBox ()
self . c2xSpin = Q