Сustomization QTvcp
23 May 2021 07:52 - 23 May 2021 16:27 #209880
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Almost like that. For now dialogue window is missing an option to set up safe height to start from line execution. Dialog dro label x, y, z.... coordinate line number. Is it possible to have such functionality at LinuxCNC? Thanks in advance
Last edit: 23 May 2021 16:27 by hottabich.
Please Log in or Create an account to join the conversation.
23 May 2021 17:44 #209929
by cmorley
Replied by cmorley on topic Сustomization QTvcp
What is the difference between the xyz settings and the safe height setting?
Typically one would manually jog the machine into position before restarting the program.
Typically one would manually jog the machine into position before restarting the program.
Please Log in or Create an account to join the conversation.
24 May 2021 07:28 #210040
by hottabich
Replied by hottabich on topic Сustomization QTvcp
At the moment there is no way to start work from scratch of the workpiece from the selected line. G54 (x0,y0,z0) Start line number, lifting the cutter to a given safe height, starting the spindle, pause for 5 seconds, the tool goes to the coordinates of the selected line and lowers along the z, work is in progress. This is relevant after shutdown of the scheduled and emergency machine. Thanks for attention!
Please Log in or Create an account to join the conversation.
11 Sep 2021 16:02 - 11 Sep 2021 16:03 #220229
by hottabich
Replied by hottabich on topic Сustomization QTvcp
[justify]Hello! I want to add to the woodpecker from QtDragon hd master apply_stylesheetCombo. Please help to register correct signal slot. Thanks![/justify]
Last edit: 11 Sep 2021 16:03 by hottabich.
Please Log in or Create an account to join the conversation.
11 Sep 2021 17:54 - 11 Sep 2021 17:55 #220237
by cmorley
Replied by cmorley on topic Сustomization QTvcp
Try this (untested)
In designer change the slot name from 'cmb_stylesheet_curentindex()' to 'apply_stylesheet_clicked(int)'
change function in handler file to:
In designer change the slot name from 'cmb_stylesheet_curentindex()' to 'apply_stylesheet_clicked(int)'
change function in handler file to:
def apply_stylesheet_clicked(self, index):
self.styleeditor.styleSheetCombo.setCurrentIndex(index)
self.styleeditor.on_applyButton_clicked()
Last edit: 11 Sep 2021 17:55 by cmorley.
The following user(s) said Thank You: hottabich
Please Log in or Create an account to join the conversation.
11 Sep 2021 18:16 - 11 Sep 2021 18:19 #220244
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Thank you, now it's switching the stylesheet. But also default stylesheet doesn't apply. (please see screenshot)
Stylesheet .gss files are located in config directory. Linux CNC 2.8.2
Stylesheet .gss files are located in config directory. Linux CNC 2.8.2
Last edit: 11 Sep 2021 18:19 by hottabich.
Please Log in or Create an account to join the conversation.
11 Sep 2021 18:34 #220247
by cmorley
Replied by cmorley on topic Сustomization QTvcp
See if this helps:
def apply_stylesheet_clicked(self, index):
self.styleeditor.styleSheetCombo.setCurrentIndex(index)
self.styleeditor.selectionChanged(index)
self.styleeditor.on_applyButton_clicked()
The following user(s) said Thank You: hottabich
Please Log in or Create an account to join the conversation.
11 Sep 2021 19:32 - 11 Sep 2021 19:39 #220250
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Cathed an error.
Fixed, and now it works
def apply_stylesheet_clicked(self, index):
if self.w.cmb_stylesheet.currentText() == "As Loaded": return
self.styleeditor.styleSheetCombo.setCurrentIndex(index)
self.styleeditor.on_applyButton_clicked()
Thank you so much!
Fixed, and now it works
def apply_stylesheet_clicked(self, index):
if self.w.cmb_stylesheet.currentText() == "As Loaded": return
self.styleeditor.styleSheetCombo.setCurrentIndex(index)
self.styleeditor.on_applyButton_clicked()
Thank you so much!
Last edit: 11 Sep 2021 19:39 by hottabich.
Please Log in or Create an account to join the conversation.
11 Sep 2021 19:42 #220251
by cmorley
Replied by cmorley on topic Сustomization QTvcp
Excellent!
Please Log in or Create an account to join the conversation.
29 Oct 2021 14:51 #224655
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Hello! How to register so that when choosing tab_mdi TabWidget interface went to mdi_mode. Thanks!
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.103 seconds