-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi all,
Following Michael ideas I'm trying to summarize what I'm currently discussing with YUI team.
I've recently started a new fork to add checkable columns to Ytable. My first will is to got a new rpm front-end in mageia, so the checkable column is intended as rpm installed or, as soon as user checks it, to be installed. Of course un-checking it means to be uninistall :) The YaST team had a similar problem and created a special widgets for
On 05/17/2013 03:41 PM, Angelo Naselli wrote: package management because that's not a trivial task which can be solved by a normal widget. Please have a look at libyui-ncurses-pkg, libyui-qt-pkg, and libyui-gtk-pkg.
In the very first implementation i thought to NCTable multiselection, but that imo does not cover the aim. Selecting more lines, means doing something on the selection, which action could finish soon after it's been called -think to a context menu with some actions like print, send via mail etc.-, but even check them all. While checking them means doing something after you selected the one you wanted, where ever they are in the list, not only on the screen (yes i know ctrl + mouse click, but it's not that easy after all, no? :) ), let's say to install/uninstall them for instance in my case.
The yast partitioner is an good example how non-trivial lists can be represented by a libyui widget with context menus.
Well to make the long story short, i studied the code a bit and i left the user (well the developer really) decide where and how many chackable columns to put. When a column is checked, an YItem value changed is emitted.
Which is the problem then?
- - We are trying to understand if we have regressions. - - We are trying to understand if all i did was necessary - - I have a problem in ncurses in which last column sometimes is not shown in its whole - - Thomas does not like how i selected the column in ncurses
I can offer even more objections: - Multiple checkboxes per row might confuse users - Retrieving the selected items of such a widget is tricky (is a row selected when some checkboxes are checked and some not?). - Selecting checkboxes in qt with your changes doesn't work with keyboard. Cheers, Thomas
I think it's all.
My code is here https://github.com/anaselli (i need to merge to the last changes though).
Cheers, Angelo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlGWM3kACgkQqEs9DA4DquDvZgCgs9jLuvuFRveT1TlQtFniCCQU OAkAn3pXxdne6GApUFQcu/RnrZ/Jn5Uc =Dt1s -----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