Loading...
Searching...
No Matches
Mergevariablesdialog

Detailed Description

Classes

class  MergeVariableHeader
 
class  MergeVariableListItem
 
class  MergeVariableItemDelegate
 
class  MergeVariablesDialog
 

Class Documentation

◆ MergeVariableHeader

class MergeVariableHeader

Public Member Functions

 MergeVariableHeader (const std::vector< BinaryNinja::InstructionTextToken > &tokens, QWidget *parent=nullptr)
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 
QSize sizeHint () const override
 

Constructor & Destructor Documentation

◆ MergeVariableHeader()

MergeVariableHeader::MergeVariableHeader ( const std::vector< BinaryNinja::InstructionTextToken > & tokens,
QWidget * parent = nullptr )

Member Function Documentation

◆ paintEvent()

void MergeVariableHeader::paintEvent ( QPaintEvent * event)
overrideprotected

◆ sizeHint()

QSize MergeVariableHeader::sizeHint ( ) const
overrideprotected

◆ MergeVariableListItem

class MergeVariableListItem

Public Member Functions

 MergeVariableListItem (QWidget *parent, BinaryNinja::Function *func, const BinaryNinja::Variable &var, const std::string &name, BinaryNinja::Confidence< BinaryNinja::Ref< BinaryNinja::Type > > type, const QString &warnings, bool grayed)
 
const BinaryNinja::Variablevariable () const
 
virtual QVariant data (int role) const override
 

Static Public Member Functions

static std::vector< BinaryNinja::InstructionTextTokentokensForVariable (BinaryNinja::Function *func, const BinaryNinja::Variable &var, BinaryNinja::Confidence< BinaryNinja::Ref< BinaryNinja::Type > > type, const std::string &name)
 

Constructor & Destructor Documentation

◆ MergeVariableListItem()

MergeVariableListItem::MergeVariableListItem ( QWidget * parent,
BinaryNinja::Function * func,
const BinaryNinja::Variable & var,
const std::string & name,
BinaryNinja::Confidence< BinaryNinja::Ref< BinaryNinja::Type > > type,
const QString & warnings,
bool grayed )

Member Function Documentation

◆ variable()

const BinaryNinja::Variable & MergeVariableListItem::variable ( ) const
inline

◆ data()

virtual QVariant MergeVariableListItem::data ( int role) const
overridevirtual

◆ tokensForVariable()

static std::vector< BinaryNinja::InstructionTextToken > MergeVariableListItem::tokensForVariable ( BinaryNinja::Function * func,
const BinaryNinja::Variable & var,
BinaryNinja::Confidence< BinaryNinja::Ref< BinaryNinja::Type > > type,
const std::string & name )
static

◆ MergeVariableItemDelegate

class MergeVariableItemDelegate

Public Member Functions

 MergeVariableItemDelegate (QWidget *parent)
 
void updateFonts ()
 
virtual QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &idx) const override
 
virtual void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &idx) const override
 

Constructor & Destructor Documentation

◆ MergeVariableItemDelegate()

MergeVariableItemDelegate::MergeVariableItemDelegate ( QWidget * parent)

Member Function Documentation

◆ updateFonts()

void MergeVariableItemDelegate::updateFonts ( )

◆ sizeHint()

virtual QSize MergeVariableItemDelegate::sizeHint ( const QStyleOptionViewItem & option,
const QModelIndex & idx ) const
overridevirtual

◆ paint()

virtual void MergeVariableItemDelegate::paint ( QPainter * painter,
const QStyleOptionViewItem & option,
const QModelIndex & idx ) const
overridevirtual

◆ MergeVariablesDialog

class MergeVariablesDialog

Public Member Functions

 MergeVariablesDialog (QWidget *parent, FunctionRef func, BinaryNinja::Variable target)
 
std::set< BinaryNinja::VariablemergedVariables ()
 
std::set< BinaryNinja::VariableunmergedVariables ()
 

Constructor & Destructor Documentation

◆ MergeVariablesDialog()

MergeVariablesDialog::MergeVariablesDialog ( QWidget * parent,
FunctionRef func,
BinaryNinja::Variable target )

Member Function Documentation

◆ mergedVariables()

std::set< BinaryNinja::Variable > MergeVariablesDialog::mergedVariables ( )

◆ unmergedVariables()

std::set< BinaryNinja::Variable > MergeVariablesDialog::unmergedVariables ( )