|
12 | 12 | format_exception, log_caller) |
13 | 13 |
|
14 | 14 | # TODO before using the widget in other projects: |
| 15 | +# * cleanup adapter filters API: |
| 16 | +# - get_filter_options works for either larray-style filters and |
| 17 | +# hlabel filters but cannot work for both at the same time (what the given |
| 18 | +# index means). |
| 19 | +# - How does axis filters enter the picture? |
| 20 | +# - I think we should go towards get_hlabel_actions(row_idx, col_idx) -> |
| 21 | +# some kind of Form definition. On any update of the form values, |
| 22 | +# the method corresponding to the part of the form that changed is called. |
| 23 | + |
| 24 | +# The simplest form would be: |
| 25 | +# {'filters': (self.change_filters, [label_values]), |
| 26 | +# 'sort': (self.change_sort, ..., |
| 27 | +# 'group_by: ...}. |
| 28 | +# this would also help support custom actions: |
| 29 | +# {'Label in menu': callable_to_perform_action | dict for submenu | } |
| 30 | +# apply auto gui on it: |
| 31 | +# def add_op_from_label(self, sort: ascending|descending|unsorted, |
| 32 | +# filter: list_of_labels) -> QuickBarOp: |
| 33 | +# ... |
| 34 | +# |
15 | 35 | # * move ndigits/format detection to adapter |
16 | 36 | # but the trick is to avoid using current column width and just |
17 | 37 | # target a "reasonable number" of digits |
|
78 | 98 | # superclass or one of their subclasses) |
79 | 99 |
|
80 | 100 | # TODO post release (move to issues): |
81 | | -# * take decoration (sort arrow) into account to compute column widths |
82 | 101 | # * mouse selection on "edges" should move the buffer |
83 | 102 | # (it scrolls the internal viewport but does not change the offset) |
84 | 103 |
|
|
0 commit comments