filter_operator

class camelot.view.controls.filter_operator.FilterOperator(entity, field_name, field_attributes, parent)[source]

Widget that allows applying various filter operators on a field

combobox_changed(index)[source]

Whenever the combobox changes, show or hide the appropriate editors and emit the filter_changed signal

decorate_query(query)[source]
Parameters:query – an sqlalchemy query
Returns:the input query transformed to take into account the filter of

this widget

editor_editing_finished()[source]

Whenever one of the editors their value changes, emit the filters changed signal

get_operator_and_arity()[source]
Returns:the current operator and its arity

Previous topic

field_label

Next topic

filterlist

This Page


Comments
blog comments powered by Disqus