MCPcopy Create free account
hub / github.com/Vector35/debugger / DebugModulesWidget

Class DebugModulesWidget

ui/moduleswidget.h:136–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134
135
136class 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
163public:
164 DebugModulesWidget(ViewFrame* view, BinaryViewRef data);
165 ~DebugModulesWidget();
166
167 void updateColumnWidths();
168 void notifyModulesChanged(std::vector<DebugModule> modules);
169 void updateFonts();
170
171private slots:
172 void jumpToStart();
173 void jumpToEnd();
174 void copy();
175 void onDoubleClicked();
176
177public slots:
178 void updateContent();
179 void showContextMenu();
180};
181
182
183class DebugModulesWithFilter : public QWidget

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected