Skip to content

Commit

Permalink
qtvcp -use the STATUS message way of loading dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
c-morley committed Feb 15, 2019
1 parent 01f6f1c commit 60ecbbb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions share/qtvcp/screens/qt_cnc/qt_cnc_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,19 +200,19 @@ def on_keycall_ABORT(self,event,state,shift,cntrl):
# dialogs
def on_keycall_F3(self,event,state,shift,cntrl):
if state:
self.w.originoffsetdialog.load_dialog()
STATUS.emit('dialog-request',{'NAME':'ORIGINOFFSET'})
def on_keycall_F4(self,event,state,shift,cntrl):
if state:
self.w.camviewdialog.load_dialog()
STATUS.emit('dialog-request',{'NAME':'CAMVIEW'})
def on_keycall_F5(self,event,state,shift,cntrl):
if state:
self.w.macrotabdialog.load_dialog()
STATUS.emit('dialog-request',{'NAME':'MACROTAB'})
def on_keycall_F6(self,event,state,shift,cntrl):
if state:
self.w.tooloffsetdialog.load_dialog()
STATUS.emit('dialog-request',{'NAME':'TOOLOFFSET'})
def on_keycall_F7(self,event,state,shift,cntrl):
if state:
self.w.versaprobedialog.load_dialog()
STATUS.emit('dialog-request',{'NAME':'VERSAPROBE'})
def on_keycall_F12(self,event,state,shift,cntrl):
if state:
self.STYLEEDITOR.load_dialog()
Expand Down

0 comments on commit 60ecbbb

Please sign in to comment.