15 if (event->key() == Qt::Key_Space)
18 int COLUMN_CHECKBOX = 0;
19 if (this->currentItem())
20 this->currentItem()->setCheckState(COLUMN_CHECKBOX, ((this->currentItem()->checkState(COLUMN_CHECKBOX) == Qt::Checked) ? Qt::Unchecked : Qt::Checked));
21 }
else if (event->key() == Qt::Key_Escape)
24 auto* coinControlDialog =
static_cast<CoinControlDialog*
>(this->parentWidget()->parentWidget());
25 coinControlDialog->done(QDialog::Accepted);
27 this->QTreeWidget::keyPressEvent(event);