Loading...
Searching...
No Matches
Reportwidget

Detailed Description

Classes

class  ReportWidget
 

Class Documentation

◆ ReportWidget

class ReportWidget

Public Member Functions

 ReportWidget (QWidget *parent, BinaryViewRef view, const std::string &contents, BNReportType type, const std::string &title, const std::string &plaintext="")
 
std::string getContents () const
 
std::string getTitle () const
 
BNReportType getType () const
 
std::string getPlainText () const
 
void save ()
 
void saveAs ()
 
ReportWidgetduplicate ()
 
- Public Member Functions inherited from UIActionHandler
 UIActionHandler (bool isGlobal=false)
 
virtual ~UIActionHandler ()
 
void setupActionHandler (QWidget *obj, bool inheritParentBindings=true)
 
void bindAction (const QString &name, const UIAction &action)
 
void bindAction (const QString &name, const UIAction &action, ActionPriority priority)
 
void unbindAction (const QString &name)
 
void executeAction (const QString &name)
 
void executeAction (const QString &name, const UIActionContext &context)
 
bool isBoundAction (const QString &name)
 
bool isValidAction (const QString &name)
 
bool isValidAction (const QString &name, const UIActionContext &context)
 
ActionPriority getPriority (const QString &name)
 
void bindCopyAsActions (const UITransformAction &action)
 
void bindPasteFromActions (const UITransformAction &action)
 
void bindTransformActions (const UITransformAction &encode, const UITransformAction &decode)
 
void unbindCopyAsActions ()
 
void unbindPasteFromActions ()
 
void unbindTransformActions ()
 
void bindPluginCommandActions ()
 
void bindPluginCommandActions (const QString &prefix, const std::function< UIActionContext(const UIActionContext &, const BinaryNinja::PluginCommand &)> &context, const std::function< bool(const UIActionContext &, const BinaryNinja::PluginCommand &)> &isValid)
 
void unbindPluginCommandActions ()
 
void unbindPluginCommandActions (const QString &prefix)
 
void bindHighlightColorActions (const QString &prefix, const UIHighlightColorAction &action)
 
void unbindHighlightColorActions (const QString &prefix)
 
void bindBookmarkActions (const QString &prefix, const UIBookmarkAction &action)
 
void unbindBookmarkActions (const QString &prefix)
 
void setActionDisplayName (const QString &registeredName, const QString &displayName)
 
void setActionDisplayName (const QString &registeredName, const std::function< QString()> &displayNameFunc)
 
void setActionDisplayName (const QString &registeredName, const std::function< QString(const UIActionContext &)> &displayNameFunc)
 
QString getActionDisplayName (const QString &name)
 
QString getActionDisplayName (const QString &name, const UIActionContext &context)
 
void setChecked (const QString &name, bool checked)
 
void setChecked (const QString &name, const std::function< bool()> &checked)
 
void setChecked (const QString &name, const std::function< bool(const UIActionContext &)> &checked)
 
bool isChecked (const QString &name)
 
bool isChecked (const QString &name, const UIActionContext &context)
 
bool isCheckable (const QString &name)
 
std::set< QString > getAllValidActions ()
 
std::set< QString > getAllValidActions (const UIActionContext &context)
 
UIActionContext defaultActionContext ()
 
virtual UIActionContext actionContext ()
 
void setActionContext (const std::function< UIActionContext()> &contextFunc)
 
QWidget * widget ()
 

Additional Inherited Members

- Static Public Member Functions inherited from UIActionHandler
static UIActionHandleractionHandlerFromWidget (QWidget *widget)
 
static UIActionHandlerglobalActions ()
 
static void updateActionBindings (const QString &name)
 
static bool isActionBoundToAnyHandler (const QString &name)
 
static void addGlobalMenuAction (const QString &name)
 
static void removeGlobalMenuAction (const QString &name)
 
static void reparentWidget (QWidget *widget)
 

Constructor & Destructor Documentation

◆ ReportWidget()

ReportWidget::ReportWidget ( QWidget * parent,
BinaryViewRef view,
const std::string & contents,
BNReportType type,
const std::string & title,
const std::string & plaintext = "" )

Member Function Documentation

◆ getContents()

std::string ReportWidget::getContents ( ) const
inline

◆ getTitle()

std::string ReportWidget::getTitle ( ) const
inline

◆ getType()

BNReportType ReportWidget::getType ( ) const
inline

◆ getPlainText()

std::string ReportWidget::getPlainText ( ) const
inline

◆ save()

void ReportWidget::save ( )

◆ saveAs()

void ReportWidget::saveAs ( )

◆ duplicate()

ReportWidget * ReportWidget::duplicate ( )