[Gambas-user] Some Qt4 bugs.

Jussi Lahtinen jussi.lahtinen at ...626...
Sun Mar 21 17:59:22 CET 2010


Hi!

Problem 1.
With TextEdit control horizontal scrollbar isn't working like in Qt3.
Sentences are cut ugly way, example "This is test sentence." is
transformed to (if doesn't fit)
"This is test"
" sentence."  <-- notice extra space at begin.

I did expect horizontal scrollbar.


Problem 2.
Code (worked with Qt3);

Public Sub Button1_Click()
Draw.Begin(DrawingArea1)
Draw.Foreground = Color.Black
Draw.LineWidth = 3
Draw.Circle(15, 15, 105)
Draw.End
End

Yields to these messages to console and nothing to drawingarea;

QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::setBackground: Painter not active
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::brush: Painter not active
QPainter::setBrush: Painter not active
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::pen: Painter not active

Is this planned behaviour?


Ubuntu 9.10 64bit
Gambas 3 revision 2815

Jussi




More information about the User mailing list