History

Add tool window

Ryan Huffman committed 12 years ago

Commit 03f155b1 parent 55612cc6 files · +32 −8Browse files

Showing the changes to interface/src/Application.cpp (1 of 6 files). Show all

Unified · Split

interface/src/Application.cpp+4−0
@@ -370,6 +370,10 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : · 369 unmodified lines
370370 // enable mouse tracking; otherwise, we only get drag events
371371 _glWidget->setMouseTracking(true);
372372
373+ _toolWindow = new QMainWindow();
374+ _toolWindow->setWindowFlags(_toolWindow->windowFlags() | Qt::WindowStaysOnTopHint);
375+ _toolWindow->setWindowTitle("Tools");
376+
373377 // initialization continues in initializeGL when OpenGL context is ready
374378
375379 // Tell our voxel edit sender about our known jurisdictions

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t