[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: QtDesigner/Glade
From: |
Helge Hess |
Subject: |
Re: QtDesigner/Glade |
Date: |
Thu, 17 Jan 2002 16:17:24 +0100 |
Chris Hanson wrote:
> However, if you mean "you subclass NSButton to handle when the user
> clicks on a button" then it's completely incorrect.
No, in my understanding it isn't that way in Qt. I have the impression
that Qt (and gtk+ too) works somewhat like an NSNotificationCenter, the
widget "emits" a signal (eg pressed), which a controller can register
for.
Of course this can be easily supported in Foundation/AppKit.
I also think in the case of UI files the signal could be mapped to an
action if there is only one observer.
Anyway, maybe I'm mistaken. I mostly care about grepping the layout from
a .ui file, less the event-handling (though that would be fine too).
Greetings
Helge
--
SKYRIX Software AG - http://www.skyrix.com
Web Application Technology for Enterprises