Changeset 1150 for trunk/source/visualization/OpenGL
- Timestamp:
- Nov 3, 2009, 4:00:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/src/G4OpenGLQtViewer.cc
r1149 r1150 164 164 #else 165 165 fGLWindow->setLayout(mainLayout); 166 //fGLWindow->setWindowTitle( name);167 #endif 168 //ResizeWindow(fVP.GetWindowSizeHintX(),fVP.GetWindowSizeHintY());166 fGLWindow->setWindowTitle( name); 167 #endif 168 ResizeWindow(fVP.GetWindowSizeHintX(),fVP.GetWindowSizeHintY()); 169 169 170 170 //useful for MACOSX, we have to compt the menuBar height … … 176 176 YPos = offset; 177 177 } 178 //fGLWindow->resize(getWinWidth(), getWinHeight());179 //fGLWindow->move(fVP.GetWindowAbsoluteLocationHintX(QApplication::desktop()->width()),YPos);178 fGLWindow->resize(getWinWidth(), getWinHeight()); 179 fGLWindow->move(fVP.GetWindowAbsoluteLocationHintX(QApplication::desktop()->width()),YPos); 180 180 fGLWindow->show(); 181 181
Note: See TracChangeset
for help on using the changeset viewer.