IDAPython 8.4
|
PluginForm class. More...
Public Member Functions | |
__init__ (self) | |
Show (self, caption, options=0) | |
Creates the form if not was not created or brings to front if it was already created. | |
OnCreate (self, form) | |
This event is called when the plugin form is created. | |
OnClose (self, form) | |
Called when the plugin form is closed. | |
Close (self, options) | |
Closes the form. | |
GetWidget (self) | |
Return the TWidget underlying this view. | |
Static Public Member Functions | |
TWidgetToPyQtWidget (tw, ctx=sys.modules['__main__']) | |
Convert a TWidget* to a QWidget to be used by PyQt. | |
QtWidgetToTWidget (w, ctx=sys.modules['__main__']) | |
Convert a QWidget to a TWidget* to be used by IDA. | |
TWidgetToPySideWidget (tw, ctx=sys.modules['__main__']) | |
Use this method to convert a TWidget* to a QWidget to be used by PySide. | |
Static Public Attributes | |
int | WOPN_MDI = 0x01 |
int | WOPN_TAB = 0x02 |
WOPN_RESTORE = _ida_kernwin.WOPN_RESTORE | |
int | WOPN_ONTOP = 0x08 |
int | WOPN_MENU = 0x10 |
int | WOPN_CENTERED = 0x20 |
WOPN_PERSIST = _ida_kernwin.WOPN_PERSIST | |
WOPN_DP_LEFT = _ida_kernwin.WOPN_DP_LEFT | |
WOPN_DP_TOP = _ida_kernwin.WOPN_DP_TOP | |
WOPN_DP_RIGHT = _ida_kernwin.WOPN_DP_RIGHT | |
WOPN_DP_BOTTOM = _ida_kernwin.WOPN_DP_BOTTOM | |
WOPN_DP_INSIDE = _ida_kernwin.WOPN_DP_INSIDE | |
WOPN_DP_TAB = _ida_kernwin.WOPN_DP_TAB | |
WOPN_DP_BEFORE = _ida_kernwin.WOPN_DP_BEFORE | |
WOPN_DP_FLOATING = _ida_kernwin.WOPN_DP_FLOATING | |
WOPN_DP_SZHINT = _ida_kernwin.WOPN_DP_SZHINT | |
WOPN_DP_INSIDE_BEFORE = _ida_kernwin.WOPN_DP_INSIDE_BEFORE | |
WOPN_DP_TAB_BEFORE = _ida_kernwin.WOPN_DP_TAB_BEFORE | |
dict | WOPN_CREATE_ONLY = {} |
str | VALID_CAPSULE_NAME = b"$valid$" |
FormToPyQtWidget = TWidgetToPyQtWidget | |
FormToPySideWidget = TWidgetToPySideWidget | |
WCLS_SAVE = _ida_kernwin.WCLS_SAVE | |
WCLS_NO_CONTEXT = _ida_kernwin.WCLS_NO_CONTEXT | |
WCLS_DONT_SAVE_SIZE = _ida_kernwin.WCLS_DONT_SAVE_SIZE | |
WCLS_DELETE_LATER = _ida_kernwin.WCLS_DELETE_LATER | |
WCLS_CLOSE_LATER = WCLS_DELETE_LATER | |
Static Protected Member Functions | |
_ensure_widget_deps (ctx) | |
This form can be used to host additional controls. Please check the PyQt example.
__init__ | ( | self | ) |
|
staticprotected |
Close | ( | self, | |
options ) |
options | Close options (WCLS_SAVE, WCLS_NO_CONTEXT, ...) |
GetWidget | ( | self | ) |
OnClose | ( | self, | |
form ) |
OnCreate | ( | self, | |
form ) |
The programmer should populate the form when this event is triggered.
|
static |
ctx | Context. Reference to a module that already imported SIP and QtWidgets modules |
Show | ( | self, | |
caption, | |||
options = 0 ) |
caption | The form caption |
options | One of PluginForm.WOPN_ constants |
|
static |
ctx | Context. Reference to a module that already imported SIP and QtWidgets modules |
|
static |
ctx | Context. Reference to a module that already imported QtWidgets module |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |