|
From: | John W. Eaton |
Subject: | [Octave-patch-tracker] [patch #7990] Add builtin Qt equivalents of UI dialogs, i.e., , qterrordlg, qtinputdlg, etc. |
Date: | Wed, 03 Apr 2013 03:08:01 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20100101 Firefox/10.0.11 Iceweasel/10.0.11 |
Follow-up Comment #11, patch #7990 (project octave): I think you are misunderstanding what I mean when I say "hook/callback" functions. What I am proposing is that instead of calling a function like "qterrdlg" directly, or by name using feval or eval, an equivalent function would be called through a function handle. The function handle is installed by the GUI, so Octave itself does not have to know anything about the name of the function. All Octave must do is make the function call if the function handle is defined. This approach has nothing to do with Qt slots and signals and does not conflict with using them. Even if a function is built in, a user could accidentally have a function calld qterrdlg in the path so that the built-in function won't be called. It's not impossible to screw things up if we call these functions through callbacks, but it seems it would be somewhat harder to do. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?7990> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |