[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #9084] uitable implementation
From: |
anonymous |
Subject: |
[Octave-patch-tracker] [patch #9084] uitable implementation |
Date: |
Thu, 8 Dec 2016 20:50:41 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:50.0) Gecko/20100101 Firefox/50.0 |
Follow-up Comment #17, patch #9084 (project octave):
Thanks to great works, Anonymous!
I tested this patch on 4.2, almost works fine.
But I found some problems, and fixed it.
I wish anonymous' patch to be merged, too.
1. Run following command, click first cell, push right key two times, then
segfault occur.
>
uitable('ColumnFormat',{'numeric',{'one','two'}},'ColumnEditable',true,'Data',{1,'one';2,'two'});
-> Stop KeyPress event propagation by returning true in the
Table::eventFilter function.
2. Run following command, move mouse cursor over combobox, then focus
stealed.
>
uitable('ColumnFormat',{'numeric',{'one','two'}},'ColumnEditable',true,'Data',{1,'one';2,'two'});
> uicontrol('Style','pushbutton','String','Dummy');
-> Stop FocusIn/FocusOut event propagation by returning true in the
Table::eventFilter function.
3. KeyPress/MouseButtonPress event behaviors are different from MATLAB.
-> Implement these event callbacks.
4. Checkbox is centerized, only when column size is initial value.
-> Centerize checkbox using QHBoxLayout.
(file #39179)
_______________________________________________________
Additional Item Attachment:
File name: uitable-20161209.diff Size:106 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?9084>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-patch-tracker] [patch #9084] uitable implementation,
anonymous <=