Classes | |
| class | TagListModel |
| class | TagItemDelegate |
| class | TagList |
| class | TagListWidget |
| class | TagListDialog |
| class | TagListSidebarWidgetType |
| class TagListModel |
Signals | |
| void | notifyUpdateComplete (bool complete) |
Public Member Functions | |
| TagListModel (QWidget *parent, BinaryViewRef data) | |
| virtual | ~TagListModel () |
| void | connectDataStore () |
| void | disconnectDataStore () |
| BinaryNinja::TagReference & | GetRef (const QModelIndex &index) |
| const BinaryNinja::TagReference & | GetRef (const QModelIndex &index) const |
| void | SetSectionSizeHints (const std::map< int, QSize > &sizes) |
| TagTypeRef | GetTypeRef (const QModelIndex &index) |
| const TagTypeRef | GetTypeRef (const QModelIndex &index) const |
| virtual QModelIndex | index (int row, int col, const QModelIndex &parent) const override |
| virtual QModelIndex | parent (const QModelIndex &i) const override |
| virtual bool | hasChildren (const QModelIndex &parent) const override |
| virtual int | rowCount (const QModelIndex &parent) const override |
| virtual int | columnCount (const QModelIndex &parent) const override |
| virtual QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
| virtual QVariant | data (const QModelIndex &i, int role) const override |
| virtual bool | setData (const QModelIndex &i, const QVariant &value, int role=Qt::EditRole) override |
| virtual Qt::ItemFlags | flags (const QModelIndex &i) const override |
| virtual void | sort (int column, Qt::SortOrder order) override |
| void | backgroundSort (int column, Qt::SortOrder order, TagStorage &tagStorage, TagTypeStorage &tagTypeStorage, TagTypeIndices &tagTypeIndices) |
| void | refresh () |
Protected Attributes | |
| QWidget * | m_owner |
| BinaryViewRef | m_data |
| NotificationsDispatcher * | m_dispatcher = nullptr |
| TagTypeStorage | m_tagTypes |
| std::unordered_map< std::string, uint64_t > | m_tagTypeCounts |
| TagStorage | m_tagStorage |
| TagTypeIndices | m_tagTypeIndices |
| std::map< int, QSize > | m_sectionSizeHints |
| DisassemblySettingsRef | m_settings |
| TagListModel::TagListModel | ( | QWidget * | parent, |
| BinaryViewRef | data ) |
|
virtual |
| void TagListModel::connectDataStore | ( | ) |
| void TagListModel::disconnectDataStore | ( | ) |
| BinaryNinja::TagReference & TagListModel::GetRef | ( | const QModelIndex & | index | ) |
| const BinaryNinja::TagReference & TagListModel::GetRef | ( | const QModelIndex & | index | ) | const |
|
inline |
| TagTypeRef TagListModel::GetTypeRef | ( | const QModelIndex & | index | ) |
| const TagTypeRef TagListModel::GetTypeRef | ( | const QModelIndex & | index | ) | const |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
| void TagListModel::backgroundSort | ( | int | column, |
| Qt::SortOrder | order, | ||
| TagStorage & | tagStorage, | ||
| TagTypeStorage & | tagTypeStorage, | ||
| TagTypeIndices & | tagTypeIndices ) |
| void TagListModel::refresh | ( | ) |
|
signal |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| class TagItemDelegate |
Public Member Functions | |
| TagItemDelegate (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 |
| virtual void | setEditorData (QWidget *editor, const QModelIndex &index) const override |
Protected Member Functions | |
| void | initFont () |
Protected Attributes | |
| QFont | m_font |
| QFont | m_monospaceFont |
| QFont | m_emojiFont |
| int | m_baseline |
| int | m_charWidth |
| int | m_charHeight |
| int | m_charOffset |
| TagItemDelegate::TagItemDelegate | ( | QWidget * | parent | ) |
|
protected |
| void TagItemDelegate::updateFonts | ( | ) |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| class TagList |
Public Types | |
| typedef std::function< bool(const BinaryNinja::TagReference &)> | FilterFn |
Public Slots | |
| void | showContextMenu () |
Public Member Functions | |
| TagList (QWidget *parent, ViewFrame *view, BinaryViewRef data, TagListModel *model=nullptr, Menu *menu=nullptr) | |
| virtual | ~TagList () |
| virtual void | setModel (QAbstractItemModel *model) override |
| void | notifyFontChanged () |
| void | removeSelection () |
| void | copySelection () |
| void | filterTagReferences (std::vector< BinaryNinja::TagReference > &refs) |
| void | clearFilter () |
| void | setFilter (FilterFn filter) |
| void | setFilterView (FilteredView *filterView) |
| bool | hasSelection () |
| void | navigateToNext () |
| void | navigateToPrev () |
| void | scrollToFirstItem () override |
| void | scrollToCurrentItem () override |
| void | selectFirstItem () override |
| void | activateFirstItem () override |
Public Member Functions inherited from FilterTarget | |
| virtual | ~FilterTarget () |
| virtual void | closeFilter () |
Static Public Member Functions | |
| static void | registerActions () |
Protected Member Functions | |
| virtual void | contextMenuEvent (QContextMenuEvent *event) override |
| virtual void | keyPressEvent (QKeyEvent *e) override |
| virtual void | mouseMoveEvent (QMouseEvent *e) override |
| virtual void | mousePressEvent (QMouseEvent *e) override |
| virtual void | wheelEvent (QWheelEvent *e) override |
| virtual void | resizeEvent (QResizeEvent *event) override |
| void | goToReference (const QModelIndex &idx) |
| void | setFilter (const std::string &filter) override |
| std::function<bool(const BinaryNinja::TagReference&)> TagList::FilterFn |
| TagList::TagList | ( | QWidget * | parent, |
| ViewFrame * | view, | ||
| BinaryViewRef | data, | ||
| TagListModel * | model = nullptr, | ||
| Menu * | menu = nullptr ) |
|
virtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
protected |
|
overrideprotectedvirtual |
Implements FilterTarget.
|
slot |
|
static |
|
overridevirtual |
| void TagList::notifyFontChanged | ( | ) |
| void TagList::removeSelection | ( | ) |
| void TagList::copySelection | ( | ) |
| void TagList::filterTagReferences | ( | std::vector< BinaryNinja::TagReference > & | refs | ) |
| void TagList::clearFilter | ( | ) |
| void TagList::setFilter | ( | FilterFn | filter | ) |
|
inline |
| bool TagList::hasSelection | ( | ) |
| void TagList::navigateToNext | ( | ) |
| void TagList::navigateToPrev | ( | ) |
|
overridevirtual |
Implements FilterTarget.
|
overridevirtual |
Implements FilterTarget.
|
overridevirtual |
Implements FilterTarget.
|
overridevirtual |
Implements FilterTarget.
| class TagListWidget |
Public Member Functions | |
| TagList * | GetList () |
| void | editTag (TagRef tag) |
| TagList * | getNotificationList () |
| FilteredView * | getNotificationFilter () |
| TagListWidget (ViewFrame *view, BinaryViewRef data) | |
| virtual | ~TagListWidget () |
| virtual void | focus () override |
| virtual QWidget * | headerWidget () override |
Public Member Functions inherited from SidebarWidget | |
| SidebarWidget (const QString &title) | |
| ~SidebarWidget () | |
| const QString & | title () const |
| void | enableRefreshTimer (int interval) |
| void | setRefreshQuiesce (bool enable) |
| bool | isQuiesced () const |
| virtual void | notifyRefresh () |
| virtual void | notifyQuiesce (bool) |
| virtual void | notifyOffsetChanged (uint64_t) |
| virtual void | notifyThemeChanged () |
| virtual void | notifyViewChanged (ViewFrame *) |
| virtual void | notifyViewLocationChanged (View *, const ViewLocation &) |
| virtual void | closing () |
| virtual void | setPrimaryOrientation (Qt::Orientation) |
Protected Member Functions | |
| virtual void | notifyFontChanged () override |
Additional Inherited Members | |
Protected Attributes inherited from SidebarWidget | |
| QString | m_title |
| UIActionHandler | m_actionHandler |
| ContextMenuManager * | m_contextMenuManager = nullptr |
| Menu * | m_menu = nullptr |
| bool | m_quiesceState = true |
| QTimer * | m_updateTimer = nullptr |
| TagListWidget::TagListWidget | ( | ViewFrame * | view, |
| BinaryViewRef | data ) |
|
virtual |
|
overrideprotectedvirtual |
Reimplemented from SidebarWidget.
| TagList * TagListWidget::GetList | ( | ) |
| void TagListWidget::editTag | ( | TagRef | tag | ) |
|
inline |
|
inline |
|
overridevirtual |
Reimplemented from SidebarWidget.
|
inlineoverridevirtual |
Reimplemented from SidebarWidget.
| class TagListDialog |
Public Types | |
| typedef std::function< void(const TagRef &)> | AddFn |
Public Member Functions | |
| TagListDialog (QWidget *parent, ViewFrame *frame, BinaryViewRef data, AddFn addFn) | |
| void | setFilter (TagList::FilterFn filter) |
| std::function<void(const TagRef&)> TagListDialog::AddFn |
| TagListDialog::TagListDialog | ( | QWidget * | parent, |
| ViewFrame * | frame, | ||
| BinaryViewRef | data, | ||
| AddFn | addFn ) |
| void TagListDialog::setFilter | ( | TagList::FilterFn | filter | ) |
| class TagListSidebarWidgetType |
| TagListSidebarWidgetType::TagListSidebarWidgetType | ( | ) |
|
overridevirtual |
Reimplemented from SidebarWidgetType.
|
inlineoverridevirtual |
Reimplemented from SidebarWidgetType.
|
inlineoverridevirtual |
Reimplemented from SidebarWidgetType.