From 16cf0f7280abf430a5552a2cecfa32996527c629 Mon Sep 17 00:00:00 2001 From: John Thornton Date: Tue, 31 Dec 2019 17:35:11 -0600 Subject: [PATCH] DOCS: add info to docstring --- qtpyvcp/widgets/input_widgets/gcedit.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qtpyvcp/widgets/input_widgets/gcedit.py b/qtpyvcp/widgets/input_widgets/gcedit.py index 9a2c3c576..c78ff6e64 100644 --- a/qtpyvcp/widgets/input_widgets/gcedit.py +++ b/qtpyvcp/widgets/input_widgets/gcedit.py @@ -183,6 +183,9 @@ def highlightBlock(self, text): # Using QRegularExpression index = result.capturedStart() class gCodeEdit(QPlainTextEdit): + """ + g Code Editor using QPlainTextEdit for speed in loading + """ focusLine = Signal(int) def __init__(self, parent=None): @@ -228,6 +231,9 @@ def __init__(self, parent=None): @Slot(bool) def EditorReadOnly(self, state): + """ + Set to Read Only to disable editing + """ if state: self.setReadOnly(True) else: