MCPcopy Create free account
hub / github.com/boostorg/compute / keyPressEvent

Method keyPressEvent

example/nbody.cpp:201–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199 compute::opengl_enqueue_release_buffer(m_position, m_queue);
200}
201void NBodyWidget::keyPressEvent(QKeyEvent* event)
202{
203 if(event->key() == Qt::Key_Escape) {
204 this->close();
205 }
206}
207
208int main(int argc, char** argv)
209{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected