| 197 | } |
| 198 | |
| 199 | void MainWindow::initialiseWidgets() |
| 200 | { |
| 201 | m_scanner = new MemScanWidget(); |
| 202 | m_scanner->setShowThreshold( |
| 203 | static_cast<size_t>(SConfig::getInstance().getScannerShowThreshold())); |
| 204 | connect(m_scanner, &MemScanWidget::requestAddWatchEntry, this, &MainWindow::addWatchRequested); |
| 205 | connect(m_scanner, &MemScanWidget::requestAddAllResultsToWatchList, this, |
| 206 | &MainWindow::addAllResultsToWatchList); |
| 207 | connect(m_scanner, &MemScanWidget::requestAddSelectedResultsToWatchList, this, |
| 208 | &MainWindow::addSelectedResultsToWatchList); |
| 209 | |
| 210 | m_watcher = new MemWatchWidget(this); |
| 211 | |
| 212 | connect(m_scanner, &MemScanWidget::mustUnhook, this, &MainWindow::onUnhook); |
| 213 | connect(m_watcher, &MemWatchWidget::mustUnhook, this, &MainWindow::onUnhook); |
| 214 | |
| 215 | m_copier = new DlgCopy(this); |
| 216 | } |
| 217 | |
| 218 | void MainWindow::makeLayouts() |
| 219 | { |
nothing calls this directly
no test coverage detected