Author: gs Date: Thu Sep 20 16:34:32 2007 New Revision: 40992 URL: http://svn.opensuse.org/viewcvs/yast?rev=40992&view=rev Log: hints and TODOs Added: branches/tmp/sh/mod-ui/ncurses/src/README_mod-ui Added: branches/tmp/sh/mod-ui/ncurses/src/README_mod-ui URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/README_mod-ui?rev=40992&view=auto ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/README_mod-ui (added) +++ branches/tmp/sh/mod-ui/ncurses/src/README_mod-ui Thu Sep 20 16:34:32 2007 @@ -0,0 +1,54 @@ +Threads +------- +at the moment running without threads!!! +-> YNCursesComponent.h + // FIXME + with_threads = false; + + +NCWidget.h +---------- +Which constructor is default? +NCWidget(YWidget * parent = 0) which was added or +NCWidget(NCWidget *myparent = 0) like before? + + +NCTree +====== +YItemIterator itemsBegin()/itemsEnd() used to iterate over toplevel items +YItemIterator YTreeItem::childrenBegin()/childrenEnd() used to iterate over children + +selectItem() added +TODO: check selectItem() methods ! + - YItem::index() is always -1 ??? (see debug in NCTree.cc, line 343) + - are the methods complete (methods from YTree and myPad() methods called correctly) + +wHandleInput() +TODO: (oldCurrentItem != getCurrentItem()) doesn't return true for different items + => SelectionChanged event isn't set + + +EVENTs +------ +remove YCPValue result; from NCursesEvent + + +RadioButtonGroup +================ +TODO: check whether focusNext/Prev work correctly + + +SelectionBox +============ +selectItem() added + +addItem (string, bool ) added +TO DO: test NCPkgPopupDeps which uses addItem + + +NCComboBox +---------- +listPopup(): +Don't create widget NCPopupList on the stack!!! +This leads to segfault when widgets are deleted from YUI at the end! +call YDialog::deleteTopmostDialog(); to delete NCPopupList -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org