Classes available to C++ UI Plugins. More...
Classes available to C++ UI Plugins.
Modules | |
Action | |
AddressDialog | |
AddressIndicator | |
AssembleDialog | |
BackgroundThread | |
ClickableLabel | |
CommandPalette | |
Commands | |
CommentDialog | |
CompileDialog | |
CreateStructDialog | |
Disassemblyview | |
DockHandler | |
FeatureMap | |
FileContext | |
Filter | |
FlowGraphWidget | |
FontSettings | |
GlobalArea | |
HexEditor | |
ILChooser | |
LinearView | |
LogView | |
MemoryMap | |
Menus | |
Mergevariablesdialog | |
MetadataChoiceDialog | |
MetadataChoiceDialog aims to provide a fairly extensible dialog for displaying selection info, without requiring reimplementation or extra UI code whenever complex behavior is required. | |
MiniGraph | |
Options | |
Pane | |
PlatformCursor | |
PlatformDialog | |
Preview | |
ProgressTask | |
QFileAccessor | |
Render | |
ReportCollectionWidget | |
Reportwidget | |
ScriptingConsole | |
SearchResult | |
SettingsView | |
Sidebar | |
StackView | |
StatusBarWidget | |
StringsView | |
SymbolList | |
SymbolView | |
SyncGroup | |
TabWidget | |
TagList | |
TagTypeList | |
TextBrowser | |
TextDialog | |
Theme | |
TokenizedTextView | |
TransformParam | |
TypeDialog | |
TypeView | |
UIComment | |
UIContext | |
UITypes | |
Util | |
VariableList | |
ViewFrame | |
ViewList | |
ViewType | |
XrefList | |
Classes | |
class | BndbImportDialog |
class | CompileOptions |
class | CreateTypeDialog |
class | DataTypeList |
class | DialogTextEdit |
class | ExpandableGroup |
class | FormInputDialog |
class | GetSymbolsListThread |
class | HeaderImportDialog |
class | InstructionEdit |
class | PossibleValueSetDialog |
class | QProgressIndicator |
The QProgressIndicator class lets an application display a progress indicator to show that a lengthy task is under way. More... | |
class BndbImportDialog |
Public Member Functions | |
BndbImportDialog (QWidget *parent, BinaryViewRef view) | |
~BndbImportDialog ()=default | |
Protected Slots | |
void | browseFile () |
void | updateButtons () |
void | previewTypes () |
void | importTypes () |
Protected Member Functions | |
virtual void | keyPressEvent (QKeyEvent *event) override |
BndbImportDialog::BndbImportDialog | ( | QWidget * | parent, |
BinaryViewRef | view | ||
) |
|
default |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
overrideprotectedvirtual |
class CompileOptions |
Public Member Functions | |
CompileOptions (QWidget *parent, const std::map< std::string, std::string > &initialOptions) | |
std::map< std::string, std::string > | getSettings () |
CompileOptions::CompileOptions | ( | QWidget * | parent, |
const std::map< std::string, std::string > & | initialOptions | ||
) |
std::map< std::string, std::string > CompileOptions::getSettings | ( | ) |
class CreateTypeDialog |
Public Member Functions | |
CreateTypeDialog (QWidget *parent, BinaryViewRef data, const QString &title, const QString &definition, const std::set< BinaryNinja::QualifiedName > &typesAllowRedefinition={}) | |
std::vector< BinaryNinja::ParsedType > | getResults () |
void | applyResults () |
void | applyResultsTo (QWidget *parent, BinaryViewRef view) |
Static Public Member Functions | |
static CreateTypeDialog * | createWithType (QWidget *parent, BinaryViewRef data, BinaryNinja::QualifiedName name, TypeRef type) |
Protected Member Functions | |
void | saveLocation () |
virtual void | showEvent (QShowEvent *e) override |
virtual void | reject () override |
virtual void | accept () override |
CreateTypeDialog::CreateTypeDialog | ( | QWidget * | parent, |
BinaryViewRef | data, | ||
const QString & | title, | ||
const QString & | definition, | ||
const std::set< BinaryNinja::QualifiedName > & | typesAllowRedefinition = {} |
||
) |
|
static |
|
inline |
|
inline |
void CreateTypeDialog::applyResultsTo | ( | QWidget * | parent, |
BinaryViewRef | view | ||
) |
|
protected |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
class DataTypeList |
Signals | |
void | viewChanged (QString type) |
![]() | |
void | clicked () |
Public Member Functions | |
DataTypeList (QWidget *parent) | |
void | setCurrentViewType (ViewFrame *view, const QString &type) |
![]() | |
MenuHelper () | |
MenuHelper (QWidget *parent) | |
void | setBackgroundColorRole (QPalette::ColorRole role) |
void | setActiveBackgroundColorRole (QPalette::ColorRole role) |
void | setPressedBackgroundColorRole (QPalette::ColorRole role) |
void | setForegroundColorRole (QPalette::ColorRole role) |
void | setActiveForegroundColorRole (QPalette::ColorRole role) |
void | setPressedForegroundColorRole (QPalette::ColorRole role) |
Protected Member Functions | |
virtual void | showMenu () |
![]() | |
void | enterEvent (QEnterEvent *event) override |
void | leaveEvent (QEvent *event) override |
void | mousePressEvent (QMouseEvent *event) override |
void | mouseReleaseEvent (QMouseEvent *event) override |
void | updateColors () |
Additional Inherited Members | |
![]() | |
virtual void | showMenu ()=0 |
![]() | |
Menu | m_menu |
ContextMenuManager * | m_contextMenuManager |
QTimer * | m_timer |
bool | m_active |
bool | m_pressed |
DataTypeList::DataTypeList | ( | QWidget * | parent | ) |
void DataTypeList::setCurrentViewType | ( | ViewFrame * | view, |
const QString & | type | ||
) |
|
protectedvirtual |
Implements MenuHelper.
|
signal |
class DialogTextEdit |
Signals | |
void | contentAccepted () |
Public Member Functions | |
DialogTextEdit (QWidget *parent) | |
Protected Member Functions | |
virtual void | keyPressEvent (QKeyEvent *event) override |
DialogTextEdit::DialogTextEdit | ( | QWidget * | parent | ) |
|
overrideprotectedvirtual |
|
signal |
class ExpandableGroup |
Public Member Functions | |
ExpandableGroup (QLayout *contentLayout, const QString &title="", QWidget *parent=nullptr, bool expanded=false) | |
void | setupAnimation (QLayout *contentLayout) |
void | setTitle (const QString &title) |
void | toggle (bool expanded) |
|
explicit |
void ExpandableGroup::setupAnimation | ( | QLayout * | contentLayout | ) |
|
inline |
void ExpandableGroup::toggle | ( | bool | expanded | ) |
class FormInputDialog |
Public Member Functions | |
FormInputDialog (QWidget *parent, std::vector< BinaryNinja::FormInputField > *fields, const std::string &title) | |
Protected Slots | |
void | finish () |
FormInputDialog::FormInputDialog | ( | QWidget * | parent, |
std::vector< BinaryNinja::FormInputField > * | fields, | ||
const std::string & | title | ||
) |
|
protectedslot |
class GetSymbolsListThread |
Public Member Functions | |
GetSymbolsListThread (BinaryViewRef view, const std::function< void()> &completeFunc) | |
void | cancel () |
int | GetEventType () |
const QStringList & | getSymbols () const |
Static Public Attributes | |
static int | m_eventType |
Protected Member Functions | |
virtual void | run () override |
GetSymbolsListThread::GetSymbolsListThread | ( | BinaryViewRef | view, |
const std::function< void()> & | completeFunc | ||
) |
|
overrideprotectedvirtual |
void GetSymbolsListThread::cancel | ( | ) |
|
inline |
|
inline |
|
static |
class HeaderImportDialog |
Public Member Functions | |
HeaderImportDialog (QWidget *parent, BinaryViewRef view) | |
~HeaderImportDialog ()=default | |
Protected Slots | |
void | browseFile () |
void | updateButtons () |
void | previewTypes () |
void | importTypes () |
Protected Member Functions | |
virtual void | keyPressEvent (QKeyEvent *event) override |
HeaderImportDialog::HeaderImportDialog | ( | QWidget * | parent, |
BinaryViewRef | view | ||
) |
|
default |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
overrideprotectedvirtual |
class InstructionEdit |
Signals | |
void | done () |
Public Member Functions | |
InstructionEdit (QWidget *parent, BinaryViewRef data, ArchitectureRef arch, FunctionRef func, uint64_t offset) | |
void | acceptInstruction () |
void | rejectInstruction () |
Protected Member Functions | |
virtual void | keyPressEvent (QKeyEvent *event) |
virtual void | focusOutEvent (QFocusEvent *event) |
InstructionEdit::InstructionEdit | ( | QWidget * | parent, |
BinaryViewRef | data, | ||
ArchitectureRef | arch, | ||
FunctionRef | func, | ||
uint64_t | offset | ||
) |
void InstructionEdit::acceptInstruction | ( | ) |
void InstructionEdit::rejectInstruction | ( | ) |
|
protectedvirtual |
|
protectedvirtual |
|
signal |
class PossibleValueSetDialog |
Public Member Functions | |
PossibleValueSetDialog (QWidget *parent, BinaryViewRef view, uint64_t addr, BinaryNinja::PossibleValueSet existingValue) | |
BinaryNinja::PossibleValueSet | getPossibleValueSet () const |
void | validate (const QString &input) |
PossibleValueSetDialog::PossibleValueSetDialog | ( | QWidget * | parent, |
BinaryViewRef | view, | ||
uint64_t | addr, | ||
BinaryNinja::PossibleValueSet | existingValue | ||
) |
|
inline |
void PossibleValueSetDialog::validate | ( | const QString & | input | ) |
class QProgressIndicator |
The QProgressIndicator class lets an application display a progress indicator to show that a lengthy task is under way.
Progress indicators are indeterminate and do nothing more than spin to show that the application is busy.
Public Slots | |
void | startAnimation () |
Starts the spin animation. More... | |
void | stopAnimation () |
Stops the spin animation. More... | |
void | setAnimationDelay (int delay) |
Sets the delay between animation steps. More... | |
void | setDisplayedWhenStopped (bool state, const QString &staticDisplay="") |
Sets whether the component hides itself when it is not animating. More... | |
void | setToolTips (const QString &staticToolTip, const QString &animatedToolTip) |
void | setColor (const QColor &color) |
Sets the color of the components to the given color. More... | |
Signals | |
void | clicked () |
void | rightClicked () |
Public Member Functions | |
QProgressIndicator (QWidget *parent=0) | |
int | animationDelay () const |
Returns the delay between animation steps. More... | |
bool | isAnimated () const |
Returns a Boolean value indicating whether the component is currently animated. More... | |
bool | isDisplayedWhenStopped () const |
Returns a Boolean value indicating whether the receiver shows itself even when it is not animating. More... | |
const QColor & | color () const |
Returns the color of the component. More... | |
QSize | sizeHint () const override |
void | setWidth (int width) |
int | heightForWidth (int w) const override |
Protected Member Functions | |
void | enterEvent (QEnterEvent *event) override |
void | leaveEvent (QEvent *event) override |
void | mouseReleaseEvent (QMouseEvent *event) override |
void | timerEvent (QTimerEvent *event) override |
void | paintEvent (QPaintEvent *event) override |
Properties | |
int | delay |
bool | displayedWhenStopped |
QColor | color |
QProgressIndicator::QProgressIndicator | ( | QWidget * | parent = 0 | ) |
|
inline |
Returns the delay between animation steps.
bool QProgressIndicator::isAnimated | ( | ) | const |
Returns a Boolean value indicating whether the component is currently animated.
bool QProgressIndicator::isDisplayedWhenStopped | ( | ) | const |
Returns a Boolean value indicating whether the receiver shows itself even when it is not animating.
|
inline |
Returns the color of the component.
|
inlineoverride |
|
inline |
|
override |
|
slot |
Starts the spin animation.
|
slot |
Stops the spin animation.
|
slot |
Sets the delay between animation steps.
Setting the delay to a value larger than 40 slows the animation, while setting the delay to a smaller value speeds it up.
delay | The delay, in milliseconds. |
|
slot |
Sets whether the component hides itself when it is not animating.
state | The animation state. Set false to hide the progress indicator when it is not animating; otherwise true. |
|
slot |
|
slot |
Sets the color of the components to the given color.
|
signal |
|
signal |
|
overrideprotected |
|
overrideprotected |
|
inlineoverrideprotected |
|
overrideprotected |
|
overrideprotected |
|
readwrite |
|
readwrite |
|
readwrite |