* @brief MainWindow::InitializeProcessesTable - Initialize the processes table. */
| 65 | * @brief MainWindow::InitializeProcessesTable - Initialize the processes table. |
| 66 | */ |
| 67 | void MainWindow::InitializeProcessesTable() |
| 68 | { |
| 69 | QStringList headers; |
| 70 | |
| 71 | this->ProcessesTableSize = 0; |
| 72 | |
| 73 | this->ui->ProcessesTable->setColumnCount(3); |
| 74 | this->ui->ProcessesTable->setRowCount(100); |
| 75 | |
| 76 | headers << "Process Id" << "Execution Date" << "Path"; |
| 77 | this->ui->ProcessesTable->setHorizontalHeaderLabels(headers); |
| 78 | |
| 79 | InitializeCommonTable(this->ui->ProcessesTable); |
| 80 | |
| 81 | this->ui->ProcessesTable->setColumnWidth(1, 200); |
| 82 | this->ui->ProcessesTable->setColumnWidth(2, 400); |
| 83 | |
| 84 | // |
| 85 | // Add the table as an "associated element". |
| 86 | // |
| 87 | this->ui->ProcessesLabel->AddAssociatedElement(RCAST<QWidget*>(this->ui->ProcessesTable)); |
| 88 | this->ui->ProcessesLabel->AddAssociatedElement(RCAST<QWidget*>(this->ui->InvestigateProcessButton)); |
| 89 | this->ui->ProcessesLabel->AddAssociatedElement(RCAST<QWidget*>(this->ui->ProcessSearch)); |
| 90 | this->ui->ProcessesLabel->AddAssociatedElement(RCAST<QWidget*>(this->ui->ProcessSearchLabel)); |
| 91 | } |
| 92 | |
| 93 | /** |
| 94 | * @brief MainWindow::InitializeFiltersTable - Initialize the filters table. |
nothing calls this directly
no test coverage detected