Python structures to represent filters. These structures can be transformed to QT forms.
Filter where the items are displayed in a QComboBox
Filter widget based on a DateEditor
Filter that presents the user with an editor, allowing the user to enter a value on which to filter, and at the same time to show ‘All’ or ‘None’
Base class for filters
return a tuple of the name of the filter and a list of options that can be selected. Each option is a tuple of the name of the option, and a filter function to decorate a query @return: (filter_name, [(option_name, query_decorator), ...)
Render this filter as a qt object @param parent: its parent widget @param name: the name of the filter @param options: the options that can be selected, where each option is a list of tuples containting (option_name, query_decorator)
The name and the list of options can be fetched with get_name_and_options
A box containing a filter that can be applied on a table view, this filter is based on the distinct values in a certain column
Filter where the items are displayed in a QGroupBox
Flter widget based on a QGroupBox
Filters entities that are valid a certain date. This filter will present a date to the user and filter the entities that have their from date before this date and their end date after this date. If no date is given, all entities will be shown