| 134 | |
| 135 | |
| 136 | class DebugModulesWidget : public QTableView, public FilterTarget |
| 137 | { |
| 138 | Q_OBJECT |
| 139 | |
| 140 | ViewFrame* m_view; |
| 141 | DbgRef<DebuggerController> m_controller; |
| 142 | |
| 143 | DebugModulesListModel* m_model; |
| 144 | DebugModulesItemDelegate* m_delegate; |
| 145 | DebugModulesFilterProxyModel* m_filter; |
| 146 | |
| 147 | size_t m_debuggerEventCallback; |
| 148 | |
| 149 | UIActionHandler m_actionHandler; |
| 150 | ContextMenuManager* m_contextMenuManager; |
| 151 | Menu* m_menu; |
| 152 | |
| 153 | virtual void contextMenuEvent(QContextMenuEvent* event) override; |
| 154 | |
| 155 | bool canCopy(); |
| 156 | |
| 157 | virtual void setFilter(const std::string& filter) override; |
| 158 | virtual void scrollToFirstItem() override; |
| 159 | virtual void scrollToCurrentItem() override; |
| 160 | virtual void selectFirstItem() override; |
| 161 | virtual void activateFirstItem() override; |
| 162 | |
| 163 | public: |
| 164 | DebugModulesWidget(ViewFrame* view, BinaryViewRef data); |
| 165 | ~DebugModulesWidget(); |
| 166 | |
| 167 | void updateColumnWidths(); |
| 168 | void notifyModulesChanged(std::vector<DebugModule> modules); |
| 169 | void updateFonts(); |
| 170 | |
| 171 | private slots: |
| 172 | void jumpToStart(); |
| 173 | void jumpToEnd(); |
| 174 | void copy(); |
| 175 | void onDoubleClicked(); |
| 176 | |
| 177 | public slots: |
| 178 | void updateContent(); |
| 179 | void showContextMenu(); |
| 180 | }; |
| 181 | |
| 182 | |
| 183 | class DebugModulesWithFilter : public QWidget |
nothing calls this directly
no outgoing calls
no test coverage detected