|
| | chooser_multi_t (uint32 flags_=0, int columns_=0, const int *widths_=nullptr, const char *const *header_=nullptr, const char *title_=nullptr, uint8 flags2_=0, twidget_type_t widget_type_=BWN_UNKNOWN) |
| ssize_t | choose (const sizevec_t &deflt=sizevec_t()) |
| | Display a generic list chooser and allow the user to select an item.
|
| virtual void idaapi | get_item_index (sizevec_t *sel, const void *item_data) const newapi |
| | Get the positions of the items.
|
| typedef | cbres_t (idaapi chooser_multi_t::*cb_t)(sizevec_t *sel) |
| | Type of ins(), del(), edit(), enter(), refresh() callbacks.
|
| virtual cbres_t idaapi | ins (sizevec_t *) new api |
| | User asked to insert an element.
|
| virtual cbres_t idaapi | del (sizevec_t *) new api |
| | User deleted elements.
|
| virtual cbres_t idaapi | edit (sizevec_t *) new api |
| | User asked to edit an element.
|
| virtual cbres_t idaapi | enter (sizevec_t *sel) new api |
| | User pressed the enter key.
|
| virtual cbres_t idaapi | refresh (sizevec_t *) new api |
| | The chooser needs to be refreshed.
|
| virtual void idaapi | select (const sizevec_t &) const newapi |
| | Selection changed.
|
| virtual dirtree_t *idaapi | get_dirtree () new api |
| | get the dirtree_t that will be used to present a tree-like structure to the user (see CH_HAS_DIRTREE)
|
| virtual inode_t idaapi | index_to_inode (size_t) const newapi |
| | Map an item index to a dirtree_t inode This is necessary only if CH_HAS_DIRTREE is specified.
|
| virtual diffpos_t idaapi | index_to_diffpos (size_t) const newapi |
| | Map an item index to a diffpos_t This is necessary only if CH_HAS_DIFF is specified.
|
| virtual bool idaapi | get_stdact_descs (chooser_stdact_desc_t *[NSTDPOPUPS]) new api |
| | Get the description of the standard chooser actions.
|
| virtual bool idaapi | do_lazy_load_dir (dirtree_t *, const qstring &) new api |
| | Callback for lazy-loaded, dirtree-based choosers; the function will be called when a folder is expanded and it has not been loaded before.
|
| virtual size_t idaapi | inode_to_index (inode_t) const newapi |
| | Map an a dirtree_t inode to the index This will be used only if CH_HAS_DIRTREE and CH2_HAS_INODE2INDEX are specified Implementing this function will result in increase overall performance especially for big choosers.
|
| virtual cbres_t idaapi | checked (size_t, int) new api |
| | A checkbox was toggled by the user.
|
| | chooser_base_t (uint32 flags_=0, int columns_=0, const int *widths_=nullptr, const char *const *header_=nullptr, const char *title_=nullptr, uint8 flags2_=0, twidget_type_t widget_type_=BWN_UNKNOWN) |
| virtual | ~chooser_base_t () |
| | DEFINE_MEMORY_ALLOCATION_FUNCS () void call_destructor() |
| virtual void * | get_chooser_obj () |
| | get pointer to some custom data.
|
| virtual const void * | get_obj_id (size_t *len) const |
| | get the id of the chooser data.
|
| bool | is_same (const chooser_base_t *other) const |
| | do the current and the given objects hold the same data?
|
| bool | can_ins () const |
| | is an operation allowed?
|
| bool | can_del () const |
| bool | can_edit () const |
| bool | can_refresh () const |
| bool | popup_allowed (int stdact_idx) const |
| | is a standard action allowed?
|
| bool | is_status_bar_hidden () const |
| bool | should_restore_geometry () const |
| bool | is_modal () const |
| | is choose modal?
|
| bool | has_widget_lifecycle () const |
| | should chooser object be deleted when the widget gets destroyed?
|
| bool | is_multi () const |
| | is multi-selection allowed?
|
| bool | ask_item_attrs () const |
| | should chooser generate ui_get_chooser_item_attrs events?
|
| bool | is_force_default () const |
| | should selection of the already opened non-modal chooser be changed?
|
| twidget_type_t | get_builtin_number () const |
| | get number of the built-in chooser
|
| void | set_ask_item_attrs (bool enable) |
| | enable or disable generation of ui_get_chooser_item_attrs events
|
| void | check_version (uint32 ver) const |
| bool | is_quick_filter_visible_initially () const |
| int | get_quick_filter_initial_mode () const |
| bool | has_diff_capability () const |
| bool | can_sort () const |
| bool | can_filter () const |
| bool | should_rename_trigger_edit () const |
| bool | is_lazy_loaded () const |
| virtual bool idaapi | init () |
| | initialize the chooser and populate it.
|
| virtual size_t idaapi | get_count () const =0 |
| | get the number of elements in the chooser
|
| virtual void idaapi | get_row (qstrvec_t *out, int *out_icon, chooser_item_attrs_t *out_attrs, size_t n) const =0 |
| | get a description of an element.
|
| virtual ea_t idaapi | get_ea (size_t) const |
| | get the address of an element.
|
| virtual void idaapi | closed () |
| | The chooser window is closed.
|
The chooser object with multi-selection.