Qua, 2007-06-20 às 09:02 +0200, Katarina Machalkova escreveu:
Hi Dom :-)
From bubli's post I guess there are a number of widgets that require you to check the UI that you are in and code accordingly.
Whats the best way to be aware of QT only widgets so that when you are developing you know that for ncurses support you need special handling? Is there a naming convention for them?
I guess this is a complete list of Qt-only widgets (don't know what is the status of these in Gtk, though) that are definitely not supported in ncurses: http://forgeftp.novell.com/yast/doc/SL10.2/tdg/YUI_special_widgets.html
yast-gtk supports everything. If GTK+ doesn't have a widget that Qt has (like the BarGraph), we can just code it, so it is very unlikely that we won't support something that yast-qt does. There are some noticeable differences in widgets (like the Date), but they are roughly the same size, so it shouldn't affect presentation. The layouting differences may be worth to describe in the documentation though. In any case, to check if a special widget is supported you use UI::doesItSupportWidget(X) (or whatever its called); you don't do a hard check on what interface is being used. Cheers, Ricardo
B.
-- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org