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

Method ClearStates

PeaceMakerGUI/addfilterwindow.cpp:26–33  ·  view source on GitHub ↗

* @brief AddFilterWindow::ClearStates - Clear previously entered input. */

Source from the content-addressed store, hash-verified

24 * @brief AddFilterWindow::ClearStates - Clear previously entered input.
25 */
26void AddFilterWindow::ClearStates()
27{
28 this->ui->FilterTypeBox->setCurrentIndex(0);
29 this->ui->FilterContent->setText("");
30 this->ui->DeleteFlag->setChecked(false);
31 this->ui->WriteFlag->setChecked(false);
32 this->ui->ExecuteFlag->setChecked(false);
33}
34
35/**
36 * @brief AddFilterWindow::on_pushButton_clicked - Handle the "Add Filter" button and actually add the filter.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected