Part of stoqlib.gui.base.lists View In Hierarchy
Known subclasses: stoqlib.gui.base.lists.ModelListDialog
| Method | __init__ | Create a new ModelListDialog object. |
| Method | _delete_with_transaction | Undocumented |
| Method | _delete_model | Undocumented |
| Method | _prepare_run_editor | Undocumented |
| Method | populate | Undocumented |
| Method | add_item | Undocumented |
| Method | remove_item | Undocumented |
| Method | edit_item | Undocumented |
| Method | set_model_type | Set the type of the model this slave is containing |
| Method | set_editor_class | Set the editor class which will be used to modify |
| Method | set_reuse_transaction | Reuse the transaction. |
| Method | run_dialog | A special variant of run_dialog which deletes objects |
| Method | run_editor | This can be override by a subclass who wants to send in |
| Method | delete_model | Deletes the model in a transaction. |
| Parameters | conn | A database connection |
| Parameters | model_type | the model type |
| Parameters | editor_class | the editor class |
| Parameters | reuse_transaction | a transaction |
| Parameters | model | model to delete |
| trans | the transaction to delete the model within |