TypeDialog

Detailed Description

Classes

class  GetTypesListThread
 
class  ParseTypeThread
 QThread subclass for handling type string parsing to avoid UI interruptions. More...
 
class  TypeDialog
 

Class Documentation

◆ GetTypesListThread

class GetTypesListThread

Public Member Functions

 GetTypesListThread (BinaryNinja::TypeContainer typeContainer, const std::function< void()> &completeFunc)
 
void cancel ()
 
const QStringList & getTypes () const
 

Protected Member Functions

virtual void run () override
 

Constructor & Destructor Documentation

◆ GetTypesListThread()

GetTypesListThread::GetTypesListThread ( BinaryNinja::TypeContainer  typeContainer,
const std::function< void()> &  completeFunc 
)

Member Function Documentation

◆ run()

virtual void GetTypesListThread::run ( )
overrideprotectedvirtual

◆ cancel()

void GetTypesListThread::cancel ( )

◆ getTypes()

const QStringList & GetTypesListThread::getTypes ( ) const
inline

◆ ParseTypeThread

class ParseTypeThread

QThread subclass for handling type string parsing to avoid UI interruptions.

Signals

void parsingComplete (bool valid, BinaryNinja::QualifiedNameAndType type, QString error)
 

Public Member Functions

 ParseTypeThread (std::optional< BinaryNinja::TypeContainer > typeContainer, QString text)
 
void cancel ()
 

Constructor & Destructor Documentation

◆ ParseTypeThread()

ParseTypeThread::ParseTypeThread ( std::optional< BinaryNinja::TypeContainer typeContainer,
QString  text 
)

Member Function Documentation

◆ parsingComplete

void ParseTypeThread::parsingComplete ( bool  valid,
BinaryNinja::QualifiedNameAndType  type,
QString  error 
)
signal

◆ cancel()

void ParseTypeThread::cancel ( )

◆ TypeDialog

class TypeDialog

Public Member Functions

 TypeDialog (QWidget *parent, std::optional< BinaryNinja::TypeContainer > typeContainer, const QString &title="Specify Type", const QString &prompt="Enter Type Name", const QString &existing="")
 
 ~TypeDialog ()
 
BinaryNinja::QualifiedNameAndType getType () const
 

Constructor & Destructor Documentation

◆ TypeDialog()

TypeDialog::TypeDialog ( QWidget *  parent,
std::optional< BinaryNinja::TypeContainer typeContainer,
const QString &  title = "Specify Type",
const QString &  prompt = "Enter Type Name",
const QString &  existing = "" 
)

◆ ~TypeDialog()

TypeDialog::~TypeDialog ( )

Member Function Documentation

◆ getType()

BinaryNinja::QualifiedNameAndType TypeDialog::getType ( ) const
inline