17 if (event->key() == Qt::Key_Space)
20 if (this->currentItem()) {
21 int COLUMN_CHECKBOX = 0;
22 this->currentItem()->setCheckState(COLUMN_CHECKBOX, ((this->currentItem()->checkState(COLUMN_CHECKBOX) == Qt::Checked) ? Qt::Unchecked : Qt::Checked));
25 else if (event->key() == Qt::Key_Escape)
29 coinControlDialog->done(QDialog::Accepted);
33 this->QTreeWidget::keyPressEvent(event);