Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TileQt fixes in SF CVS...

5 views
Skip to first unread message

George Petasis

unread,
Sep 18, 2006, 1:27:35 PM9/18/06
to
Hi all,

I want to just report that the latest CVS head of the tileqt project,
has important fixes for the combobox & notebook widgets (under Qt 3.x)
and early support for notebook widgets (under Qt 4.x). The new features are:

A) Qt 3.x:

1) Overrided QWidget::hasFocus() to return true/false according to a
global variable. This allows us to control what hasFocus() on the
various widgets returns, and return true for tile widgets that have
focus. This allows widgets that accept focus to be correctly drawn under
themes that additionally check hasFocus. (Qt will never return true for
widgets non-visible, like the ones tileqt uses...)

** This may break other extensions based on Qt which expect a working
QWidget::hasFocus(), loading in the same app as tileqt :-( **
(I don't know of any situations with tileqt + other Qt extensions in the
same Tk app so far, but anyway...)

2) Fixes in getting tab bar base heights. Tested with the Baghira
style, where notebook tabs are drawn along with the tab base, centered
over it.

B) Qt 4.x:

1) Added support for notebook widgets. There is a small drawing problem
just before the first tab, but apart from that everything else seems in
place.

The new version can be found in the tktable SF project CVS space.

George

0 new messages