| 108 | |
| 109 | |
| 110 | class DebugBreakpointsWidget : public QTableView |
| 111 | { |
| 112 | Q_OBJECT |
| 113 | |
| 114 | ViewFrame* m_view; |
| 115 | DbgRef<DebuggerController> m_controller; |
| 116 | |
| 117 | DebugBreakpointsListModel* m_model; |
| 118 | DebugBreakpointsItemDelegate* m_delegate; |
| 119 | |
| 120 | QPoint m_last_selected_point {}; |
| 121 | QHeaderView* m_horizontal_header; |
| 122 | QHeaderView* m_vertical_header; |
| 123 | QAction* m_remove_action; |
| 124 | QAction* m_jump_action; |
| 125 | |
| 126 | UIActionHandler m_actionHandler; |
| 127 | ContextMenuManager* m_contextMenuManager; |
| 128 | Menu* m_menu; |
| 129 | |
| 130 | bool selectionNotEmpty(); |
| 131 | |
| 132 | //void shouldBeVisible() |
| 133 | //virtual void notifyFontChanged() override; |
| 134 | |
| 135 | virtual void contextMenuEvent(QContextMenuEvent* event) override; |
| 136 | |
| 137 | public: |
| 138 | DebugBreakpointsWidget(ViewFrame* view, BinaryViewRef data, Menu* menu); |
| 139 | ~DebugBreakpointsWidget(); |
| 140 | |
| 141 | void uiEventHandler(const DebuggerEvent& event); |
| 142 | void updateFonts(); |
| 143 | |
| 144 | private slots: |
| 145 | void jump(); |
| 146 | void remove(); |
| 147 | void onDoubleClicked(); |
| 148 | void add(); |
| 149 | |
| 150 | public slots: |
| 151 | void updateContent(); |
| 152 | }; |
| 153 | |
| 154 | |
| 155 | class DebuggerUI; |
nothing calls this directly
no outgoing calls
no test coverage detected