MCPcopy Create free account
hub / github.com/D4stiny/PeaceMaker / MainWindow

Method MainWindow

PeaceMakerGUI/mainwindow.cpp:277–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277MainWindow::MainWindow(QWidget *parent)
278 : QMainWindow(parent)
279 , ui(new Ui::MainWindow)
280 , config(CONFIG_FILE_NAME)
281{
282 ui->setupUi(this);
283 this->setFixedSize(QSize(990, 610));
284
285 InitializeAlertsTable();
286 InitializeProcessesTable();
287 InitializeFiltersTable();
288
289 //
290 // By default set the "activeTab" to the alerts tab.
291 //
292 ui->AlertsLabel->SwapActiveState();
293 this->activeTab = ui->AlertsLabel;
294
295 this->investigatorWindow = new InvestigateProcessWindow();
296 this->investigatorWindow->communicator = &this->communicator;
297 this->alertWindow = new DetailedAlertWindow();
298 this->addFilterWindow = new AddFilterWindow();
299 this->addFilterWindow->communicator = &this->communicator;
300 this->alertFalsePositives = config.GetConfigFalsePositives();
301
302 CreateThread(NULL, 0, RCAST<LPTHREAD_START_ROUTINE>(this->ThreadUpdateTables), this, 0, NULL);
303
304 SymInitialize(GetCurrentProcess(), NULL, TRUE);
305}
306
307MainWindow::~MainWindow()
308{

Callers

nothing calls this directly

Calls 2

SwapActiveStateMethod · 0.80

Tested by

no test coverage detected