Alfredo Braunstein wrote:

> Angus Leeming wrote:
> 
>>> Ugh. You convinced me (I understand near to nothing about qt).
>> 
>> Me neither. However, in this case I think that I paint too dark a
>> picture. slotWMHide is defined in the QDialogView base class (also
>> in the deprecated Qt2Base base class. Not much derives from that
>> anymore --- ignore it.). So QDialogPlus neeed not be a template.
>> 
>> If you can get the .ui file to recognise such a base class, then
>> your way is clear.
> 
> Sorry, no idea how.
>  
>>> Alternatively we can also solve it only for the ones that really
>>> need it.
>> 
>> See my mail to John.
> 
> But the problem only affects inset dialogs, not *all* dialogs right?

Sure. For now ;-)

Incidentally -- ping John. Are you listening --- is it possible to 
emit a signal on a Key_Escape event? If so, we could put the slot in 
QDialogView and merely connect the two in the indivial QXYZDialog 
contructors.

-- 
Angus

Reply via email to