10 : QTreeWidget(parent) {}
13 if (event->key() == Qt::Key_Space)
16 if (this->currentItem()) {
17 int COLUMN_CHECKBOX = 0;
18 this->currentItem()->setCheckState(
19 COLUMN_CHECKBOX, ((this->currentItem()->checkState(
20 COLUMN_CHECKBOX) == Qt::Checked)
24 }
else if (event->key() == Qt::Key_Escape)
29 coinControlDialog->done(QDialog::Accepted);
31 this->QTreeWidget::keyPressEvent(event);