Part of stoqlib.gui.search.sellablesearch View In Hierarchy
Method | __init__ | Create a new SellableSearch object. |
Method | create_filters | Undocumented |
Method | get_columns | Hook called by SearchEditor |
Method | update_widgets | Subclass can have an 'update_widgets', and this method will be |
Method | _executer_query | Undocumented |
Method | _get_available_stock | Undocumented |
Inherited from SearchEditor:
Method | _setup_slaves | Undocumented |
Method | set_edit_button_sensitive | Control sensitivity of button edit |
Method | hide_edit_button | Undocumented |
Method | hide_new_button | Undocumented |
Method | update_edited_item | Update the edited item to its proper type and select it on the |
Method | run | Handles action to be performed when window is opened. Defaults to |
Method | run_dialog | Undocumented |
Method | run_editor | Undocumented |
Method | row_activate | See SearchDialog.row_activate |
Method | _edit | Undocumented |
Method | _on_toolbar__edit | Undocumented |
Method | _on_toolbar__new | Undocumented |
Method | get_searchlist_model | Undocumented |
Method | get_editor_model | This hook must be redefined on child when changing the type of |
Inherited from SearchDialog (via SearchEditor):
Method | _setup_search_table | Undocumented |
Method | _setup_selection_mode | Undocumented |
Method | _setup_search | Undocumented |
Method | _setup_details_slave | Undocumented |
Method | set_details_button_sensitive | Undocumented |
Method | set_print_button_sensitive | Undocumented |
Method | get_selection | Undocumented |
Method | confirm | Undocumented |
Method | cancel | Undocumented |
Method | set_table | Undocumented |
Method | set_searchbar_labels | Undocumented |
Method | set_searchbar_search_string | Undocumented |
Method | set_result_strings | Undocumented |
Method | set_text_field_columns | See SearchSlaveDelegate.set_text_field_columns |
Method | disable_search_entry | See SearchSlaveDelegate.disable_search_entry |
Method | add_filter | See SearchSlaveDelegate.add_filter |
Method | create_branch_filter | Undocumented |
Method | _on_results__cell_edited | Override this method on child when it's needed to perform some |
Method | _on_results__selection_changed | Undocumented |
Method | _on_results__row_activated | Undocumented |
Method | _has_rows | Undocumented |
Method | setup_widgets | Undocumented |
Inherited from BasicDialog (via SearchEditor, SearchDialog):
Method | _initialize | Undocumented |
Method | setup_keyactions | Undocumented |
Method | hide_footer | Undocumented |
Method | enable_ok | Undocumented |
Method | disable_ok | Undocumented |
Method | set_ok_label | Undocumented |
Method | set_cancel_label | Undocumented |
Method | justify_label | Undocumented |
Method | set_confirm_widget | Enables widget as a confirm widget, the dialog will be closed as |
Method | set_cancel_widget | Enables widget as a cancel widget, the dialog will be closed as |
Method | add | Undocumented |
Method | action_area | Undocumented |
Method | on_ok_button__clicked | Undocumented |
Method | on_cancel_button__clicked | Undocumented |
Inherited from RunnableView (via SearchEditor, SearchDialog, BasicDialog, AbstractDialog):
Method | close | Handles action to be performed when window is closed. |
Method | destroy | Undocumented |
Parameters | conn | a orm Transaction instance |
hide_footer | do I have to hide the dialog footer? | |
hide_toolbar | do I have to hide the dialog toolbar? | |
selection_mode | the kiwi list selection mode | |
search_str | FIXME | |
sale_items | optionally, a list of sellables which will be used to deduct stock values | |
quantity | the quantity of stock to add to the order, is necessary to supply if you supply an order. | |
double_click_confirm | If double click a item in the list should automatically confirm |