Mailinglist Archive: yast-devel (77 mails)

< Previous Next >
Re: [yast-devel] Table popups
  • From: Johannes Meixner <jsmeix@xxxxxxx>
  • Date: Tue, 13 Jan 2009 10:48:47 +0100 (CET)
  • Message-id: <alpine.LNX.1.10.0901131034160.30039@xxxxxxxxxxxxxx>

Hello,

On Jan 12 10:14 Katarina Machalkova wrote (shortened):
Dne Sunday 11 January 2009 20:27:40 Ricardo Cruz napsal(a):
http://mvidner.blogspot.com/2009/01/yast-ui-table-usability.html
...
Yes, somebody (I believe it was mhopf) already proposed that for partitioner -
a small pop-up activated with right mouse click (for ncurses, by some
key-combination e.g. Ctrl-$some_key), making functions of buttons under the
table accesible also in this way.

I believe it definitely deserves a feature request ... how much work would
that be, though? (on UI level) And what do others think?

Please avoid one more special case stuff where somewhere
is only described what one should do.

Please try to get it implemented where it belongs to:
Directly in a higher-level Table function.

Currently there is a Table function (which only spits out a Table
widget on the screen) but no Table-functions can be defined there.
Instead there are some more PushButton functions (which only spit
out PushButton widgets on the screen).
Somewhere else in the code (one has to inspect the code) there is
functionality implemented which does something regarding the Table
when a certain PushButton was clicked.

I would like to have a higher-level Table function where I could
define all what belongs to a table at one same place, e.g. like

Table::SetContentsButtons
( caption,
contents,
Label::AddButton(),
Label::EditButton(),
Label::DeleteButton(),
);

(looks intentionally like Wizard::SetContentsButtons ;-)

This way existing code via Table widget with PushButton widgets
need not to be changed and lazy programmes can use the new
higher-level Table function.

Some time later check_ycp (or whatever tool you like) may show
warning messages when there are bare Table widget function calls
with a hint to replace them with Table::SetContentsButtons.


Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >