-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Il 21/05/2013 12:52, Thomas Goettlicher ha scritto:
Most important is not to brake applications which use YTable already. Even with code changes the widgets should behave to applications in the same way they behaved before. True :)
BTW: If the checkbox is just an indicator for a status an icon could be the solution. The Qt package selector uses an icon to show if an package is installed, selected for installation, selected for update, and so on. Well it isn't only an indicator, is also an indicator. Checked is either installed or to be installed now.
Anyway I'm reconsidering my position. I've just almost fixed the cell behavior in qt (moving by keyboard), and i found that adding that means managing better signals because again clicked on cell is different then checking it.
On 05/21/2013 02:35 PM, Angelo Naselli wrote: libyui is an abstraction layer.
The basic idea now is to work on your suggestion, e.g. having a check box at YItemTable level so that checking means to get all the line. But i think i have to do a lot of changes to my previous ones, and i needed a lot of time to work on ncurses and gtk... so i don't think you will have news very soon :), maybe as soon as i have something on Qt.
There is no hurry.
I'm trying to see if it's better to add this info at YTable constructor or not, as for multi selection i mean. So maybe something like YTable(...., mode=[multisel, checkbox at the end, checkbox at left side])
so that in ncurses multisel is not managed also with check box and we could have [X] | Item col 0 | Item Col 1 |....| Item Col 9 or Item col 0 | Item Col 1 |....| Item Col 9 | [X]
Does it sound better?
That sounds almost good to me. "Checkbox at the end" is okay. But "Checkbox at the left side" should be "Checkbox in front" or so. The reason is that e.g. Arabic uses right-to-left layout. The default option should generate the widget that looks the same way as it used to look like. ycp-ui-bindings should be extended to allow ycp code to set these options as well. Cheers, Thomas
Cheers, Angelo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlGbaiMACgkQqEs9DA4DquCgRwCgsgmfMPuRRMhi7uQQFcHJ2Zuo p5kAoJpHF50qFdt6PCVc3KfnFwtzNx4u =gYu+ -----END PGP SIGNATURE-----
-- Thomas Goettlicher SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org