|
OpenStructure
|
#include <python_shell_widget.hh>
Inherits QPlainTextEdit.
Public Slots | |
| void | InsertCompletion (const QString &completion) |
| void | InsertPathCompletion (const QString &completion) |
| void | AppendOutput (unsigned int id, const QString &output) |
| void | AppendError (unsigned int id, const QString &output) |
| void | OutputFinished (unsigned int id, bool error) |
| void | Complete (bool inline_completion=true) |
| void | Recomplete (const QString &completion) |
| void | OnSingleLineStateEntered () |
| void | OnMultiLineActiveStateEntered () |
| void | OnMultiLineInactiveStateEntered () |
| void | OnHistoryUpStateEntered () |
| void | OnHistoryDownStateEntered () |
| void | OnExecuteStateEntered () |
| void | NewLineAtEnd () |
| void | NewLineAtCursor () |
| void | OnReadonlyEntered () |
| void | OnReadwriteEntered () |
| void | OnMixedToReadwrite () |
Signals | |
| void | Execute (const QString &command) |
| void | RequestCompletion (const QRect &rect, bool inline_completion) |
| void | SetCompletionPrefix (const QString &prefix) |
| void | RequestPathCompletion (const QRect &rect, bool inline_completion) |
| void | SetPathCompletionPrefix (const QString &prefix) |
Public Member Functions | |
| PythonShellWidget (QWidget *parent=NULL) | |
| GutterBlockList | GetGutterBlocks (const QRect &rect) |
| void | SetTabWidth (int width) |
| int | GetTabWidth () const |
| QString | GetCommand () |
| QTextBlock | GetEditStartBlock () |
Data Fields | |
| int | tab_width_ |
Protected Slots | |
| void | handle_completion_ () |
| void | handle_output_toggle_ () |
| void | handle_wrap_to_function_ () |
| void | handle_select_all_ () |
| void | handle_select_all_rw_ () |
| void | handle_delete_ () |
| void | handle_backspace_ () |
| void | handle_clear_all_ () |
Protected Member Functions | |
| virtual void | resizeEvent (QResizeEvent *event) |
| virtual void | showEvent (QShowEvent *event) |
| virtual void | insertFromMimeData (const QMimeData *source) |
| void | set_output_visible_ (bool flag=true) |
| void | setup_readonly_state_machine_ () |
| void | setup_state_machine_ () |
| void | wrap_into_function_ (const QString &command) |
| void | set_command_ (const QString &command) |
| void | set_block_edit_mode_ (BlockEditMode flag) |
| BlockEditMode | get_block_edit_mode_ () |
| void | set_block_type_ (const QTextBlock &start, const QTextBlock &end, BlockType type) |
Protected Attributes | |
| PythonSyntaxHighlighter | highlighter_ |
| PythonCompleter * | completer_ |
| PathCompleter * | path_completer_ |
| BlockEditMode | block_edit_mode_ |
| ShellHistory | history_ |
| Gutter * | gutter_ |
| bool | output_visible_ |
| int | completion_start_ |
| int | completion_end_ |
| QTextBlock | block_edit_start_ |
| OutputBlockList | output_blocks_ |
| StateMachine * | machine_ |
| StateMachine * | readonly_machine_ |
| State * | readwrite_state_ |
| State * | multiline_active_state_ |
Definition at line 47 of file python_shell_widget.hh.
| PythonShellWidget | ( | QWidget * | parent = NULL | ) |
|
slot |
|
slot |
|
slot |
|
signal |
|
protected |
| QString GetCommand | ( | ) |
| QTextBlock GetEditStartBlock | ( | ) |
| GutterBlockList GetGutterBlocks | ( | const QRect & | rect | ) |
| int GetTabWidth | ( | ) | const |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
slot |
|
protectedvirtual |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
signal |
|
signal |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
signal |
|
signal |
| void SetTabWidth | ( | int | width | ) |
|
protected |
|
protected |
|
protectedvirtual |
|
protected |
|
protected |
Definition at line 115 of file python_shell_widget.hh.
|
protected |
Definition at line 121 of file python_shell_widget.hh.
|
protected |
Definition at line 113 of file python_shell_widget.hh.
|
protected |
Definition at line 120 of file python_shell_widget.hh.
|
protected |
Definition at line 119 of file python_shell_widget.hh.
|
protected |
Definition at line 117 of file python_shell_widget.hh.
|
protected |
Definition at line 112 of file python_shell_widget.hh.
|
protected |
Definition at line 116 of file python_shell_widget.hh.
|
protected |
Definition at line 123 of file python_shell_widget.hh.
|
protected |
Definition at line 126 of file python_shell_widget.hh.
|
protected |
Definition at line 122 of file python_shell_widget.hh.
|
protected |
Definition at line 118 of file python_shell_widget.hh.
|
protected |
Definition at line 114 of file python_shell_widget.hh.
|
protected |
Definition at line 124 of file python_shell_widget.hh.
|
protected |
Definition at line 125 of file python_shell_widget.hh.
| int tab_width_ |
Definition at line 60 of file python_shell_widget.hh.
1.8.5