Showing the changes to interface/src/Application.cpp (1 of 6 files). Show all
Unified · Split
| @@ -370,6 +370,10 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : · 369 unmodified lines | ||
| 370 | 370 | // enable mouse tracking; otherwise, we only get drag events |
| 371 | 371 | _glWidget->setMouseTracking(true); |
| 372 | 372 | |
| 373 | + _toolWindow = new QMainWindow(); | |
| 374 | + _toolWindow->setWindowFlags(_toolWindow->windowFlags() | Qt::WindowStaysOnTopHint); | |
| 375 | + _toolWindow->setWindowTitle("Tools"); | |
| 376 | + | |
| 373 | 377 | // initialization continues in initializeGL when OpenGL context is ready |
| 374 | 378 | |
| 375 | 379 | // Tell our voxel edit sender about our known jurisdictions |