Compare commits
2 Commits
master
...
f5c7e22ebf
| Author | SHA1 | Date | |
|---|---|---|---|
| f5c7e22ebf | |||
| 3dee76678e |
74
custom.hal
74
custom.hal
@@ -1,76 +1,4 @@
|
||||
# Include your custom HAL commands here
|
||||
# This file will not be overwritten when you run stepconf again
|
||||
|
||||
#net spindle-on <= spindle.0.on
|
||||
|
||||
# =====================================================================
|
||||
# Vevor D100 VFD Modbus (mb2hal) Integration
|
||||
# =====================================================================
|
||||
|
||||
# Load the mb2hal component
|
||||
loadusr -Wn vfd mb2hal config=vfd_d100.ini
|
||||
|
||||
# Load helper components
|
||||
loadrt scale names=spindle_speed_scale,spindle_feedback_scale
|
||||
loadrt mux2 names=spindle_dir_mux,spindle_run_mux
|
||||
loadrt near names=spindle_at_speed_near
|
||||
|
||||
# Add helper components to the servo thread
|
||||
addf spindle_speed_scale servo-thread
|
||||
addf spindle_feedback_scale servo-thread
|
||||
addf spindle_dir_mux servo-thread
|
||||
addf spindle_run_mux servo-thread
|
||||
addf spindle_at_speed_near servo-thread
|
||||
|
||||
# =====================================================================
|
||||
# 1. Spindle Run & Direction Logic
|
||||
# =====================================================================
|
||||
|
||||
# Direction Mux Input Values: 2.0 = Forward Run, 4.0 = Reverse Run
|
||||
setp spindle_dir_mux.in0 2.0
|
||||
setp spindle_dir_mux.in1 4.0
|
||||
|
||||
# Run Mux Input Values: 8.0 = Stop, in1 = value from direction mux
|
||||
setp spindle_run_mux.in0 8.0
|
||||
|
||||
# Connect selection signals
|
||||
net spindle-rev-sig spindle.0.reverse => spindle_dir_mux.sel
|
||||
net spindle-dir-cmd spindle_dir_mux.out => spindle_run_mux.in1
|
||||
|
||||
net spindle-on-sig spindle.0.on => spindle_run_mux.sel
|
||||
net spindle-run-cmd spindle_run_mux.out => vfd.control.00.float
|
||||
|
||||
# =====================================================================
|
||||
# 2. Spindle Commanded Speed Scaling
|
||||
# =====================================================================
|
||||
|
||||
# Gain = 4000 / 24000 = 0.16666667
|
||||
setp spindle_speed_scale.gain 0.16666667
|
||||
setp spindle_speed_scale.offset 0.0
|
||||
|
||||
# Connect signals
|
||||
net spindle-speed-cmd spindle.0.speed-out-abs => spindle_speed_scale.in
|
||||
net spindle-speed-scaled spindle_speed_scale.out => vfd.speed.00.float
|
||||
|
||||
# =====================================================================
|
||||
# 3. Spindle Speed Feedback (RPM to RPS)
|
||||
# =====================================================================
|
||||
|
||||
# Gain = 1 / 60 = 0.01666667 (converts RPM to RPS)
|
||||
setp spindle_feedback_scale.gain 0.01666667
|
||||
setp spindle_feedback_scale.offset 0.0
|
||||
|
||||
# Connect signals
|
||||
net spindle-rpm-feedback vfd.metrics.rpm.float => spindle_feedback_scale.in
|
||||
net spindle-rps-feedback spindle_feedback_scale.out => spindle.0.speed-in
|
||||
|
||||
# =====================================================================
|
||||
# 4. Spindle "At Speed" Detection
|
||||
# =====================================================================
|
||||
|
||||
# Configure allowable difference (e.g., within 5% or 300 RPM)
|
||||
setp spindle_at_speed_near.difference 300.0
|
||||
# We want the speed to be compared on the absolute commanded speed (RPM)
|
||||
net spindle-speed-cmd => spindle_at_speed_near.in1
|
||||
net spindle-rpm-feedback => spindle_at_speed_near.in2
|
||||
net spindle-at-speed spindle_at_speed_near.out => spindle.0.at-speed
|
||||
net spindle-on <= spindle.0.on
|
||||
|
||||
24
linuxcnc.var
24
linuxcnc.var
@@ -7,9 +7,9 @@
|
||||
5167 0.000000
|
||||
5168 0.000000
|
||||
5169 0.000000
|
||||
5181 0.000000
|
||||
5182 0.000000
|
||||
5183 0.000000
|
||||
5181 35.000000
|
||||
5182 459.000000
|
||||
5183 -0.000000
|
||||
5184 0.000000
|
||||
5185 0.000000
|
||||
5186 0.000000
|
||||
@@ -27,9 +27,9 @@
|
||||
5218 0.000000
|
||||
5219 0.000000
|
||||
5220 1.000000
|
||||
5221 0.000000
|
||||
5222 0.000000
|
||||
5223 0.000000
|
||||
5221 368.939500
|
||||
5222 124.910000
|
||||
5223 -82.054301
|
||||
5224 0.000000
|
||||
5225 0.000000
|
||||
5226 0.000000
|
||||
@@ -37,9 +37,9 @@
|
||||
5228 0.000000
|
||||
5229 0.000000
|
||||
5230 0.000000
|
||||
5241 0.000000
|
||||
5242 0.000000
|
||||
5243 0.000000
|
||||
5241 585.480417
|
||||
5242 50.992548
|
||||
5243 -40.461301
|
||||
5244 0.000000
|
||||
5245 0.000000
|
||||
5246 0.000000
|
||||
@@ -47,9 +47,9 @@
|
||||
5248 0.000000
|
||||
5249 0.000000
|
||||
5250 0.000000
|
||||
5261 0.000000
|
||||
5262 0.000000
|
||||
5263 0.000000
|
||||
5261 469.680000
|
||||
5262 113.800500
|
||||
5263 -62.326301
|
||||
5264 0.000000
|
||||
5265 0.000000
|
||||
5266 0.000000
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
5167 0.000000
|
||||
5168 0.000000
|
||||
5169 0.000000
|
||||
5181 0.000000
|
||||
5182 0.000000
|
||||
5183 0.000000
|
||||
5181 35.000000
|
||||
5182 459.000000
|
||||
5183 -0.000000
|
||||
5184 0.000000
|
||||
5185 0.000000
|
||||
5186 0.000000
|
||||
@@ -27,9 +27,9 @@
|
||||
5218 0.000000
|
||||
5219 0.000000
|
||||
5220 1.000000
|
||||
5221 0.000000
|
||||
5222 0.000000
|
||||
5223 0.000000
|
||||
5221 368.939500
|
||||
5222 124.910000
|
||||
5223 -82.054301
|
||||
5224 0.000000
|
||||
5225 0.000000
|
||||
5226 0.000000
|
||||
@@ -37,9 +37,9 @@
|
||||
5228 0.000000
|
||||
5229 0.000000
|
||||
5230 0.000000
|
||||
5241 0.000000
|
||||
5242 0.000000
|
||||
5243 0.000000
|
||||
5241 585.480417
|
||||
5242 50.992548
|
||||
5243 -40.461301
|
||||
5244 0.000000
|
||||
5245 0.000000
|
||||
5246 0.000000
|
||||
@@ -47,9 +47,9 @@
|
||||
5248 0.000000
|
||||
5249 0.000000
|
||||
5250 0.000000
|
||||
5261 0.000000
|
||||
5262 0.000000
|
||||
5263 0.000000
|
||||
5261 469.680000
|
||||
5262 113.800500
|
||||
5263 -62.326301
|
||||
5264 0.000000
|
||||
5265 0.000000
|
||||
5266 0.000000
|
||||
|
||||
210
probe_basic.var
Normal file
210
probe_basic.var
Normal file
@@ -0,0 +1,210 @@
|
||||
3000 0.000000
|
||||
3001 0.000000
|
||||
3002 0.000000
|
||||
3003 0.000000
|
||||
3004 0.000000
|
||||
3005 0.000000
|
||||
3006 0.000000
|
||||
3007 0.000000
|
||||
3008 0.000000
|
||||
3009 0.000000
|
||||
3010 0.000000
|
||||
3011 0.000000
|
||||
3012 0.000000
|
||||
3013 0.000000
|
||||
3014 0.000000
|
||||
3015 0.000000
|
||||
3016 0.000000
|
||||
3017 0.000000
|
||||
3018 0.000000
|
||||
3019 0.000000
|
||||
3020 0.000000
|
||||
3021 0.000000
|
||||
3022 0.000000
|
||||
3023 0.000000
|
||||
3024 0.000000
|
||||
3025 0.000000
|
||||
3026 0.000000
|
||||
3027 0.000000
|
||||
3028 0.000000
|
||||
3029 0.000000
|
||||
3030 0.000000
|
||||
3031 0.000000
|
||||
3032 0.000000
|
||||
3033 0.000000
|
||||
3034 0.000000
|
||||
3035 0.000000
|
||||
3036 0.000000
|
||||
3037 0.000000
|
||||
3038 0.000000
|
||||
3039 0.000000
|
||||
3050 0.000000
|
||||
3051 0.000000
|
||||
3052 0.000000
|
||||
3053 0.000000
|
||||
3054 0.000000
|
||||
3979 0.000000
|
||||
3980 6.000000
|
||||
3981 0.000000
|
||||
3982 0.000000
|
||||
3983 0.000000
|
||||
3984 0.000000
|
||||
3985 0.000000
|
||||
3986 0.000000
|
||||
3987 0.000000
|
||||
3988 0.000000
|
||||
3989 0.000000
|
||||
3990 0.000000
|
||||
3991 0.000000
|
||||
3992 0.000000
|
||||
3993 0.000000
|
||||
3994 0.000000
|
||||
3995 0.000000
|
||||
3996 0.000000
|
||||
3997 0.000000
|
||||
3998 0.000000
|
||||
3999 0.000000
|
||||
4000 0.000000
|
||||
4001 0.000000
|
||||
4002 0.000000
|
||||
4003 0.000000
|
||||
4004 0.000000
|
||||
4005 0.000000
|
||||
4006 0.000000
|
||||
4007 0.000000
|
||||
4008 0.000000
|
||||
4009 0.000000
|
||||
4010 0.000000
|
||||
4011 0.000000
|
||||
4012 0.000000
|
||||
4013 0.000000
|
||||
4014 0.000000
|
||||
4015 0.000000
|
||||
4016 0.000000
|
||||
4017 0.000000
|
||||
4018 0.000000
|
||||
4019 0.000000
|
||||
4020 0.000000
|
||||
4021 0.000000
|
||||
4022 0.000000
|
||||
4023 0.000000
|
||||
4024 0.000000
|
||||
5161 0.000000
|
||||
5162 0.000000
|
||||
5163 0.000000
|
||||
5164 0.000000
|
||||
5165 0.000000
|
||||
5166 0.000000
|
||||
5167 0.000000
|
||||
5168 0.000000
|
||||
5169 0.000000
|
||||
5181 0.000000
|
||||
5182 0.000000
|
||||
5183 0.000000
|
||||
5184 0.000000
|
||||
5185 0.000000
|
||||
5186 0.000000
|
||||
5187 0.000000
|
||||
5188 0.000000
|
||||
5189 0.000000
|
||||
5210 0.000000
|
||||
5211 0.000000
|
||||
5212 0.000000
|
||||
5213 0.000000
|
||||
5214 0.000000
|
||||
5215 0.000000
|
||||
5216 0.000000
|
||||
5217 0.000000
|
||||
5218 0.000000
|
||||
5219 0.000000
|
||||
5220 1.000000
|
||||
5221 0.000000
|
||||
5222 0.000000
|
||||
5223 0.000000
|
||||
5224 0.000000
|
||||
5225 0.000000
|
||||
5226 0.000000
|
||||
5227 0.000000
|
||||
5228 0.000000
|
||||
5229 0.000000
|
||||
5230 0.000000
|
||||
5241 0.000000
|
||||
5242 0.000000
|
||||
5243 0.000000
|
||||
5244 0.000000
|
||||
5245 0.000000
|
||||
5246 0.000000
|
||||
5247 0.000000
|
||||
5248 0.000000
|
||||
5249 0.000000
|
||||
5250 0.000000
|
||||
5261 0.000000
|
||||
5262 0.000000
|
||||
5263 0.000000
|
||||
5264 0.000000
|
||||
5265 0.000000
|
||||
5266 0.000000
|
||||
5267 0.000000
|
||||
5268 0.000000
|
||||
5269 0.000000
|
||||
5270 0.000000
|
||||
5281 0.000000
|
||||
5282 0.000000
|
||||
5283 0.000000
|
||||
5284 0.000000
|
||||
5285 0.000000
|
||||
5286 0.000000
|
||||
5287 0.000000
|
||||
5288 0.000000
|
||||
5289 0.000000
|
||||
5290 0.000000
|
||||
5301 0.000000
|
||||
5302 0.000000
|
||||
5303 0.000000
|
||||
5304 0.000000
|
||||
5305 0.000000
|
||||
5306 0.000000
|
||||
5307 0.000000
|
||||
5308 0.000000
|
||||
5309 0.000000
|
||||
5310 0.000000
|
||||
5321 0.000000
|
||||
5322 0.000000
|
||||
5323 0.000000
|
||||
5324 0.000000
|
||||
5325 0.000000
|
||||
5326 0.000000
|
||||
5327 0.000000
|
||||
5328 0.000000
|
||||
5329 0.000000
|
||||
5330 0.000000
|
||||
5341 0.000000
|
||||
5342 0.000000
|
||||
5343 0.000000
|
||||
5344 0.000000
|
||||
5345 0.000000
|
||||
5346 0.000000
|
||||
5347 0.000000
|
||||
5348 0.000000
|
||||
5349 0.000000
|
||||
5350 0.000000
|
||||
5361 0.000000
|
||||
5362 0.000000
|
||||
5363 0.000000
|
||||
5364 0.000000
|
||||
5365 0.000000
|
||||
5366 0.000000
|
||||
5367 0.000000
|
||||
5368 0.000000
|
||||
5369 0.000000
|
||||
5370 0.000000
|
||||
5381 0.000000
|
||||
5382 0.000000
|
||||
5383 0.000000
|
||||
5384 0.000000
|
||||
5385 0.000000
|
||||
5386 0.000000
|
||||
5387 0.000000
|
||||
5388 0.000000
|
||||
5389 0.000000
|
||||
5390 0.000000
|
||||
@@ -22,4 +22,4 @@ net tool-number => qtpyvcp_manualtoolchange.number
|
||||
net probe-in <= qtpyvcp.probe-led.on
|
||||
|
||||
# *** Set line below for actual spindle readout from your hal file ***
|
||||
net spindle-rpm-feedback => qtpyvcp.spindle-encoder-rpm.in
|
||||
# net spindle-rpm-filtered scale_to_rpm.out => qtpyvcp.spindle-encoder-rpm.in
|
||||
|
||||
@@ -96,19 +96,11 @@ def prepare_epilog(self, **words):
|
||||
def change_prolog(self, **words):
|
||||
try:
|
||||
# this is relevant only when using iocontrol-v2.
|
||||
hard_fault_flag = 0.0
|
||||
hard_fault_code = 0.0
|
||||
try:
|
||||
hard_fault_flag = float(self.params[5600])
|
||||
hard_fault_code = float(self.params[5601])
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
if hard_fault_flag > 0.0:
|
||||
if hard_fault_code < 0.0:
|
||||
self.set_errormsg("Toolchanger hard fault %d" % (int(hard_fault_code)))
|
||||
if self.params[5600] > 0.0:
|
||||
if self.params[5601] < 0.0:
|
||||
self.set_errormsg("Toolchanger hard fault %d" % (int(self.params[5601])))
|
||||
return INTERP_ERROR
|
||||
print("change_prolog: Toolchanger soft fault %d" % int(hard_fault_code))
|
||||
print("change_prolog: Toolchanger soft fault %d" % int(self.params[5601]))
|
||||
|
||||
if self.selected_pocket < 0:
|
||||
self.set_errormsg("M6: no tool prepared")
|
||||
@@ -133,19 +125,11 @@ def change_epilog(self, **words):
|
||||
% (r.name,r.remap_ngc if r.remap_ngc else r.remap_py))
|
||||
yield INTERP_ERROR
|
||||
# this is relevant only when using iocontrol-v2.
|
||||
hard_fault_flag = 0.0
|
||||
hard_fault_code = 0.0
|
||||
try:
|
||||
hard_fault_flag = float(self.params[5600])
|
||||
hard_fault_code = float(self.params[5601])
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
if hard_fault_flag > 0.0:
|
||||
if hard_fault_code < 0.0:
|
||||
self.set_errormsg("Toolchanger hard fault %d" % (int(hard_fault_code)))
|
||||
if self.params[5600] > 0.0:
|
||||
if self.params[5601] < 0.0:
|
||||
self.set_errormsg("Toolchanger hard fault %d" % (int(self.params[5601])))
|
||||
yield INTERP_ERROR
|
||||
print("change_epilog: Toolchanger soft fault %d" % int(hard_fault_code))
|
||||
print("change_epilog: Toolchanger soft fault %d" % int(self.params[5601]))
|
||||
|
||||
if self.blocks[self.remap_level].builtin_used:
|
||||
#print "---------- M6 builtin recursion, nothing to do"
|
||||
|
||||
@@ -5,33 +5,15 @@ G90
|
||||
G53 G0 Z0
|
||||
G53 G0 X0 Y0
|
||||
|
||||
#<has_a> = 0
|
||||
#<has_b> = 0
|
||||
#<has_c> = 0
|
||||
|
||||
o100 if [EXISTS[#<_ini[axis_a]max_limit>]]
|
||||
#<has_a> = 1
|
||||
o100 if [EXISTS[#<_ini[traj]axes>]]
|
||||
#<geometry> = #<_ini[traj]axes>
|
||||
o100 endif
|
||||
|
||||
o110 if [EXISTS[#<_ini[axis_b]max_limit>]]
|
||||
#<has_b> = 1
|
||||
o110 endif
|
||||
|
||||
o120 if [EXISTS[#<_ini[axis_c]max_limit>]]
|
||||
#<has_c> = 1
|
||||
o120 endif
|
||||
|
||||
o130 if [[#<has_a> EQ 1] AND [#<has_c> EQ 1]]
|
||||
G53 G0 A0 C0
|
||||
o130 else if [[#<has_b> EQ 1] AND [#<has_c> EQ 1]]
|
||||
G53 G0 B0 C0
|
||||
o130 else if [#<has_a> EQ 1]
|
||||
o110 if [#<geometry> EQ 4]
|
||||
G53 G0 A0
|
||||
o130 else if [#<has_b> EQ 1]
|
||||
G53 G0 B0
|
||||
o130 else if [#<has_c> EQ 1]
|
||||
G53 G0 C0
|
||||
o130 endif
|
||||
o110 else if [#<geometry> EQ 5]
|
||||
G53 G0 A0 C0
|
||||
o110 endif
|
||||
|
||||
o<go_to_home> endsub
|
||||
|
||||
|
||||
@@ -5,33 +5,15 @@ G90
|
||||
G53 G0 Z0
|
||||
G0 X0 Y0
|
||||
|
||||
#<has_a> = 0
|
||||
#<has_b> = 0
|
||||
#<has_c> = 0
|
||||
|
||||
o100 if [EXISTS[#<_ini[axis_a]max_limit>]]
|
||||
#<has_a> = 1
|
||||
o100 if [EXISTS[#<_ini[traj]axes>]]
|
||||
#<geometry> = #<_ini[traj]axes>
|
||||
o100 endif
|
||||
|
||||
o110 if [EXISTS[#<_ini[axis_b]max_limit>]]
|
||||
#<has_b> = 1
|
||||
o110 endif
|
||||
|
||||
o120 if [EXISTS[#<_ini[axis_c]max_limit>]]
|
||||
#<has_c> = 1
|
||||
o120 endif
|
||||
|
||||
o130 if [[#<has_a> EQ 1] AND [#<has_c> EQ 1]]
|
||||
G0 A0 C0
|
||||
o130 else if [[#<has_b> EQ 1] AND [#<has_c> EQ 1]]
|
||||
G0 B0 C0
|
||||
o130 else if [#<has_a> EQ 1]
|
||||
o110 if [#<geometry> EQ 4]
|
||||
G0 A0
|
||||
o130 else if [#<has_b> EQ 1]
|
||||
G0 B0
|
||||
o130 else if [#<has_c> EQ 1]
|
||||
G0 C0
|
||||
o130 endif
|
||||
o110 else if [#<geometry> EQ 5]
|
||||
G0 A0 C0
|
||||
o110 endif
|
||||
|
||||
o<go_to_zero> endsub
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.6)
|
||||
(date: 01/28/26)
|
||||
(version: 0.5)
|
||||
(date: 06/27/24)
|
||||
|
||||
(load tool in spindle safety macro)
|
||||
; This is called form the ATC page
|
||||
@@ -15,7 +15,8 @@ o<load_spindle_safety> sub
|
||||
#<load_spindle_tool_number> = #1 ; this is the value form the ATC tab
|
||||
#<probe_tool_number> = #3014
|
||||
|
||||
; Update atc pocket count based on INI settings
|
||||
; default to a 12 pocket ATC (matching DynATC Widget behaviour), then update based on INI settings
|
||||
#<number_of_pockets> = 12
|
||||
o101 if [EXISTS[#<_ini[atc]pockets>]]
|
||||
#<number_of_pockets> = #<_ini[atc]pockets>
|
||||
o101 endif
|
||||
@@ -25,15 +26,12 @@ o101 endif
|
||||
|
||||
o110 while [#10 LT #<number_of_pockets>]
|
||||
#10 = [#10+1]
|
||||
o111 if [#<load_spindle_tool_number> EQ #[4000 + #10]]
|
||||
o120 if [#<load_spindle_tool_number> EQ #[4000 + #10]]
|
||||
(DEBUG, the tool you are trying to load is already stored in carousel pocket %d#10)
|
||||
#11 = 1
|
||||
o111 endif
|
||||
o120 endif
|
||||
o110 endwhile
|
||||
|
||||
o120 if [#11 EQ 1]
|
||||
(abort, Tool %d#<load_spindle_tool_number> is already stored in carousel, not loading into spindle)
|
||||
o120 endif
|
||||
|
||||
o130 if [#11 EQ 0]
|
||||
M61 Q#<load_spindle_tool_number> G43 H#<load_spindle_tool_number>
|
||||
#3991 = #<load_spindle_tool_number>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(load tool in spindle safety macro)
|
||||
; This is called form the Tool page
|
||||
@@ -15,7 +15,8 @@ o<load_spindle_safety_2> sub
|
||||
#<load_spindle_tool_number_2> = #1 ; this is the value form the TOOL tab
|
||||
#<probe_tool_number> = #3014
|
||||
|
||||
; Update atc pocket count based on INI settings
|
||||
; default to a 12 pocket ATC (matching DynATC Widget behaviour), then update based on INI settings
|
||||
#<number_of_pockets> = 12
|
||||
o101 if [EXISTS[#<_ini[atc]pockets>]]
|
||||
#<number_of_pockets> = #<_ini[atc]pockets>
|
||||
o101 endif
|
||||
@@ -25,15 +26,12 @@ o101 endif
|
||||
|
||||
o110 while [#10 LT #<number_of_pockets>]
|
||||
#10 = [#10+1]
|
||||
o111 if [#<load_spindle_tool_number_2> EQ #[4000 + #10]]
|
||||
o120 if [#<load_spindle_tool_number_2> EQ #[4000 + #10]]
|
||||
(DEBUG, the tool you are trying to load is already stored in carousel pocket %d#10)
|
||||
#11 = 1
|
||||
o111 endif
|
||||
o120 endif
|
||||
o110 endwhile
|
||||
|
||||
o120 if [#11 EQ 1]
|
||||
(abort, Tool %d#<load_spindle_tool_number> is already stored in carousel, not loading into spindle)
|
||||
o120 endif
|
||||
|
||||
o130 if [#11 EQ 0]
|
||||
M61 Q#<load_spindle_tool_number_2> G43 H#<load_spindle_tool_number_2>
|
||||
#3991 = #<load_spindle_tool_number_2>
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
%
|
||||
o<on_abort> sub
|
||||
|
||||
M5 (Spindle Stop)
|
||||
M9 (Coolant Off)
|
||||
M50 P1
|
||||
G90 (Absolute Positioning)
|
||||
G40 (Cancel Cutter Radius Compensation)
|
||||
G90
|
||||
G40
|
||||
G49
|
||||
|
||||
o<on_abort> endsub
|
||||
M2 (end program)
|
||||
%
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe back left inside corner for x,y,z 0,0,0 position)
|
||||
(Start probe position is over back left inside corner of stock)
|
||||
@@ -35,7 +35,9 @@ o<probe_back_left_inside_corner> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_back_left_inside_corner> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -67,7 +69,9 @@ o<probe_back_left_inside_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_back_left_inside_corner> return
|
||||
o110 endif
|
||||
|
||||
(move to X start Position)
|
||||
@@ -85,7 +89,9 @@ o<probe_back_left_inside_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_back_left_inside_corner> return
|
||||
o120 endif
|
||||
|
||||
(move to Y start Position)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe back left top corner for x,y,z 0,0,0 position)
|
||||
(Start probe position is over back left corner of stock)
|
||||
@@ -35,7 +35,9 @@ o<probe_back_left_top_corner> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_back_left_top_corner> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -45,7 +47,7 @@ o<probe_back_left_top_corner> sub
|
||||
#<z_probe_stack> = [#<z_clearance> + #<probe_diameter> + #<extra_probe_depth>]
|
||||
|
||||
(Call sub "probe_z_minus_sub" to Probe top of Workpiece)
|
||||
o<probe_z_minus_sub> call [#3014][#3015][#3016][#3017][#3020][#3021][#3030]
|
||||
;o<probe_z_minus_sub> call [#3014][#3015][#3016][#3017][#3020][#3021][#3030]
|
||||
|
||||
(Probe X Positioning Move, Step Off Width)
|
||||
G91
|
||||
@@ -63,7 +65,9 @@ o<probe_back_left_top_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_back_left_top_corner> return
|
||||
o110 endif
|
||||
|
||||
(Probe Y Positioning Move, up to Z clearance plane)
|
||||
@@ -86,7 +90,9 @@ o<probe_back_left_top_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_back_left_top_corner> return
|
||||
o120 endif
|
||||
|
||||
(Probe Completion Move to Z Clearance Plane, and XY Zero)
|
||||
@@ -104,7 +110,8 @@ o<probe_back_left_top_corner> sub
|
||||
G10 L2 P#5220 Y[#<y_minus_zero_edge> + #<workspace_y>]
|
||||
o130 endif
|
||||
|
||||
M50 P1 (Reinstate Feedrate Override)
|
||||
(Reinstate Feedrate Override)
|
||||
M50 P1
|
||||
|
||||
o<probe_back_left_top_corner> endsub
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe back right inside corner for x,y,z 0,0,0 position)
|
||||
(Start probe position is over back right inside corner of stock)
|
||||
@@ -35,7 +35,9 @@ o<probe_back_right_inside_corner> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_back_right_inside_corner> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -67,7 +69,9 @@ o<probe_back_right_inside_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_back_right_inside_corner> return
|
||||
o110 endif
|
||||
|
||||
(move to X start Position)
|
||||
@@ -85,7 +89,9 @@ o<probe_back_right_inside_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_back_right_inside_corner> return
|
||||
o120 endif
|
||||
|
||||
(move to Y start Position)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe back right top corner for x,y,z 0,0,0 position)
|
||||
(Start probe position is over back right corner of stock)
|
||||
@@ -35,7 +35,9 @@ o<probe_back_right_top_corner> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_back_right_top_corner> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -45,7 +47,7 @@ o<probe_back_right_top_corner> sub
|
||||
#<z_probe_stack> = [#<z_clearance> + #<probe_diameter> + #<extra_probe_depth>]
|
||||
|
||||
(Call sub "probe_z_minus_sub" to Probe top of Workpiece)
|
||||
o<probe_z_minus_sub> call [#3014][#3015][#3016][#3017][#3020][#3021][#3030]
|
||||
;o<probe_z_minus_sub> call [#3014][#3015][#3016][#3017][#3020][#3021][#3030]
|
||||
|
||||
(Probe X Positioning Move, Step Off Width)
|
||||
G91
|
||||
@@ -63,7 +65,9 @@ o<probe_back_right_top_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_back_right_top_corner> return
|
||||
o110 endif
|
||||
|
||||
(Probe Y Positioning Move, up to Z clearance plane)
|
||||
@@ -85,7 +89,9 @@ o<probe_back_right_top_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_back_right_top_corner> return
|
||||
o120 endif
|
||||
|
||||
(Probe Completion Move to Z Clearance Plane, and XY Zero)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.5)
|
||||
(date: 01/28/26)
|
||||
(version: 0.4)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe back top side for y,z 0,0 position)
|
||||
(Start probe position is over back edge of stock)
|
||||
@@ -34,7 +34,9 @@ o<Probe_back_top_side> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<Probe_back_top_side> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -44,7 +46,7 @@ o<Probe_back_top_side> sub
|
||||
#<z_probe_stack> = [#<z_clearance> + #<probe_diameter> + #<extra_probe_depth>]
|
||||
|
||||
(Call sub "probe_z_minus_sub" to Probe top of Workpiece)
|
||||
o<probe_z_minus_sub> call [#3014][#3015][#3016][#3017][#3020][#3021][#3030]
|
||||
;o<probe_z_minus_sub> call [#3014][#3015][#3016][#3017][#3020][#3021][#3030]
|
||||
|
||||
(Probe Y Positioning Move, Step Off Width)
|
||||
G91
|
||||
@@ -62,7 +64,9 @@ o<Probe_back_top_side> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_back_top_side> return
|
||||
o110 endif
|
||||
|
||||
(Probe Completion Move to Z Clearance Plane, and Y Zero)
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
o<probe_cal_reset> sub
|
||||
|
||||
#3032 = 0
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
|
||||
o<probe_cal_reset> endsub
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe calibration offset using defined diam round boss)
|
||||
(Start probe position is over center of stock in X and Y axis)
|
||||
@@ -23,9 +23,7 @@ o<probe_cal_round_boss> sub
|
||||
#<step_off_width> = #3023 (=0.5000)
|
||||
#<probe_mode> = #3030 (=0)
|
||||
#<cal_diameter> = #3033 (=0)
|
||||
#<xy_cal_axis> = #3048 (=0)
|
||||
#<x_cal_axis> = #3049 (=0)
|
||||
#<y_cal_axis> = #3050 (=0)
|
||||
#<sq_cal_axis> = #3036 (=0)
|
||||
|
||||
(Cancel G92 offsets)
|
||||
G92.1
|
||||
@@ -39,10 +37,13 @@ o<probe_cal_round_boss> sub
|
||||
|
||||
(clear current probe calibration offset)
|
||||
#3032 = 0
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_cal_round_boss> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -297,14 +298,17 @@ o<probe_cal_round_boss> sub
|
||||
#<new_y_cal_offset> = [#<y_cal_error>]
|
||||
o140 endif
|
||||
|
||||
#<new_xy_cal_offset> = [[#<new_x_cal_offset> + #<new_y_cal_offset>] / 2]
|
||||
#<new_avg_cal_offset> = [[#<new_x_cal_offset> + #<new_y_cal_offset>] / 2]
|
||||
|
||||
o150 if [#<xy_cal_axis> EQ 1]
|
||||
#3032 = [ABS[#<new_xy_cal_offset>]]
|
||||
o150 else if [#<x_cal_axis> EQ 1]
|
||||
o150 if [#<sq_cal_axis> EQ 0]
|
||||
#3032 = [ABS[#<new_avg_cal_offset>]]
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
o150 else if [#<sq_cal_axis> EQ 1]
|
||||
#3032 = [ABS[#<new_x_cal_offset>]]
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
o150 else
|
||||
#3032 = [ABS[#<new_y_cal_offset>]]
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
o150 endif
|
||||
|
||||
#<x_zero> = [#<x_center_probed> + #<workspace_x>]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe calibration offset using defined diam round pocket)
|
||||
(Start probe position is over left side edge of pocket wall)
|
||||
@@ -23,9 +23,7 @@ o<probe_cal_round_pocket> sub
|
||||
#<step_off_width> = #3023 (=0.5000)
|
||||
#<probe_mode> = #3030 (=0)
|
||||
#<cal_diameter> = #3033 (=0)
|
||||
#<xy_cal_axis> = #3048 (=0)
|
||||
#<x_cal_axis> = #3049 (=0)
|
||||
#<y_cal_axis> = #3050 (=0)
|
||||
#<sq_cal_axis> = #3036 (=0)
|
||||
|
||||
(Cancel G92 offsets)
|
||||
G92.1
|
||||
@@ -38,10 +36,13 @@ o<probe_cal_round_pocket> sub
|
||||
|
||||
(clear current probe calibration offset)
|
||||
#3032 = 0
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_cal_round_pocket> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -190,14 +191,17 @@ o<probe_cal_round_pocket> sub
|
||||
#<new_y_cal_offset> = [#<y_cal_error>]
|
||||
o120 endif
|
||||
|
||||
#<new_xy_cal_offset> = [[#<new_x_cal_offset> + #<new_y_cal_offset>] / 2]
|
||||
#<new_avg_cal_offset> = [[#<new_x_cal_offset> + #<new_y_cal_offset>] / 2]
|
||||
|
||||
o130 if [#<xy_cal_axis> EQ 1]
|
||||
#3032 = [ABS[#<new_xy_cal_offset>]]
|
||||
o130 else if [#<x_cal_axis> EQ 1]
|
||||
o130 if [#<sq_cal_axis> EQ 0]
|
||||
#3032 = [ABS[#<new_avg_cal_offset>]]
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
o130 else if [#<sq_cal_axis> EQ 1]
|
||||
#3032 = [ABS[#<new_x_cal_offset>]]
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
o130 else
|
||||
#3032 = [ABS[#<new_y_cal_offset>]]
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
o130 endif
|
||||
|
||||
#<x_zero> = [#<x_center_probed> + #<workspace_x>]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe calibration offset using defined width square boss)
|
||||
(Start probe position is over center of stock in X and Y axis)
|
||||
@@ -24,9 +24,7 @@ o<probe_cal_square_boss> sub
|
||||
#<probe_mode> = #3030 (=0)
|
||||
#<x_cal_width> = #3034 (=0)
|
||||
#<y_cal_width> = #3035 (=0)
|
||||
#<xy_cal_axis> = #3048 (=0)
|
||||
#<x_cal_axis> = #3049 (=0)
|
||||
#<y_cal_axis> = #3050 (=0)
|
||||
#<sq_cal_axis> = #3036 (=0)
|
||||
|
||||
(Cancel G92 offsets)
|
||||
G92.1
|
||||
@@ -40,10 +38,13 @@ o<probe_cal_square_boss> sub
|
||||
|
||||
(clear current probe calibration offset)
|
||||
#3032 = 0
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_cal_square_boss> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -191,14 +192,17 @@ o<probe_cal_square_boss> sub
|
||||
#<new_y_cal_offset> = [#<y_cal_error>]
|
||||
o120 endif
|
||||
|
||||
#<new_xy_cal_offset> = [[#<new_x_cal_offset> + #<new_y_cal_offset>] / 2]
|
||||
#<new_avg_cal_offset> = [[#<new_x_cal_offset> + #<new_y_cal_offset>] / 2]
|
||||
|
||||
o130 if [#<xy_cal_axis> EQ 1]
|
||||
#3032 = [ABS[#<new_xy_cal_offset>]]
|
||||
o130 else if [#<x_cal_axis> EQ 1]
|
||||
o130 if [#<sq_cal_axis> EQ 0]
|
||||
#3032 = [ABS[#<new_avg_cal_offset>]]
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
o130 else if [#<sq_cal_axis> EQ 1]
|
||||
#3032 = [ABS[#<new_x_cal_offset>]]
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
o130 else
|
||||
#3032 = [ABS[#<new_y_cal_offset>]]
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
o130 endif
|
||||
|
||||
#<x_zero> = [#<x_center_probed> + #<workspace_x>]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe calibration offset using defined width square pocket)
|
||||
(Start probe position is over left side edge of pocket wall)
|
||||
@@ -25,9 +25,7 @@ o<probe_cal_square_pocket> sub
|
||||
#<probe_mode> = #3030 (=0)
|
||||
#<x_cal_width> = #3034 (=0)
|
||||
#<y_cal_width> = #3035 (=0)
|
||||
#<xy_cal_axis> = #3048 (=0)
|
||||
#<x_cal_axis> = #3049 (=0)
|
||||
#<y_cal_axis> = #3050 (=0)
|
||||
#<sq_cal_axis> = #3036 (=0)
|
||||
|
||||
(Cancel G92 offsets)
|
||||
G92.1
|
||||
@@ -40,10 +38,13 @@ o<probe_cal_square_pocket> sub
|
||||
|
||||
(clear current probe calibration offset)
|
||||
#3032 = 0
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_cal_square_pocket> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -146,14 +147,17 @@ o<probe_cal_square_pocket> sub
|
||||
#<new_y_cal_offset> = [#<y_cal_error>]
|
||||
o120 endif
|
||||
|
||||
#<new_xy_cal_offset> = [[#<new_x_cal_offset> + #<new_y_cal_offset>] / 2]
|
||||
#<new_avg_cal_offset> = [[#<new_x_cal_offset> + #<new_y_cal_offset>] / 2]
|
||||
|
||||
o130 if [#<xy_cal_axis> EQ 1]
|
||||
#3032 = [ABS[#<new_xy_cal_offset>]]
|
||||
o130 else if [#<x_cal_axis> EQ 1]
|
||||
o130 if [#<sq_cal_axis> EQ 0]
|
||||
#3032 = [ABS[#<new_avg_cal_offset>]]
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
o130 else if [#<sq_cal_axis> EQ 1]
|
||||
#3032 = [ABS[#<new_x_cal_offset>]]
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
o130 else
|
||||
#3032 = [ABS[#<new_y_cal_offset>]]
|
||||
(DEBUG, EVAL[vcp.getWidget{"calibration_offset_3032"}.setValue{#3032}])
|
||||
o130 endif
|
||||
|
||||
#<x_zero> = [#<x_center_probed> + #<workspace_x>]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe Corner X minus Edge Angle for x,y,z 0,0,0 position)
|
||||
(Start probe position is over front right corner of stock)
|
||||
@@ -40,7 +40,9 @@ o<probe_corner_x_minus_edge_angle> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_corner_x_minus_edge_angle> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -74,7 +76,9 @@ o<probe_corner_x_minus_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_corner_x_minus_edge_angle> return
|
||||
o110 endif
|
||||
|
||||
(Probe Y Positioning Move, up to Z clearance plane)
|
||||
@@ -99,7 +103,9 @@ o<probe_corner_x_minus_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_corner_x_minus_edge_angle> return
|
||||
o120 endif
|
||||
|
||||
(edge width move to edge second probing point)
|
||||
@@ -116,7 +122,9 @@ o<probe_corner_x_minus_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o130 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_corner_x_minus_edge_angle> return
|
||||
o130 endif
|
||||
|
||||
#<edge_delta> = [#<p2x> - #<p3x>]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe Corner X plus Edge Angle for x,y,z 0,0,0 position)
|
||||
(Start probe position is over back left corner of stock)
|
||||
@@ -40,7 +40,9 @@ o<probe_corner_x_plus_edge_angle> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_corner_x_plus_edge_angle> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -74,7 +76,9 @@ o<probe_corner_x_plus_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_corner_x_plus_edge_angle> return
|
||||
o110 endif
|
||||
|
||||
(Probe Y Positioning Move, up to Z clearance plane)
|
||||
@@ -99,7 +103,9 @@ o<probe_corner_x_plus_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_corner_x_plus_edge_angle> return
|
||||
o120 endif
|
||||
|
||||
(edge width move to edge second probing point)
|
||||
@@ -116,7 +122,9 @@ o<probe_corner_x_plus_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o130 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_corner_x_plus_edge_angle> return
|
||||
o130 endif
|
||||
|
||||
#<edge_delta> = [#<p3x> - #<p2x>]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe Corner Y minus Edge Angle for x,y,z 0,0,0 position)
|
||||
(Start probe position is over back right corner of stock)
|
||||
@@ -40,7 +40,9 @@ o<probe_corner_y_minus_edge_angle> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_corner_y_minus_edge_angle> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -74,7 +76,9 @@ o<probe_corner_y_minus_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_corner_y_minus_edge_angle> return
|
||||
o110 endif
|
||||
|
||||
(Probe Y Positioning Move, up to Z clearance plane)
|
||||
@@ -99,7 +103,9 @@ o<probe_corner_y_minus_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_corner_y_minus_edge_angle> return
|
||||
o120 endif
|
||||
|
||||
(edge width move to edge second probing point)
|
||||
@@ -116,7 +122,9 @@ o<probe_corner_y_minus_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o130 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_corner_y_minus_edge_angle> return
|
||||
o130 endif
|
||||
|
||||
#<edge_delta> = [#<p2y> - #<p3y>]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe Corner Y Plus Edge Angle for x,y,z 0,0,0 position)
|
||||
(Start probe position is over front left corner of stock)
|
||||
@@ -40,7 +40,9 @@ o<probe_corner_y_plus_edge_angle> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_corner_y_plus_edge_angle> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -74,7 +76,9 @@ o<probe_corner_y_plus_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_corner_y_plus_edge_angle> return
|
||||
o110 endif
|
||||
|
||||
(Probe Y Positioning Move, up to Z clearance plane)
|
||||
@@ -99,7 +103,9 @@ o<probe_corner_y_plus_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_corner_y_plus_edge_angle> return
|
||||
o120 endif
|
||||
|
||||
(edge width move to edge second probing point)
|
||||
@@ -116,7 +122,9 @@ o<probe_corner_y_plus_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o130 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_corner_y_plus_edge_angle> return
|
||||
o130 endif
|
||||
|
||||
#<edge_delta> = [#<p3y> - #<p2y>]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe front left inside corner for x,y,z 0,0,0 position)
|
||||
(Start probe position is over front left inside corner of stock)
|
||||
@@ -36,7 +36,9 @@ o<probe_front_left_inside_corner> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_front_left_inside_corner> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -68,7 +70,9 @@ o<probe_front_left_inside_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_front_left_inside_corner> return
|
||||
o110 endif
|
||||
|
||||
(move to X start Position)
|
||||
@@ -86,7 +90,9 @@ o<probe_front_left_inside_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_front_left_inside_corner> return
|
||||
o120 endif
|
||||
|
||||
(move to Y start Position)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.6)
|
||||
(date: 01/28/26)
|
||||
(version: 0.5)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe front left top corner for x,y,z 0,0,0 position)
|
||||
(Start probe position is over front left corner of stock)
|
||||
@@ -36,7 +36,9 @@ o<probe_front_left_top_corner> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_front_left_top_corner> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -46,7 +48,7 @@ o<probe_front_left_top_corner> sub
|
||||
#<z_probe_stack> = [#<z_clearance> + #<probe_diameter> + #<extra_probe_depth>]
|
||||
|
||||
(Call sub "probe_z_minus_sub" to Probe top of Workpiece)
|
||||
o<probe_z_minus_sub> call [#3014][#3015][#3016][#3017][#3020][#3021][#3030]
|
||||
;o<probe_z_minus_sub> call [#3014][#3015][#3016][#3017][#3020][#3021][#3030]
|
||||
|
||||
(Probe X Positioning Move, Step Off Width)
|
||||
G91
|
||||
@@ -64,7 +66,9 @@ o<probe_front_left_top_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_front_left_top_corner> return
|
||||
o110 endif
|
||||
|
||||
(Probe Y Positioning Move, up to Z clearance plane)
|
||||
@@ -87,7 +91,9 @@ o<probe_front_left_top_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_front_left_top_corner> return
|
||||
o120 endif
|
||||
|
||||
(Probe Completion Move to Z Clearance Plane, and XY Zero)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe front right inside corner for x,y,z 0,0,0 position)
|
||||
(Start probe position is over front right inside corner of stock)
|
||||
@@ -36,7 +36,9 @@ o<probe_front_right_inside_corner> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_front_right_inside_corner> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -68,7 +70,9 @@ o<probe_front_right_inside_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_front_right_inside_corner> return
|
||||
o110 endif
|
||||
|
||||
(move to X start Position)
|
||||
@@ -86,7 +90,9 @@ o<probe_front_right_inside_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_front_right_inside_corner> return
|
||||
o120 endif
|
||||
|
||||
(move to Y start Position)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe front right top corner for x,y,z 0,0,0 position)
|
||||
(Start probe position is over front right corner of stock)
|
||||
@@ -37,7 +37,9 @@ o<probe_front_right_top_corner> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_front_right_top_corner> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -47,7 +49,7 @@ o<probe_front_right_top_corner> sub
|
||||
#<z_probe_stack> = [#<z_clearance> + #<probe_diameter> + #<extra_probe_depth>]
|
||||
|
||||
(Call sub "probe_z_minus_sub" to Probe top of Workpiece)
|
||||
o<probe_z_minus_sub> call [#3014][#3015][#3016][#3017][#3020][#3021][#3030]
|
||||
;o<probe_z_minus_sub> call [#3014][#3015][#3016][#3017][#3020][#3021][#3030]
|
||||
|
||||
(Probe X Positioning Move, Step Off Width)
|
||||
G91
|
||||
@@ -65,7 +67,9 @@ o<probe_front_right_top_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_front_right_top_corner> return
|
||||
o110 endif
|
||||
|
||||
(Probe Y Positioning Move, up to Z clearance plane)
|
||||
@@ -88,7 +92,9 @@ o<probe_front_right_top_corner> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_front_right_top_corner> return
|
||||
o120 endif
|
||||
|
||||
(Probe Completion Move to Z Clearance Plane, and XY Zero)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.6)
|
||||
(date: 01/28/26)
|
||||
(version: 0.5)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe front top side for y,z 0,0 position)
|
||||
(Start probe position is over front edge of stock)
|
||||
@@ -35,7 +35,9 @@ o<Probe_front_top_side> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<Probe_front_top_side> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -45,7 +47,7 @@ o<Probe_front_top_side> sub
|
||||
#<z_probe_stack> = [#<z_clearance> + #<probe_diameter> + #<extra_probe_depth>]
|
||||
|
||||
(Call sub "probe_z_minus_sub" to Probe top of Workpiece)
|
||||
o<probe_z_minus_sub> call [#3014][#3015][#3016][#3017][#3020][#3021][#3030]
|
||||
;o<probe_z_minus_sub> call [#3014][#3015][#3016][#3017][#3020][#3021][#3030]
|
||||
|
||||
(Probe Y Positioning Move, Step Off Width)
|
||||
G91
|
||||
@@ -63,7 +65,9 @@ o<Probe_front_top_side> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_front_top_side> return
|
||||
o110 endif
|
||||
|
||||
(Probe Completion Move to Z Clearance Plane, and Y Zero)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.5)
|
||||
(date: 01/28/26)
|
||||
(version: 0.4)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe left top side for x,z 0,0 position)
|
||||
(Start probe position is over left side edge of stock)
|
||||
@@ -35,7 +35,9 @@ o<Probe_left_top_side> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<Probe_left_top_side> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -45,7 +47,7 @@ o<Probe_left_top_side> sub
|
||||
#<z_probe_stack> = [#<z_clearance> + #<probe_diameter> + #<extra_probe_depth>]
|
||||
|
||||
(Call sub "probe_z_minus_sub" to Probe top of Workpiece)
|
||||
o<probe_z_minus_sub> call [#3014][#3015][#3016][#3017][#3020][#3021][#3030]
|
||||
;o<probe_z_minus_sub> call [#3014][#3015][#3016][#3017][#3020][#3021][#3030]
|
||||
|
||||
(Probe X Positioning Move, Step Off Width)
|
||||
G91
|
||||
@@ -63,7 +65,9 @@ o<Probe_left_top_side> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_left_top_side> return
|
||||
o110 endif
|
||||
|
||||
(Probe Completion Move to Z Clearance Plane, and Y Zero)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe Boss in X and Y Axes, find center and z 0 position)
|
||||
(Start probe position is over center of stock in X and Y axis)
|
||||
@@ -39,7 +39,9 @@ o<probe_rect_boss> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_rect_boss> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe rect pocket center measure x and widths, find xy center position)
|
||||
(Start probe position is over left side edge of pocket wall)
|
||||
@@ -38,7 +38,9 @@ o<probe_rect_pocket> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_rect_pocket> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe rect pocket center measure x and y widths, find xy center position)
|
||||
(Start probe position is rough center of pocket probe tip below top edge)
|
||||
@@ -37,7 +37,9 @@ o<probe_rect_pocket_center_start> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_rect_pocket_center_start> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe Ridge in X Axis to find center and z 0 position)
|
||||
(Start probe position is over center of stock in the X axis)
|
||||
@@ -38,7 +38,9 @@ o<probe_ridge_x> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_ridge_x> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe Ridge in Y Axis to find center and z 0 position)
|
||||
(Start probe position is over center of stock in the Y axis)
|
||||
@@ -37,7 +37,9 @@ o<probe_ridge_y> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_ridge_y> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.5)
|
||||
(date: 01/28/26)
|
||||
(version: 0.4)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe right top side for x,z 0,0 position)
|
||||
(Start probe position is over right side edge of stock)
|
||||
@@ -34,7 +34,9 @@ o<Probe_right_top_side> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<Probe_right_top_side> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -44,7 +46,7 @@ o<Probe_right_top_side> sub
|
||||
#<z_probe_stack> = [#<z_clearance> + #<probe_diameter> + #<extra_probe_depth>]
|
||||
|
||||
(Call sub "probe_z_minus_sub" to Probe top of Workpiece)
|
||||
o<probe_z_minus_sub> call [#3014][#3015][#3016][#3017][#3020][#3021][#3030]
|
||||
;o<probe_z_minus_sub> call [#3014][#3015][#3016][#3017][#3020][#3021][#3030]
|
||||
|
||||
(Probe X Positioning Move, Step Off Width)
|
||||
G91
|
||||
@@ -62,7 +64,9 @@ o<Probe_right_top_side> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_right_top_side> return
|
||||
o110 endif
|
||||
|
||||
(Probe Completion Move to Z Clearance Plane, and Y Zero)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe Boss in X and Y Axes, find center, Diam and z 0 position)
|
||||
(Start probe position is over center of stock in X and Y axis)
|
||||
@@ -37,7 +37,9 @@ o<probe_round_boss> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_round_boss> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe round pocket center measure x and y Diam, find xy center position)
|
||||
(Start probe position is over left side edge of pocket wall)
|
||||
@@ -36,7 +36,9 @@ o<probe_round_pocket> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_round_pocket> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe round pocket center start measure x and y Diam, find xy center position)
|
||||
(Start probe position is rough center of pocket a safe distance below top edge)
|
||||
@@ -36,7 +36,9 @@ o<probe_round_pocket_center_start> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_round_pocket_center_start> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.1)
|
||||
(date: 01/28/26)
|
||||
(version: 0.0)
|
||||
(date: 12/26/24)
|
||||
|
||||
(Probe Spindle Nose in Z Minus direction over tool setter and set Spindle Zero Distance)
|
||||
(Start probe position is over toolsetter platter within max z distance)
|
||||
@@ -19,8 +19,6 @@ o<probe_spindle_nose> sub
|
||||
|
||||
(Cancel G92 offsets)
|
||||
G92.1
|
||||
(Cancel Feedrate Override)
|
||||
M50 P0
|
||||
|
||||
o100 if [2 EQ 2]
|
||||
G49
|
||||
@@ -40,7 +38,8 @@ o<probe_spindle_nose> sub
|
||||
G90
|
||||
G1 F[#<probe_traverse_fr>] Z#<z>
|
||||
F[#<probe_fast_fr>]
|
||||
(abort, probe event failed to record point data, aborting)
|
||||
(return from sub)
|
||||
o<probe_spindle_nose> return
|
||||
o110 endif
|
||||
|
||||
(Move up retract_distance height for slow probe)
|
||||
@@ -73,8 +72,6 @@ o<probe_spindle_nose> sub
|
||||
|
||||
G53 G0 Z0.0
|
||||
|
||||
M50 P1 (Reinstate Feedrate Override)
|
||||
|
||||
o<probe_spindle_nose> endsub
|
||||
|
||||
M2 (end program)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.5)
|
||||
(date: 01/28/26)
|
||||
(version: 0.4)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe back top edge angle for y,z 0,0 position and edge angle)
|
||||
(Start probe position is over back edge of stock, set edge width,)
|
||||
@@ -39,7 +39,9 @@ o<probe_top_back_edge_angle> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_top_back_edge_angle> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -69,7 +71,9 @@ o<probe_top_back_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_top_back_edge_angle> return
|
||||
o110 endif
|
||||
|
||||
(edge width move to edge second probing point)
|
||||
@@ -84,7 +88,9 @@ o<probe_top_back_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_top_back_edge_angle> return
|
||||
o120 endif
|
||||
|
||||
#<edge_delta> = [#<y_minus_zero_edge_start> - #<y_minus_zero_edge_end>]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.6)
|
||||
(date: 01/28/26)
|
||||
(version: 0.5)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe top front edge angle for y,z 0,0 position and edge angle)
|
||||
(Start probe position is over front edge of stock, set edge width,)
|
||||
@@ -39,7 +39,9 @@ o<probe_top_front_edge_angle> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_top_front_edge_angle> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -69,7 +71,9 @@ o<probe_top_front_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_top_front_edge_angle> return
|
||||
o110 endif
|
||||
|
||||
(edge width move to edge second probing point)
|
||||
@@ -84,7 +88,9 @@ o<probe_top_front_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing Y Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing Y Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_top_front_edge_angle> return
|
||||
o120 endif
|
||||
|
||||
#<edge_delta> = [#<y_plus_zero_edge_end> - #<y_plus_zero_edge_start>]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.5)
|
||||
(date: 01/28/26)
|
||||
(version: 0.4)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe top left edge angle for y,z 0,0 position and edge angle)
|
||||
(Start probe position is over left edge of stock, set edge width,)
|
||||
@@ -39,7 +39,9 @@ o<probe_top_left_edge_angle> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_top_left_edge_angle> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -69,7 +71,9 @@ o<probe_top_left_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_top_left_edge_angle> return
|
||||
o110 endif
|
||||
|
||||
(edge width move to edge second probing point)
|
||||
@@ -84,7 +88,9 @@ o<probe_top_left_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_top_left_edge_angle> return
|
||||
o120 endif
|
||||
|
||||
#<edge_delta> = [#<x_plus_zero_edge_end> - #<x_plus_zero_edge_start>]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.5)
|
||||
(date: 01/28/26)
|
||||
(version: 0.4)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe top right edge angle for y,z 0,0 position and edge angle)
|
||||
(Start probe position is over right edge of stock, set edge width,)
|
||||
@@ -39,7 +39,9 @@ o<probe_top_right_edge_angle> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_top_right_edge_angle> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -69,7 +71,9 @@ o<probe_top_right_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o110 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_top_right_edge_angle> return
|
||||
o110 endif
|
||||
|
||||
(edge width move to edge second probing point)
|
||||
@@ -84,7 +88,9 @@ o<probe_top_right_edge_angle> sub
|
||||
|
||||
(value returned safety check, aborts if no value returned)
|
||||
o120 if [#<probe_mode> EQ 1 AND #<_value_returned> NE 1]
|
||||
(abort, Missing X Sub returned edge parameter, aborting)
|
||||
(DEBUG, Missing X Sub returned edge parameter, aborting)
|
||||
M50 P1
|
||||
o<probe_top_right_edge_angle> return
|
||||
o120 endif
|
||||
|
||||
#<edge_delta> = [#<x_minus_zero_edge_start> - #<x_minus_zero_edge_end>]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe valley in x, find Z0, X0 valley center position)
|
||||
(Start probe position is over left side edge of valley wall)
|
||||
@@ -37,7 +37,9 @@ o<probe_valley_x> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_valley_x> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe valley in x, find X zero valley center position)
|
||||
(Start probe position is centered between valley walls)
|
||||
@@ -36,7 +36,9 @@ o<probe_valley_x_center_start> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_valley_x_center_start> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe valley in Y, find Z0, Y0 valley center position)
|
||||
(Start probe position is over back side edge of valley wall)
|
||||
@@ -37,7 +37,9 @@ o<probe_valley_y> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_valley_y> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe valley in Y find Y0 valley center position)
|
||||
(Start probe position is rough center between valley walls)
|
||||
@@ -36,7 +36,9 @@ o<probe_valley_y_center_start> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_valley_y_center_start> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
|
||||
@@ -24,7 +24,8 @@ o<probe_x_minus> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
o<probe_x_minus> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -51,7 +52,8 @@ o<probe_x_minus> sub
|
||||
G90
|
||||
G1 F[#<probe_traverse_fr>] X#<x>
|
||||
F[#<probe_fast_fr>]
|
||||
(abort, Probe event did not record point data, aborting)
|
||||
(return from sub)
|
||||
o<probe_x_minus> return
|
||||
o110 endif
|
||||
|
||||
(Move to xy_clearance distance for slow probe)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe X Minus direction and set X 0 in current WCO)
|
||||
(Start probe position to the right side edge of stock)
|
||||
@@ -34,7 +34,9 @@ o<probe_x_minus_wco> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_x_minus_wco> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
|
||||
@@ -24,7 +24,8 @@ o<probe_x_plus> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
o<probe_x_plus> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -51,7 +52,8 @@ o<probe_x_plus> sub
|
||||
G90
|
||||
G1 F[#<probe_traverse_fr>] X#<x>
|
||||
F[#<probe_fast_fr>]
|
||||
(abort, Probe event did not record point data, aborting)
|
||||
(return from sub)
|
||||
o<probe_x_plus> return
|
||||
o110 endif
|
||||
|
||||
(Move to xy_clearance distance for slow probe)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe X plus direction and set X 0 in current WCO)
|
||||
(Start probe position to the left side edge of stock)
|
||||
@@ -34,7 +34,9 @@ o<probe_x_plus_wco> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_x_plus_wco> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -61,7 +63,8 @@ o<probe_x_plus_wco> sub
|
||||
G90
|
||||
G1 F[#<probe_traverse_fr>] X#<x>
|
||||
F[#<probe_fast_fr>]
|
||||
(abort, Probe event did not record point data, aborting)
|
||||
M50 P1
|
||||
o<probe_x_plus_wco> return
|
||||
o110 endif
|
||||
|
||||
(Move to xy_clearance distance for slow probe)
|
||||
|
||||
@@ -24,7 +24,8 @@ o<probe_y_minus> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
o<probe_y_minus> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -51,7 +52,8 @@ o<probe_y_minus> sub
|
||||
G90
|
||||
G1 F[#<probe_traverse_fr>] Y#<y>
|
||||
F[#<probe_fast_fr>]
|
||||
(abort, Probe event did not record point data, aborting)
|
||||
(return from sub)
|
||||
o<probe_y_minus> return
|
||||
o110 endif
|
||||
|
||||
(Move to xy_clearance distance for slow probe)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe Y Minus direction and set Y 0 in current WCO)
|
||||
(Start probe position to the back side edge of stock)
|
||||
@@ -34,7 +34,9 @@ o<probe_y_minus_wco> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_y_minus_wco> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -61,7 +63,8 @@ o<probe_y_minus_wco> sub
|
||||
G90
|
||||
G1 F[#<probe_traverse_fr>] Y#<y>
|
||||
F[#<probe_fast_fr>]
|
||||
(abort, Probe event did not record point data, aborting)
|
||||
M50 P1
|
||||
o<probe_y_minus_wco> return
|
||||
o110 endif
|
||||
|
||||
(Move to xy_clearance distance for slow probe)
|
||||
|
||||
@@ -24,7 +24,8 @@ o<probe_y_plus> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
o<probe_y_plus> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -51,7 +52,8 @@ o<probe_y_plus> sub
|
||||
G90
|
||||
G1 F[#<probe_traverse_fr>] Y#<y>
|
||||
F[#<probe_fast_fr>]
|
||||
(abort, Probe event did not record point data, aborting)
|
||||
(return from sub)
|
||||
o<probe_y_plus> return
|
||||
o110 endif
|
||||
|
||||
(Move to xy_clearance distance for slow probe)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
(Probe Y plus direction and set Y 0 in current WCO)
|
||||
(Start probe position to the front side edge of stock)
|
||||
@@ -34,7 +34,9 @@ o<probe_y_plus_wco> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_y_plus_wco> return
|
||||
o100 endif
|
||||
|
||||
(Probe Diameter)
|
||||
@@ -61,7 +63,8 @@ o<probe_y_plus_wco> sub
|
||||
G90
|
||||
G1 F[#<probe_traverse_fr>] Y#<y>
|
||||
F[#<probe_fast_fr>]
|
||||
(abort, Probe event did not record point data, aborting)
|
||||
M50 P1
|
||||
o<probe_y_plus_wco> return
|
||||
o110 endif
|
||||
|
||||
(Move to xy_clearance distance for slow probe)
|
||||
|
||||
@@ -25,7 +25,8 @@ o<probe_z_minus_sub> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
o<probe_z_minus_sub> return
|
||||
o100 endif
|
||||
|
||||
(Current Z Position including offsets in current program units)
|
||||
@@ -43,7 +44,8 @@ o<probe_z_minus_sub> sub
|
||||
G90
|
||||
G1 F[#<probe_traverse_fr>] Z#<z>
|
||||
F[#<probe_fast_fr>]
|
||||
(abort, Probe event did not record point data, aborting)
|
||||
(return from sub)
|
||||
o<probe_z_minus_sub> return
|
||||
o110 endif
|
||||
|
||||
(Move to z_clearance height for slow probe)
|
||||
@@ -74,6 +76,7 @@ o<probe_z_minus_sub> sub
|
||||
o130 if [#<probe_mode> EQ 0]
|
||||
(Record Z zero in selected WCO)
|
||||
G10 L2 P#5220 Z[#<z_minus_probed> + #<workspace_z>]
|
||||
o<probe_z_minus_sub> return
|
||||
o130 endif
|
||||
|
||||
o<probe_z_minus_sub> endsub [#<z_finish_height>]
|
||||
|
||||
@@ -28,7 +28,9 @@ o<probe_z_minus_wco> sub
|
||||
|
||||
(Probe Tool Safety Check)
|
||||
o100 if [#5400 NE #<probe_tool_number>]
|
||||
(abort, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
(DEBUG, Specified probe tool %d#<probe_tool_number> not in spindle, aborting)
|
||||
M50 P1
|
||||
o<probe_z_minus_wco> return
|
||||
o100 endif
|
||||
|
||||
(Current Z Position including offsets in current program units)
|
||||
@@ -46,7 +48,9 @@ o<probe_z_minus_wco> sub
|
||||
G90
|
||||
G1 F[#<probe_traverse_fr>] Z#<z>
|
||||
F[#<probe_fast_fr>]
|
||||
(abort, Probe event did not record point data, aborting)
|
||||
(return from sub)
|
||||
M50 P1
|
||||
o<probe_z_minus_wco> return
|
||||
o110 endif
|
||||
|
||||
(Move to z_clearance height for slow probe)
|
||||
|
||||
@@ -130,7 +130,7 @@ o<rack_id_calc> sub
|
||||
|
||||
o130 endif
|
||||
|
||||
(DEBUG, "Error: No Conditions Met, Rack ID Not Set")
|
||||
(MSG, "Error: No Conditions Met, Rack ID Not Set")
|
||||
#3979 = 0
|
||||
(DEBUG, EVAL[vcp.getWidget{"atc_rack_id"}.setValue{#3979}])
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ o<retractatc> sub
|
||||
M65 P0 ; Turn off carousel out solenoid
|
||||
M64 P1 ; Move Carousel IN
|
||||
|
||||
M66 P0 L3 Q4 ; check carousel in position sensor
|
||||
M66 P0 L3 Q5 ; check carousel in position sensor
|
||||
o100 if [#5399 LT 0]
|
||||
M65 P1 ; turn off the solenoid to send atc home
|
||||
(abort, Failed to send carousel home) ; abort if the sensor does not activate in 5 seconds
|
||||
|
||||
@@ -6,10 +6,13 @@ o100 if [1 EQ 1]
|
||||
o100 endif
|
||||
|
||||
#1000 = #5181
|
||||
(DEBUG, EVAL[vcp.getWidget{"x_tool_change_position"}.setValue{#1000}])
|
||||
|
||||
#1001 = #5182
|
||||
(DEBUG, EVAL[vcp.getWidget{"y_tool_change_position"}.setValue{#1001}])
|
||||
|
||||
#1002 = #5183
|
||||
(DEBUG, EVAL[vcp.getWidget{"z_tool_change_position"}.setValue{#1002}])
|
||||
|
||||
o<set_g30_position> endsub
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
o<surface_test> sub
|
||||
;(DEBUG, SURFACE_TEST.NGC)
|
||||
;(MSG, SURFACE_TEST.NGC)
|
||||
M64 P0 (turn off compensation)
|
||||
;T1 M6 (Install probe)
|
||||
#<x0> = #3050 ;(debug, x0: [#<x0>])
|
||||
|
||||
@@ -72,12 +72,12 @@ o120 endif
|
||||
o130 if [#5070 EQ 1] (verify probe event was succesful)
|
||||
#<z_slow_probe> = #5063 (save slow probe result to parameters)
|
||||
o130 else
|
||||
(abort,Tool Length Offset Probe Failed)
|
||||
(DEBUG,Tool Length Offset Probe Failed)
|
||||
o130 endif
|
||||
|
||||
(Tool Diameter Probe Mode Section, User must define this section as needed)
|
||||
o140 if [#<tool_diameter_probe_mode> EQ 1]
|
||||
(abort, Tool Diameter Probing requires end-user custom subroutine programming, see tool_touch_off.ngc file line 80 to add your customized macro code)
|
||||
(DEBUG, Tool Diameter Probing is Not Defined in Subroutine)
|
||||
o140 endif
|
||||
|
||||
o150 if [3 EQ 3]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(author: Chris P)
|
||||
(version: 0.3)
|
||||
(date: 01/28/26)
|
||||
(version: 0.2)
|
||||
(date: 06/27/24)
|
||||
|
||||
o<toolchange> sub
|
||||
|
||||
@@ -30,7 +30,6 @@ o110 endif
|
||||
o120 if [EXISTS[#<_ini[atc]z_tool_change_height>]]
|
||||
#<atc_z_tool_change_height> = #<_ini[atc]z_tool_change_height>
|
||||
o120 endif
|
||||
|
||||
#<atc_z_tool_clearance_height> = [#<_ini[AXIS_Z]MAX_LIMIT>-0.01]
|
||||
o130 if [EXISTS[#<_ini[atc]z_tool_clearance_height>]]
|
||||
#<atc_z_tool_clearance_height> = #<_ini[atc]z_tool_clearance_height>
|
||||
@@ -71,7 +70,6 @@ o160 do
|
||||
o162 endif
|
||||
#130 = [#130 - 1]
|
||||
o160 while [#130 GT 0]
|
||||
|
||||
o170 if [#<next_pocket> EQ 0] ; if tool is not found, aborts and sends a message
|
||||
(abort, Tool T%d#<selected_tool> not found in carousel)
|
||||
o170 endif
|
||||
@@ -107,6 +105,7 @@ o190 if [#<selected_tool> GT 0] ; selected tool is not tool0
|
||||
(abort, Failed to send carousel home) ; abort if the sensor does not activate in 5 seconds
|
||||
o191 endif
|
||||
M65 P0
|
||||
|
||||
(DEBUG, EVAL[vcp.getWidget{"dynatc"}.store_tool{#<next_pocket>, 0}])
|
||||
M22 ; Carousel out
|
||||
#150 = #<next_pocket>
|
||||
|
||||
@@ -54,7 +54,9 @@ o<toolsetter_wco> sub
|
||||
G90
|
||||
G1 F[#<traverse_fr>] Z#<z>
|
||||
F[#<probe_fast_fr>]
|
||||
(abort, Probe event did not record point data, aborting)
|
||||
(return from sub)
|
||||
M50 P1
|
||||
o<toolsetter_wco> return
|
||||
o110 endif
|
||||
|
||||
(Move to z_clearance height for slow probe)
|
||||
|
||||
15
tool.tbl
15
tool.tbl
@@ -1,7 +1,8 @@
|
||||
T0 P0 ;Probe
|
||||
T1 P0 D+0.850000 Z+20.461301 ;0.85 Flat end mill
|
||||
T2 P0 D+3.175000 Z-0.012833 ;3.175 Flat end mill
|
||||
T3 P0 D+3.175000 ;3.175 Engrave mill 30* 0.2
|
||||
T4 P0 D+6.000000 Z+15.800167 ;6mm Flat end mill
|
||||
T5 P0 D+1.000000 Z+20.472301 ;1mm Flat end mill
|
||||
T6 P0 D+0.800000 ;drill 0.7
|
||||
T1 P0 D+0.850000 Z+20.461301 ; 0.85 Flat end mill
|
||||
T2 P0 D+3.175000 Z+25.214300 ; 3.175 Flat end mill
|
||||
T3 P0 D+3.175000 Z+15.876301 ; 3.175 Engrave mill 30* 0.2
|
||||
T4 P0 D+6.000000 Z+43.291300 ; 6mm Flat end mill
|
||||
T5 P0 D+1.000000 Z+21.335301 ; 1mm Flat end mill
|
||||
T6 P0 D+0.800000 ; drill 0.7
|
||||
T7 P0 D+12.700000 Z+29.722300 ; 12.7 mm flat end mill with baring
|
||||
T8 P0 D+0.500000 Z+19.686300 ; 0.5 FLAT END MILL
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import os
|
||||
import linuxcnc
|
||||
|
||||
from PySide6.QtCore import Qt
|
||||
from PySide6.QtWidgets import QWidget
|
||||
from qtpy import uic
|
||||
from qtpy.QtCore import Qt
|
||||
from qtpy.QtWidgets import QWidget
|
||||
|
||||
from qtpyvcp.plugins import getPlugin
|
||||
from qtpyvcp.utilities import logger
|
||||
import template_user_atc_buttons_ui
|
||||
|
||||
LOG = logger.getLogger(__name__)
|
||||
|
||||
@@ -19,5 +19,5 @@ INI_FILE = linuxcnc.ini(os.getenv('INI_FILE_NAME'))
|
||||
class UserAtcButton(QWidget):
|
||||
def __init__(self, parent=None):
|
||||
super(UserAtcButton, self).__init__(parent)
|
||||
self.ui = template_user_atc_buttons_ui.Ui_USER_ATC_BUTTONS()
|
||||
self.ui.setupUi(self)
|
||||
ui_file = os.path.splitext(os.path.basename(__file__))[0] + ".ui"
|
||||
uic.loadUi(os.path.join(os.path.dirname(__file__), ui_file), self)
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>300</width>
|
||||
<height>478</height>
|
||||
<width>299</width>
|
||||
<height>508</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
@@ -20,7 +20,7 @@
|
||||
<string>User Atc Buttons</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
@@ -89,7 +89,7 @@
|
||||
<number>15</number>
|
||||
</property>
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SizeConstraint::SetFixedSize</enum>
|
||||
<enum>QLayout::SetFixedSize</enum>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>2</number>
|
||||
@@ -130,7 +130,7 @@
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>M11P1 User Defined Macro Call from Subroutine Folder</string>
|
||||
@@ -140,7 +140,7 @@
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -182,17 +182,17 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>M12 P1 User Defined Macro Call from Subroutine Folder</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::RightToLeft</enum>
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -221,7 +221,7 @@
|
||||
<number>15</number>
|
||||
</property>
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SizeConstraint::SetFixedSize</enum>
|
||||
<enum>QLayout::SetFixedSize</enum>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>2</number>
|
||||
@@ -256,7 +256,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">SubCallButton {
|
||||
@@ -266,7 +266,7 @@
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Probe Basic Bebas Mono";
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
@@ -322,7 +322,7 @@ SubCallButton:pressed {
|
||||
</size>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::RightToLeft</enum>
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">SubCallButton {
|
||||
@@ -332,7 +332,7 @@ SubCallButton:pressed {
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Probe Basic Bebas Mono";
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
@@ -414,7 +414,7 @@ SubCallButton:pressed {
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Probe Basic Bebas Mono";
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
@@ -470,7 +470,7 @@ SubCallButton:pressed {
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Probe Basic Bebas Mono";
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
@@ -545,7 +545,7 @@ SubCallButton:pressed {
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Probe Basic Bebas Mono";
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
@@ -594,17 +594,17 @@ SubCallButton:pressed {
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>M112 User Defined Macro Call from Subroutine Folder</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::RightToLeft</enum>
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -668,7 +668,7 @@ SubCallButton:pressed {
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Probe Basic Bebas Mono";
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
@@ -740,7 +740,7 @@ SubCallButton:pressed {
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Probe Basic Bebas Mono";
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
@@ -767,6 +767,19 @@ SubCallButton:pressed {
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_20">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_119">
|
||||
<property name="spacing">
|
||||
@@ -805,14 +818,14 @@ SubCallButton:pressed {
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>M13 User Defined Macro Call from Subroutine Folder</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
|
||||
@@ -1,128 +1,118 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
################################################################################
|
||||
## Form generated from reading UI file 'template_user_atc_buttons.ui'
|
||||
##
|
||||
## Created by: Qt User Interface Compiler version 6.8.2
|
||||
##
|
||||
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
################################################################################
|
||||
# Form implementation generated from reading ui file '/home/buildbot/buildbot/worker/probe_basic-dev/sources/debian/python3-probe-basic/usr/share/configs/machine_setup_files/user_atc_buttons/template_user_atc_buttons/template_user_atc_buttons.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.9
|
||||
#
|
||||
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
||||
# run again. Do not edit this file unless you know what you are doing.
|
||||
|
||||
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
||||
QMetaObject, QObject, QPoint, QRect,
|
||||
QSize, QTime, QUrl, Qt)
|
||||
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
||||
QFont, QFontDatabase, QGradient, QIcon,
|
||||
QImage, QKeySequence, QLinearGradient, QPainter,
|
||||
QPalette, QPixmap, QRadialGradient, QTransform)
|
||||
from PySide6.QtWidgets import (QApplication, QHBoxLayout, QLayout, QSizePolicy,
|
||||
QVBoxLayout, QWidget)
|
||||
|
||||
from qtpyvcp.widgets.button_widgets.mdi_button import MDIButton
|
||||
from qtpyvcp.widgets.button_widgets.subcall_button import SubCallButton
|
||||
import probe_basic_rc
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_USER_ATC_BUTTONS(object):
|
||||
def setupUi(self, USER_ATC_BUTTONS):
|
||||
if not USER_ATC_BUTTONS.objectName():
|
||||
USER_ATC_BUTTONS.setObjectName(u"USER_ATC_BUTTONS")
|
||||
USER_ATC_BUTTONS.resize(300, 478)
|
||||
sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
|
||||
USER_ATC_BUTTONS.setObjectName("USER_ATC_BUTTONS")
|
||||
USER_ATC_BUTTONS.resize(299, 508)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(USER_ATC_BUTTONS.sizePolicy().hasHeightForWidth())
|
||||
USER_ATC_BUTTONS.setSizePolicy(sizePolicy)
|
||||
USER_ATC_BUTTONS.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
|
||||
self.verticalLayout = QVBoxLayout(USER_ATC_BUTTONS)
|
||||
self.verticalLayout.setSpacing(0)
|
||||
self.verticalLayout.setObjectName(u"verticalLayout")
|
||||
USER_ATC_BUTTONS.setLayoutDirection(QtCore.Qt.LeftToRight)
|
||||
self.verticalLayout = QtWidgets.QVBoxLayout(USER_ATC_BUTTONS)
|
||||
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
||||
self.widget_64 = QWidget(USER_ATC_BUTTONS)
|
||||
self.widget_64.setObjectName(u"widget_64")
|
||||
self.verticalLayout.setSpacing(0)
|
||||
self.verticalLayout.setObjectName("verticalLayout")
|
||||
self.widget_64 = QtWidgets.QWidget(USER_ATC_BUTTONS)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.widget_64.sizePolicy().hasHeightForWidth())
|
||||
self.widget_64.setSizePolicy(sizePolicy)
|
||||
self.widget_64.setMinimumSize(QSize(300, 0))
|
||||
self.widget_64.setMaximumSize(QSize(300, 16777215))
|
||||
self.widget_64.setStyleSheet(u".QWidget {\n"
|
||||
self.widget_64.setMinimumSize(QtCore.QSize(300, 0))
|
||||
self.widget_64.setMaximumSize(QtCore.QSize(300, 16777215))
|
||||
self.widget_64.setStyleSheet(".QWidget {\n"
|
||||
" background-color: rgb(51, 57, 59);\n"
|
||||
" border-style: solid;\n"
|
||||
" border-color: rgb(186, 189, 182);\n"
|
||||
" border-width: 2px;\n"
|
||||
" border-radius: 6px;\n"
|
||||
"}")
|
||||
self.verticalLayout_66 = QVBoxLayout(self.widget_64)
|
||||
self.verticalLayout_66.setSpacing(16)
|
||||
self.verticalLayout_66.setObjectName(u"verticalLayout_66")
|
||||
self.widget_64.setObjectName("widget_64")
|
||||
self.verticalLayout_66 = QtWidgets.QVBoxLayout(self.widget_64)
|
||||
self.verticalLayout_66.setContentsMargins(20, 18, 20, 21)
|
||||
self.horizontalLayout_115 = QHBoxLayout()
|
||||
self.horizontalLayout_115.setSpacing(15)
|
||||
self.horizontalLayout_115.setObjectName(u"horizontalLayout_115")
|
||||
self.horizontalLayout_115.setSizeConstraint(QLayout.SizeConstraint.SetFixedSize)
|
||||
self.verticalLayout_66.setSpacing(16)
|
||||
self.verticalLayout_66.setObjectName("verticalLayout_66")
|
||||
self.horizontalLayout_115 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_115.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
|
||||
self.horizontalLayout_115.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_115.setSpacing(15)
|
||||
self.horizontalLayout_115.setObjectName("horizontalLayout_115")
|
||||
self.atc_rev_button = MDIButton(self.widget_64)
|
||||
self.atc_rev_button.setObjectName(u"atc_rev_button")
|
||||
sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
|
||||
sizePolicy1.setHorizontalStretch(1)
|
||||
sizePolicy1.setVerticalStretch(0)
|
||||
sizePolicy1.setHeightForWidth(self.atc_rev_button.sizePolicy().hasHeightForWidth())
|
||||
self.atc_rev_button.setSizePolicy(sizePolicy1)
|
||||
self.atc_rev_button.setMinimumSize(QSize(120, 45))
|
||||
self.atc_rev_button.setMaximumSize(QSize(16777215, 45))
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.atc_rev_button.sizePolicy().hasHeightForWidth())
|
||||
self.atc_rev_button.setSizePolicy(sizePolicy)
|
||||
self.atc_rev_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.atc_rev_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.atc_rev_button.setMouseTracking(True)
|
||||
self.atc_rev_button.setTabletTracking(False)
|
||||
self.atc_rev_button.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
self.atc_rev_button.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.atc_rev_button.setToolTipDuration(-1)
|
||||
self.atc_rev_button.setStyleSheet(u"MDIButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
self.atc_rev_button.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
icon = QIcon()
|
||||
icon.addFile(u":/images/ccw_arrow.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
icon = QtGui.QIcon()
|
||||
icon.addPixmap(QtGui.QPixmap(":/images/ccw_arrow.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.atc_rev_button.setIcon(icon)
|
||||
self.atc_rev_button.setIconSize(QSize(20, 20))
|
||||
|
||||
self.atc_rev_button.setIconSize(QtCore.QSize(20, 20))
|
||||
self.atc_rev_button.setObjectName("atc_rev_button")
|
||||
self.horizontalLayout_115.addWidget(self.atc_rev_button)
|
||||
|
||||
self.atc_fwd_button = MDIButton(self.widget_64)
|
||||
self.atc_fwd_button.setObjectName(u"atc_fwd_button")
|
||||
sizePolicy1.setHeightForWidth(self.atc_fwd_button.sizePolicy().hasHeightForWidth())
|
||||
self.atc_fwd_button.setSizePolicy(sizePolicy1)
|
||||
self.atc_fwd_button.setMinimumSize(QSize(120, 45))
|
||||
self.atc_fwd_button.setMaximumSize(QSize(16777215, 45))
|
||||
self.atc_fwd_button.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
self.atc_fwd_button.setLayoutDirection(Qt.LayoutDirection.RightToLeft)
|
||||
self.atc_fwd_button.setStyleSheet(u"MDIButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.atc_fwd_button.sizePolicy().hasHeightForWidth())
|
||||
self.atc_fwd_button.setSizePolicy(sizePolicy)
|
||||
self.atc_fwd_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.atc_fwd_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.atc_fwd_button.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.atc_fwd_button.setLayoutDirection(QtCore.Qt.RightToLeft)
|
||||
self.atc_fwd_button.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
icon1 = QIcon()
|
||||
icon1.addFile(u":/images/cw_arrow.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
icon1 = QtGui.QIcon()
|
||||
icon1.addPixmap(QtGui.QPixmap(":/images/cw_arrow.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.atc_fwd_button.setIcon(icon1)
|
||||
self.atc_fwd_button.setIconSize(QSize(20, 20))
|
||||
|
||||
self.atc_fwd_button.setIconSize(QtCore.QSize(20, 20))
|
||||
self.atc_fwd_button.setObjectName("atc_fwd_button")
|
||||
self.horizontalLayout_115.addWidget(self.atc_fwd_button)
|
||||
|
||||
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_115)
|
||||
|
||||
self.horizontalLayout_116 = QHBoxLayout()
|
||||
self.horizontalLayout_116.setSpacing(15)
|
||||
self.horizontalLayout_116.setObjectName(u"horizontalLayout_116")
|
||||
self.horizontalLayout_116.setSizeConstraint(QLayout.SizeConstraint.SetFixedSize)
|
||||
self.horizontalLayout_116 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_116.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
|
||||
self.horizontalLayout_116.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_116.setSpacing(15)
|
||||
self.horizontalLayout_116.setObjectName("horizontalLayout_116")
|
||||
self.atc_retract_button = SubCallButton(self.widget_64)
|
||||
self.atc_retract_button.setObjectName(u"atc_retract_button")
|
||||
sizePolicy1.setHeightForWidth(self.atc_retract_button.sizePolicy().hasHeightForWidth())
|
||||
self.atc_retract_button.setSizePolicy(sizePolicy1)
|
||||
self.atc_retract_button.setMinimumSize(QSize(120, 45))
|
||||
self.atc_retract_button.setMaximumSize(QSize(16777215, 45))
|
||||
self.atc_retract_button.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
|
||||
self.atc_retract_button.setStyleSheet(u"SubCallButton {\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.atc_retract_button.sizePolicy().hasHeightForWidth())
|
||||
self.atc_retract_button.setSizePolicy(sizePolicy)
|
||||
self.atc_retract_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.atc_retract_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.atc_retract_button.setLayoutDirection(QtCore.Qt.LeftToRight)
|
||||
self.atc_retract_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Probe Basic Bebas Mono\";\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
@@ -138,28 +128,29 @@ class Ui_USER_ATC_BUTTONS(object):
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
icon2 = QIcon()
|
||||
icon2.addFile(u":/images/left_arrow.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
icon2 = QtGui.QIcon()
|
||||
icon2.addPixmap(QtGui.QPixmap(":/images/left_arrow.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.atc_retract_button.setIcon(icon2)
|
||||
self.atc_retract_button.setIconSize(QSize(20, 20))
|
||||
|
||||
self.atc_retract_button.setIconSize(QtCore.QSize(20, 20))
|
||||
self.atc_retract_button.setObjectName("atc_retract_button")
|
||||
self.horizontalLayout_116.addWidget(self.atc_retract_button)
|
||||
|
||||
self.atc_extend_button = SubCallButton(self.widget_64)
|
||||
self.atc_extend_button.setObjectName(u"atc_extend_button")
|
||||
sizePolicy1.setHeightForWidth(self.atc_extend_button.sizePolicy().hasHeightForWidth())
|
||||
self.atc_extend_button.setSizePolicy(sizePolicy1)
|
||||
self.atc_extend_button.setMinimumSize(QSize(120, 45))
|
||||
self.atc_extend_button.setMaximumSize(QSize(16777215, 45))
|
||||
self.atc_extend_button.setLayoutDirection(Qt.LayoutDirection.RightToLeft)
|
||||
self.atc_extend_button.setStyleSheet(u"SubCallButton {\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.atc_extend_button.sizePolicy().hasHeightForWidth())
|
||||
self.atc_extend_button.setSizePolicy(sizePolicy)
|
||||
self.atc_extend_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.atc_extend_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.atc_extend_button.setLayoutDirection(QtCore.Qt.RightToLeft)
|
||||
self.atc_extend_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Probe Basic Bebas Mono\";\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
@@ -175,34 +166,33 @@ class Ui_USER_ATC_BUTTONS(object):
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
icon3 = QIcon()
|
||||
icon3.addFile(u":/images/right_arrow.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
icon3 = QtGui.QIcon()
|
||||
icon3.addPixmap(QtGui.QPixmap(":/images/right_arrow.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.atc_extend_button.setIcon(icon3)
|
||||
self.atc_extend_button.setIconSize(QSize(20, 20))
|
||||
|
||||
self.atc_extend_button.setIconSize(QtCore.QSize(20, 20))
|
||||
self.atc_extend_button.setObjectName("atc_extend_button")
|
||||
self.horizontalLayout_116.addWidget(self.atc_extend_button)
|
||||
|
||||
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_116)
|
||||
|
||||
self.horizontalLayout_117 = QHBoxLayout()
|
||||
self.horizontalLayout_117.setSpacing(15)
|
||||
self.horizontalLayout_117.setObjectName(u"horizontalLayout_117")
|
||||
self.horizontalLayout_117 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_117.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_117.setSpacing(15)
|
||||
self.horizontalLayout_117.setObjectName("horizontalLayout_117")
|
||||
self.clamp_tool_button = SubCallButton(self.widget_64)
|
||||
self.clamp_tool_button.setObjectName(u"clamp_tool_button")
|
||||
sizePolicy1.setHeightForWidth(self.clamp_tool_button.sizePolicy().hasHeightForWidth())
|
||||
self.clamp_tool_button.setSizePolicy(sizePolicy1)
|
||||
self.clamp_tool_button.setMinimumSize(QSize(120, 45))
|
||||
self.clamp_tool_button.setMaximumSize(QSize(16777215, 45))
|
||||
self.clamp_tool_button.setStyleSheet(u"SubCallButton {\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.clamp_tool_button.sizePolicy().hasHeightForWidth())
|
||||
self.clamp_tool_button.setSizePolicy(sizePolicy)
|
||||
self.clamp_tool_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.clamp_tool_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.clamp_tool_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Probe Basic Bebas Mono\";\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
@@ -218,24 +208,25 @@ class Ui_USER_ATC_BUTTONS(object):
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
|
||||
self.clamp_tool_button.setObjectName("clamp_tool_button")
|
||||
self.horizontalLayout_117.addWidget(self.clamp_tool_button)
|
||||
|
||||
self.release_tool_button = SubCallButton(self.widget_64)
|
||||
self.release_tool_button.setObjectName(u"release_tool_button")
|
||||
self.release_tool_button.setEnabled(True)
|
||||
sizePolicy1.setHeightForWidth(self.release_tool_button.sizePolicy().hasHeightForWidth())
|
||||
self.release_tool_button.setSizePolicy(sizePolicy1)
|
||||
self.release_tool_button.setMinimumSize(QSize(120, 45))
|
||||
self.release_tool_button.setMaximumSize(QSize(16777215, 45))
|
||||
self.release_tool_button.setStyleSheet(u"SubCallButton {\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.release_tool_button.sizePolicy().hasHeightForWidth())
|
||||
self.release_tool_button.setSizePolicy(sizePolicy)
|
||||
self.release_tool_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.release_tool_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.release_tool_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Probe Basic Bebas Mono\";\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
@@ -251,30 +242,29 @@ class Ui_USER_ATC_BUTTONS(object):
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
|
||||
self.release_tool_button.setObjectName("release_tool_button")
|
||||
self.horizontalLayout_117.addWidget(self.release_tool_button)
|
||||
|
||||
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_117)
|
||||
|
||||
self.horizontalLayout_152 = QHBoxLayout()
|
||||
self.horizontalLayout_152.setSpacing(15)
|
||||
self.horizontalLayout_152.setObjectName(u"horizontalLayout_152")
|
||||
self.horizontalLayout_152 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_152.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_152.setSpacing(15)
|
||||
self.horizontalLayout_152.setObjectName("horizontalLayout_152")
|
||||
self.spindle_orientation = SubCallButton(self.widget_64)
|
||||
self.spindle_orientation.setObjectName(u"spindle_orientation")
|
||||
sizePolicy1.setHeightForWidth(self.spindle_orientation.sizePolicy().hasHeightForWidth())
|
||||
self.spindle_orientation.setSizePolicy(sizePolicy1)
|
||||
self.spindle_orientation.setMinimumSize(QSize(120, 45))
|
||||
self.spindle_orientation.setMaximumSize(QSize(16777215, 45))
|
||||
self.spindle_orientation.setStyleSheet(u"SubCallButton {\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.spindle_orientation.sizePolicy().hasHeightForWidth())
|
||||
self.spindle_orientation.setSizePolicy(sizePolicy)
|
||||
self.spindle_orientation.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.spindle_orientation.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.spindle_orientation.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Probe Basic Bebas Mono\";\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
@@ -291,45 +281,45 @@ class Ui_USER_ATC_BUTTONS(object):
|
||||
"}\n"
|
||||
"")
|
||||
self.spindle_orientation.setCheckable(True)
|
||||
|
||||
self.spindle_orientation.setObjectName("spindle_orientation")
|
||||
self.horizontalLayout_152.addWidget(self.spindle_orientation)
|
||||
|
||||
self.unlock_spindle = MDIButton(self.widget_64)
|
||||
self.unlock_spindle.setObjectName(u"unlock_spindle")
|
||||
sizePolicy1.setHeightForWidth(self.unlock_spindle.sizePolicy().hasHeightForWidth())
|
||||
self.unlock_spindle.setSizePolicy(sizePolicy1)
|
||||
self.unlock_spindle.setMinimumSize(QSize(120, 45))
|
||||
self.unlock_spindle.setMaximumSize(QSize(16777215, 45))
|
||||
self.unlock_spindle.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
self.unlock_spindle.setLayoutDirection(Qt.LayoutDirection.RightToLeft)
|
||||
self.unlock_spindle.setStyleSheet(u"MDIButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.unlock_spindle.sizePolicy().hasHeightForWidth())
|
||||
self.unlock_spindle.setSizePolicy(sizePolicy)
|
||||
self.unlock_spindle.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.unlock_spindle.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.unlock_spindle.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.unlock_spindle.setLayoutDirection(QtCore.Qt.RightToLeft)
|
||||
self.unlock_spindle.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.unlock_spindle.setIconSize(QSize(20, 20))
|
||||
|
||||
self.unlock_spindle.setIconSize(QtCore.QSize(20, 20))
|
||||
self.unlock_spindle.setObjectName("unlock_spindle")
|
||||
self.horizontalLayout_152.addWidget(self.unlock_spindle)
|
||||
|
||||
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_152)
|
||||
|
||||
self.horizontalLayout_174 = QHBoxLayout()
|
||||
self.horizontalLayout_174.setSpacing(15)
|
||||
self.horizontalLayout_174.setObjectName(u"horizontalLayout_174")
|
||||
self.horizontalLayout_174 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_174.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_174.setSpacing(15)
|
||||
self.horizontalLayout_174.setObjectName("horizontalLayout_174")
|
||||
self.move_head_above_carousel_button = SubCallButton(self.widget_64)
|
||||
self.move_head_above_carousel_button.setObjectName(u"move_head_above_carousel_button")
|
||||
sizePolicy1.setHeightForWidth(self.move_head_above_carousel_button.sizePolicy().hasHeightForWidth())
|
||||
self.move_head_above_carousel_button.setSizePolicy(sizePolicy1)
|
||||
self.move_head_above_carousel_button.setMinimumSize(QSize(120, 45))
|
||||
self.move_head_above_carousel_button.setMaximumSize(QSize(16777215, 45))
|
||||
self.move_head_above_carousel_button.setStyleSheet(u"SubCallButton {\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.move_head_above_carousel_button.sizePolicy().hasHeightForWidth())
|
||||
self.move_head_above_carousel_button.setSizePolicy(sizePolicy)
|
||||
self.move_head_above_carousel_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.move_head_above_carousel_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.move_head_above_carousel_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Probe Basic Bebas Mono\";\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
@@ -345,30 +335,29 @@ class Ui_USER_ATC_BUTTONS(object):
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
|
||||
self.move_head_above_carousel_button.setObjectName("move_head_above_carousel_button")
|
||||
self.horizontalLayout_174.addWidget(self.move_head_above_carousel_button)
|
||||
|
||||
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_174)
|
||||
|
||||
self.horizontalLayout_118 = QHBoxLayout()
|
||||
self.horizontalLayout_118.setSpacing(15)
|
||||
self.horizontalLayout_118.setObjectName(u"horizontalLayout_118")
|
||||
self.horizontalLayout_118 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_118.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_118.setSpacing(15)
|
||||
self.horizontalLayout_118.setObjectName("horizontalLayout_118")
|
||||
self.move_tool_to_carousel_height_button = SubCallButton(self.widget_64)
|
||||
self.move_tool_to_carousel_height_button.setObjectName(u"move_tool_to_carousel_height_button")
|
||||
sizePolicy1.setHeightForWidth(self.move_tool_to_carousel_height_button.sizePolicy().hasHeightForWidth())
|
||||
self.move_tool_to_carousel_height_button.setSizePolicy(sizePolicy1)
|
||||
self.move_tool_to_carousel_height_button.setMinimumSize(QSize(120, 45))
|
||||
self.move_tool_to_carousel_height_button.setMaximumSize(QSize(16777215, 45))
|
||||
self.move_tool_to_carousel_height_button.setStyleSheet(u"SubCallButton {\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.move_tool_to_carousel_height_button.sizePolicy().hasHeightForWidth())
|
||||
self.move_tool_to_carousel_height_button.setSizePolicy(sizePolicy)
|
||||
self.move_tool_to_carousel_height_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.move_tool_to_carousel_height_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.move_tool_to_carousel_height_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Probe Basic Bebas Mono\";\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
@@ -384,78 +373,73 @@ class Ui_USER_ATC_BUTTONS(object):
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
|
||||
self.move_tool_to_carousel_height_button.setObjectName("move_tool_to_carousel_height_button")
|
||||
self.horizontalLayout_118.addWidget(self.move_tool_to_carousel_height_button)
|
||||
|
||||
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_118)
|
||||
|
||||
self.horizontalLayout_119 = QHBoxLayout()
|
||||
self.horizontalLayout_119.setSpacing(15)
|
||||
self.horizontalLayout_119.setObjectName(u"horizontalLayout_119")
|
||||
self.label_20 = QtWidgets.QLabel(self.widget_64)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_20.sizePolicy().hasHeightForWidth())
|
||||
self.label_20.setSizePolicy(sizePolicy)
|
||||
self.label_20.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.label_20.setObjectName("label_20")
|
||||
self.verticalLayout_66.addWidget(self.label_20)
|
||||
self.horizontalLayout_119 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_119.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_119.setSpacing(15)
|
||||
self.horizontalLayout_119.setObjectName("horizontalLayout_119")
|
||||
self.reference_carousel = MDIButton(self.widget_64)
|
||||
self.reference_carousel.setObjectName(u"reference_carousel")
|
||||
sizePolicy1.setHeightForWidth(self.reference_carousel.sizePolicy().hasHeightForWidth())
|
||||
self.reference_carousel.setSizePolicy(sizePolicy1)
|
||||
self.reference_carousel.setMinimumSize(QSize(125, 45))
|
||||
self.reference_carousel.setMaximumSize(QSize(16777215, 45))
|
||||
self.reference_carousel.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
self.reference_carousel.setStyleSheet(u"MDIButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.reference_carousel.sizePolicy().hasHeightForWidth())
|
||||
self.reference_carousel.setSizePolicy(sizePolicy)
|
||||
self.reference_carousel.setMinimumSize(QtCore.QSize(125, 45))
|
||||
self.reference_carousel.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.reference_carousel.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.reference_carousel.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.reference_carousel.setIconSize(QSize(20, 20))
|
||||
|
||||
self.reference_carousel.setIconSize(QtCore.QSize(20, 20))
|
||||
self.reference_carousel.setObjectName("reference_carousel")
|
||||
self.horizontalLayout_119.addWidget(self.reference_carousel)
|
||||
|
||||
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_119)
|
||||
|
||||
|
||||
self.verticalLayout.addWidget(self.widget_64)
|
||||
|
||||
|
||||
self.retranslateUi(USER_ATC_BUTTONS)
|
||||
|
||||
QMetaObject.connectSlotsByName(USER_ATC_BUTTONS)
|
||||
# setupUi
|
||||
QtCore.QMetaObject.connectSlotsByName(USER_ATC_BUTTONS)
|
||||
|
||||
def retranslateUi(self, USER_ATC_BUTTONS):
|
||||
USER_ATC_BUTTONS.setWindowTitle(QCoreApplication.translate("USER_ATC_BUTTONS", u"User Atc Buttons", None))
|
||||
#if QT_CONFIG(tooltip)
|
||||
self.atc_rev_button.setToolTip(QCoreApplication.translate("USER_ATC_BUTTONS", u"M11P1 User Defined Macro Call from Subroutine Folder", None))
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
self.atc_rev_button.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u" ATC REV", None))
|
||||
self.atc_rev_button.setProperty(u"MDICommand", QCoreApplication.translate("USER_ATC_BUTTONS", u"M12P1", None))
|
||||
#if QT_CONFIG(tooltip)
|
||||
self.atc_fwd_button.setToolTip(QCoreApplication.translate("USER_ATC_BUTTONS", u"M12 P1 User Defined Macro Call from Subroutine Folder", None))
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
self.atc_fwd_button.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u" ATC FWD ", None))
|
||||
self.atc_fwd_button.setProperty(u"MDICommand", QCoreApplication.translate("USER_ATC_BUTTONS", u"M11P1", None))
|
||||
self.atc_retract_button.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u" ATC RETRACT", None))
|
||||
self.atc_retract_button.setProperty(u"filename", QCoreApplication.translate("USER_ATC_BUTTONS", u"retractatc.ngc", None))
|
||||
self.atc_extend_button.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"ATC EXTEND ", None))
|
||||
self.atc_extend_button.setProperty(u"filename", QCoreApplication.translate("USER_ATC_BUTTONS", u"extendatc.ngc", None))
|
||||
self.clamp_tool_button.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"CLAMP TOOL", None))
|
||||
self.clamp_tool_button.setProperty(u"filename", QCoreApplication.translate("USER_ATC_BUTTONS", u"clamptool.ngc", None))
|
||||
self.release_tool_button.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"RELEASE TOOL", None))
|
||||
self.release_tool_button.setProperty(u"rules", QCoreApplication.translate("USER_ATC_BUTTONS", u"[{\"name\": \"New Rule\", \"property\": \"Enable\", \"expression\": \"not ch[0]\", \"channels\": [{\"url\": \"status:spindle.0.enabled\", \"trigger\": true}]}]", None))
|
||||
self.release_tool_button.setProperty(u"filename", QCoreApplication.translate("USER_ATC_BUTTONS", u"unclamptool.ngc", None))
|
||||
self.spindle_orientation.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"ORIENT SPINDLE", None))
|
||||
self.spindle_orientation.setProperty(u"filename", QCoreApplication.translate("USER_ATC_BUTTONS", u"orientspindle.ngc", None))
|
||||
#if QT_CONFIG(tooltip)
|
||||
self.unlock_spindle.setToolTip(QCoreApplication.translate("USER_ATC_BUTTONS", u"M112 User Defined Macro Call from Subroutine Folder", None))
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
self.unlock_spindle.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"UNLOCK SPINDLE", None))
|
||||
self.unlock_spindle.setProperty(u"MDICommand", QCoreApplication.translate("USER_ATC_BUTTONS", u"M5", None))
|
||||
self.move_head_above_carousel_button.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"MOVE HEAD ABOVE CAROUSEL", None))
|
||||
self.move_head_above_carousel_button.setProperty(u"filename", QCoreApplication.translate("USER_ATC_BUTTONS", u"move_head_above_carousel.ngc", None))
|
||||
self.move_tool_to_carousel_height_button.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"MOVE TOOL TO CAROUSEL HEIGHT", None))
|
||||
self.move_tool_to_carousel_height_button.setProperty(u"filename", QCoreApplication.translate("USER_ATC_BUTTONS", u"move_tool_to_carousel_height.ngc", None))
|
||||
#if QT_CONFIG(tooltip)
|
||||
self.reference_carousel.setToolTip(QCoreApplication.translate("USER_ATC_BUTTONS", u"M13 User Defined Macro Call from Subroutine Folder", None))
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
self.reference_carousel.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"REF CAROUSEL", None))
|
||||
self.reference_carousel.setProperty(u"MDICommand", QCoreApplication.translate("USER_ATC_BUTTONS", u"M13", None))
|
||||
# retranslateUi
|
||||
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
USER_ATC_BUTTONS.setWindowTitle(_translate("USER_ATC_BUTTONS", "User Atc Buttons"))
|
||||
self.atc_rev_button.setToolTip(_translate("USER_ATC_BUTTONS", "M11P1 User Defined Macro Call from Subroutine Folder"))
|
||||
self.atc_rev_button.setText(_translate("USER_ATC_BUTTONS", " ATC REV"))
|
||||
self.atc_rev_button.setProperty("MDICommand", _translate("USER_ATC_BUTTONS", "M12P1"))
|
||||
self.atc_fwd_button.setToolTip(_translate("USER_ATC_BUTTONS", "M12 P1 User Defined Macro Call from Subroutine Folder"))
|
||||
self.atc_fwd_button.setText(_translate("USER_ATC_BUTTONS", " ATC FWD "))
|
||||
self.atc_fwd_button.setProperty("MDICommand", _translate("USER_ATC_BUTTONS", "M11P1"))
|
||||
self.atc_retract_button.setText(_translate("USER_ATC_BUTTONS", " ATC RETRACT"))
|
||||
self.atc_retract_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "retractatc.ngc"))
|
||||
self.atc_extend_button.setText(_translate("USER_ATC_BUTTONS", "ATC EXTEND "))
|
||||
self.atc_extend_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "extendatc.ngc"))
|
||||
self.clamp_tool_button.setText(_translate("USER_ATC_BUTTONS", "CLAMP TOOL"))
|
||||
self.clamp_tool_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "clamptool.ngc"))
|
||||
self.release_tool_button.setText(_translate("USER_ATC_BUTTONS", "RELEASE TOOL"))
|
||||
self.release_tool_button.setProperty("rules", _translate("USER_ATC_BUTTONS", "[{\"name\": \"New Rule\", \"property\": \"Enable\", \"expression\": \"not ch[0]\", \"channels\": [{\"url\": \"status:spindle.0.enabled\", \"trigger\": true}]}]"))
|
||||
self.release_tool_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "unclamptool.ngc"))
|
||||
self.spindle_orientation.setText(_translate("USER_ATC_BUTTONS", "ORIENT SPINDLE"))
|
||||
self.spindle_orientation.setProperty("filename", _translate("USER_ATC_BUTTONS", "orientspindle.ngc"))
|
||||
self.unlock_spindle.setToolTip(_translate("USER_ATC_BUTTONS", "M112 User Defined Macro Call from Subroutine Folder"))
|
||||
self.unlock_spindle.setText(_translate("USER_ATC_BUTTONS", "UNLOCK SPINDLE"))
|
||||
self.unlock_spindle.setProperty("MDICommand", _translate("USER_ATC_BUTTONS", "M5"))
|
||||
self.move_head_above_carousel_button.setText(_translate("USER_ATC_BUTTONS", "MOVE HEAD ABOVE CAROUSEL"))
|
||||
self.move_head_above_carousel_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "move_head_above_carousel.ngc"))
|
||||
self.move_tool_to_carousel_height_button.setText(_translate("USER_ATC_BUTTONS", "MOVE TOOL TO CAROUSEL HEIGHT"))
|
||||
self.move_tool_to_carousel_height_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "move_tool_to_carousel_height.ngc"))
|
||||
self.reference_carousel.setToolTip(_translate("USER_ATC_BUTTONS", "M13 User Defined Macro Call from Subroutine Folder"))
|
||||
self.reference_carousel.setText(_translate("USER_ATC_BUTTONS", "REF CAROUSEL"))
|
||||
self.reference_carousel.setProperty("MDICommand", _translate("USER_ATC_BUTTONS", "M13"))
|
||||
from qtpyvcp.widgets.button_widgets.mdi_button import MDIButton
|
||||
from qtpyvcp.widgets.button_widgets.subcall_button import SubCallButton
|
||||
import probe_basic_rc
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import os
|
||||
import linuxcnc
|
||||
|
||||
from PySide6.QtCore import Qt
|
||||
from PySide6.QtWidgets import QWidget
|
||||
from qtpy import uic
|
||||
from qtpy.QtCore import Qt
|
||||
from qtpy.QtWidgets import QWidget
|
||||
|
||||
from qtpyvcp.plugins import getPlugin
|
||||
from qtpyvcp.utilities import logger
|
||||
import template_user_rack_atc_buttons_ui
|
||||
|
||||
LOG = logger.getLogger(__name__)
|
||||
|
||||
@@ -19,8 +19,5 @@ INI_FILE = linuxcnc.ini(os.getenv('INI_FILE_NAME'))
|
||||
class UserRackAtcButton(QWidget):
|
||||
def __init__(self, parent=None):
|
||||
super(UserRackAtcButton, self).__init__(parent)
|
||||
ui_cls = getattr(template_user_rack_atc_buttons_ui, "Ui_USER_RACK_ATC_BUTTONS", None)
|
||||
if ui_cls is None:
|
||||
ui_cls = template_user_rack_atc_buttons_ui.Ui_USER_ATC_BUTTONS
|
||||
self.ui = ui_cls()
|
||||
self.ui.setupUi(self)
|
||||
ui_file = os.path.splitext(os.path.basename(__file__))[0] + ".ui"
|
||||
uic.loadUi(os.path.join(os.path.dirname(__file__), ui_file), self)
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
border-radius: 5px;
|
||||
color: white;
|
||||
background: rgb(90, 90, 90);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
@@ -167,7 +167,7 @@
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -212,7 +212,7 @@
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -276,7 +276,7 @@
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Probe Basic Bebas Mono";
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
@@ -332,7 +332,7 @@ SubCallButton:pressed {
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Probe Basic Bebas Mono";
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
@@ -407,7 +407,7 @@ SubCallButton:pressed {
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Probe Basic Bebas Mono";
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
@@ -466,7 +466,7 @@ SubCallButton:pressed {
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -530,7 +530,7 @@ SubCallButton:pressed {
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Probe Basic Bebas Mono";
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
@@ -583,7 +583,7 @@ SubCallButton:pressed {
|
||||
border-radius: 5px;
|
||||
border-width: 2px;
|
||||
background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));
|
||||
font-family: "Probe Basic Bebas Mono";
|
||||
font-family: "Bebas Kai";
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
@@ -658,7 +658,7 @@ SubCallButton:pressed {
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
|
||||
@@ -1,133 +1,122 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
################################################################################
|
||||
## Form generated from reading UI file 'template_user_rack_atc_buttons.ui'
|
||||
##
|
||||
## Created by: Qt User Interface Compiler version 6.8.2
|
||||
##
|
||||
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
################################################################################
|
||||
# Form implementation generated from reading ui file '/home/buildbot/buildbot/worker/probe_basic-dev/sources/debian/python3-probe-basic/usr/share/configs/machine_setup_files/user_atc_buttons/template_user_rack_atc_buttons/template_user_rack_atc_buttons.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.9
|
||||
#
|
||||
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
||||
# run again. Do not edit this file unless you know what you are doing.
|
||||
|
||||
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
||||
QMetaObject, QObject, QPoint, QRect,
|
||||
QSize, QTime, QUrl, Qt)
|
||||
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
||||
QFont, QFontDatabase, QGradient, QIcon,
|
||||
QImage, QKeySequence, QLinearGradient, QPainter,
|
||||
QPalette, QPixmap, QRadialGradient, QTransform)
|
||||
from PySide6.QtWidgets import (QApplication, QFrame, QHBoxLayout, QLabel,
|
||||
QSizePolicy, QVBoxLayout, QWidget)
|
||||
|
||||
from qtpyvcp.widgets.button_widgets.mdi_button import MDIButton
|
||||
from qtpyvcp.widgets.button_widgets.subcall_button import SubCallButton
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_USER_ATC_BUTTONS(object):
|
||||
def setupUi(self, USER_ATC_BUTTONS):
|
||||
if not USER_ATC_BUTTONS.objectName():
|
||||
USER_ATC_BUTTONS.setObjectName(u"USER_ATC_BUTTONS")
|
||||
USER_ATC_BUTTONS.setObjectName("USER_ATC_BUTTONS")
|
||||
USER_ATC_BUTTONS.resize(300, 429)
|
||||
sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(USER_ATC_BUTTONS.sizePolicy().hasHeightForWidth())
|
||||
USER_ATC_BUTTONS.setSizePolicy(sizePolicy)
|
||||
USER_ATC_BUTTONS.setLayoutDirection(Qt.LeftToRight)
|
||||
self.verticalLayout = QVBoxLayout(USER_ATC_BUTTONS)
|
||||
self.verticalLayout.setSpacing(0)
|
||||
self.verticalLayout.setObjectName(u"verticalLayout")
|
||||
USER_ATC_BUTTONS.setLayoutDirection(QtCore.Qt.LeftToRight)
|
||||
self.verticalLayout = QtWidgets.QVBoxLayout(USER_ATC_BUTTONS)
|
||||
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
||||
self.frame_64 = QFrame(USER_ATC_BUTTONS)
|
||||
self.frame_64.setObjectName(u"frame_64")
|
||||
self.verticalLayout.setSpacing(0)
|
||||
self.verticalLayout.setObjectName("verticalLayout")
|
||||
self.frame_64 = QtWidgets.QFrame(USER_ATC_BUTTONS)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.frame_64.sizePolicy().hasHeightForWidth())
|
||||
self.frame_64.setSizePolicy(sizePolicy)
|
||||
self.frame_64.setMaximumSize(QSize(300, 16777215))
|
||||
self.frame_64.setStyleSheet(u"")
|
||||
self.verticalLayout_66 = QVBoxLayout(self.frame_64)
|
||||
self.verticalLayout_66.setSpacing(16)
|
||||
self.verticalLayout_66.setObjectName(u"verticalLayout_66")
|
||||
self.frame_64.setMaximumSize(QtCore.QSize(300, 16777215))
|
||||
self.frame_64.setStyleSheet("")
|
||||
self.frame_64.setObjectName("frame_64")
|
||||
self.verticalLayout_66 = QtWidgets.QVBoxLayout(self.frame_64)
|
||||
self.verticalLayout_66.setContentsMargins(20, 18, 20, 18)
|
||||
self.work_column_header_8 = QLabel(self.frame_64)
|
||||
self.work_column_header_8.setObjectName(u"work_column_header_8")
|
||||
self.verticalLayout_66.setSpacing(16)
|
||||
self.verticalLayout_66.setObjectName("verticalLayout_66")
|
||||
self.work_column_header_8 = QtWidgets.QLabel(self.frame_64)
|
||||
self.work_column_header_8.setEnabled(True)
|
||||
sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
|
||||
sizePolicy1.setHorizontalStretch(0)
|
||||
sizePolicy1.setVerticalStretch(0)
|
||||
sizePolicy1.setHeightForWidth(self.work_column_header_8.sizePolicy().hasHeightForWidth())
|
||||
self.work_column_header_8.setSizePolicy(sizePolicy1)
|
||||
self.work_column_header_8.setMinimumSize(QSize(0, 38))
|
||||
self.work_column_header_8.setMaximumSize(QSize(16777215, 38))
|
||||
self.work_column_header_8.setStyleSheet(u"QLabel{\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.work_column_header_8.sizePolicy().hasHeightForWidth())
|
||||
self.work_column_header_8.setSizePolicy(sizePolicy)
|
||||
self.work_column_header_8.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.work_column_header_8.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.work_column_header_8.setStyleSheet("QLabel{\n"
|
||||
" border-style: solid;\n"
|
||||
" border-color: rgb(176, 179, 172);\n"
|
||||
" border-width: 2px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: white;\n"
|
||||
" background: rgb(90, 90, 90);\n"
|
||||
" font: 16pt \"Probe Basic Bebas Mono\";\n"
|
||||
" font: 16pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.work_column_header_8.setFrameShape(QFrame.NoFrame)
|
||||
self.work_column_header_8.setAlignment(Qt.AlignCenter)
|
||||
self.work_column_header_8.setFrameShape(QtWidgets.QFrame.NoFrame)
|
||||
self.work_column_header_8.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.work_column_header_8.setWordWrap(True)
|
||||
self.work_column_header_8.setIndent(0)
|
||||
|
||||
self.work_column_header_8.setObjectName("work_column_header_8")
|
||||
self.verticalLayout_66.addWidget(self.work_column_header_8)
|
||||
|
||||
self.horizontalLayout_119 = QHBoxLayout()
|
||||
self.horizontalLayout_119.setSpacing(15)
|
||||
self.horizontalLayout_119.setObjectName(u"horizontalLayout_119")
|
||||
self.horizontalLayout_119 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_119.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_119.setSpacing(15)
|
||||
self.horizontalLayout_119.setObjectName("horizontalLayout_119")
|
||||
self.reference_carousel_3 = MDIButton(self.frame_64)
|
||||
self.reference_carousel_3.setObjectName(u"reference_carousel_3")
|
||||
sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
|
||||
sizePolicy2.setHorizontalStretch(1)
|
||||
sizePolicy2.setVerticalStretch(0)
|
||||
sizePolicy2.setHeightForWidth(self.reference_carousel_3.sizePolicy().hasHeightForWidth())
|
||||
self.reference_carousel_3.setSizePolicy(sizePolicy2)
|
||||
self.reference_carousel_3.setMinimumSize(QSize(120, 45))
|
||||
self.reference_carousel_3.setMaximumSize(QSize(16777215, 45))
|
||||
self.reference_carousel_3.setFocusPolicy(Qt.NoFocus)
|
||||
self.reference_carousel_3.setStyleSheet(u"MDIButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.reference_carousel_3.sizePolicy().hasHeightForWidth())
|
||||
self.reference_carousel_3.setSizePolicy(sizePolicy)
|
||||
self.reference_carousel_3.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.reference_carousel_3.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.reference_carousel_3.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.reference_carousel_3.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.reference_carousel_3.setIconSize(QSize(20, 20))
|
||||
|
||||
self.reference_carousel_3.setIconSize(QtCore.QSize(20, 20))
|
||||
self.reference_carousel_3.setObjectName("reference_carousel_3")
|
||||
self.horizontalLayout_119.addWidget(self.reference_carousel_3)
|
||||
|
||||
self.reference_carousel_4 = MDIButton(self.frame_64)
|
||||
self.reference_carousel_4.setObjectName(u"reference_carousel_4")
|
||||
sizePolicy2.setHeightForWidth(self.reference_carousel_4.sizePolicy().hasHeightForWidth())
|
||||
self.reference_carousel_4.setSizePolicy(sizePolicy2)
|
||||
self.reference_carousel_4.setMinimumSize(QSize(120, 45))
|
||||
self.reference_carousel_4.setMaximumSize(QSize(16777215, 45))
|
||||
self.reference_carousel_4.setFocusPolicy(Qt.NoFocus)
|
||||
self.reference_carousel_4.setStyleSheet(u"MDIButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.reference_carousel_4.sizePolicy().hasHeightForWidth())
|
||||
self.reference_carousel_4.setSizePolicy(sizePolicy)
|
||||
self.reference_carousel_4.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.reference_carousel_4.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.reference_carousel_4.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.reference_carousel_4.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.reference_carousel_4.setIconSize(QSize(20, 20))
|
||||
|
||||
self.reference_carousel_4.setIconSize(QtCore.QSize(20, 20))
|
||||
self.reference_carousel_4.setObjectName("reference_carousel_4")
|
||||
self.horizontalLayout_119.addWidget(self.reference_carousel_4)
|
||||
|
||||
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_119)
|
||||
|
||||
self.horizontalLayout_117 = QHBoxLayout()
|
||||
self.horizontalLayout_117.setSpacing(15)
|
||||
self.horizontalLayout_117.setObjectName(u"horizontalLayout_117")
|
||||
self.horizontalLayout_117 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_117.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_117.setSpacing(15)
|
||||
self.horizontalLayout_117.setObjectName("horizontalLayout_117")
|
||||
self.clamp_tool_button = SubCallButton(self.frame_64)
|
||||
self.clamp_tool_button.setObjectName(u"clamp_tool_button")
|
||||
sizePolicy2.setHeightForWidth(self.clamp_tool_button.sizePolicy().hasHeightForWidth())
|
||||
self.clamp_tool_button.setSizePolicy(sizePolicy2)
|
||||
self.clamp_tool_button.setMinimumSize(QSize(120, 45))
|
||||
self.clamp_tool_button.setMaximumSize(QSize(16777215, 45))
|
||||
self.clamp_tool_button.setStyleSheet(u"SubCallButton {\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.clamp_tool_button.sizePolicy().hasHeightForWidth())
|
||||
self.clamp_tool_button.setSizePolicy(sizePolicy)
|
||||
self.clamp_tool_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.clamp_tool_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.clamp_tool_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Probe Basic Bebas Mono\";\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
@@ -143,24 +132,25 @@ class Ui_USER_ATC_BUTTONS(object):
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
|
||||
self.clamp_tool_button.setObjectName("clamp_tool_button")
|
||||
self.horizontalLayout_117.addWidget(self.clamp_tool_button)
|
||||
|
||||
self.release_tool_button = SubCallButton(self.frame_64)
|
||||
self.release_tool_button.setObjectName(u"release_tool_button")
|
||||
self.release_tool_button.setEnabled(False)
|
||||
sizePolicy2.setHeightForWidth(self.release_tool_button.sizePolicy().hasHeightForWidth())
|
||||
self.release_tool_button.setSizePolicy(sizePolicy2)
|
||||
self.release_tool_button.setMinimumSize(QSize(120, 45))
|
||||
self.release_tool_button.setMaximumSize(QSize(16777215, 45))
|
||||
self.release_tool_button.setStyleSheet(u"SubCallButton {\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.release_tool_button.sizePolicy().hasHeightForWidth())
|
||||
self.release_tool_button.setSizePolicy(sizePolicy)
|
||||
self.release_tool_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.release_tool_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.release_tool_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Probe Basic Bebas Mono\";\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
@@ -176,30 +166,29 @@ class Ui_USER_ATC_BUTTONS(object):
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
|
||||
self.release_tool_button.setObjectName("release_tool_button")
|
||||
self.horizontalLayout_117.addWidget(self.release_tool_button)
|
||||
|
||||
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_117)
|
||||
|
||||
self.horizontalLayout_152 = QHBoxLayout()
|
||||
self.horizontalLayout_152.setSpacing(15)
|
||||
self.horizontalLayout_152.setObjectName(u"horizontalLayout_152")
|
||||
self.horizontalLayout_152 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_152.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_152.setSpacing(15)
|
||||
self.horizontalLayout_152.setObjectName("horizontalLayout_152")
|
||||
self.spindle_orientation = SubCallButton(self.frame_64)
|
||||
self.spindle_orientation.setObjectName(u"spindle_orientation")
|
||||
sizePolicy2.setHeightForWidth(self.spindle_orientation.sizePolicy().hasHeightForWidth())
|
||||
self.spindle_orientation.setSizePolicy(sizePolicy2)
|
||||
self.spindle_orientation.setMinimumSize(QSize(120, 45))
|
||||
self.spindle_orientation.setMaximumSize(QSize(16777215, 45))
|
||||
self.spindle_orientation.setStyleSheet(u"SubCallButton {\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.spindle_orientation.sizePolicy().hasHeightForWidth())
|
||||
self.spindle_orientation.setSizePolicy(sizePolicy)
|
||||
self.spindle_orientation.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.spindle_orientation.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.spindle_orientation.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Probe Basic Bebas Mono\";\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
@@ -216,45 +205,45 @@ class Ui_USER_ATC_BUTTONS(object):
|
||||
"}\n"
|
||||
"")
|
||||
self.spindle_orientation.setCheckable(True)
|
||||
|
||||
self.spindle_orientation.setObjectName("spindle_orientation")
|
||||
self.horizontalLayout_152.addWidget(self.spindle_orientation)
|
||||
|
||||
self.unlock_spindle = MDIButton(self.frame_64)
|
||||
self.unlock_spindle.setObjectName(u"unlock_spindle")
|
||||
sizePolicy2.setHeightForWidth(self.unlock_spindle.sizePolicy().hasHeightForWidth())
|
||||
self.unlock_spindle.setSizePolicy(sizePolicy2)
|
||||
self.unlock_spindle.setMinimumSize(QSize(120, 45))
|
||||
self.unlock_spindle.setMaximumSize(QSize(16777215, 45))
|
||||
self.unlock_spindle.setFocusPolicy(Qt.NoFocus)
|
||||
self.unlock_spindle.setLayoutDirection(Qt.RightToLeft)
|
||||
self.unlock_spindle.setStyleSheet(u"MDIButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.unlock_spindle.sizePolicy().hasHeightForWidth())
|
||||
self.unlock_spindle.setSizePolicy(sizePolicy)
|
||||
self.unlock_spindle.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.unlock_spindle.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.unlock_spindle.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.unlock_spindle.setLayoutDirection(QtCore.Qt.RightToLeft)
|
||||
self.unlock_spindle.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.unlock_spindle.setIconSize(QSize(20, 20))
|
||||
|
||||
self.unlock_spindle.setIconSize(QtCore.QSize(20, 20))
|
||||
self.unlock_spindle.setObjectName("unlock_spindle")
|
||||
self.horizontalLayout_152.addWidget(self.unlock_spindle)
|
||||
|
||||
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_152)
|
||||
|
||||
self.horizontalLayout_174 = QHBoxLayout()
|
||||
self.horizontalLayout_174.setSpacing(15)
|
||||
self.horizontalLayout_174.setObjectName(u"horizontalLayout_174")
|
||||
self.horizontalLayout_174 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_174.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_174.setSpacing(15)
|
||||
self.horizontalLayout_174.setObjectName("horizontalLayout_174")
|
||||
self.move_head_above_carousel_button = SubCallButton(self.frame_64)
|
||||
self.move_head_above_carousel_button.setObjectName(u"move_head_above_carousel_button")
|
||||
sizePolicy2.setHeightForWidth(self.move_head_above_carousel_button.sizePolicy().hasHeightForWidth())
|
||||
self.move_head_above_carousel_button.setSizePolicy(sizePolicy2)
|
||||
self.move_head_above_carousel_button.setMinimumSize(QSize(120, 45))
|
||||
self.move_head_above_carousel_button.setMaximumSize(QSize(16777215, 45))
|
||||
self.move_head_above_carousel_button.setStyleSheet(u"SubCallButton {\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.move_head_above_carousel_button.sizePolicy().hasHeightForWidth())
|
||||
self.move_head_above_carousel_button.setSizePolicy(sizePolicy)
|
||||
self.move_head_above_carousel_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.move_head_above_carousel_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.move_head_above_carousel_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Probe Basic Bebas Mono\";\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
@@ -270,23 +259,24 @@ class Ui_USER_ATC_BUTTONS(object):
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
|
||||
self.move_head_above_carousel_button.setObjectName("move_head_above_carousel_button")
|
||||
self.horizontalLayout_174.addWidget(self.move_head_above_carousel_button)
|
||||
|
||||
self.move_tool_to_carousel_height_button = SubCallButton(self.frame_64)
|
||||
self.move_tool_to_carousel_height_button.setObjectName(u"move_tool_to_carousel_height_button")
|
||||
sizePolicy2.setHeightForWidth(self.move_tool_to_carousel_height_button.sizePolicy().hasHeightForWidth())
|
||||
self.move_tool_to_carousel_height_button.setSizePolicy(sizePolicy2)
|
||||
self.move_tool_to_carousel_height_button.setMinimumSize(QSize(120, 45))
|
||||
self.move_tool_to_carousel_height_button.setMaximumSize(QSize(16777215, 45))
|
||||
self.move_tool_to_carousel_height_button.setStyleSheet(u"SubCallButton {\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.move_tool_to_carousel_height_button.sizePolicy().hasHeightForWidth())
|
||||
self.move_tool_to_carousel_height_button.setSizePolicy(sizePolicy)
|
||||
self.move_tool_to_carousel_height_button.setMinimumSize(QtCore.QSize(120, 45))
|
||||
self.move_tool_to_carousel_height_button.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.move_tool_to_carousel_height_button.setStyleSheet("SubCallButton {\n"
|
||||
" color: white;\n"
|
||||
" border-color: black;\n"
|
||||
" border-style: solid;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-width: 2px;\n"
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(213, 218, 216, 255), stop:0.169312 rgba(82, 82, 83, 255), stop:0.328042 rgba(72, 70, 73, 255), stop:0.492063 rgba(78, 77, 79, 255), stop:0.703704 rgba(72, 70, 73, 255), stop:0.86 rgba(82, 82, 83, 255), stop:1 rgba(213, 218, 216, 255));\n"
|
||||
" font-family: \"Probe Basic Bebas Mono\";\n"
|
||||
" font-family: \"Bebas Kai\";\n"
|
||||
" font-size: 15pt;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
@@ -302,80 +292,63 @@ class Ui_USER_ATC_BUTTONS(object):
|
||||
" background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(85, 85, 238, 255), stop:0.544974 rgba(90, 91, 239, 255), stop:1 rgba(126, 135, 243, 255));\n"
|
||||
"}\n"
|
||||
"")
|
||||
|
||||
self.move_tool_to_carousel_height_button.setObjectName("move_tool_to_carousel_height_button")
|
||||
self.horizontalLayout_174.addWidget(self.move_tool_to_carousel_height_button)
|
||||
|
||||
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_174)
|
||||
|
||||
self.widget_10 = QWidget(self.frame_64)
|
||||
self.widget_10.setObjectName(u"widget_10")
|
||||
|
||||
self.widget_10 = QtWidgets.QWidget(self.frame_64)
|
||||
self.widget_10.setObjectName("widget_10")
|
||||
self.verticalLayout_66.addWidget(self.widget_10)
|
||||
|
||||
self.horizontalLayout_159 = QHBoxLayout()
|
||||
self.horizontalLayout_159.setSpacing(15)
|
||||
self.horizontalLayout_159.setObjectName(u"horizontalLayout_159")
|
||||
self.horizontalLayout_159 = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout_159.setContentsMargins(2, 2, 2, 2)
|
||||
self.horizontalLayout_159.setSpacing(15)
|
||||
self.horizontalLayout_159.setObjectName("horizontalLayout_159")
|
||||
self.reference_carousel_2 = MDIButton(self.frame_64)
|
||||
self.reference_carousel_2.setObjectName(u"reference_carousel_2")
|
||||
sizePolicy2.setHeightForWidth(self.reference_carousel_2.sizePolicy().hasHeightForWidth())
|
||||
self.reference_carousel_2.setSizePolicy(sizePolicy2)
|
||||
self.reference_carousel_2.setMinimumSize(QSize(125, 45))
|
||||
self.reference_carousel_2.setMaximumSize(QSize(16777215, 45))
|
||||
self.reference_carousel_2.setFocusPolicy(Qt.NoFocus)
|
||||
self.reference_carousel_2.setStyleSheet(u"MDIButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.reference_carousel_2.sizePolicy().hasHeightForWidth())
|
||||
self.reference_carousel_2.setSizePolicy(sizePolicy)
|
||||
self.reference_carousel_2.setMinimumSize(QtCore.QSize(125, 45))
|
||||
self.reference_carousel_2.setMaximumSize(QtCore.QSize(16777215, 45))
|
||||
self.reference_carousel_2.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.reference_carousel_2.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.reference_carousel_2.setIconSize(QSize(20, 20))
|
||||
|
||||
self.reference_carousel_2.setIconSize(QtCore.QSize(20, 20))
|
||||
self.reference_carousel_2.setObjectName("reference_carousel_2")
|
||||
self.horizontalLayout_159.addWidget(self.reference_carousel_2)
|
||||
|
||||
|
||||
self.verticalLayout_66.addLayout(self.horizontalLayout_159)
|
||||
|
||||
|
||||
self.verticalLayout.addWidget(self.frame_64)
|
||||
|
||||
|
||||
self.retranslateUi(USER_ATC_BUTTONS)
|
||||
|
||||
QMetaObject.connectSlotsByName(USER_ATC_BUTTONS)
|
||||
# setupUi
|
||||
QtCore.QMetaObject.connectSlotsByName(USER_ATC_BUTTONS)
|
||||
|
||||
def retranslateUi(self, USER_ATC_BUTTONS):
|
||||
USER_ATC_BUTTONS.setWindowTitle(QCoreApplication.translate("USER_ATC_BUTTONS", u"User Atc Buttons", None))
|
||||
self.work_column_header_8.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"ATC MANUAL CONTROL PANEL", None))
|
||||
#if QT_CONFIG(tooltip)
|
||||
self.reference_carousel_3.setToolTip(QCoreApplication.translate("USER_ATC_BUTTONS", u"M13 User Defined Macro Call from Subroutine Folder", None))
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
self.reference_carousel_3.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"AIR BLAST", None))
|
||||
self.reference_carousel_3.setProperty(u"MDICommand", QCoreApplication.translate("USER_ATC_BUTTONS", u"M13", None))
|
||||
#if QT_CONFIG(tooltip)
|
||||
self.reference_carousel_4.setToolTip(QCoreApplication.translate("USER_ATC_BUTTONS", u"M13 User Defined Macro Call from Subroutine Folder", None))
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
self.reference_carousel_4.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"RETR DUST BOOT", None))
|
||||
self.reference_carousel_4.setProperty(u"MDICommand", QCoreApplication.translate("USER_ATC_BUTTONS", u"M13", None))
|
||||
self.clamp_tool_button.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"CLAMP TOOL", None))
|
||||
self.clamp_tool_button.setProperty(u"filename", QCoreApplication.translate("USER_ATC_BUTTONS", u"clamptool.ngc", None))
|
||||
self.release_tool_button.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"RELEASE TOOL", None))
|
||||
self.release_tool_button.setProperty(u"rules", QCoreApplication.translate("USER_ATC_BUTTONS", u"[{\"name\": \"spindle safety\", \"property\": \"Enable\", \"expression\": \"not ch[0]\", \"channels\": [{\"url\": \"status:spindle.0.enabled\", \"trigger\": true}]}]", None))
|
||||
self.release_tool_button.setProperty(u"filename", QCoreApplication.translate("USER_ATC_BUTTONS", u"unclamptool.ngc", None))
|
||||
self.spindle_orientation.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"ORIENT SPINDLE", None))
|
||||
self.spindle_orientation.setProperty(u"filename", QCoreApplication.translate("USER_ATC_BUTTONS", u"orientspindle.ngc", None))
|
||||
#if QT_CONFIG(tooltip)
|
||||
self.unlock_spindle.setToolTip(QCoreApplication.translate("USER_ATC_BUTTONS", u"M112 User Defined Macro Call from Subroutine Folder", None))
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
self.unlock_spindle.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"UNLOCK SPINDLE", None))
|
||||
self.unlock_spindle.setProperty(u"MDICommand", QCoreApplication.translate("USER_ATC_BUTTONS", u"M5", None))
|
||||
self.move_head_above_carousel_button.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"HEAD UP", None))
|
||||
self.move_head_above_carousel_button.setProperty(u"filename", QCoreApplication.translate("USER_ATC_BUTTONS", u"move_head_above_carousel.ngc", None))
|
||||
self.move_tool_to_carousel_height_button.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"HEAD DOWN", None))
|
||||
self.move_tool_to_carousel_height_button.setProperty(u"filename", QCoreApplication.translate("USER_ATC_BUTTONS", u"move_tool_to_carousel_height.ngc", None))
|
||||
#if QT_CONFIG(tooltip)
|
||||
self.reference_carousel_2.setToolTip(QCoreApplication.translate("USER_ATC_BUTTONS", u"M13 User Defined Macro Call from Subroutine Folder", None))
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
self.reference_carousel_2.setText(QCoreApplication.translate("USER_ATC_BUTTONS", u"REF RACK DATA", None))
|
||||
self.reference_carousel_2.setProperty(u"MDICommand", QCoreApplication.translate("USER_ATC_BUTTONS", u"M13", None))
|
||||
# retranslateUi
|
||||
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
USER_ATC_BUTTONS.setWindowTitle(_translate("USER_ATC_BUTTONS", "User Atc Buttons"))
|
||||
self.work_column_header_8.setText(_translate("USER_ATC_BUTTONS", "ATC MANUAL CONTROL PANEL"))
|
||||
self.reference_carousel_3.setToolTip(_translate("USER_ATC_BUTTONS", "M13 User Defined Macro Call from Subroutine Folder"))
|
||||
self.reference_carousel_3.setText(_translate("USER_ATC_BUTTONS", "AIR BLAST"))
|
||||
self.reference_carousel_3.setProperty("MDICommand", _translate("USER_ATC_BUTTONS", "M13"))
|
||||
self.reference_carousel_4.setToolTip(_translate("USER_ATC_BUTTONS", "M13 User Defined Macro Call from Subroutine Folder"))
|
||||
self.reference_carousel_4.setText(_translate("USER_ATC_BUTTONS", "RETR DUST BOOT"))
|
||||
self.reference_carousel_4.setProperty("MDICommand", _translate("USER_ATC_BUTTONS", "M13"))
|
||||
self.clamp_tool_button.setText(_translate("USER_ATC_BUTTONS", "CLAMP TOOL"))
|
||||
self.clamp_tool_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "clamptool.ngc"))
|
||||
self.release_tool_button.setText(_translate("USER_ATC_BUTTONS", "RELEASE TOOL"))
|
||||
self.release_tool_button.setProperty("rules", _translate("USER_ATC_BUTTONS", "[{\"name\": \"spindle safety\", \"property\": \"Enable\", \"expression\": \"not ch[0]\", \"channels\": [{\"url\": \"status:spindle.0.enabled\", \"trigger\": true}]}]"))
|
||||
self.release_tool_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "unclamptool.ngc"))
|
||||
self.spindle_orientation.setText(_translate("USER_ATC_BUTTONS", "ORIENT SPINDLE"))
|
||||
self.spindle_orientation.setProperty("filename", _translate("USER_ATC_BUTTONS", "orientspindle.ngc"))
|
||||
self.unlock_spindle.setToolTip(_translate("USER_ATC_BUTTONS", "M112 User Defined Macro Call from Subroutine Folder"))
|
||||
self.unlock_spindle.setText(_translate("USER_ATC_BUTTONS", "UNLOCK SPINDLE"))
|
||||
self.unlock_spindle.setProperty("MDICommand", _translate("USER_ATC_BUTTONS", "M5"))
|
||||
self.move_head_above_carousel_button.setText(_translate("USER_ATC_BUTTONS", "HEAD UP"))
|
||||
self.move_head_above_carousel_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "move_head_above_carousel.ngc"))
|
||||
self.move_tool_to_carousel_height_button.setText(_translate("USER_ATC_BUTTONS", "HEAD DOWN"))
|
||||
self.move_tool_to_carousel_height_button.setProperty("filename", _translate("USER_ATC_BUTTONS", "move_tool_to_carousel_height.ngc"))
|
||||
self.reference_carousel_2.setToolTip(_translate("USER_ATC_BUTTONS", "M13 User Defined Macro Call from Subroutine Folder"))
|
||||
self.reference_carousel_2.setText(_translate("USER_ATC_BUTTONS", "REF RACK DATA"))
|
||||
self.reference_carousel_2.setProperty("MDICommand", _translate("USER_ATC_BUTTONS", "M13"))
|
||||
from qtpyvcp.widgets.button_widgets.mdi_button import MDIButton
|
||||
from qtpyvcp.widgets.button_widgets.subcall_button import SubCallButton
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
import os
|
||||
import linuxcnc
|
||||
|
||||
from PySide6.QtWidgets import QWidget
|
||||
|
||||
import template_user_buttons_ui
|
||||
from qtpyvcp.widgets.button_widgets.action_button import ActionButton
|
||||
from qtpy import uic
|
||||
from qtpy.QtCore import Qt
|
||||
from qtpy.QtWidgets import QWidget
|
||||
|
||||
from qtpyvcp.plugins import getPlugin
|
||||
from qtpyvcp.utilities import logger
|
||||
from qtpyvcp.actions import bindWidget, InvalidAction
|
||||
|
||||
LOG = logger.getLogger(__name__)
|
||||
|
||||
@@ -21,17 +19,5 @@ INI_FILE = linuxcnc.ini(os.getenv('INI_FILE_NAME'))
|
||||
class UserButton(QWidget):
|
||||
def __init__(self, parent=None):
|
||||
super(UserButton, self).__init__(parent)
|
||||
self.ui = template_user_buttons_ui.Ui_USER_BUTTONS()
|
||||
self.ui.setupUi(self)
|
||||
self._bind_action_buttons()
|
||||
|
||||
def _bind_action_buttons(self):
|
||||
# Explicitly bind dynamic buttons in case property-based binding was skipped.
|
||||
for button in self.findChildren(ActionButton):
|
||||
action_name = button.property("actionName")
|
||||
if not action_name:
|
||||
continue
|
||||
try:
|
||||
bindWidget(button, str(action_name))
|
||||
except InvalidAction:
|
||||
LOG.warning("Invalid action for user button %s: %s", button.objectName(), action_name)
|
||||
ui_file = os.path.splitext(os.path.basename(__file__))[0] + ".ui"
|
||||
uic.loadUi(os.path.join(os.path.dirname(__file__), ui_file), self)
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<string>User Buttons</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<property name="leftMargin">
|
||||
@@ -62,11 +62,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -101,11 +101,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -140,15 +140,15 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>FLOOD</string>
|
||||
<string>Flood</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
@@ -179,11 +179,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -215,15 +215,15 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>MIST</string>
|
||||
<string>Mist</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
@@ -254,11 +254,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -296,11 +296,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -335,14 +335,14 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
|
||||
@@ -1,214 +1,205 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
################################################################################
|
||||
## Form generated from reading UI file 'template_user_buttons.ui'
|
||||
##
|
||||
## Created by: Qt User Interface Compiler version 6.8.2
|
||||
##
|
||||
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
################################################################################
|
||||
# Form implementation generated from reading ui file '/home/buildbot/buildbot/worker/probe_basic-dev/sources/debian/python3-probe-basic/usr/share/configs/machine_setup_files/user_buttons/template_user_buttons/template_user_buttons.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.9
|
||||
#
|
||||
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
||||
# run again. Do not edit this file unless you know what you are doing.
|
||||
|
||||
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
||||
QMetaObject, QObject, QPoint, QRect,
|
||||
QSize, QTime, QUrl, Qt)
|
||||
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
||||
QFont, QFontDatabase, QGradient, QIcon,
|
||||
QImage, QKeySequence, QLinearGradient, QPainter,
|
||||
QPalette, QPixmap, QRadialGradient, QTransform)
|
||||
from PySide6.QtWidgets import (QApplication, QGridLayout, QLabel, QSizePolicy,
|
||||
QWidget)
|
||||
|
||||
from qtpyvcp.widgets.button_widgets.action_button import ActionButton
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_USER_BUTTONS(object):
|
||||
def setupUi(self, USER_BUTTONS):
|
||||
if not USER_BUTTONS.objectName():
|
||||
USER_BUTTONS.setObjectName(u"USER_BUTTONS")
|
||||
USER_BUTTONS.setObjectName("USER_BUTTONS")
|
||||
USER_BUTTONS.resize(285, 196)
|
||||
sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(USER_BUTTONS.sizePolicy().hasHeightForWidth())
|
||||
USER_BUTTONS.setSizePolicy(sizePolicy)
|
||||
USER_BUTTONS.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
|
||||
self.gridLayout = QGridLayout(USER_BUTTONS)
|
||||
self.gridLayout.setObjectName(u"gridLayout")
|
||||
USER_BUTTONS.setLayoutDirection(QtCore.Qt.LeftToRight)
|
||||
self.gridLayout = QtWidgets.QGridLayout(USER_BUTTONS)
|
||||
self.gridLayout.setContentsMargins(1, 3, 1, 1)
|
||||
self.gridLayout.setHorizontalSpacing(3)
|
||||
self.gridLayout.setVerticalSpacing(8)
|
||||
self.gridLayout.setContentsMargins(1, 3, 1, 1)
|
||||
self.gridLayout.setObjectName("gridLayout")
|
||||
self.block_delete_button = ActionButton(USER_BUTTONS)
|
||||
self.block_delete_button.setObjectName(u"block_delete_button")
|
||||
sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
|
||||
sizePolicy1.setHorizontalStretch(0)
|
||||
sizePolicy1.setVerticalStretch(0)
|
||||
sizePolicy1.setHeightForWidth(self.block_delete_button.sizePolicy().hasHeightForWidth())
|
||||
self.block_delete_button.setSizePolicy(sizePolicy1)
|
||||
self.block_delete_button.setMinimumSize(QSize(135, 42))
|
||||
self.block_delete_button.setMaximumSize(QSize(16777215, 42))
|
||||
self.block_delete_button.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
self.block_delete_button.setStyleSheet(u"QPushButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.block_delete_button.sizePolicy().hasHeightForWidth())
|
||||
self.block_delete_button.setSizePolicy(sizePolicy)
|
||||
self.block_delete_button.setMinimumSize(QtCore.QSize(135, 42))
|
||||
self.block_delete_button.setMaximumSize(QtCore.QSize(16777215, 42))
|
||||
self.block_delete_button.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.block_delete_button.setStyleSheet("QPushButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.block_delete_button.setCheckable(True)
|
||||
|
||||
self.block_delete_button.setObjectName("block_delete_button")
|
||||
self.gridLayout.addWidget(self.block_delete_button, 2, 2, 1, 1)
|
||||
|
||||
self.m01_break_button = ActionButton(USER_BUTTONS)
|
||||
self.m01_break_button.setObjectName(u"m01_break_button")
|
||||
sizePolicy1.setHeightForWidth(self.m01_break_button.sizePolicy().hasHeightForWidth())
|
||||
self.m01_break_button.setSizePolicy(sizePolicy1)
|
||||
self.m01_break_button.setMinimumSize(QSize(135, 42))
|
||||
self.m01_break_button.setMaximumSize(QSize(16777215, 42))
|
||||
self.m01_break_button.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
self.m01_break_button.setStyleSheet(u"QPushButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.m01_break_button.sizePolicy().hasHeightForWidth())
|
||||
self.m01_break_button.setSizePolicy(sizePolicy)
|
||||
self.m01_break_button.setMinimumSize(QtCore.QSize(135, 42))
|
||||
self.m01_break_button.setMaximumSize(QtCore.QSize(16777215, 42))
|
||||
self.m01_break_button.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.m01_break_button.setStyleSheet("QPushButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.m01_break_button.setCheckable(True)
|
||||
|
||||
self.m01_break_button.setObjectName("m01_break_button")
|
||||
self.gridLayout.addWidget(self.m01_break_button, 3, 2, 1, 1)
|
||||
|
||||
self.flood_button = ActionButton(USER_BUTTONS)
|
||||
self.flood_button.setObjectName(u"flood_button")
|
||||
sizePolicy1.setHeightForWidth(self.flood_button.sizePolicy().hasHeightForWidth())
|
||||
self.flood_button.setSizePolicy(sizePolicy1)
|
||||
self.flood_button.setMinimumSize(QSize(135, 42))
|
||||
self.flood_button.setMaximumSize(QSize(16777215, 42))
|
||||
self.flood_button.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
self.flood_button.setStyleSheet(u"QPushButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.flood_button.sizePolicy().hasHeightForWidth())
|
||||
self.flood_button.setSizePolicy(sizePolicy)
|
||||
self.flood_button.setMinimumSize(QtCore.QSize(135, 42))
|
||||
self.flood_button.setMaximumSize(QtCore.QSize(16777215, 42))
|
||||
self.flood_button.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.flood_button.setStyleSheet("QPushButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.flood_button.setCheckable(True)
|
||||
|
||||
self.flood_button.setObjectName("flood_button")
|
||||
self.gridLayout.addWidget(self.flood_button, 2, 0, 1, 1)
|
||||
|
||||
self.single_block_button = ActionButton(USER_BUTTONS)
|
||||
self.single_block_button.setObjectName(u"single_block_button")
|
||||
sizePolicy1.setHeightForWidth(self.single_block_button.sizePolicy().hasHeightForWidth())
|
||||
self.single_block_button.setSizePolicy(sizePolicy1)
|
||||
self.single_block_button.setMinimumSize(QSize(135, 42))
|
||||
self.single_block_button.setMaximumSize(QSize(16777215, 42))
|
||||
self.single_block_button.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
self.single_block_button.setStyleSheet(u"QPushButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.single_block_button.sizePolicy().hasHeightForWidth())
|
||||
self.single_block_button.setSizePolicy(sizePolicy)
|
||||
self.single_block_button.setMinimumSize(QtCore.QSize(135, 42))
|
||||
self.single_block_button.setMaximumSize(QtCore.QSize(16777215, 42))
|
||||
self.single_block_button.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.single_block_button.setStyleSheet("QPushButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
|
||||
self.single_block_button.setObjectName("single_block_button")
|
||||
self.gridLayout.addWidget(self.single_block_button, 1, 2, 1, 1)
|
||||
|
||||
self.mist_button = ActionButton(USER_BUTTONS)
|
||||
self.mist_button.setObjectName(u"mist_button")
|
||||
sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
|
||||
sizePolicy2.setHorizontalStretch(1)
|
||||
sizePolicy2.setVerticalStretch(0)
|
||||
sizePolicy2.setHeightForWidth(self.mist_button.sizePolicy().hasHeightForWidth())
|
||||
self.mist_button.setSizePolicy(sizePolicy2)
|
||||
self.mist_button.setMinimumSize(QSize(135, 42))
|
||||
self.mist_button.setMaximumSize(QSize(16777215, 42))
|
||||
self.mist_button.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
self.mist_button.setStyleSheet(u"QPushButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.mist_button.sizePolicy().hasHeightForWidth())
|
||||
self.mist_button.setSizePolicy(sizePolicy)
|
||||
self.mist_button.setMinimumSize(QtCore.QSize(135, 42))
|
||||
self.mist_button.setMaximumSize(QtCore.QSize(16777215, 42))
|
||||
self.mist_button.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.mist_button.setStyleSheet("QPushButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.mist_button.setCheckable(True)
|
||||
|
||||
self.mist_button.setObjectName("mist_button")
|
||||
self.gridLayout.addWidget(self.mist_button, 3, 0, 1, 1)
|
||||
|
||||
self.feed_hold_button = ActionButton(USER_BUTTONS)
|
||||
self.feed_hold_button.setObjectName(u"feed_hold_button")
|
||||
sizePolicy1.setHeightForWidth(self.feed_hold_button.sizePolicy().hasHeightForWidth())
|
||||
self.feed_hold_button.setSizePolicy(sizePolicy1)
|
||||
self.feed_hold_button.setMinimumSize(QSize(135, 42))
|
||||
self.feed_hold_button.setMaximumSize(QSize(16777215, 42))
|
||||
self.feed_hold_button.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
self.feed_hold_button.setStyleSheet(u"QPushButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.feed_hold_button.sizePolicy().hasHeightForWidth())
|
||||
self.feed_hold_button.setSizePolicy(sizePolicy)
|
||||
self.feed_hold_button.setMinimumSize(QtCore.QSize(135, 42))
|
||||
self.feed_hold_button.setMaximumSize(QtCore.QSize(16777215, 42))
|
||||
self.feed_hold_button.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.feed_hold_button.setStyleSheet("QPushButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.feed_hold_button.setCheckable(True)
|
||||
|
||||
self.feed_hold_button.setObjectName("feed_hold_button")
|
||||
self.gridLayout.addWidget(self.feed_hold_button, 0, 2, 1, 1)
|
||||
|
||||
self.clear_program_button = ActionButton(USER_BUTTONS)
|
||||
self.clear_program_button.setObjectName(u"clear_program_button")
|
||||
sizePolicy1.setHeightForWidth(self.clear_program_button.sizePolicy().hasHeightForWidth())
|
||||
self.clear_program_button.setSizePolicy(sizePolicy1)
|
||||
self.clear_program_button.setMinimumSize(QSize(135, 42))
|
||||
self.clear_program_button.setMaximumSize(QSize(16777215, 42))
|
||||
self.clear_program_button.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
self.clear_program_button.setStyleSheet(u"QPushButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.clear_program_button.sizePolicy().hasHeightForWidth())
|
||||
self.clear_program_button.setSizePolicy(sizePolicy)
|
||||
self.clear_program_button.setMinimumSize(QtCore.QSize(135, 42))
|
||||
self.clear_program_button.setMaximumSize(QtCore.QSize(16777215, 42))
|
||||
self.clear_program_button.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.clear_program_button.setStyleSheet("QPushButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.clear_program_button.setCheckable(False)
|
||||
|
||||
self.clear_program_button.setObjectName("clear_program_button")
|
||||
self.gridLayout.addWidget(self.clear_program_button, 1, 0, 1, 1)
|
||||
|
||||
self.reload_program_button = ActionButton(USER_BUTTONS)
|
||||
self.reload_program_button.setObjectName(u"reload_program_button")
|
||||
sizePolicy1.setHeightForWidth(self.reload_program_button.sizePolicy().hasHeightForWidth())
|
||||
self.reload_program_button.setSizePolicy(sizePolicy1)
|
||||
self.reload_program_button.setMinimumSize(QSize(135, 42))
|
||||
self.reload_program_button.setMaximumSize(QSize(16777215, 42))
|
||||
self.reload_program_button.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
self.reload_program_button.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
|
||||
self.reload_program_button.setStyleSheet(u"QPushButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.reload_program_button.sizePolicy().hasHeightForWidth())
|
||||
self.reload_program_button.setSizePolicy(sizePolicy)
|
||||
self.reload_program_button.setMinimumSize(QtCore.QSize(135, 42))
|
||||
self.reload_program_button.setMaximumSize(QtCore.QSize(16777215, 42))
|
||||
self.reload_program_button.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.reload_program_button.setLayoutDirection(QtCore.Qt.LeftToRight)
|
||||
self.reload_program_button.setStyleSheet("QPushButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.reload_program_button.setCheckable(False)
|
||||
|
||||
self.reload_program_button.setObjectName("reload_program_button")
|
||||
self.gridLayout.addWidget(self.reload_program_button, 0, 0, 1, 1)
|
||||
|
||||
self.label = QLabel(USER_BUTTONS)
|
||||
self.label.setObjectName(u"label")
|
||||
sizePolicy3 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
|
||||
sizePolicy3.setHorizontalStretch(1)
|
||||
sizePolicy3.setVerticalStretch(0)
|
||||
sizePolicy3.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
|
||||
self.label.setSizePolicy(sizePolicy3)
|
||||
|
||||
self.label = QtWidgets.QLabel(USER_BUTTONS)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
|
||||
self.label.setSizePolicy(sizePolicy)
|
||||
self.label.setObjectName("label")
|
||||
self.gridLayout.addWidget(self.label, 0, 1, 1, 1)
|
||||
|
||||
self.label_2 = QLabel(USER_BUTTONS)
|
||||
self.label_2.setObjectName(u"label_2")
|
||||
sizePolicy3.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
|
||||
self.label_2.setSizePolicy(sizePolicy3)
|
||||
|
||||
self.label_2 = QtWidgets.QLabel(USER_BUTTONS)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
|
||||
self.label_2.setSizePolicy(sizePolicy)
|
||||
self.label_2.setObjectName("label_2")
|
||||
self.gridLayout.addWidget(self.label_2, 1, 1, 1, 1)
|
||||
|
||||
self.label_3 = QLabel(USER_BUTTONS)
|
||||
self.label_3.setObjectName(u"label_3")
|
||||
sizePolicy3.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
|
||||
self.label_3.setSizePolicy(sizePolicy3)
|
||||
|
||||
self.label_3 = QtWidgets.QLabel(USER_BUTTONS)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
|
||||
self.label_3.setSizePolicy(sizePolicy)
|
||||
self.label_3.setObjectName("label_3")
|
||||
self.gridLayout.addWidget(self.label_3, 2, 1, 1, 1)
|
||||
|
||||
self.label_4 = QLabel(USER_BUTTONS)
|
||||
self.label_4.setObjectName(u"label_4")
|
||||
sizePolicy3.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
|
||||
self.label_4.setSizePolicy(sizePolicy3)
|
||||
|
||||
self.label_4 = QtWidgets.QLabel(USER_BUTTONS)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
|
||||
self.label_4.setSizePolicy(sizePolicy)
|
||||
self.label_4.setObjectName("label_4")
|
||||
self.gridLayout.addWidget(self.label_4, 3, 1, 1, 1)
|
||||
|
||||
|
||||
self.retranslateUi(USER_BUTTONS)
|
||||
|
||||
QMetaObject.connectSlotsByName(USER_BUTTONS)
|
||||
# setupUi
|
||||
QtCore.QMetaObject.connectSlotsByName(USER_BUTTONS)
|
||||
|
||||
def retranslateUi(self, USER_BUTTONS):
|
||||
USER_BUTTONS.setWindowTitle(QCoreApplication.translate("USER_BUTTONS", u"User Buttons", None))
|
||||
self.block_delete_button.setText(QCoreApplication.translate("USER_BUTTONS", u"BLOCK DELETE", None))
|
||||
self.block_delete_button.setProperty(u"actionName", QCoreApplication.translate("USER_BUTTONS", u"program.block-delete.toggle", None))
|
||||
self.m01_break_button.setText(QCoreApplication.translate("USER_BUTTONS", u"M01 BREAK", None))
|
||||
self.m01_break_button.setProperty(u"actionName", QCoreApplication.translate("USER_BUTTONS", u"program.optional-stop.toggle", None))
|
||||
self.flood_button.setText(QCoreApplication.translate("USER_BUTTONS", u"FLOOD", None))
|
||||
self.flood_button.setProperty(u"actionName", QCoreApplication.translate("USER_BUTTONS", u"coolant.flood.toggle", None))
|
||||
self.single_block_button.setText(QCoreApplication.translate("USER_BUTTONS", u"SINGLE BLOCK", None))
|
||||
self.single_block_button.setProperty(u"actionName", QCoreApplication.translate("USER_BUTTONS", u"program.step", None))
|
||||
self.mist_button.setText(QCoreApplication.translate("USER_BUTTONS", u"MIST", None))
|
||||
self.mist_button.setProperty(u"actionName", QCoreApplication.translate("USER_BUTTONS", u"coolant.mist.toggle", None))
|
||||
self.feed_hold_button.setText(QCoreApplication.translate("USER_BUTTONS", u"FEED HOLD", None))
|
||||
self.feed_hold_button.setProperty(u"rules", QCoreApplication.translate("USER_BUTTONS", u"[{\"channels\": [{\"url\": \"status:interp_state?text\", \"trigger\": true}], \"property\": \"Checked\", \"expression\": \"ch[0] == 'Paused'\", \"name\": \"check when paused\"}]", None))
|
||||
self.feed_hold_button.setProperty(u"actionName", QCoreApplication.translate("USER_BUTTONS", u"program.pause", None))
|
||||
self.clear_program_button.setText(QCoreApplication.translate("USER_BUTTONS", u"CLEAR PGM", None))
|
||||
self.clear_program_button.setProperty(u"actionName", QCoreApplication.translate("USER_BUTTONS", u"program.clear", None))
|
||||
self.reload_program_button.setText(QCoreApplication.translate("USER_BUTTONS", u"RELOAD PGM", None))
|
||||
self.reload_program_button.setProperty(u"actionName", QCoreApplication.translate("USER_BUTTONS", u"program.reload", None))
|
||||
# retranslateUi
|
||||
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
USER_BUTTONS.setWindowTitle(_translate("USER_BUTTONS", "User Buttons"))
|
||||
self.block_delete_button.setText(_translate("USER_BUTTONS", "BLOCK DELETE"))
|
||||
self.block_delete_button.setProperty("actionName", _translate("USER_BUTTONS", "program.block-delete.toggle"))
|
||||
self.m01_break_button.setText(_translate("USER_BUTTONS", "M01 BREAK"))
|
||||
self.m01_break_button.setProperty("actionName", _translate("USER_BUTTONS", "program.optional-stop.toggle"))
|
||||
self.flood_button.setText(_translate("USER_BUTTONS", "Flood"))
|
||||
self.flood_button.setProperty("actionName", _translate("USER_BUTTONS", "coolant.flood.toggle"))
|
||||
self.single_block_button.setText(_translate("USER_BUTTONS", "SINGLE BLOCK"))
|
||||
self.single_block_button.setProperty("actionName", _translate("USER_BUTTONS", "program.step"))
|
||||
self.mist_button.setText(_translate("USER_BUTTONS", "Mist"))
|
||||
self.mist_button.setProperty("actionName", _translate("USER_BUTTONS", "coolant.mist.toggle"))
|
||||
self.feed_hold_button.setText(_translate("USER_BUTTONS", "FEED HOLD"))
|
||||
self.feed_hold_button.setProperty("rules", _translate("USER_BUTTONS", "[{\"channels\": [{\"url\": \"status:interp_state?text\", \"trigger\": true}], \"property\": \"Checked\", \"expression\": \"ch[0] == \'Paused\'\", \"name\": \"check when paused\"}]"))
|
||||
self.feed_hold_button.setProperty("actionName", _translate("USER_BUTTONS", "program.pause"))
|
||||
self.clear_program_button.setText(_translate("USER_BUTTONS", "CLEAR PGM"))
|
||||
self.clear_program_button.setProperty("actionName", _translate("USER_BUTTONS", "program.clear"))
|
||||
self.reload_program_button.setText(_translate("USER_BUTTONS", "RELOAD PGM"))
|
||||
self.reload_program_button.setProperty("actionName", _translate("USER_BUTTONS", "program.reload"))
|
||||
from qtpyvcp.widgets.button_widgets.action_button import ActionButton
|
||||
|
||||
@@ -1,47 +1,23 @@
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, "/usr/lib/python3/dist-packages/probe_basic")
|
||||
from probe_basic_rc import *
|
||||
import linuxcnc
|
||||
|
||||
from PySide6.QtCore import Qt
|
||||
from PySide6.QtWidgets import QWidget
|
||||
from qtpy import uic
|
||||
from qtpy.QtCore import Qt
|
||||
from qtpy.QtWidgets import QWidget
|
||||
|
||||
from qtpyvcp.plugins import getPlugin
|
||||
from qtpyvcp.utilities import logger
|
||||
from qtpyvcp.utilities.runtime_ui_loader import load_ui as load_runtime_ui
|
||||
|
||||
LOG = logger.getLogger(__name__)
|
||||
|
||||
# Detect if we're running in Qt Designer
|
||||
IN_DESIGNER = os.getenv('DESIGNER', False)
|
||||
STATUS = getPlugin('status')
|
||||
TOOL_TABLE = getPlugin('tooltable')
|
||||
|
||||
# Defer plugin imports to avoid issues in designer
|
||||
STATUS = None
|
||||
TOOL_TABLE = None
|
||||
|
||||
def _get_status():
|
||||
global STATUS
|
||||
if STATUS is None:
|
||||
STATUS = getPlugin('status')
|
||||
return STATUS
|
||||
|
||||
def _get_tool_table():
|
||||
global TOOL_TABLE
|
||||
if TOOL_TABLE is None:
|
||||
TOOL_TABLE = getPlugin('tooltable')
|
||||
return TOOL_TABLE
|
||||
|
||||
INI_FILE = linuxcnc.ini(os.getenv('INI_FILE_NAME')) if not IN_DESIGNER else None
|
||||
|
||||
|
||||
def _load_ui(ui_path, parent):
|
||||
return load_runtime_ui(ui_path, parent)
|
||||
INI_FILE = linuxcnc.ini(os.getenv('INI_FILE_NAME'))
|
||||
|
||||
|
||||
class UserDRO(QWidget):
|
||||
def __init__(self, parent=None):
|
||||
super(UserDRO, self).__init__(parent)
|
||||
ui_file = os.path.splitext(os.path.basename(__file__))[0] + ".ui"
|
||||
ui_path = os.path.join(os.path.dirname(__file__), ui_file)
|
||||
self.ui = _load_ui(ui_path, self)
|
||||
uic.loadUi(os.path.join(os.path.dirname(__file__), ui_file), self)
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<string>dros_user</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="c_axis_dro_layout_2">
|
||||
<property name="spacing">
|
||||
@@ -97,14 +97,14 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 14pt "Probe Basic Bebas Mono";
|
||||
font: 14pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -137,7 +137,7 @@
|
||||
]</string>
|
||||
</property>
|
||||
<property name="MDICommand" stdset="0">
|
||||
<string>G10 L20 P{ch[0]} X0.0 Y0.0 Z0.0 A0.0 B0.0 C0.0</string>
|
||||
<string>G10 L20 P{ch[0]} X0.0 Y0.0 Z0.0 A0.0 B0.0</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -172,10 +172,10 @@
|
||||
}</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::Shape::StyledPanel</enum>
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Shadow::Raised</enum>
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_103">
|
||||
<property name="spacing">
|
||||
@@ -210,12 +210,12 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
padding-left: 6px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"url": "status:g5x_index?text", "trigger": true}], "property": "Text", "expression": "ch[0] + ' WORK'\n", "name": "WCS Header"}]</string>
|
||||
@@ -248,14 +248,14 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>MACHINE</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -282,14 +282,14 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>DTG</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -317,11 +317,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -378,14 +378,14 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -438,17 +438,33 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string> 0.000</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>1</number>
|
||||
@@ -468,9 +484,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -493,8 +506,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -514,9 +547,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -539,8 +569,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -560,9 +602,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -586,11 +625,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -647,11 +686,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -704,24 +743,34 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -744,8 +793,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -765,9 +834,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -790,8 +856,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -811,9 +889,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -837,11 +912,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -898,11 +973,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -955,24 +1030,34 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -995,8 +1080,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -1016,9 +1121,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1041,8 +1143,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -1062,9 +1176,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1088,11 +1199,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1149,11 +1260,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1205,24 +1316,34 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1245,8 +1366,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -1266,9 +1407,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1291,8 +1429,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -1312,9 +1462,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1338,11 +1485,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1399,11 +1546,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1456,17 +1603,30 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>1</number>
|
||||
@@ -1486,9 +1646,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1511,8 +1668,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -1532,9 +1709,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1557,8 +1731,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -1578,9 +1764,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1604,11 +1787,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1665,11 +1848,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1722,17 +1905,30 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>1</number>
|
||||
@@ -1752,9 +1948,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1777,8 +1970,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -1798,9 +2011,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1823,8 +2033,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -1844,9 +2066,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1870,11 +2089,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,47 +1,23 @@
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, "/usr/lib/python3/dist-packages/probe_basic")
|
||||
from probe_basic_rc import *
|
||||
import linuxcnc
|
||||
|
||||
from PySide6.QtCore import Qt
|
||||
from PySide6.QtWidgets import QWidget
|
||||
from qtpy import uic
|
||||
from qtpy.QtCore import Qt
|
||||
from qtpy.QtWidgets import QWidget
|
||||
|
||||
from qtpyvcp.plugins import getPlugin
|
||||
from qtpyvcp.utilities import logger
|
||||
from qtpyvcp.utilities.runtime_ui_loader import load_ui as load_runtime_ui
|
||||
|
||||
LOG = logger.getLogger(__name__)
|
||||
|
||||
# Detect if we're running in Qt Designer
|
||||
IN_DESIGNER = os.getenv('DESIGNER', False)
|
||||
STATUS = getPlugin('status')
|
||||
TOOL_TABLE = getPlugin('tooltable')
|
||||
|
||||
# Defer plugin imports to avoid issues in designer
|
||||
STATUS = None
|
||||
TOOL_TABLE = None
|
||||
|
||||
def _get_status():
|
||||
global STATUS
|
||||
if STATUS is None:
|
||||
STATUS = getPlugin('status')
|
||||
return STATUS
|
||||
|
||||
def _get_tool_table():
|
||||
global TOOL_TABLE
|
||||
if TOOL_TABLE is None:
|
||||
TOOL_TABLE = getPlugin('tooltable')
|
||||
return TOOL_TABLE
|
||||
|
||||
INI_FILE = linuxcnc.ini(os.getenv('INI_FILE_NAME')) if not IN_DESIGNER else None
|
||||
|
||||
|
||||
def _load_ui(ui_path, parent):
|
||||
return load_runtime_ui(ui_path, parent)
|
||||
INI_FILE = linuxcnc.ini(os.getenv('INI_FILE_NAME'))
|
||||
|
||||
|
||||
class UserDRO(QWidget):
|
||||
def __init__(self, parent=None):
|
||||
super(UserDRO, self).__init__(parent)
|
||||
ui_file = os.path.splitext(os.path.basename(__file__))[0] + ".ui"
|
||||
ui_path = os.path.join(os.path.dirname(__file__), ui_file)
|
||||
self.ui = _load_ui(ui_path, self)
|
||||
uic.loadUi(os.path.join(os.path.dirname(__file__), ui_file), self)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>461</width>
|
||||
<width>469</width>
|
||||
<height>286</height>
|
||||
</rect>
|
||||
</property>
|
||||
@@ -20,7 +20,7 @@
|
||||
<string>dros_xyz</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
@@ -74,7 +74,7 @@
|
||||
<number>1</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QFrame" name="xyz_header_frame">
|
||||
<widget class="QFrame" name="frame">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
@@ -104,10 +104,10 @@
|
||||
}</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::Shape::StyledPanel</enum>
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Shadow::Raised</enum>
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_136">
|
||||
<property name="spacing">
|
||||
@@ -142,7 +142,7 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
padding-left: 1px;
|
||||
padding-right: 20px;
|
||||
}</string>
|
||||
@@ -151,7 +151,7 @@
|
||||
<string>AXIS</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[]</string>
|
||||
@@ -181,12 +181,12 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
padding-left: 6px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"url": "status:g5x_index?text", "trigger": true}], "property": "Text", "expression": "ch[0] + ' WORK'\n", "name": "WCS Header"}]</string>
|
||||
@@ -219,14 +219,14 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>MACHINE</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -253,14 +253,14 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>DTG</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -287,7 +287,7 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
padding-left: 6px;
|
||||
}</string>
|
||||
</property>
|
||||
@@ -295,7 +295,7 @@
|
||||
<string>REF</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[]</string>
|
||||
@@ -348,14 +348,14 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -408,23 +408,36 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
<string> 0.000</string>
|
||||
</property>
|
||||
<property name="cursorPosition">
|
||||
<number>0</number>
|
||||
<number>10</number>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>1</number>
|
||||
@@ -444,9 +457,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -469,8 +479,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -490,9 +520,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -515,8 +542,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -536,9 +575,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -562,11 +598,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -623,11 +659,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -680,24 +716,34 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -720,8 +766,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -741,9 +807,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -766,8 +829,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -787,9 +862,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -813,11 +885,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -874,11 +946,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -931,24 +1003,34 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -971,8 +1053,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -992,9 +1094,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1017,8 +1116,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -1038,9 +1149,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1064,11 +1172,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1085,7 +1193,7 @@
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="layout_ref_zero">
|
||||
<layout class="QHBoxLayout" name="layout">
|
||||
<property name="spacing">
|
||||
<number>20</number>
|
||||
</property>
|
||||
@@ -1125,14 +1233,14 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1186,11 +1294,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -20,11 +20,11 @@
|
||||
<string>offset_dros_xyz</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="x_axis_dro_offsets_layout">
|
||||
<layout class="QHBoxLayout" name="x_axis_dro_layout">
|
||||
<property name="spacing">
|
||||
<number>12</number>
|
||||
</property>
|
||||
@@ -52,11 +52,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -110,14 +110,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>X</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -143,20 +143,27 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -180,8 +187,28 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -201,9 +228,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -226,15 +250,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][0])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -257,15 +289,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][0])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -288,21 +328,29 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:tool_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][0])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="y_axis_dro_offsets_layout">
|
||||
<layout class="QHBoxLayout" name="y_axis_dro_layout">
|
||||
<property name="spacing">
|
||||
<number>12</number>
|
||||
</property>
|
||||
@@ -330,11 +378,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -382,14 +430,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Y</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -415,24 +463,31 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -455,8 +510,28 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -476,9 +551,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -501,15 +573,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][1])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -532,15 +612,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][1])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -563,21 +651,29 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:tool_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][1])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="z_axis_dro_offsets_layout">
|
||||
<layout class="QHBoxLayout" name="z_axis_dro_layout">
|
||||
<property name="spacing">
|
||||
<number>12</number>
|
||||
</property>
|
||||
@@ -605,11 +701,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -657,14 +753,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Z</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -690,24 +786,31 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -730,8 +833,28 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -751,9 +874,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -776,15 +896,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][2])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -807,15 +935,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][2])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -838,15 +974,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"url": "status:tool_offset", "trigger": true}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][2])", "name": "tool offset"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
||||
@@ -1,415 +1,560 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
################################################################################
|
||||
## Form generated from reading UI file 'offset_dros_xyz.ui'
|
||||
##
|
||||
## Created by: Qt User Interface Compiler version 6.8.2
|
||||
##
|
||||
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
################################################################################
|
||||
# Form implementation generated from reading ui file '/home/buildbot/buildbot/worker/probe_basic-dev/sources/debian/python3-probe-basic/usr/share/configs/machine_setup_files/user_dro_display/xyz_dros/offset_dros_xyz.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.9
|
||||
#
|
||||
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
||||
# run again. Do not edit this file unless you know what you are doing.
|
||||
|
||||
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
||||
QMetaObject, QObject, QPoint, QRect,
|
||||
QSize, QTime, QUrl, Qt)
|
||||
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
||||
QFont, QFontDatabase, QGradient, QIcon,
|
||||
QImage, QKeySequence, QLinearGradient, QPainter,
|
||||
QPalette, QPixmap, QRadialGradient, QTransform)
|
||||
from PySide6.QtWidgets import (QApplication, QHBoxLayout, QLabel, QSizePolicy,
|
||||
QVBoxLayout, QWidget)
|
||||
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_offset_dros_xyz(object):
|
||||
def setupUi(self, offset_dros_xyz):
|
||||
offset_dros_xyz.setObjectName("offset_dros_xyz")
|
||||
offset_dros_xyz.resize(493, 150)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(offset_dros_xyz.sizePolicy().hasHeightForWidth())
|
||||
offset_dros_xyz.setSizePolicy(sizePolicy)
|
||||
offset_dros_xyz.setLayoutDirection(QtCore.Qt.LeftToRight)
|
||||
self.verticalLayout = QtWidgets.QVBoxLayout(offset_dros_xyz)
|
||||
self.verticalLayout.setObjectName("verticalLayout")
|
||||
self.x_axis_dro_layout = QtWidgets.QHBoxLayout()
|
||||
self.x_axis_dro_layout.setContentsMargins(-1, 1, -1, 1)
|
||||
self.x_axis_dro_layout.setSpacing(12)
|
||||
self.x_axis_dro_layout.setObjectName("x_axis_dro_layout")
|
||||
self.zero_x_button_offset = MDIButton(offset_dros_xyz)
|
||||
self.zero_x_button_offset.setEnabled(False)
|
||||
self.zero_x_button_offset.setMinimumSize(QtCore.QSize(55, 38))
|
||||
self.zero_x_button_offset.setMaximumSize(QtCore.QSize(55, 38))
|
||||
self.zero_x_button_offset.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.zero_x_button_offset.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.zero_x_button_offset.setObjectName("zero_x_button_offset")
|
||||
self.x_axis_dro_layout.addWidget(self.zero_x_button_offset)
|
||||
self.axis_label_x = QtWidgets.QLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.axis_label_x.sizePolicy().hasHeightForWidth())
|
||||
self.axis_label_x.setSizePolicy(sizePolicy)
|
||||
self.axis_label_x.setMinimumSize(QtCore.QSize(45, 35))
|
||||
self.axis_label_x.setMaximumSize(QtCore.QSize(45, 35))
|
||||
self.axis_label_x.setStyleSheet("QLabel{\n"
|
||||
" border-style: solid;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: rgb(238, 238, 236);\n"
|
||||
" font: 18pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.axis_label_x.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.axis_label_x.setObjectName("axis_label_x")
|
||||
self.x_axis_dro_layout.addWidget(self.axis_label_x)
|
||||
self.dro_entry_offset_x = DROLineEdit(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.dro_entry_offset_x.sizePolicy().hasHeightForWidth())
|
||||
self.dro_entry_offset_x.setSizePolicy(sizePolicy)
|
||||
self.dro_entry_offset_x.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.dro_entry_offset_x.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
font = QtGui.QFont()
|
||||
font.setFamily("Bebas Kai")
|
||||
font.setPointSize(17)
|
||||
font.setBold(False)
|
||||
font.setItalic(False)
|
||||
font.setWeight(50)
|
||||
self.dro_entry_offset_x.setFont(font)
|
||||
self.dro_entry_offset_x.setStyleSheet("QLineEdit{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" padding-right: 2px;\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.dro_entry_offset_x.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.dro_entry_offset_x.setObjectName("dro_entry_offset_x")
|
||||
self.x_axis_dro_layout.addWidget(self.dro_entry_offset_x)
|
||||
self.drolabel_work_x = DROLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.drolabel_work_x.sizePolicy().hasHeightForWidth())
|
||||
self.drolabel_work_x.setSizePolicy(sizePolicy)
|
||||
self.drolabel_work_x.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.drolabel_work_x.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.drolabel_work_x.setStyleSheet("QLabel{\n"
|
||||
" border-style: transparent;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
" padding-right: 2px;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QLabel[style=\"unhomed\"]{\n"
|
||||
" color: red;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QLabel[style=\"homing\"]{\n"
|
||||
" color: rgb(196, 160, 0);\n"
|
||||
"}")
|
||||
self.drolabel_work_x.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.drolabel_work_x.setProperty("referenceType", 0)
|
||||
self.drolabel_work_x.setProperty("axisNumber", 0)
|
||||
self.drolabel_work_x.setProperty("latheMode", 0)
|
||||
self.drolabel_work_x.setObjectName("drolabel_work_x")
|
||||
self.x_axis_dro_layout.addWidget(self.drolabel_work_x)
|
||||
self.work_offset_x = StatusLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.work_offset_x.sizePolicy().hasHeightForWidth())
|
||||
self.work_offset_x.setSizePolicy(sizePolicy)
|
||||
self.work_offset_x.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.work_offset_x.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.work_offset_x.setStyleSheet("StatusLabel{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.work_offset_x.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.work_offset_x.setObjectName("work_offset_x")
|
||||
self.x_axis_dro_layout.addWidget(self.work_offset_x)
|
||||
self.g52_g92_x = StatusLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.g52_g92_x.sizePolicy().hasHeightForWidth())
|
||||
self.g52_g92_x.setSizePolicy(sizePolicy)
|
||||
self.g52_g92_x.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.g52_g92_x.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.g52_g92_x.setStyleSheet("StatusLabel{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.g52_g92_x.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.g52_g92_x.setObjectName("g52_g92_x")
|
||||
self.x_axis_dro_layout.addWidget(self.g52_g92_x)
|
||||
self.tool_offset_x = StatusLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.tool_offset_x.sizePolicy().hasHeightForWidth())
|
||||
self.tool_offset_x.setSizePolicy(sizePolicy)
|
||||
self.tool_offset_x.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.tool_offset_x.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.tool_offset_x.setStyleSheet("StatusLabel{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.tool_offset_x.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.tool_offset_x.setObjectName("tool_offset_x")
|
||||
self.x_axis_dro_layout.addWidget(self.tool_offset_x)
|
||||
self.verticalLayout.addLayout(self.x_axis_dro_layout)
|
||||
self.y_axis_dro_layout = QtWidgets.QHBoxLayout()
|
||||
self.y_axis_dro_layout.setContentsMargins(-1, 1, -1, 1)
|
||||
self.y_axis_dro_layout.setSpacing(12)
|
||||
self.y_axis_dro_layout.setObjectName("y_axis_dro_layout")
|
||||
self.zero_y_button_offset = MDIButton(offset_dros_xyz)
|
||||
self.zero_y_button_offset.setEnabled(False)
|
||||
self.zero_y_button_offset.setMinimumSize(QtCore.QSize(55, 38))
|
||||
self.zero_y_button_offset.setMaximumSize(QtCore.QSize(55, 38))
|
||||
self.zero_y_button_offset.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.zero_y_button_offset.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.zero_y_button_offset.setObjectName("zero_y_button_offset")
|
||||
self.y_axis_dro_layout.addWidget(self.zero_y_button_offset)
|
||||
self.axis_label_y = QtWidgets.QLabel(offset_dros_xyz)
|
||||
self.axis_label_y.setMinimumSize(QtCore.QSize(45, 35))
|
||||
self.axis_label_y.setMaximumSize(QtCore.QSize(45, 35))
|
||||
self.axis_label_y.setStyleSheet("QLabel{\n"
|
||||
" border-style: solid;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: rgb(238, 238, 236);\n"
|
||||
" font: 18pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.axis_label_y.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.axis_label_y.setObjectName("axis_label_y")
|
||||
self.y_axis_dro_layout.addWidget(self.axis_label_y)
|
||||
self.dro_entry_offset_y = DROLineEdit(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.dro_entry_offset_y.sizePolicy().hasHeightForWidth())
|
||||
self.dro_entry_offset_y.setSizePolicy(sizePolicy)
|
||||
self.dro_entry_offset_y.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.dro_entry_offset_y.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
font = QtGui.QFont()
|
||||
font.setFamily("Bebas Kai")
|
||||
font.setPointSize(17)
|
||||
font.setBold(False)
|
||||
font.setItalic(False)
|
||||
font.setWeight(50)
|
||||
self.dro_entry_offset_y.setFont(font)
|
||||
self.dro_entry_offset_y.setStyleSheet("QLineEdit{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" padding-right: 2px;\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.dro_entry_offset_y.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.dro_entry_offset_y.setProperty("axisNumber", 1)
|
||||
self.dro_entry_offset_y.setObjectName("dro_entry_offset_y")
|
||||
self.y_axis_dro_layout.addWidget(self.dro_entry_offset_y)
|
||||
self.drolabel_work_y = DROLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.drolabel_work_y.sizePolicy().hasHeightForWidth())
|
||||
self.drolabel_work_y.setSizePolicy(sizePolicy)
|
||||
self.drolabel_work_y.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.drolabel_work_y.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.drolabel_work_y.setStyleSheet("QLabel{\n"
|
||||
" border-style: transparent;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
" padding-right: 2px;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QLabel[style=\"unhomed\"]{\n"
|
||||
" color: red;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QLabel[style=\"homing\"]{\n"
|
||||
" color: rgb(196, 160, 0);\n"
|
||||
"}")
|
||||
self.drolabel_work_y.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.drolabel_work_y.setProperty("referenceType", 0)
|
||||
self.drolabel_work_y.setProperty("axisNumber", 1)
|
||||
self.drolabel_work_y.setProperty("latheMode", 0)
|
||||
self.drolabel_work_y.setObjectName("drolabel_work_y")
|
||||
self.y_axis_dro_layout.addWidget(self.drolabel_work_y)
|
||||
self.work_offset_y = StatusLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.work_offset_y.sizePolicy().hasHeightForWidth())
|
||||
self.work_offset_y.setSizePolicy(sizePolicy)
|
||||
self.work_offset_y.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.work_offset_y.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.work_offset_y.setStyleSheet("StatusLabel{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.work_offset_y.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.work_offset_y.setObjectName("work_offset_y")
|
||||
self.y_axis_dro_layout.addWidget(self.work_offset_y)
|
||||
self.g52_g92_y = StatusLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.g52_g92_y.sizePolicy().hasHeightForWidth())
|
||||
self.g52_g92_y.setSizePolicy(sizePolicy)
|
||||
self.g52_g92_y.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.g52_g92_y.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.g52_g92_y.setStyleSheet("StatusLabel{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.g52_g92_y.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.g52_g92_y.setObjectName("g52_g92_y")
|
||||
self.y_axis_dro_layout.addWidget(self.g52_g92_y)
|
||||
self.tool_offset_y = StatusLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.tool_offset_y.sizePolicy().hasHeightForWidth())
|
||||
self.tool_offset_y.setSizePolicy(sizePolicy)
|
||||
self.tool_offset_y.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.tool_offset_y.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.tool_offset_y.setStyleSheet("StatusLabel{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.tool_offset_y.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.tool_offset_y.setObjectName("tool_offset_y")
|
||||
self.y_axis_dro_layout.addWidget(self.tool_offset_y)
|
||||
self.verticalLayout.addLayout(self.y_axis_dro_layout)
|
||||
self.z_axis_dro_layout = QtWidgets.QHBoxLayout()
|
||||
self.z_axis_dro_layout.setContentsMargins(-1, 1, -1, 1)
|
||||
self.z_axis_dro_layout.setSpacing(12)
|
||||
self.z_axis_dro_layout.setObjectName("z_axis_dro_layout")
|
||||
self.zero_z_button_offset = MDIButton(offset_dros_xyz)
|
||||
self.zero_z_button_offset.setEnabled(False)
|
||||
self.zero_z_button_offset.setMinimumSize(QtCore.QSize(55, 38))
|
||||
self.zero_z_button_offset.setMaximumSize(QtCore.QSize(55, 38))
|
||||
self.zero_z_button_offset.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||
self.zero_z_button_offset.setStyleSheet("MDIButton {\n"
|
||||
" font: 15pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.zero_z_button_offset.setObjectName("zero_z_button_offset")
|
||||
self.z_axis_dro_layout.addWidget(self.zero_z_button_offset)
|
||||
self.axis_label_z = QtWidgets.QLabel(offset_dros_xyz)
|
||||
self.axis_label_z.setMinimumSize(QtCore.QSize(45, 35))
|
||||
self.axis_label_z.setMaximumSize(QtCore.QSize(45, 35))
|
||||
self.axis_label_z.setStyleSheet("QLabel{\n"
|
||||
" border-style: solid;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: rgb(238, 238, 236);\n"
|
||||
" font: 18pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.axis_label_z.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.axis_label_z.setObjectName("axis_label_z")
|
||||
self.z_axis_dro_layout.addWidget(self.axis_label_z)
|
||||
self.dro_entry_offset_z = DROLineEdit(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.dro_entry_offset_z.sizePolicy().hasHeightForWidth())
|
||||
self.dro_entry_offset_z.setSizePolicy(sizePolicy)
|
||||
self.dro_entry_offset_z.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.dro_entry_offset_z.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
font = QtGui.QFont()
|
||||
font.setFamily("Bebas Kai")
|
||||
font.setPointSize(17)
|
||||
font.setBold(False)
|
||||
font.setItalic(False)
|
||||
font.setWeight(50)
|
||||
self.dro_entry_offset_z.setFont(font)
|
||||
self.dro_entry_offset_z.setStyleSheet("QLineEdit{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" padding-right: 2px;\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.dro_entry_offset_z.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.dro_entry_offset_z.setProperty("axisNumber", 2)
|
||||
self.dro_entry_offset_z.setObjectName("dro_entry_offset_z")
|
||||
self.z_axis_dro_layout.addWidget(self.dro_entry_offset_z)
|
||||
self.drolabel_work_z = DROLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.drolabel_work_z.sizePolicy().hasHeightForWidth())
|
||||
self.drolabel_work_z.setSizePolicy(sizePolicy)
|
||||
self.drolabel_work_z.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.drolabel_work_z.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.drolabel_work_z.setStyleSheet("QLabel{\n"
|
||||
" border-style: transparent;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
" padding-right: 2px;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QLabel[style=\"unhomed\"]{\n"
|
||||
" color: red;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QLabel[style=\"homing\"]{\n"
|
||||
" color: rgb(196, 160, 0);\n"
|
||||
"}")
|
||||
self.drolabel_work_z.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.drolabel_work_z.setProperty("referenceType", 0)
|
||||
self.drolabel_work_z.setProperty("axisNumber", 2)
|
||||
self.drolabel_work_z.setProperty("latheMode", 0)
|
||||
self.drolabel_work_z.setObjectName("drolabel_work_z")
|
||||
self.z_axis_dro_layout.addWidget(self.drolabel_work_z)
|
||||
self.work_offset_z = StatusLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.work_offset_z.sizePolicy().hasHeightForWidth())
|
||||
self.work_offset_z.setSizePolicy(sizePolicy)
|
||||
self.work_offset_z.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.work_offset_z.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.work_offset_z.setStyleSheet("StatusLabel{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.work_offset_z.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.work_offset_z.setObjectName("work_offset_z")
|
||||
self.z_axis_dro_layout.addWidget(self.work_offset_z)
|
||||
self.g52_g92_z = StatusLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.g52_g92_z.sizePolicy().hasHeightForWidth())
|
||||
self.g52_g92_z.setSizePolicy(sizePolicy)
|
||||
self.g52_g92_z.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.g52_g92_z.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.g52_g92_z.setStyleSheet("StatusLabel{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.g52_g92_z.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.g52_g92_z.setObjectName("g52_g92_z")
|
||||
self.z_axis_dro_layout.addWidget(self.g52_g92_z)
|
||||
self.tool_offset_z = StatusLabel(offset_dros_xyz)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(1)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.tool_offset_z.sizePolicy().hasHeightForWidth())
|
||||
self.tool_offset_z.setSizePolicy(sizePolicy)
|
||||
self.tool_offset_z.setMinimumSize(QtCore.QSize(0, 38))
|
||||
self.tool_offset_z.setMaximumSize(QtCore.QSize(16777215, 38))
|
||||
self.tool_offset_z.setStyleSheet("StatusLabel{\n"
|
||||
" border-style: transparant;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: black;\n"
|
||||
" background: rgb(235, 235, 235);\n"
|
||||
" font: 17pt \"Bebas Kai\";\n"
|
||||
"}")
|
||||
self.tool_offset_z.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
||||
self.tool_offset_z.setObjectName("tool_offset_z")
|
||||
self.z_axis_dro_layout.addWidget(self.tool_offset_z)
|
||||
self.verticalLayout.addLayout(self.z_axis_dro_layout)
|
||||
|
||||
self.retranslateUi(offset_dros_xyz)
|
||||
QtCore.QMetaObject.connectSlotsByName(offset_dros_xyz)
|
||||
|
||||
def retranslateUi(self, offset_dros_xyz):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
offset_dros_xyz.setWindowTitle(_translate("offset_dros_xyz", "offset_dros_xyz"))
|
||||
self.zero_x_button_offset.setText(_translate("offset_dros_xyz", "ZERO"))
|
||||
self.zero_x_button_offset.setProperty("rules", _translate("offset_dros_xyz", "[\n"
|
||||
" {\n"
|
||||
" \"channels\": [\n"
|
||||
" {\n"
|
||||
" \"url\": \"status:g5x_index\",\n"
|
||||
" \"trigger\": true,\n"
|
||||
" \"type\": \"int\"\n"
|
||||
" }\n"
|
||||
" ],\n"
|
||||
" \"expression\": \"\",\n"
|
||||
" \"name\": \"G5x Index\",\n"
|
||||
" \"property\": \"None\"\n"
|
||||
" }\n"
|
||||
"]"))
|
||||
self.zero_x_button_offset.setProperty("MDICommand", _translate("offset_dros_xyz", "G10 L20 P{ch[0]} X0.0"))
|
||||
self.axis_label_x.setText(_translate("offset_dros_xyz", "X"))
|
||||
self.drolabel_work_x.setProperty("inchFormat", _translate("offset_dros_xyz", "%9.4f"))
|
||||
self.drolabel_work_x.setProperty("millimeterFormat", _translate("offset_dros_xyz", "%10.3f"))
|
||||
self.drolabel_work_x.setProperty("degreeFormat", _translate("offset_dros_xyz", "%10.2f"))
|
||||
self.work_offset_x.setProperty("rules", _translate("offset_dros_xyz", "[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:g5x_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][0])\", \"name\": \"New Rule\"}]"))
|
||||
self.g52_g92_x.setProperty("rules", _translate("offset_dros_xyz", "[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:g92_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][0])\", \"name\": \"New Rule\"}]"))
|
||||
self.tool_offset_x.setProperty("rules", _translate("offset_dros_xyz", "[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:tool_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][0])\", \"name\": \"New Rule\"}]"))
|
||||
self.zero_y_button_offset.setText(_translate("offset_dros_xyz", "ZERO"))
|
||||
self.zero_y_button_offset.setProperty("rules", _translate("offset_dros_xyz", "[\n"
|
||||
" {\n"
|
||||
" \"channels\": [\n"
|
||||
" {\n"
|
||||
" \"url\": \"status:g5x_index\",\n"
|
||||
" \"trigger\": true,\n"
|
||||
" \"type\": \"int\"\n"
|
||||
" }\n"
|
||||
" ],\n"
|
||||
" \"expression\": \"\",\n"
|
||||
" \"name\": \"G5x Index\",\n"
|
||||
" \"property\": \"None\"\n"
|
||||
" }\n"
|
||||
"]"))
|
||||
self.zero_y_button_offset.setProperty("MDICommand", _translate("offset_dros_xyz", "G10 L20 P{ch[0]} Y0.0"))
|
||||
self.axis_label_y.setText(_translate("offset_dros_xyz", "Y"))
|
||||
self.drolabel_work_y.setProperty("inchFormat", _translate("offset_dros_xyz", "%9.4f"))
|
||||
self.drolabel_work_y.setProperty("millimeterFormat", _translate("offset_dros_xyz", "%10.3f"))
|
||||
self.drolabel_work_y.setProperty("degreeFormat", _translate("offset_dros_xyz", "%10.2f"))
|
||||
self.work_offset_y.setProperty("rules", _translate("offset_dros_xyz", "[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:g5x_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][1])\", \"name\": \"New Rule\"}]"))
|
||||
self.g52_g92_y.setProperty("rules", _translate("offset_dros_xyz", "[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:g92_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][1])\", \"name\": \"New Rule\"}]"))
|
||||
self.tool_offset_y.setProperty("rules", _translate("offset_dros_xyz", "[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:tool_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][1])\", \"name\": \"New Rule\"}]"))
|
||||
self.zero_z_button_offset.setText(_translate("offset_dros_xyz", "ZERO"))
|
||||
self.zero_z_button_offset.setProperty("rules", _translate("offset_dros_xyz", "[\n"
|
||||
" {\n"
|
||||
" \"channels\": [\n"
|
||||
" {\n"
|
||||
" \"url\": \"status:g5x_index\",\n"
|
||||
" \"trigger\": true,\n"
|
||||
" \"type\": \"int\"\n"
|
||||
" }\n"
|
||||
" ],\n"
|
||||
" \"expression\": \"\",\n"
|
||||
" \"name\": \"G5x Index\",\n"
|
||||
" \"property\": \"None\"\n"
|
||||
" }\n"
|
||||
"]"))
|
||||
self.zero_z_button_offset.setProperty("MDICommand", _translate("offset_dros_xyz", "G10 L20 P{ch[0]} Z0.0"))
|
||||
self.axis_label_z.setText(_translate("offset_dros_xyz", "Z"))
|
||||
self.drolabel_work_z.setProperty("inchFormat", _translate("offset_dros_xyz", "%9.4f"))
|
||||
self.drolabel_work_z.setProperty("millimeterFormat", _translate("offset_dros_xyz", "%10.3f"))
|
||||
self.drolabel_work_z.setProperty("degreeFormat", _translate("offset_dros_xyz", "%10.2f"))
|
||||
self.work_offset_z.setProperty("rules", _translate("offset_dros_xyz", "[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:g5x_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][2])\", \"name\": \"New Rule\"}]"))
|
||||
self.g52_g92_z.setProperty("rules", _translate("offset_dros_xyz", "[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:g92_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][2])\", \"name\": \"New Rule\"}]"))
|
||||
self.tool_offset_z.setProperty("rules", _translate("offset_dros_xyz", "[{\"channels\": [{\"url\": \"status:tool_offset\", \"trigger\": true}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][2])\", \"name\": \"tool offset\"}]"))
|
||||
from qtpyvcp.widgets.button_widgets.mdi_button import MDIButton
|
||||
from qtpyvcp.widgets.display_widgets.dro_label import DROLabel
|
||||
from qtpyvcp.widgets.display_widgets.status_label import StatusLabel
|
||||
from qtpyvcp.widgets.input_widgets.dro_line_edit import DROLineEdit
|
||||
import probe_basic_rc
|
||||
|
||||
class Ui_offset_dros_xyz(object):
|
||||
def setupUi(self, offset_dros_xyz):
|
||||
if not offset_dros_xyz.objectName():
|
||||
offset_dros_xyz.setObjectName(u"offset_dros_xyz")
|
||||
offset_dros_xyz.resize(493, 150)
|
||||
sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(offset_dros_xyz.sizePolicy().hasHeightForWidth())
|
||||
offset_dros_xyz.setSizePolicy(sizePolicy)
|
||||
offset_dros_xyz.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
|
||||
self.verticalLayout = QVBoxLayout(offset_dros_xyz)
|
||||
self.verticalLayout.setObjectName(u"verticalLayout")
|
||||
self.x_axis_dro_offsets_layout = QHBoxLayout()
|
||||
self.x_axis_dro_offsets_layout.setSpacing(12)
|
||||
self.x_axis_dro_offsets_layout.setObjectName(u"x_axis_dro_offsets_layout")
|
||||
self.x_axis_dro_offsets_layout.setContentsMargins(-1, 1, -1, 1)
|
||||
self.zero_x_button_offset = MDIButton(offset_dros_xyz)
|
||||
self.zero_x_button_offset.setObjectName(u"zero_x_button_offset")
|
||||
self.zero_x_button_offset.setEnabled(False)
|
||||
self.zero_x_button_offset.setMinimumSize(QSize(55, 38))
|
||||
self.zero_x_button_offset.setMaximumSize(QSize(55, 38))
|
||||
self.zero_x_button_offset.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
self.zero_x_button_offset.setStyleSheet(u"MDIButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
"}")
|
||||
|
||||
self.x_axis_dro_offsets_layout.addWidget(self.zero_x_button_offset)
|
||||
|
||||
self.axis_label_x = QLabel(offset_dros_xyz)
|
||||
self.axis_label_x.setObjectName(u"axis_label_x")
|
||||
sizePolicy.setHeightForWidth(self.axis_label_x.sizePolicy().hasHeightForWidth())
|
||||
self.axis_label_x.setSizePolicy(sizePolicy)
|
||||
self.axis_label_x.setMinimumSize(QSize(45, 35))
|
||||
self.axis_label_x.setMaximumSize(QSize(45, 35))
|
||||
self.axis_label_x.setStyleSheet(u"QLabel{\n"
|
||||
" border-style: solid;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: rgb(238, 238, 236);\n"
|
||||
" font: 18pt \"Probe Basic Bebas Mono\";\n"
|
||||
"}")
|
||||
self.axis_label_x.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
||||
|
||||
self.x_axis_dro_offsets_layout.addWidget(self.axis_label_x)
|
||||
|
||||
self.dro_entry_offset_x = DROLineEdit(offset_dros_xyz)
|
||||
self.dro_entry_offset_x.setObjectName(u"dro_entry_offset_x")
|
||||
sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
|
||||
sizePolicy1.setHorizontalStretch(1)
|
||||
sizePolicy1.setVerticalStretch(0)
|
||||
sizePolicy1.setHeightForWidth(self.dro_entry_offset_x.sizePolicy().hasHeightForWidth())
|
||||
self.dro_entry_offset_x.setSizePolicy(sizePolicy1)
|
||||
self.dro_entry_offset_x.setMinimumSize(QSize(0, 38))
|
||||
self.dro_entry_offset_x.setMaximumSize(QSize(16777215, 38))
|
||||
font = QFont()
|
||||
font.setFamilies([u"Probe Basic Bebas Mono"])
|
||||
font.setPointSize(17)
|
||||
font.setBold(False)
|
||||
font.setItalic(False)
|
||||
self.dro_entry_offset_x.setFont(font)
|
||||
self.dro_entry_offset_x.setFocusPolicy(Qt.FocusPolicy.ClickFocus)
|
||||
self.dro_entry_offset_x.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
||||
|
||||
self.x_axis_dro_offsets_layout.addWidget(self.dro_entry_offset_x)
|
||||
|
||||
self.drolabel_work_x = DROLabel(offset_dros_xyz)
|
||||
self.drolabel_work_x.setObjectName(u"drolabel_work_x")
|
||||
sizePolicy1.setHeightForWidth(self.drolabel_work_x.sizePolicy().hasHeightForWidth())
|
||||
self.drolabel_work_x.setSizePolicy(sizePolicy1)
|
||||
self.drolabel_work_x.setMinimumSize(QSize(0, 38))
|
||||
self.drolabel_work_x.setMaximumSize(QSize(16777215, 38))
|
||||
self.drolabel_work_x.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
||||
self.drolabel_work_x.setProperty(u"referenceType", 0)
|
||||
self.drolabel_work_x.setProperty(u"axisNumber", 0)
|
||||
self.drolabel_work_x.setProperty(u"latheMode", 0)
|
||||
|
||||
self.x_axis_dro_offsets_layout.addWidget(self.drolabel_work_x)
|
||||
|
||||
self.work_offset_x = StatusLabel(offset_dros_xyz)
|
||||
self.work_offset_x.setObjectName(u"work_offset_x")
|
||||
sizePolicy1.setHeightForWidth(self.work_offset_x.sizePolicy().hasHeightForWidth())
|
||||
self.work_offset_x.setSizePolicy(sizePolicy1)
|
||||
self.work_offset_x.setMinimumSize(QSize(0, 38))
|
||||
self.work_offset_x.setMaximumSize(QSize(16777215, 38))
|
||||
self.work_offset_x.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
||||
|
||||
self.x_axis_dro_offsets_layout.addWidget(self.work_offset_x)
|
||||
|
||||
self.g52_g92_x = StatusLabel(offset_dros_xyz)
|
||||
self.g52_g92_x.setObjectName(u"g52_g92_x")
|
||||
sizePolicy1.setHeightForWidth(self.g52_g92_x.sizePolicy().hasHeightForWidth())
|
||||
self.g52_g92_x.setSizePolicy(sizePolicy1)
|
||||
self.g52_g92_x.setMinimumSize(QSize(0, 38))
|
||||
self.g52_g92_x.setMaximumSize(QSize(16777215, 38))
|
||||
self.g52_g92_x.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
||||
|
||||
self.x_axis_dro_offsets_layout.addWidget(self.g52_g92_x)
|
||||
|
||||
self.tool_offset_x = StatusLabel(offset_dros_xyz)
|
||||
self.tool_offset_x.setObjectName(u"tool_offset_x")
|
||||
sizePolicy1.setHeightForWidth(self.tool_offset_x.sizePolicy().hasHeightForWidth())
|
||||
self.tool_offset_x.setSizePolicy(sizePolicy1)
|
||||
self.tool_offset_x.setMinimumSize(QSize(0, 38))
|
||||
self.tool_offset_x.setMaximumSize(QSize(16777215, 38))
|
||||
self.tool_offset_x.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
||||
|
||||
self.x_axis_dro_offsets_layout.addWidget(self.tool_offset_x)
|
||||
|
||||
|
||||
self.verticalLayout.addLayout(self.x_axis_dro_offsets_layout)
|
||||
|
||||
self.y_axis_dro_offsets_layout = QHBoxLayout()
|
||||
self.y_axis_dro_offsets_layout.setSpacing(12)
|
||||
self.y_axis_dro_offsets_layout.setObjectName(u"y_axis_dro_offsets_layout")
|
||||
self.y_axis_dro_offsets_layout.setContentsMargins(-1, 1, -1, 1)
|
||||
self.zero_y_button_offset = MDIButton(offset_dros_xyz)
|
||||
self.zero_y_button_offset.setObjectName(u"zero_y_button_offset")
|
||||
self.zero_y_button_offset.setEnabled(False)
|
||||
self.zero_y_button_offset.setMinimumSize(QSize(55, 38))
|
||||
self.zero_y_button_offset.setMaximumSize(QSize(55, 38))
|
||||
self.zero_y_button_offset.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
self.zero_y_button_offset.setStyleSheet(u"MDIButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
"}")
|
||||
|
||||
self.y_axis_dro_offsets_layout.addWidget(self.zero_y_button_offset)
|
||||
|
||||
self.axis_label_y = QLabel(offset_dros_xyz)
|
||||
self.axis_label_y.setObjectName(u"axis_label_y")
|
||||
self.axis_label_y.setMinimumSize(QSize(45, 35))
|
||||
self.axis_label_y.setMaximumSize(QSize(45, 35))
|
||||
self.axis_label_y.setStyleSheet(u"QLabel{\n"
|
||||
" border-style: solid;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: rgb(238, 238, 236);\n"
|
||||
" font: 18pt \"Probe Basic Bebas Mono\";\n"
|
||||
"}")
|
||||
self.axis_label_y.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
||||
|
||||
self.y_axis_dro_offsets_layout.addWidget(self.axis_label_y)
|
||||
|
||||
self.dro_entry_offset_y = DROLineEdit(offset_dros_xyz)
|
||||
self.dro_entry_offset_y.setObjectName(u"dro_entry_offset_y")
|
||||
sizePolicy1.setHeightForWidth(self.dro_entry_offset_y.sizePolicy().hasHeightForWidth())
|
||||
self.dro_entry_offset_y.setSizePolicy(sizePolicy1)
|
||||
self.dro_entry_offset_y.setMinimumSize(QSize(0, 38))
|
||||
self.dro_entry_offset_y.setMaximumSize(QSize(16777215, 38))
|
||||
self.dro_entry_offset_y.setFont(font)
|
||||
self.dro_entry_offset_y.setFocusPolicy(Qt.FocusPolicy.ClickFocus)
|
||||
self.dro_entry_offset_y.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
||||
self.dro_entry_offset_y.setProperty(u"axisNumber", 1)
|
||||
|
||||
self.y_axis_dro_offsets_layout.addWidget(self.dro_entry_offset_y)
|
||||
|
||||
self.drolabel_work_y = DROLabel(offset_dros_xyz)
|
||||
self.drolabel_work_y.setObjectName(u"drolabel_work_y")
|
||||
sizePolicy1.setHeightForWidth(self.drolabel_work_y.sizePolicy().hasHeightForWidth())
|
||||
self.drolabel_work_y.setSizePolicy(sizePolicy1)
|
||||
self.drolabel_work_y.setMinimumSize(QSize(0, 38))
|
||||
self.drolabel_work_y.setMaximumSize(QSize(16777215, 38))
|
||||
self.drolabel_work_y.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
||||
self.drolabel_work_y.setProperty(u"referenceType", 0)
|
||||
self.drolabel_work_y.setProperty(u"axisNumber", 1)
|
||||
self.drolabel_work_y.setProperty(u"latheMode", 0)
|
||||
|
||||
self.y_axis_dro_offsets_layout.addWidget(self.drolabel_work_y)
|
||||
|
||||
self.work_offset_y = StatusLabel(offset_dros_xyz)
|
||||
self.work_offset_y.setObjectName(u"work_offset_y")
|
||||
sizePolicy1.setHeightForWidth(self.work_offset_y.sizePolicy().hasHeightForWidth())
|
||||
self.work_offset_y.setSizePolicy(sizePolicy1)
|
||||
self.work_offset_y.setMinimumSize(QSize(0, 38))
|
||||
self.work_offset_y.setMaximumSize(QSize(16777215, 38))
|
||||
self.work_offset_y.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
||||
|
||||
self.y_axis_dro_offsets_layout.addWidget(self.work_offset_y)
|
||||
|
||||
self.g52_g92_y = StatusLabel(offset_dros_xyz)
|
||||
self.g52_g92_y.setObjectName(u"g52_g92_y")
|
||||
sizePolicy1.setHeightForWidth(self.g52_g92_y.sizePolicy().hasHeightForWidth())
|
||||
self.g52_g92_y.setSizePolicy(sizePolicy1)
|
||||
self.g52_g92_y.setMinimumSize(QSize(0, 38))
|
||||
self.g52_g92_y.setMaximumSize(QSize(16777215, 38))
|
||||
self.g52_g92_y.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
||||
|
||||
self.y_axis_dro_offsets_layout.addWidget(self.g52_g92_y)
|
||||
|
||||
self.tool_offset_y = StatusLabel(offset_dros_xyz)
|
||||
self.tool_offset_y.setObjectName(u"tool_offset_y")
|
||||
sizePolicy1.setHeightForWidth(self.tool_offset_y.sizePolicy().hasHeightForWidth())
|
||||
self.tool_offset_y.setSizePolicy(sizePolicy1)
|
||||
self.tool_offset_y.setMinimumSize(QSize(0, 38))
|
||||
self.tool_offset_y.setMaximumSize(QSize(16777215, 38))
|
||||
self.tool_offset_y.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
||||
|
||||
self.y_axis_dro_offsets_layout.addWidget(self.tool_offset_y)
|
||||
|
||||
|
||||
self.verticalLayout.addLayout(self.y_axis_dro_offsets_layout)
|
||||
|
||||
self.z_axis_dro_offsets_layout = QHBoxLayout()
|
||||
self.z_axis_dro_offsets_layout.setSpacing(12)
|
||||
self.z_axis_dro_offsets_layout.setObjectName(u"z_axis_dro_offsets_layout")
|
||||
self.z_axis_dro_offsets_layout.setContentsMargins(-1, 1, -1, 1)
|
||||
self.zero_z_button_offset = MDIButton(offset_dros_xyz)
|
||||
self.zero_z_button_offset.setObjectName(u"zero_z_button_offset")
|
||||
self.zero_z_button_offset.setEnabled(False)
|
||||
self.zero_z_button_offset.setMinimumSize(QSize(55, 38))
|
||||
self.zero_z_button_offset.setMaximumSize(QSize(55, 38))
|
||||
self.zero_z_button_offset.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||
self.zero_z_button_offset.setStyleSheet(u"MDIButton {\n"
|
||||
" font: 15pt \"Probe Basic Bebas Mono\";\n"
|
||||
"}")
|
||||
|
||||
self.z_axis_dro_offsets_layout.addWidget(self.zero_z_button_offset)
|
||||
|
||||
self.axis_label_z = QLabel(offset_dros_xyz)
|
||||
self.axis_label_z.setObjectName(u"axis_label_z")
|
||||
self.axis_label_z.setMinimumSize(QSize(45, 35))
|
||||
self.axis_label_z.setMaximumSize(QSize(45, 35))
|
||||
self.axis_label_z.setStyleSheet(u"QLabel{\n"
|
||||
" border-style: solid;\n"
|
||||
" border-color: rgb(235, 235, 235);\n"
|
||||
" border-width: 1px;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" color: rgb(238, 238, 236);\n"
|
||||
" font: 18pt \"Probe Basic Bebas Mono\";\n"
|
||||
"}")
|
||||
self.axis_label_z.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
||||
|
||||
self.z_axis_dro_offsets_layout.addWidget(self.axis_label_z)
|
||||
|
||||
self.dro_entry_offset_z = DROLineEdit(offset_dros_xyz)
|
||||
self.dro_entry_offset_z.setObjectName(u"dro_entry_offset_z")
|
||||
sizePolicy1.setHeightForWidth(self.dro_entry_offset_z.sizePolicy().hasHeightForWidth())
|
||||
self.dro_entry_offset_z.setSizePolicy(sizePolicy1)
|
||||
self.dro_entry_offset_z.setMinimumSize(QSize(0, 38))
|
||||
self.dro_entry_offset_z.setMaximumSize(QSize(16777215, 38))
|
||||
self.dro_entry_offset_z.setFont(font)
|
||||
self.dro_entry_offset_z.setFocusPolicy(Qt.FocusPolicy.ClickFocus)
|
||||
self.dro_entry_offset_z.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
||||
self.dro_entry_offset_z.setProperty(u"axisNumber", 2)
|
||||
|
||||
self.z_axis_dro_offsets_layout.addWidget(self.dro_entry_offset_z)
|
||||
|
||||
self.drolabel_work_z = DROLabel(offset_dros_xyz)
|
||||
self.drolabel_work_z.setObjectName(u"drolabel_work_z")
|
||||
sizePolicy1.setHeightForWidth(self.drolabel_work_z.sizePolicy().hasHeightForWidth())
|
||||
self.drolabel_work_z.setSizePolicy(sizePolicy1)
|
||||
self.drolabel_work_z.setMinimumSize(QSize(0, 38))
|
||||
self.drolabel_work_z.setMaximumSize(QSize(16777215, 38))
|
||||
self.drolabel_work_z.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
||||
self.drolabel_work_z.setProperty(u"referenceType", 0)
|
||||
self.drolabel_work_z.setProperty(u"axisNumber", 2)
|
||||
self.drolabel_work_z.setProperty(u"latheMode", 0)
|
||||
|
||||
self.z_axis_dro_offsets_layout.addWidget(self.drolabel_work_z)
|
||||
|
||||
self.work_offset_z = StatusLabel(offset_dros_xyz)
|
||||
self.work_offset_z.setObjectName(u"work_offset_z")
|
||||
sizePolicy1.setHeightForWidth(self.work_offset_z.sizePolicy().hasHeightForWidth())
|
||||
self.work_offset_z.setSizePolicy(sizePolicy1)
|
||||
self.work_offset_z.setMinimumSize(QSize(0, 38))
|
||||
self.work_offset_z.setMaximumSize(QSize(16777215, 38))
|
||||
self.work_offset_z.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
||||
|
||||
self.z_axis_dro_offsets_layout.addWidget(self.work_offset_z)
|
||||
|
||||
self.g52_g92_z = StatusLabel(offset_dros_xyz)
|
||||
self.g52_g92_z.setObjectName(u"g52_g92_z")
|
||||
sizePolicy1.setHeightForWidth(self.g52_g92_z.sizePolicy().hasHeightForWidth())
|
||||
self.g52_g92_z.setSizePolicy(sizePolicy1)
|
||||
self.g52_g92_z.setMinimumSize(QSize(0, 38))
|
||||
self.g52_g92_z.setMaximumSize(QSize(16777215, 38))
|
||||
self.g52_g92_z.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
||||
|
||||
self.z_axis_dro_offsets_layout.addWidget(self.g52_g92_z)
|
||||
|
||||
self.tool_offset_z = StatusLabel(offset_dros_xyz)
|
||||
self.tool_offset_z.setObjectName(u"tool_offset_z")
|
||||
sizePolicy1.setHeightForWidth(self.tool_offset_z.sizePolicy().hasHeightForWidth())
|
||||
self.tool_offset_z.setSizePolicy(sizePolicy1)
|
||||
self.tool_offset_z.setMinimumSize(QSize(0, 38))
|
||||
self.tool_offset_z.setMaximumSize(QSize(16777215, 38))
|
||||
self.tool_offset_z.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
|
||||
|
||||
self.z_axis_dro_offsets_layout.addWidget(self.tool_offset_z)
|
||||
|
||||
|
||||
self.verticalLayout.addLayout(self.z_axis_dro_offsets_layout)
|
||||
|
||||
|
||||
self.retranslateUi(offset_dros_xyz)
|
||||
|
||||
QMetaObject.connectSlotsByName(offset_dros_xyz)
|
||||
# setupUi
|
||||
|
||||
def retranslateUi(self, offset_dros_xyz):
|
||||
offset_dros_xyz.setWindowTitle(QCoreApplication.translate("offset_dros_xyz", u"offset_dros_xyz", None))
|
||||
self.zero_x_button_offset.setText(QCoreApplication.translate("offset_dros_xyz", u"ZERO", None))
|
||||
self.zero_x_button_offset.setProperty(u"rules", QCoreApplication.translate("offset_dros_xyz", u"[\n"
|
||||
" {\n"
|
||||
" \"channels\": [\n"
|
||||
" {\n"
|
||||
" \"url\": \"status:g5x_index\",\n"
|
||||
" \"trigger\": true,\n"
|
||||
" \"type\": \"int\"\n"
|
||||
" }\n"
|
||||
" ],\n"
|
||||
" \"expression\": \"\",\n"
|
||||
" \"name\": \"G5x Index\",\n"
|
||||
" \"property\": \"None\"\n"
|
||||
" }\n"
|
||||
"]", None))
|
||||
self.zero_x_button_offset.setProperty(u"MDICommand", QCoreApplication.translate("offset_dros_xyz", u"G10 L20 P{ch[0]} X0.0", None))
|
||||
self.axis_label_x.setText(QCoreApplication.translate("offset_dros_xyz", u"X", None))
|
||||
self.dro_entry_offset_x.setProperty(u"styleSet", QCoreApplication.translate("offset_dros_xyz", u"dataField17", None))
|
||||
self.drolabel_work_x.setProperty(u"inchFormat", QCoreApplication.translate("offset_dros_xyz", u"%9.4f", None))
|
||||
self.drolabel_work_x.setProperty(u"millimeterFormat", QCoreApplication.translate("offset_dros_xyz", u"%10.3f", None))
|
||||
self.drolabel_work_x.setProperty(u"degreeFormat", QCoreApplication.translate("offset_dros_xyz", u"%10.2f", None))
|
||||
self.drolabel_work_x.setProperty(u"styleSet", QCoreApplication.translate("offset_dros_xyz", u"dataField17", None))
|
||||
self.work_offset_x.setProperty(u"rules", QCoreApplication.translate("offset_dros_xyz", u"[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:g5x_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][0])\", \"name\": \"New Rule\"}]", None))
|
||||
self.work_offset_x.setProperty(u"styleSet", QCoreApplication.translate("offset_dros_xyz", u"dataField17", None))
|
||||
self.g52_g92_x.setProperty(u"rules", QCoreApplication.translate("offset_dros_xyz", u"[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:g92_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][0])\", \"name\": \"New Rule\"}]", None))
|
||||
self.g52_g92_x.setProperty(u"styleSet", QCoreApplication.translate("offset_dros_xyz", u"dataField17", None))
|
||||
self.tool_offset_x.setProperty(u"rules", QCoreApplication.translate("offset_dros_xyz", u"[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:tool_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][0])\", \"name\": \"New Rule\"}]", None))
|
||||
self.tool_offset_x.setProperty(u"styleSet", QCoreApplication.translate("offset_dros_xyz", u"dataField17", None))
|
||||
self.zero_y_button_offset.setText(QCoreApplication.translate("offset_dros_xyz", u"ZERO", None))
|
||||
self.zero_y_button_offset.setProperty(u"rules", QCoreApplication.translate("offset_dros_xyz", u"[\n"
|
||||
" {\n"
|
||||
" \"channels\": [\n"
|
||||
" {\n"
|
||||
" \"url\": \"status:g5x_index\",\n"
|
||||
" \"trigger\": true,\n"
|
||||
" \"type\": \"int\"\n"
|
||||
" }\n"
|
||||
" ],\n"
|
||||
" \"expression\": \"\",\n"
|
||||
" \"name\": \"G5x Index\",\n"
|
||||
" \"property\": \"None\"\n"
|
||||
" }\n"
|
||||
"]", None))
|
||||
self.zero_y_button_offset.setProperty(u"MDICommand", QCoreApplication.translate("offset_dros_xyz", u"G10 L20 P{ch[0]} Y0.0", None))
|
||||
self.axis_label_y.setText(QCoreApplication.translate("offset_dros_xyz", u"Y", None))
|
||||
self.dro_entry_offset_y.setProperty(u"styleSet", QCoreApplication.translate("offset_dros_xyz", u"dataField17", None))
|
||||
self.drolabel_work_y.setProperty(u"inchFormat", QCoreApplication.translate("offset_dros_xyz", u"%9.4f", None))
|
||||
self.drolabel_work_y.setProperty(u"millimeterFormat", QCoreApplication.translate("offset_dros_xyz", u"%10.3f", None))
|
||||
self.drolabel_work_y.setProperty(u"degreeFormat", QCoreApplication.translate("offset_dros_xyz", u"%10.2f", None))
|
||||
self.drolabel_work_y.setProperty(u"styleSet", QCoreApplication.translate("offset_dros_xyz", u"dataField17", None))
|
||||
self.work_offset_y.setProperty(u"rules", QCoreApplication.translate("offset_dros_xyz", u"[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:g5x_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][1])\", \"name\": \"New Rule\"}]", None))
|
||||
self.work_offset_y.setProperty(u"styleSet", QCoreApplication.translate("offset_dros_xyz", u"dataField17", None))
|
||||
self.g52_g92_y.setProperty(u"rules", QCoreApplication.translate("offset_dros_xyz", u"[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:g92_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][1])\", \"name\": \"New Rule\"}]", None))
|
||||
self.g52_g92_y.setProperty(u"styleSet", QCoreApplication.translate("offset_dros_xyz", u"dataField17", None))
|
||||
self.tool_offset_y.setProperty(u"rules", QCoreApplication.translate("offset_dros_xyz", u"[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:tool_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][1])\", \"name\": \"New Rule\"}]", None))
|
||||
self.tool_offset_y.setProperty(u"styleSet", QCoreApplication.translate("offset_dros_xyz", u"dataField17", None))
|
||||
self.zero_z_button_offset.setText(QCoreApplication.translate("offset_dros_xyz", u"ZERO", None))
|
||||
self.zero_z_button_offset.setProperty(u"rules", QCoreApplication.translate("offset_dros_xyz", u"[\n"
|
||||
" {\n"
|
||||
" \"channels\": [\n"
|
||||
" {\n"
|
||||
" \"url\": \"status:g5x_index\",\n"
|
||||
" \"trigger\": true,\n"
|
||||
" \"type\": \"int\"\n"
|
||||
" }\n"
|
||||
" ],\n"
|
||||
" \"expression\": \"\",\n"
|
||||
" \"name\": \"G5x Index\",\n"
|
||||
" \"property\": \"None\"\n"
|
||||
" }\n"
|
||||
"]", None))
|
||||
self.zero_z_button_offset.setProperty(u"MDICommand", QCoreApplication.translate("offset_dros_xyz", u"G10 L20 P{ch[0]} Z0.0", None))
|
||||
self.axis_label_z.setText(QCoreApplication.translate("offset_dros_xyz", u"Z", None))
|
||||
self.dro_entry_offset_z.setProperty(u"styleSet", QCoreApplication.translate("offset_dros_xyz", u"dataField17", None))
|
||||
self.drolabel_work_z.setProperty(u"inchFormat", QCoreApplication.translate("offset_dros_xyz", u"%9.4f", None))
|
||||
self.drolabel_work_z.setProperty(u"millimeterFormat", QCoreApplication.translate("offset_dros_xyz", u"%10.3f", None))
|
||||
self.drolabel_work_z.setProperty(u"degreeFormat", QCoreApplication.translate("offset_dros_xyz", u"%10.2f", None))
|
||||
self.drolabel_work_z.setProperty(u"styleSet", QCoreApplication.translate("offset_dros_xyz", u"dataField17", None))
|
||||
self.work_offset_z.setProperty(u"rules", QCoreApplication.translate("offset_dros_xyz", u"[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:g5x_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][2])\", \"name\": \"New Rule\"}]", None))
|
||||
self.work_offset_z.setProperty(u"styleSet", QCoreApplication.translate("offset_dros_xyz", u"dataField17", None))
|
||||
self.g52_g92_z.setProperty(u"rules", QCoreApplication.translate("offset_dros_xyz", u"[{\"channels\": [{\"trigger\": true, \"type\": \"tuple\", \"url\": \"status:g92_offset\"}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][2])\", \"name\": \"New Rule\"}]", None))
|
||||
self.g52_g92_z.setProperty(u"styleSet", QCoreApplication.translate("offset_dros_xyz", u"dataField17", None))
|
||||
self.tool_offset_z.setProperty(u"rules", QCoreApplication.translate("offset_dros_xyz", u"[{\"channels\": [{\"url\": \"status:tool_offset\", \"trigger\": true}], \"property\": \"Text\", \"expression\": \"\\\"{:.4f}\\\".format(ch[0][2])\", \"name\": \"tool offset\"}]", None))
|
||||
self.tool_offset_z.setProperty(u"styleSet", QCoreApplication.translate("offset_dros_xyz", u"dataField17", None))
|
||||
# retranslateUi
|
||||
|
||||
|
||||
@@ -1,47 +1,23 @@
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, "/usr/lib/python3/dist-packages/probe_basic")
|
||||
from probe_basic_rc import *
|
||||
import linuxcnc
|
||||
|
||||
from PySide6.QtCore import Qt
|
||||
from PySide6.QtWidgets import QWidget
|
||||
from qtpy import uic
|
||||
from qtpy.QtCore import Qt
|
||||
from qtpy.QtWidgets import QWidget
|
||||
|
||||
from qtpyvcp.plugins import getPlugin
|
||||
from qtpyvcp.utilities import logger
|
||||
from qtpyvcp.utilities.runtime_ui_loader import load_ui as load_runtime_ui
|
||||
|
||||
LOG = logger.getLogger(__name__)
|
||||
|
||||
# Detect if we're running in Qt Designer
|
||||
IN_DESIGNER = os.getenv('DESIGNER', False)
|
||||
STATUS = getPlugin('status')
|
||||
TOOL_TABLE = getPlugin('tooltable')
|
||||
|
||||
# Defer plugin imports to avoid issues in designer
|
||||
STATUS = None
|
||||
TOOL_TABLE = None
|
||||
|
||||
def _get_status():
|
||||
global STATUS
|
||||
if STATUS is None:
|
||||
STATUS = getPlugin('status')
|
||||
return STATUS
|
||||
|
||||
def _get_tool_table():
|
||||
global TOOL_TABLE
|
||||
if TOOL_TABLE is None:
|
||||
TOOL_TABLE = getPlugin('tooltable')
|
||||
return TOOL_TABLE
|
||||
|
||||
INI_FILE = linuxcnc.ini(os.getenv('INI_FILE_NAME')) if not IN_DESIGNER else None
|
||||
|
||||
|
||||
def _load_ui(ui_path, parent):
|
||||
return load_runtime_ui(ui_path, parent)
|
||||
INI_FILE = linuxcnc.ini(os.getenv('INI_FILE_NAME'))
|
||||
|
||||
|
||||
class UserDRO(QWidget):
|
||||
def __init__(self, parent=None):
|
||||
super(UserDRO, self).__init__(parent)
|
||||
ui_file = os.path.splitext(os.path.basename(__file__))[0] + ".ui"
|
||||
ui_path = os.path.join(os.path.dirname(__file__), ui_file)
|
||||
self.ui = _load_ui(ui_path, self)
|
||||
uic.loadUi(os.path.join(os.path.dirname(__file__), ui_file), self)
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<string>dros_xyza</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
@@ -104,10 +104,10 @@
|
||||
}</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::Shape::StyledPanel</enum>
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Shadow::Raised</enum>
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_144">
|
||||
<property name="spacing">
|
||||
@@ -142,7 +142,7 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
padding-left: 1px;
|
||||
padding-right: 20px;
|
||||
}</string>
|
||||
@@ -151,7 +151,7 @@
|
||||
<string>AXIS</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[]</string>
|
||||
@@ -181,12 +181,12 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
padding-left: 6px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"url": "status:g5x_index?text", "trigger": true}], "property": "Text", "expression": "ch[0] + ' WORK'\n", "name": "WCS Header"}]</string>
|
||||
@@ -219,14 +219,14 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>MACHINE</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -253,14 +253,14 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>DTG</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -287,7 +287,7 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
padding-left: 6px;
|
||||
}</string>
|
||||
</property>
|
||||
@@ -295,7 +295,7 @@
|
||||
<string>REF</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[]</string>
|
||||
@@ -348,14 +348,14 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -408,20 +408,36 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string> 0.000</string>
|
||||
</property>
|
||||
<property name="cursorPosition">
|
||||
<number>0</number>
|
||||
<number>10</number>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>1</number>
|
||||
@@ -441,9 +457,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -466,8 +479,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -487,9 +520,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -512,8 +542,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -533,9 +575,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -559,11 +598,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -620,11 +659,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -677,24 +716,34 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -717,8 +766,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -738,9 +807,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -763,8 +829,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -784,9 +862,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -810,11 +885,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -871,11 +946,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -928,24 +1003,34 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -968,8 +1053,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -989,9 +1094,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1014,8 +1116,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -1035,9 +1149,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1061,11 +1172,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1122,11 +1233,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1178,24 +1289,34 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1218,8 +1339,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -1239,9 +1380,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1264,8 +1402,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -1285,9 +1435,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1311,11 +1458,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1372,14 +1519,14 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1433,11 +1580,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -20,7 +20,7 @@
|
||||
<string>offset_dros_xyza</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
@@ -67,11 +67,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -125,14 +125,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>X</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -158,20 +158,27 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -195,8 +202,28 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -216,9 +243,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -241,15 +265,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][0])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -272,15 +304,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][0])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -303,15 +343,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:tool_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][0])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@@ -345,11 +393,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -397,14 +445,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Y</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -430,24 +478,31 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -470,8 +525,28 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -491,9 +566,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -516,15 +588,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][1])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -547,15 +627,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][1])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -578,15 +666,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:tool_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][1])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@@ -620,11 +716,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -672,14 +768,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Z</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -705,24 +801,31 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -745,8 +848,28 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -766,9 +889,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -791,15 +911,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][2])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -822,15 +950,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][2])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -853,15 +989,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"url": "status:tool_offset", "trigger": true}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][2])", "name": "tool offset"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@@ -895,11 +1039,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -946,14 +1090,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>A</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -979,24 +1123,31 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1019,8 +1170,28 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -1040,9 +1211,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1065,15 +1233,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][3])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1096,15 +1272,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][3])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1127,15 +1311,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:tool_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][3])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,47 +1,23 @@
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, "/usr/lib/python3/dist-packages/probe_basic")
|
||||
from probe_basic_rc import *
|
||||
import linuxcnc
|
||||
|
||||
from PySide6.QtCore import Qt
|
||||
from PySide6.QtWidgets import QWidget
|
||||
from qtpy import uic
|
||||
from qtpy.QtCore import Qt
|
||||
from qtpy.QtWidgets import QWidget
|
||||
|
||||
from qtpyvcp.plugins import getPlugin
|
||||
from qtpyvcp.utilities import logger
|
||||
from qtpyvcp.utilities.runtime_ui_loader import load_ui as load_runtime_ui
|
||||
|
||||
LOG = logger.getLogger(__name__)
|
||||
|
||||
# Detect if we're running in Qt Designer
|
||||
IN_DESIGNER = os.getenv('DESIGNER', False)
|
||||
STATUS = getPlugin('status')
|
||||
TOOL_TABLE = getPlugin('tooltable')
|
||||
|
||||
# Defer plugin imports to avoid issues in designer
|
||||
STATUS = None
|
||||
TOOL_TABLE = None
|
||||
|
||||
def _get_status():
|
||||
global STATUS
|
||||
if STATUS is None:
|
||||
STATUS = getPlugin('status')
|
||||
return STATUS
|
||||
|
||||
def _get_tool_table():
|
||||
global TOOL_TABLE
|
||||
if TOOL_TABLE is None:
|
||||
TOOL_TABLE = getPlugin('tooltable')
|
||||
return TOOL_TABLE
|
||||
|
||||
INI_FILE = linuxcnc.ini(os.getenv('INI_FILE_NAME')) if not IN_DESIGNER else None
|
||||
|
||||
|
||||
def _load_ui(ui_path, parent):
|
||||
return load_runtime_ui(ui_path, parent)
|
||||
INI_FILE = linuxcnc.ini(os.getenv('INI_FILE_NAME'))
|
||||
|
||||
|
||||
class UserDRO(QWidget):
|
||||
def __init__(self, parent=None):
|
||||
super(UserDRO, self).__init__(parent)
|
||||
ui_file = os.path.splitext(os.path.basename(__file__))[0] + ".ui"
|
||||
ui_path = os.path.join(os.path.dirname(__file__), ui_file)
|
||||
self.ui = _load_ui(ui_path, self)
|
||||
uic.loadUi(os.path.join(os.path.dirname(__file__), ui_file), self)
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<string>dros_xyzab</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
@@ -97,14 +97,14 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 14pt "Probe Basic Bebas Mono";
|
||||
font: 14pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -172,10 +172,10 @@
|
||||
}</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::Shape::StyledPanel</enum>
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Shadow::Raised</enum>
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_103">
|
||||
<property name="spacing">
|
||||
@@ -210,12 +210,12 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
padding-left: 6px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"url": "status:g5x_index?text", "trigger": true}], "property": "Text", "expression": "ch[0] + ' WORK'\n", "name": "WCS Header"}]</string>
|
||||
@@ -248,14 +248,14 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>MACHINE</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -282,14 +282,14 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>DTG</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -317,11 +317,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -378,14 +378,14 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -438,17 +438,33 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string> 0.000</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>1</number>
|
||||
@@ -468,9 +484,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -493,8 +506,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -514,9 +547,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -539,8 +569,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -560,9 +602,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -586,11 +625,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -647,11 +686,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -704,24 +743,34 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -744,8 +793,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -765,9 +834,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -790,8 +856,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -811,9 +889,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -837,11 +912,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -898,11 +973,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -955,24 +1030,34 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -995,8 +1080,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -1016,9 +1121,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1041,8 +1143,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -1062,9 +1176,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1088,11 +1199,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1149,11 +1260,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1205,24 +1316,34 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1245,8 +1366,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -1266,9 +1407,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1291,8 +1429,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -1312,9 +1462,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1338,11 +1485,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1399,11 +1546,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1456,17 +1603,30 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>1</number>
|
||||
@@ -1486,9 +1646,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1511,8 +1668,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -1532,9 +1709,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1557,8 +1731,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -1578,9 +1764,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1604,11 +1787,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -20,7 +20,7 @@
|
||||
<string>offset_dros_xyzab</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
@@ -67,11 +67,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -125,14 +125,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>X</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -158,20 +158,27 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -195,8 +202,28 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -216,9 +243,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -241,15 +265,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][0])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -272,15 +304,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][0])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -303,15 +343,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:tool_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][0])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@@ -345,11 +393,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -397,14 +445,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Y</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -430,24 +478,31 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -470,8 +525,28 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -491,9 +566,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -516,15 +588,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][1])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -547,15 +627,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:tool_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][1])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -578,15 +666,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][1])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@@ -620,11 +716,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -672,14 +768,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Z</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -705,24 +801,31 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -745,8 +848,28 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -766,9 +889,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -791,15 +911,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][2])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -822,15 +950,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][2])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -853,15 +989,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"url": "status:tool_offset", "trigger": true}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][2])", "name": "tool offset"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@@ -895,11 +1039,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -946,14 +1090,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>A</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -979,24 +1123,31 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1019,8 +1170,28 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -1040,9 +1211,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1065,15 +1233,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][3])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1096,15 +1272,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][3])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1127,15 +1311,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:tool_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][3])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@@ -1169,11 +1361,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1221,14 +1413,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>B</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -1254,24 +1446,31 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>4</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1294,8 +1493,28 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -1315,9 +1534,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1340,15 +1556,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][4])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1371,15 +1595,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][4])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1402,15 +1634,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:tool_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][4])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,15 +1,12 @@
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, "/usr/lib/python3/dist-packages/probe_basic")
|
||||
from probe_basic_rc import *
|
||||
import linuxcnc
|
||||
|
||||
from PySide6.QtCore import Qt
|
||||
from PySide6.QtWidgets import QWidget
|
||||
from qtpy import uic
|
||||
from qtpy.QtCore import Qt
|
||||
from qtpy.QtWidgets import QWidget
|
||||
|
||||
from qtpyvcp.plugins import getPlugin
|
||||
from qtpyvcp.utilities import logger
|
||||
from qtpyvcp.utilities.runtime_ui_loader import load_ui as load_runtime_ui
|
||||
|
||||
LOG = logger.getLogger(__name__)
|
||||
|
||||
@@ -19,13 +16,8 @@ TOOL_TABLE = getPlugin('tooltable')
|
||||
INI_FILE = linuxcnc.ini(os.getenv('INI_FILE_NAME'))
|
||||
|
||||
|
||||
def _load_ui(ui_path, parent):
|
||||
return load_runtime_ui(ui_path, parent)
|
||||
|
||||
|
||||
class UserDRO(QWidget):
|
||||
def __init__(self, parent=None):
|
||||
super(UserDRO, self).__init__(parent)
|
||||
ui_file = os.path.splitext(os.path.basename(__file__))[0] + ".ui"
|
||||
ui_path = os.path.join(os.path.dirname(__file__), ui_file)
|
||||
self.ui = _load_ui(ui_path, self)
|
||||
uic.loadUi(os.path.join(os.path.dirname(__file__), ui_file), self)
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<string>dros_xyzac</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="y_axis_dro_layout_2">
|
||||
<property name="spacing">
|
||||
@@ -45,7 +45,7 @@
|
||||
<number>4</number>
|
||||
</property>
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SizeConstraint::SetDefaultConstraint</enum>
|
||||
<enum>QLayout::SetDefaultConstraint</enum>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
@@ -100,14 +100,14 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 14pt "Probe Basic Bebas Mono";
|
||||
font: 14pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -175,10 +175,10 @@
|
||||
}</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::Shape::StyledPanel</enum>
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Shadow::Raised</enum>
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_131">
|
||||
<property name="spacing">
|
||||
@@ -213,12 +213,12 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
padding-left: 6px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"url": "status:g5x_index?text", "trigger": true}], "property": "Text", "expression": "ch[0] + ' WORK'\n", "name": "WCS Header"}]</string>
|
||||
@@ -251,14 +251,14 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>MACHINE</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -285,14 +285,14 @@
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
color: rgb(238, 238, 236);
|
||||
font: 16pt "Probe Basic Bebas Mono";
|
||||
font: 16pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>DTG</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -320,11 +320,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -381,14 +381,14 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -441,20 +441,33 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
<string> 0.000</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>1</number>
|
||||
@@ -474,9 +487,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -499,8 +509,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -520,9 +550,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -545,8 +572,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -566,9 +605,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -592,11 +628,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -653,11 +689,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -710,24 +746,34 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -750,8 +796,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -771,9 +837,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -796,8 +859,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -817,9 +892,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -843,11 +915,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -904,11 +976,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -961,24 +1033,34 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1001,8 +1083,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -1022,9 +1124,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1047,8 +1146,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -1068,9 +1179,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1094,11 +1202,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1155,11 +1263,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1211,24 +1319,34 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1251,8 +1369,28 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -1272,9 +1410,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1297,8 +1432,20 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
@@ -1318,9 +1465,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1344,11 +1488,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1405,11 +1549,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 17pt "Probe Basic Bebas Mono";
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1447,7 +1591,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="DROLineEdit" name="dro_entry_main_c">
|
||||
<widget class="DROLineEdit" name="dro_entry_main_b">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
@@ -1462,23 +1606,36 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<enum>Qt::ClickFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>5</number>
|
||||
<number>4</number>
|
||||
</property>
|
||||
<property name="inchFormat" stdset="0">
|
||||
<string>%9.4f</string>
|
||||
@@ -1492,9 +1649,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1517,14 +1671,34 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>5</number>
|
||||
<number>4</number>
|
||||
</property>
|
||||
<property name="inchFormat" stdset="0">
|
||||
<string>%9.4f</string>
|
||||
@@ -1538,9 +1712,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1563,14 +1734,26 @@
|
||||
<height>35</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>5</number>
|
||||
<number>4</number>
|
||||
</property>
|
||||
<property name="inchFormat" stdset="0">
|
||||
<string>%9.4f</string>
|
||||
@@ -1584,9 +1767,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1610,11 +1790,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -20,7 +20,7 @@
|
||||
<string>offset_dros_xyzac</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
@@ -67,11 +67,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -125,14 +125,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>X</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -156,32 +156,29 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="inchFormat" stdset="0">
|
||||
<string>%9.4f</string>
|
||||
</property>
|
||||
<property name="millimeterFormat" stdset="0">
|
||||
<string>%10.3f</string>
|
||||
</property>
|
||||
<property name="degreeFormat" stdset="0">
|
||||
<string>%10.2f</string>
|
||||
</property>
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -205,8 +202,28 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -226,9 +243,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -251,15 +265,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][0])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -282,15 +304,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][0])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -313,15 +343,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:tool_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][0])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@@ -355,11 +393,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -407,14 +445,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Y</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -440,24 +478,31 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -480,8 +525,28 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -501,9 +566,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -526,15 +588,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][1])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -557,15 +627,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][1])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -588,15 +666,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:tool_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][1])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@@ -630,11 +716,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -682,14 +768,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Z</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -715,24 +801,31 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -755,8 +848,28 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -776,9 +889,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -801,15 +911,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][2])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -832,15 +950,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][2])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -863,15 +989,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"url": "status:tool_offset", "trigger": true}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][2])", "name": "tool offset"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@@ -905,11 +1039,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -956,14 +1090,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>A</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -989,24 +1123,31 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1029,8 +1170,28 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
@@ -1050,9 +1211,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1075,15 +1233,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][3])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1106,15 +1272,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][3])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1137,15 +1311,23 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:tool_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][3])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@@ -1179,11 +1361,11 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::NoFocus</enum>
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">MDIButton {
|
||||
font: 15pt "Probe Basic Bebas Mono";
|
||||
font: 15pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
@@ -1231,14 +1413,14 @@
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: rgb(238, 238, 236);
|
||||
font: 18pt "Probe Basic Bebas Mono";
|
||||
font: 18pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>C</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -1264,23 +1446,33 @@
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Probe Basic Bebas Mono</family>
|
||||
<family>Bebas Kai</family>
|
||||
<pointsize>17</pointsize>
|
||||
<weight>50</weight>
|
||||
<italic>false</italic>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
padding-right: 2px;
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>5</number>
|
||||
<number>4</number>
|
||||
</property>
|
||||
<property name="inchFormat" stdset="0">
|
||||
<string>%9.4f</string>
|
||||
@@ -1294,9 +1486,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1319,14 +1508,34 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel{
|
||||
border-style: transparent;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
QLabel[style="unhomed"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
QLabel[style="homing"]{
|
||||
color: rgb(196, 160, 0);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="referenceType" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="axisNumber" stdset="0">
|
||||
<number>5</number>
|
||||
<number>4</number>
|
||||
</property>
|
||||
<property name="inchFormat" stdset="0">
|
||||
<string>%9.4f</string>
|
||||
@@ -1340,9 +1549,6 @@
|
||||
<property name="latheMode" stdset="0">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@@ -1365,14 +1571,22 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][5])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g92_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][4])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -1396,14 +1610,22 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][5])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:g5x_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][4])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -1427,14 +1649,22 @@
|
||||
<height>38</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">StatusLabel{
|
||||
border-style: transparant;
|
||||
border-color: rgb(235, 235, 235);
|
||||
border-width: 1px;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background: rgb(235, 235, 235);
|
||||
font: 17pt "Bebas Kai";
|
||||
}</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="rules" stdset="0">
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:tool_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][5])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
<property name="styleSet" stdset="0">
|
||||
<string>dataField17</string>
|
||||
<string>[{"channels": [{"trigger": true, "type": "tuple", "url": "status:tool_offset"}], "property": "Text", "expression": "\"{:.4f}\".format(ch[0][4])", "name": "New Rule"}]</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user