[Gambas-devel] Splitter syntax apparentlly not working.
Benoît Minisini
gambas at ...1...
Sun Dec 6 12:59:44 CET 2009
> On Sunday 06 December 2009 22:16:38 you wrote:
> > > I decided to bite the bullet and convert my (huge) project to qt4 which
> > > would also mean droping kde3 konqueror and using webkit which is why
> > > I've put it off for so long.
> > >
> > > I un-check the old qt settings, and re-checked with qt4 ones, and
> > > drawing areas replaced the now out-of-date controls. - ok I can fix
> > > that.
> > >
> > > But settings is behaving strangly with layouts eg the docs say and
> > > always have:
> > >
> > > VSplit.Layout (gb.qt)
> > > Syntax
> > > PROPERTY Layout AS String
> > > Returns or sets the description of the splitter layout.
> > > This property is a comma-separated list of the relative sizes of the
> > > children.
> > >
> > > But Vsplit_whatever.layout = "100,200" for example dosn't work and
> > > complains that it wants an integer, as per the sample in the picture
> > > below.
> > >
> > > Any ideas?
> > > Regards
> > >
> > > richard
> >
> > Not an Integer, but an Integer[]. You must replace the "values separated
> > by commas stored in a string" by an array of integers.
> >
> > Regards,
>
> Thanks Benoit, got to that eventually.
>
> Lots of problems with this conversion including numerous sig11's when
> running which I'll digest and try and send to you in the coming weeks.
If you have a sig11 that you can reproduce, please use valgrind and send me
its output. It provides better information than gdb.
>
> One weird thing is seemingly though I can change the background color of a
> columnview in the IDE, only the outline becomes coloured when the program
> runs.
>
Colors are managed differently in Qt4 than in Qt3. Maybe that could be fixed
so that changing the background color can affect controls that do not use it
(there are internally different background colors in Qt).
Regards,
--
Benoît Minisini
More information about the Devel
mailing list