Skip to content

Commit b78e801

Browse files
WickedSmokephkahler
authored andcommitted
Fully implement Qt 5 & 6 backend for Linux.
- Rename qglmainwindow.h as guiqt.h. Move some code from header to source. The header has not been removed entirely so that Qt MOC files can use it. - Rename GLWidget as SSView and QtGLMainWindow as SSMainWindow. - Make TOOL window a QDockWidget (SSTextWindow). - Fix mouse moving the application window. - Replace deprectated QWheelEvent::delta() method. - Replace tinyxml2 settings with QSettings. - Remove unnecessary QOpenGLFunctions object. - Remove personal app stylesheet. Fix QApplication::exec() crash. Passing a local argc variable to QApplication causes the crash and this was exposed by removing the stylesheet code. Provide main() for Qt to avoid the constraints with the InitGui/RunGui/ClearGui interface and ensure that the argc passed to the QApplication constructor exists for the life of the object. - Simplify SetAccelerator() by using Qt::Key codes. - Only create QActionGroup for RADIO_MARK when necessary.
1 parent 6dedc4a commit b78e801

File tree

4 files changed

+996
-1422
lines changed

4 files changed

+996
-1422
lines changed

0 commit comments

Comments
 (0)