Input Widgets
- class qtpyvcp.widgets.input_widgets.jog_increment.JogIncrementWidget(parent=None, standalone=False)[source]
- class qtpyvcp.widgets.input_widgets.file_system.RemovableDeviceComboBox(parent=None)[source]
ComboBox for choosing from a list of removable devices.
- class qtpyvcp.widgets.input_widgets.mdientry_widget.MDIEntry(parent=None)[source]
MDI Entry
Input any valid g Code. Enter sends the g Code.
- class qtpyvcp.widgets.input_widgets.action_slider.ActionSlider(parent=None)[source]
docstring for ActionSlider.
- class qtpyvcp.widgets.input_widgets.offset_table.OffsetModel(parent=None)[source]
DROLineEdit
- class qtpyvcp.widgets.input_widgets.dro_line_edit.DROLineEdit(parent=None)[source]
DRO that supports typing in desired position to set work coordinate offset.
- class qtpyvcp.widgets.input_widgets.action_dial.ActionDial(parent=None)[source]
docstring for ActionDial.
- class qtpyvcp.widgets.input_widgets.tool_table.ToolModel(parent=None)[source]
GcodeTextEdit
QPlainTextEdit based G-code editor with syntax highlighting.
- class qtpyvcp.widgets.input_widgets.gcode_text_edit.GcodeTextEdit(parent=None)[source]
G-code Text Edit
QPlainTextEdit based G-code editor with syntax heightening.
QtPyVCP MDI History Widget
This widget implements the following key elements: [1] A history display of MDI commands issued with the latest command at the top of the list and the oldest at the bottom of the list.
[2] A queue system of commands that have been entered but have not yet been executed. This allows the rapid entry of MDI commands to be executed without having to wait for any running commands to complete.
Todo
add/test for styling based on the class queue codes
- class qtpyvcp.widgets.input_widgets.mdihistory_widget.MDIHistory(parent=None)[source]
MDI History and Queuing Widget.
This widget implements a visual view of the MDI command history. It also implements a command queuing startegy so that commands can be entered and queued up for execution. Visual style is used to identify items that have been completed, are running and are yet to run.
- keyPressEvent(event)[source]
Key movement processing. Arrow keys move the selected list item up/down Return key generates a submit situation by making the item as the next available command to processes.
- setHistory(items_list)[source]
Clear and reset the history in the list. item_list is a list of strings.
Line Edit
- class qtpyvcp.widgets.input_widgets.action_combobox.ActionComboBox(parent=None)[source]
General purpose combobox for triggering QtPyVCP actions.
- Parameters:
parent (QWidget) – The parent widget of the combobox, or None.
- _action_name
The fully qualified name of the action the combobox triggers when the selection is changed.
- Type:
str
- class qtpyvcp.widgets.input_widgets.setting_slider.VCPSettingsLineEdit(parent)[source]
Settings LineEdit
- class qtpyvcp.widgets.input_widgets.setting_slider.VCPSettingsSlider(parent)[source]
Settings Slider
Set action options like:
machine.jog.linear-speed
- class qtpyvcp.widgets.input_widgets.setting_slider.VCPSettingsSpinBox(parent)[source]
Settings SpinBox
- class qtpyvcp.widgets.input_widgets.setting_slider.VCPSettingsDoubleSpinBox(parent)[source]
Settings DoubleSpinBox
- class qtpyvcp.widgets.input_widgets.setting_slider.VCPSettingsCheckBox(parent)[source]
Settings CheckBox