本文整理汇总了Python中idaapi.PluginForm方法的典型用法代码示例。如果您正苦于以下问题:Python idaapi.PluginForm方法的具体用法?Python idaapi.PluginForm怎么用?Python idaapi.PluginForm使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类idaapi
的用法示例。
在下文中一共展示了idaapi.PluginForm方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: accepted
# 需要导入模块: import idaapi [as 别名]
# 或者: from idaapi import PluginForm [as 别名]
def accepted(fclass, dialog):
'''Registered callback for accept dialog action.
Args:
fclass (:obj:`idaapi.PluginForm`): The plugin form part of
dialog (:obj:`FIRSTUI.*`): A dialog box object.
'''
if (isinstance(dialog, FIRSTUI.Upload)
or isinstance(dialog, FIRSTUI.UploadAll)):
FIRST.Callbacks.Upload(dialog)
elif (isinstance(dialog, FIRSTUI.Check)
or isinstance(dialog, FIRSTUI.CheckAll)):
FIRST.Callbacks.check(dialog)
elif isinstance(dialog, FIRSTUI.Welcome):
FIRST.Callbacks.welcome(dialog)
示例2: tform_visible
# 需要导入模块: import idaapi [as 别名]
# 或者: from idaapi import PluginForm [as 别名]
def tform_visible(self, form, hwnd):
'''Shows the FIRST Welcome dialog box if required.'''
if ((IDAW.BWN_DISASMS == IDAW.get_tform_type(form))
and FIRST.show_welcome):
parent = idaapi.PluginForm.FormToPyQtWidget(form)
welcome_dialog = FIRSTUI.Dialog(parent, FIRSTUI.Welcome)
welcome_dialog.registerSuccessCallback(FIRST.Callbacks.welcome)
welcome_dialog.show()
FIRST.show_welcome = False
示例3: Show
# 需要导入模块: import idaapi [as 别名]
# 或者: from idaapi import PluginForm [as 别名]
def Show(self):
return idaapi.PluginForm.Show(self, PLUGNAME, options = (
idaapi.PluginForm.WOPN_TAB | idaapi.PluginForm.WCLS_CLOSE_LATER
))
示例4: Show
# 需要导入模块: import idaapi [as 别名]
# 或者: from idaapi import PluginForm [as 别名]
def Show(self):
return idaapi.PluginForm.Show(self,
"Value View",
options=idaapi.PluginForm.FORM_PERSIST)
示例5: Show
# 需要导入模块: import idaapi [as 别名]
# 或者: from idaapi import PluginForm [as 别名]
def Show(self):
return idaapi.PluginForm.Show(self, "T.A.C.O.", options=idaapi.PluginForm.FORM_PERSIST)
示例6: __init__
# 需要导入模块: import idaapi [as 别名]
# 或者: from idaapi import PluginForm [as 别名]
def __init__(self, watch):
idaapi.PluginForm.__init__(self)
self.watch = watch
self.isclosed = False
self.callbacks = {}
示例7: form
# 需要导入模块: import idaapi [as 别名]
# 或者: from idaapi import PluginForm [as 别名]
def form(cls, twidget):
'''Return an IDA plugin form as a UI widget.'''
ns = idaapi.PluginForm
return ns.FormToPyQtWidget(twidget)
示例8: __init__
# 需要导入模块: import idaapi [as 别名]
# 或者: from idaapi import PluginForm [as 别名]
def __init__(self, config_main, config_theme, tools, lvars, window_name):
idaapi.PluginForm.__init__(self)
self.config_main = config_main
self.config_theme = config_theme
self.tools = tools
self.lvars = lvars
self.window_name = window_name
self.hl = None
self.interface = None
self.parent = None
return