Porbiert mal F2 aus ;)

This commit is contained in:
doitux
2007-01-20 17:49:33 +00:00
parent 66820f3d3f
commit 64dcce5b65
3 changed files with 13 additions and 2 deletions
+11 -1
View File
@@ -1368,6 +1368,16 @@ void mainWindowImpl::breakButtonClicked() {
void mainWindowImpl::keyPressEvent ( QKeyEvent * event ) {
// cout << event->key()/*.toStdString()*/ << endl;
// cout << event->key() << endl;
if (event->key() == 16777265) { switchToolBox(); }
}
void mainWindowImpl::switchToolBox() {
if (groupBox_tools->isHidden()) { groupBox_tools->show(); }
else { groupBox_tools->hide(); }
}