Qt-interest Archive, October 2001
Designer 2.0 and C++ editor
Message 1 in thread
Hello,
Is there a way to use NEdit (or xemacs or other 3rd party editor) as the
C++ editor from Designer, instead of the plugin from the Qt lib
(libcppeditor.so) ?
Thank's
--
[ signature omitted ]
Message 2 in thread
> Is there a way to use NEdit (or xemacs or other 3rd party editor) as the
> C++ editor from Designer, instead of the plugin from the Qt lib
> (libcppeditor.so) ?
Write a plugin that has a widget. As long as you know how to embed an
`arbitrary' x window in that widget, you're home. Should be fairly easy to do
- hopefully without resorting to any Xlib calls (Qt-only), but I'm lacking
the incentive and time ;-((((
Cheers,
Kuba
Message 3 in thread
On Tuesday, 2. October 2001 12:26, Kuba Ober wrote:
> > Is there a way to use NEdit (or xemacs or other 3rd party editor) as the
> > C++ editor from Designer, instead of the plugin from the Qt lib
> > (libcppeditor.so) ?
>
> Write a plugin that has a widget. As long as you know how to embed an
> `arbitrary' x window in that widget, you're home. Should be fairly easy to
> do - hopefully without resorting to any Xlib calls (Qt-only), but I'm
> lacking the incentive and time ;-((((
> Cheers,
> Kuba
If am trying to embed an xemacs into a QT-Window.
I already did an qt-xemacs-widget.
The only remaining problem is to get the focus into this widget.
If you are interested I could mail you the package.
Greetings,
--
[ signature omitted ]
Message 4 in thread
On Tuesday 02 October 2001 12:40, Oliver Wahlen wrote:
> On Tuesday, 2. October 2001 12:26, Kuba Ober wrote:
> > > Is there a way to use NEdit (or xemacs or other 3rd party editor) as
> > > the C++ editor from Designer, instead of the plugin from the Qt lib
> > > (libcppeditor.so) ?
> >
> > Write a plugin that has a widget. As long as you know how to embed an
> > `arbitrary' x window in that widget, you're home. Should be fairly
> > easy to do - hopefully without resorting to any Xlib calls (Qt-only),
> > but I'm lacking the incentive and time ;-((((
> > Cheers,
> > Kuba
>
> If am trying to embed an xemacs into a QT-Window.
> I already did an qt-xemacs-widget.
> The only remaining problem is to get the focus into this widget.
>
> If you are interested I could mail you the package.
Yes, I'm very interested !!! Then, I have to know hown Designer 'speaks'
with the plugins, and to learn how to make such plugin... Well, there is a
long way to go.
--
[ signature omitted ]
Message 5 in thread
On Tuesday 02 October 2001 13:02, Oliver Wahlen wrote:
> If you get rid of the focus problem please let me know!
Thank's for your source code. But I'm far from knowing how to use X11
events, as you do in your widget !!! I'm afraid I won't be able to help
you.
My idea was to write a very simple plugin for Designer to make it call
NEdit (or xemacs) in client/server mode. So, when you click on the file
browser from Designer, it launchs NEdit in client mode, giving it the good
filename. But I don't need Nedit to be displayed inside Designer. It can
work in its own window. Then, If this feature works, I could try to embed
it inside Designer...
If TrollTech could make a special class do do that, with all the calls
from Designer, it could be easy to adapt it for any editor working in
client/server mode.
--
[ signature omitted ]
Message 6 in thread
On Tue, Oct 02, 2001 at 01:42:56PM +0200, Frederic Mantegazza wrote:
> On Tuesday 02 October 2001 13:02, Oliver Wahlen wrote:
>
> > If you get rid of the focus problem please let me know!
>
> Thank's for your source code. But I'm far from knowing how to use X11
> events, as you do in your widget !!! I'm afraid I won't be able to help
> you.
>
> My idea was to write a very simple plugin for Designer to make it call
> NEdit (or xemacs) in client/server mode. So, when you click on the file
> browser from Designer, it launchs NEdit in client mode, giving it the good
> filename. But I don't need Nedit to be displayed inside Designer. It can
> work in its own window. Then, If this feature works, I could try to embed
> it inside Designer...
>
> If TrollTech could make a special class do do that, with all the calls
> from Designer, it could be easy to adapt it for any editor working in
> client/server mode.
Cornelius hacked up a NEdit editor component wrapper for the next generation
KDevelop (gideon) , which implements support for using NEdit as editor in
gideon just the way you describe it (using client/server mode and a separate
toplevel window) . Take a look in the KDE CVS repository in the gideon module :-)
Simon
Message 7 in thread
>===== Original Message From mantegazza@ill.fr =====
>On Tuesday 02 October 2001 12:40, Oliver Wahlen wrote:
>
>> On Tuesday, 2. October 2001 12:26, Kuba Ober wrote:
>> > > Is there a way to use NEdit (or xemacs or other 3rd party editor) as
>> > > the C++ editor from Designer, instead of the plugin from the Qt lib
>> > > (libcppeditor.so) ?
>> >
>> > Write a plugin that has a widget. As long as you know how to embed an
>> > `arbitrary' x window in that widget, you're home. Should be fairly
>> > easy to do - hopefully without resorting to any Xlib calls (Qt-only),
>> > but I'm lacking the incentive and time ;-((((
>> > Cheers,
>> > Kuba
>>
>> If am trying to embed an xemacs into a QT-Window.
>> I already did an qt-xemacs-widget.
>> The only remaining problem is to get the focus into this widget.
>>
>> If you are interested I could mail you the package.
>
>Yes, I'm very interested !!! Then, I have to know hown Designer 'speaks'
>with the plugins, and to learn how to make such plugin... Well, there is a
>long way to go.
>
>--
> Frederic
>
>--
Hi, Kuba:
I am also interested. Please send me a copy. Danke.
-michael