- fixed the fullscreen method to show the application window in fullscreen wherever the mouse pointer it is therefore on the screen we are working on; before it was showing always on the primary screen
This commit is contained in:
parent
e8dc4aece7
commit
4bd8475893
|
@ -5577,10 +5577,15 @@ class App(QtCore.QObject):
|
|||
# window drawn with OpenGL in fullscreen will not show any other windows on top which means that menus and
|
||||
# everything else will not work without this hack. This happen in Windows.
|
||||
# https://bugreports.qt.io/browse/QTBUG-41309
|
||||
rec = QtWidgets.QApplication.desktop().screenGeometry()
|
||||
desktop = QtWidgets.QApplication.desktop()
|
||||
screen = desktop.screenNumber(QtGui.QCursor.pos())
|
||||
|
||||
rec = desktop.screenGeometry(screen)
|
||||
x = rec.x() - 1
|
||||
y = rec.y() - 1
|
||||
h = rec.height() + 2
|
||||
w = rec.width() + 2
|
||||
self.ui.setGeometry(-1, -1, w, h)
|
||||
self.ui.setGeometry(x, y, w, h)
|
||||
self.ui.show()
|
||||
|
||||
for tb in self.ui.findChildren(QtWidgets.QToolBar):
|
||||
|
|
|
@ -9,6 +9,10 @@ CAD program, and create G-Code for Isolation routing.
|
|||
|
||||
=================================================
|
||||
|
||||
24.09.2019
|
||||
|
||||
- fixed the fullscreen method to show the application window in fullscreen wherever the mouse pointer it is therefore on the screen we are working on; before it was showing always on the primary screen
|
||||
|
||||
23.09.2019
|
||||
|
||||
- in legacy graphic engine, fixed bug that made the old object disappear when a new object was loaded
|
||||
|
|
Loading…
Reference in New Issue