MCPcopy Create free account
hub / github.com/aldelaro5/dolphin-memory-engine / initialiseWidgets

Method initialiseWidgets

Source/GUI/MainWindow.cpp:199–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199void 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
218void MainWindow::makeLayouts()
219{

Callers

nothing calls this directly

Calls 2

setShowThresholdMethod · 0.45

Tested by

no test coverage detected