Classes available to C++ UI Plugins. More...
Classes available to C++ UI Plugins.
Classes | |
| class | BndbImportDialog |
| class | CompileOptions |
| class | CreateTypeDialog |
| class | DataTypeList |
| class | DialogTextEdit |
| class | ExpandableGroup |
| 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 | |
| void | setFilter (const std::string &filter) override |
| void | scrollToFirstItem () override |
| void | scrollToCurrentItem () override |
| void | selectFirstItem () override |
| void | activateFirstItem () override |
| void | closeFilter () override |
Public Member Functions inherited from FilterTarget | |
| virtual | ~FilterTarget () |
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 |
|
overridevirtual |
Implements FilterTarget.
|
overridevirtual |
Implements FilterTarget.
|
overridevirtual |
Implements FilterTarget.
|
overridevirtual |
Implements FilterTarget.
|
overridevirtual |
Implements FilterTarget.
|
overridevirtual |
Reimplemented from FilterTarget.
| 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, const BinaryNinja::TypeContainer &container, const QString &title, const QString &definition, const std::set< BinaryNinja::QualifiedName > &typesAllowRedefinition={}) | |
| std::vector< BinaryNinja::ParsedType > | getResults () |
| void | applyResults () |
| void | applyResultsTo (QWidget *parent, BinaryNinja::TypeContainer container) |
Static Public Member Functions | |
| static CreateTypeDialog * | createWithType (QWidget *parent, const BinaryNinja::TypeContainer &container, 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, |
| const BinaryNinja::TypeContainer & | container, | ||
| const QString & | title, | ||
| const QString & | definition, | ||
| const std::set< BinaryNinja::QualifiedName > & | typesAllowRedefinition = {} ) |
|
static |
|
inline |
|
inline |
| void CreateTypeDialog::applyResultsTo | ( | QWidget * | parent, |
| BinaryNinja::TypeContainer | container ) |
|
protected |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
| class DataTypeList |
Signals | |
| void | viewChanged (QString type) |
Signals inherited from MenuHelper | |
| void | clicked () |
Public Member Functions | |
| DataTypeList (QWidget *parent) | |
| void | setCurrentViewType (ViewFrame *view, const QString &type) |
Public Member Functions inherited from MenuHelper | |
| 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 () |
Protected Member Functions inherited from MenuHelper | |
| 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 | |
Protected Slots inherited from MenuHelper | |
Protected Attributes inherited from MenuHelper | |
| 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 |
Signals | |
| void | sizeChanged () |
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) |
| bool | expanded () |
| void | setContentExpandable (bool expandable) |
|
explicit |
|
signal |
| void ExpandableGroup::setupAnimation | ( | QLayout * | contentLayout | ) |
|
inline |
| void ExpandableGroup::toggle | ( | bool | expanded | ) |
|
inline |
| void ExpandableGroup::setContentExpandable | ( | bool | expandable | ) |
| class GetSymbolsListThread |
Signals | |
| void | symbolsListReady (const QStringList &symbolsList) |
Public Member Functions | |
| GetSymbolsListThread (BinaryViewRef view, QStringList additionalListEntries) | |
| void | cancel () |
Protected Member Functions | |
| virtual void | run () override |
| GetSymbolsListThread::GetSymbolsListThread | ( | BinaryViewRef | view, |
| QStringList | additionalListEntries ) |
|
overrideprotectedvirtual |
| void GetSymbolsListThread::cancel | ( | ) |
|
signal |
| 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, const QString &title="Set User Variable Value", bool registerValueOnly=false) | |
| BinaryNinja::PossibleValueSet | getPossibleValueSet () const |
| void | validate (const QString &input) |
| PossibleValueSetDialog::PossibleValueSetDialog | ( | QWidget * | parent, |
| BinaryViewRef | view, | ||
| uint64_t | addr, | ||
| BinaryNinja::PossibleValueSet | existingValue, | ||
| const QString & | title = "Set User Variable Value", | ||
| bool | registerValueOnly = false ) |
|
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. | |
| void | stopAnimation () |
| Stops the spin animation. | |
| void | setAnimationDelay (int delay) |
| Sets the delay between animation steps. | |
| void | setDisplayedWhenStopped (bool state, const QString &staticDisplay="") |
| Sets whether the component hides itself when it is not animating. | |
| void | setToolTips (const QString &staticToolTip, const QString &animatedToolTip) |
| void | setColor (const QColor &color) |
| Sets the color of the components to the given color. | |
Signals | |
| void | clicked () |
| void | rightClicked () |
Public Member Functions | |
| QProgressIndicator (QWidget *parent=0) | |
| int | animationDelay () const |
| Returns the delay between animation steps. | |
| bool | isAnimated () const |
| Returns a Boolean value indicating whether the component is currently animated. | |
| bool | isDisplayedWhenStopped () const |
| Returns a Boolean value indicating whether the receiver shows itself even when it is not animating. | |
| const QColor & | color () const |
| Returns the color of the component. | |
| 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 |