[Gambas-user] Replacement for TextEdit or a RichText conversion

Rolf-Werner Eilert rwe-sse at osnanet.de
Thu Mar 18 12:47:31 CET 2021


Ah, I found it

Editor is deprecated, it is TextEditor now and comes with 
gb.form.editor. Certainly worth looking at.

Just hope I do not have to change too much of my code to keep the 
functionality for my special case.

Regards
Rolf

Am 17.03.21 um 13:25 schrieb Bruce Steers:
> Is compositing enabled?
> Transparency only shows on a desktop who's window manager is using 
> compositing.
> So either Marco + compositing or Metacity + compositing or Compiz
> (I find Compiz the best)
> 
> Also are you using latest gambas?
> there were some glitches in some qt objects backgrounds showing black 
> that have now been fixed, Ie' just setting a raised border would show a 
> qt object as black (but only in the IDE not when program was run.)
> 
> If that's the problem then I would suggest using gambas in GTK mode not 
> QT then the objects might look better in the IDE
> Or upgrading to latest gambas daily build
> 
> BruceS
> 
> On Wed, 17 Mar 2021 at 12:12, Rolf-Werner Eilert <rwe-sse at osnanet.de 
> <mailto:rwe-sse at osnanet.de>> wrote:
> 
>     Thank you Bruce, that did it, at least on my Kubuntu 20 laptop at home.
>     It installed couple more libraries with it, and it runs flawlessly.
> 
>     On the Ubuntu Mate 18 PC in the office, after installing gb.qt5.ext,
>     the
>     Gambas IDE wouldn't start. It said, gb.qt5.webkit was missing, so I
>     installed that too.
> 
>     Now it runs, but in the IDE, Panels are shown with a black background,
>     not transparent/gray. Programs are running fine, however, from the IDE
>     and as binaries. And I tried to change the libraries to qt4 and to
>     gb.gui etc., but the IDE stays ugly.
> 
>     In another program in the office, I used the Editor, and it seems it
>     isn't included in gb.qt5.ext. So I switched back to qt4 and qt4.ext
>     because it is essential in that project. Is it somewhere else now?
> 
>     Regards
>     Rolf
> 
> 
>     Am 16.03.21 um 20:04 schrieb Bruce Steers:
>      > # sudo apt-get install gambas3-gb-qt5-ext
>      >
>      >
>      > On Tue, 16 Mar 2021 at 17:32, Rolf-Werner Eilert
>     <rwe-sse at osnanet.de <mailto:rwe-sse at osnanet.de>
>      > <mailto:rwe-sse at osnanet.de <mailto:rwe-sse at osnanet.de>>> wrote:
>      >
>      >     Am 16.03.21 um 16:25 schrieb Gianluigi:
>      >      >
>      >      >
>      >      > Il giorno mar 16 mar 2021 alle ore 16:20 Rolf-Werner Eilert
>      >      > <rwe-sse at osnanet.de <mailto:rwe-sse at osnanet.de>
>     <mailto:rwe-sse at osnanet.de <mailto:rwe-sse at osnanet.de>>
>      >     <mailto:rwe-sse at osnanet.de <mailto:rwe-sse at osnanet.de>
>     <mailto:rwe-sse at osnanet.de <mailto:rwe-sse at osnanet.de>>>> ha scritto:
>      >      >
>      >      >     When I do not have gb.qt4.ext, there is no TextEdit
>     control
>      >     anymore,
>      >      >     showing and producing RichText strings.
>      >      >
>      >      >     I can use TextArea instead (in my case), but if I want to
>      >     show the pure
>      >      >     text contents of existing strings, is there a
>     conversion function
>      >      >     somewhere?
>      >      >
>      >      >     Or was TextEdit replaced by a new version I don't know of?
>      >      >
>      >      >     Thanks for any advice!
>      >      >
>      >      >     Rolf
>      >      >
>      >      >
>      >      > gb.qt5.ext cobntains TextEdit
>      >      >
>      >      > Regards
>      >      > Gianluigi
>      >      >
>      >      >
>      >      > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>      >      >
>      >
>      >     Oh of course - that would be the easiest way.
>      >
>      >     How do I obtain it - what is the package name? I installed
>     Gambas from
>      >     the team repo on both Ubuntus I have in use (18 and 20), but
>     it hasn't
>      >     been installed automagically.
>      >
>      >     Regards
>      >     Rolf
>      >
>      >     ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>      >
>      >
>      >
>      > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>      >
> 
> 
>     ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> 
> 
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> 



More information about the User mailing list