I did this but I can' t seem to find the correct settings for the widgets resizing behavior
> So yes, you would need to specify some form of layout for the widgets:
> Vertical, Horizontal, Grid, etc... and set the appropriate attributes on the
> layout and widgets so that they display how you want.
>
> Alternatively, you could use QtDesigner and pyuic4 to create your layout,
> then just wire everything up. (this is how make standalone QT stuff now,
> because its just so convenient).
>
> On Tue, Nov 2, 2010 at 5:24 PM, Maël Primet <
mael.primet@gmail.com> wrote:
>
>> Hum.. I can't get widgets to get the correct size
>>
>>
>> On Tue, Nov 2, 2010 at 22:23, Chris Colbert <
sccolbert@gmail.com> wrote:
>>
>>> Can you not do this with the Show()/Hide() methods on each widget?
>>>
>>> I know its possible, but I would have to play around with it for a bit.
>>>
>>>
>>> On Tue, Nov 2, 2010 at 5:20 PM, Maël Primet <
mael.primet@gmail.com>wrote:
>>>
>>>> Sorry I wasn't clear, my fault,
>>>> I know how to act on key signal, my problem is getting the resize
>>>> behaviour correctly,
>>>> I'm not sure it can be done without reimplementing a Layout?
>>>>
>>>> can you check this?
>>>>
>>>>
>>>> On Tue, Nov 2, 2010 at 22:17, Chris Colbert <
sccolbert@gmail.com> wrote:
>>>>
>>>>> you'll need to setup listeners for the widget's key signals.
>>>>>
>>>>> You should read the PyQt docs for how to hook up signals and slots.
>>>>>
>>>>> On Tue, Nov 2, 2010 at 5:08 PM, mael <
mael.primet@gmail.com> wrote:
>>>>>
>>>>>> Is anyone comfortable with Qt?
>>>>>>
>>>>>> I'm having lot of trouble implementing the interface the way I want.
>>>>>> Basically, I want something non intrusive, thus the
>>>>>> GUI will be shown / hidden by pressing F10, but I don't want this to
>>>>>> change the way the viewer is shown, so here is the thing:
>>>>>> - first: pressing + zooms x2, I'd like to have ctrl++ zoom x2 and
>>>>>> also resize the widget x2 (if small enough for the screen), how can I
>>>>>> do that?
>>>>>> - second: pressing F10 should keep the viewer as it is, but add some
>>>>>> widgets beneath it to tweak each parameter, I can't get Qt to behave
>>>>>> this way?
>>>>>>
>>>>>> (last version of scivi2 is in
github.com/maelp/scikits.image )
>>>>>>
>>>>>> Thank you
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>