Public Member Functions | |
def | __init__ |
CommentEntryWidget constructor. | |
def | getHistory |
def | getTimestamps |
Return the timestamps of the comments entered so far. | |
def | clearHistory |
Clear the comment history. | |
def | clearDisplay |
Clear the display buffer. | |
def | setPrompt |
Set the prompt for comment entry. | |
def | getPrompt |
Retrieve the current prompt. | |
def | flush |
Simulate stdin, stdout, and stderr. | |
def | isatty |
Simulate stdin, stdout, and stderr. | |
def | readline |
Simulate stdin, stdout, and stderr. | |
def | write |
Simulate stdin, stdout, and stderr. | |
def | writelines |
Simulate stdin, stdout, and stderr. | |
def | enterComment |
Enter a comment programmatically. | |
def | flushComment |
Force comment entry if the user hasn't pressed the Enter key yet. | |
def | __run |
Display/store the comment. | |
def | __clearLine |
Clear input line buffer. | |
def | insertText |
Insert text at a given position. | |
def | __insertText |
Insert text at the current cursor position. | |
def | keyPressEvent |
Handle user input a key at a time. | |
def | __deleteLine |
Delete a line. | |
def | __recall |
Display the current item from the command history. | |
def | focusNextPrevChild |
Suppress tabbing to the next window in multi-line commands. | |
def | handleClicked |
Save the selected text to the clipboard. | |
def | contentsContextMenuEvent |
Paste the contents of the clipboard to the cursor position. |
This widget is based on the QTextEdit widget and allows the entry and storage of comments entered by an operator.
Definition at line 65 of file rcCommentPanel.py.
|
Clear input line buffer.
Definition at line 258 of file rcCommentPanel.py. |
|
Delete a line.
Definition at line 363 of file rcCommentPanel.py. |
|
CommentEntryWidget constructor.
Definition at line 67 of file rcCommentPanel.py. |
|
Insert text at the current cursor position.
Definition at line 281 of file rcCommentPanel.py. |
|
Display the current item from the command history.
Definition at line 373 of file rcCommentPanel.py. |
|
Display/store the comment. Display the comment in the textedit window and based on addHistory value store it in the history.
Definition at line 234 of file rcCommentPanel.py. |
|
Clear the display buffer.
Definition at line 133 of file rcCommentPanel.py. |
|
Clear the comment history.
Definition at line 126 of file rcCommentPanel.py. |
|
Paste the contents of the clipboard to the cursor position.
Definition at line 397 of file rcCommentPanel.py. |
|
Enter a comment programmatically. This can be called from a user script to add to comments. The text is prepended with source to indicate that it is a machine generated comment.
Definition at line 204 of file rcCommentPanel.py. |
|
Simulate stdin, stdout, and stderr.
Definition at line 158 of file rcCommentPanel.py. |
|
Force comment entry if the user hasn't pressed the Enter key yet.
Definition at line 226 of file rcCommentPanel.py. |
|
Suppress tabbing to the next window in multi-line commands.
Definition at line 381 of file rcCommentPanel.py. |
|
Definition at line 116 of file rcCommentPanel.py. |
|
Retrieve the current prompt.
Definition at line 151 of file rcCommentPanel.py. |
|
Return the timestamps of the comments entered so far.
Definition at line 119 of file rcCommentPanel.py. |
|
Save the selected text to the clipboard.
Definition at line 387 of file rcCommentPanel.py. |
|
Insert text at a given position.
Definition at line 265 of file rcCommentPanel.py. |
|
Simulate stdin, stdout, and stderr.
Definition at line 164 of file rcCommentPanel.py. |
|
Handle user input a key at a time.
Definition at line 296 of file rcCommentPanel.py. |
|
Simulate stdin, stdout, and stderr.
Definition at line 170 of file rcCommentPanel.py. |
|
Set the prompt for comment entry.
Definition at line 144 of file rcCommentPanel.py. |
|
Simulate stdin, stdout, and stderr.
Definition at line 184 of file rcCommentPanel.py. |
|
Simulate stdin, stdout, and stderr.
Definition at line 197 of file rcCommentPanel.py. |