55 #include "QtBaseViewer.hh" 56 #include <QInputDialog> 96 if ((_event->modifiers() & Qt::ControlModifier) &&
97 (_event->modifiers() & Qt::AltModifier))
100 switch (_event->key())
105 bool save(glareaGrabbed_);
109 if(save) releaseGLArea();
111 double val = QInputDialog::getDouble(
this,
"Eye Dist",
"Eye Dist:",
116 if(save) grabGLArea();
131 bool save(glareaGrabbed_);
135 if(save) releaseGLArea();
137 double val = QInputDialog::getDouble(
this,
"Focal Dist",
"Focal Dist:",
142 if(save) grabGLArea();
154 switch (_event->key())
157 case Qt::Key_ScrollLock:
159 if (!updateLocked_) {
162 std::cerr <<
"Display update locked\n";
167 std::cerr <<
"Display update un-locked\n";
Namespace providing different geometric functions concerning angles.