本文整理匯總了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