Skip to content

Commit

Permalink
Hard set monitor vtk behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
joco-nz committed Aug 30, 2021
1 parent 6e74efd commit 1f5868f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions bf20_mill/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ def __init__(self, *args, **kwargs):
self.btnPlotRollPan.clicked.connect(self.toggleRollPan)
self.vtk.enable_panning(True)
self.mdi_vtk.enable_panning(True)
self.monitor_vtk.enable_panning(True)
self.vtk.setViewP()
self.mdi_vtk.setViewP()
self.monitor_vtk.setViewP()
jog.set_jog_continuous(True)

# signal connectoins
Expand Down
12 changes: 6 additions & 6 deletions bf20_mill/ui/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7289,7 +7289,7 @@ Editor</string>
<widget class="QWidget" name="monitor_run">
<layout class="QGridLayout" name="gridLayout_33">
<item row="0" column="0">
<widget class="VTKBackPlot" name="vtkbackplot">
<widget class="VTKBackPlot" name="monitor_vtk">
<property name="enableProgramTicks" stdset="0">
<bool>false</bool>
</property>
Expand Down Expand Up @@ -7768,7 +7768,7 @@ Delete</string>
</size>
</property>
<property name="text">
<string>G53</string>
<string>G54</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
Expand Down Expand Up @@ -11628,12 +11628,12 @@ Override</string>
</property>
</designerdata>
<buttongroups>
<buttongroup name="btngrpMdi"/>
<buttongroup name="btngrpContInc"/>
<buttongroup name="btngrpRightNav"/>
<buttongroup name="btngrpG5x"/>
<buttongroup name="btngrpMode"/>
<buttongroup name="btngrpIncrements"/>
<buttongroup name="btngrpMdi"/>
<buttongroup name="btngrpG5x"/>
<buttongroup name="btngrpLeftNav"/>
<buttongroup name="btngrpRightNav"/>
<buttongroup name="btngrpIncrements"/>
</buttongroups>
</ui>

0 comments on commit 1f5868f

Please sign in to comment.