GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "QUnixTerminalImpl.h"
Public Types | |
enum | CursorType { UnderlineCursor, BlockCursor, IBeamCursor } |
Public Slots | |
void | copyClipboard () |
virtual void | handleCustomContextMenuRequested (const QPoint &at) |
virtual void | init_terminal_size (void) |
void | notice_settings (const QSettings *settings) |
void | pasteClipboard () |
void | selectAll () |
void | set_global_shortcuts (bool focus_out) |
void | terminal_interrupt (void) |
Signals | |
void | interrupt_signal (void) |
void | report_status_message (const QString &) |
Public Member Functions | |
QUnixTerminalImpl (QWidget *parent=0) | |
virtual | ~QUnixTerminalImpl () |
void | has_extra_interrupt (bool extra_interrupt) |
QString | selectedText () |
void | sendText (const QString &text) |
void | setBackgroundColor (const QColor &color) |
void | setCursorColor (bool useForegroundColor, const QColor &color) |
void | setCursorType (CursorType type, bool blinking) |
void | setForegroundColor (const QColor &color) |
void | setScrollBufferSize (int value) |
void | setSelectionColor (const QColor &color) |
void | setSize (int h, int v) |
void | setTerminalFont (const QFont &font) |
Static Public Member Functions | |
static QStringList | color_names (void) |
static QTerminal * | create (QWidget *xparent=0) |
static QList< QColor > | default_colors (void) |
Protected Member Functions | |
virtual void | resizeEvent (QResizeEvent *) |
void | showEvent (QShowEvent *) |
Private Member Functions | |
void | connectToPty () |
void | initialize () |
Private Attributes | |
bool | _extra_interrupt |
int | fdstderr |
KPty * | m_kpty |
TerminalModel * | m_terminalModel |
TerminalView * | m_terminalView |
Definition at line 30 of file QUnixTerminalImpl.h.
|
inherited |
Enumerator | |
---|---|
UnderlineCursor | |
BlockCursor | |
IBeamCursor |
Definition at line 64 of file QTerminal.h.
QUnixTerminalImpl::QUnixTerminalImpl | ( | QWidget * | parent = 0 | ) |
Definition at line 27 of file QUnixTerminalImpl.cpp.
References initialize().
|
virtual |
Definition at line 115 of file QUnixTerminalImpl.cpp.
References fdstderr.
|
staticinherited |
Definition at line 59 of file QTerminal.cc.
References names().
Referenced by resource_manager::terminal_color_names().
|
private |
Definition at line 90 of file QUnixTerminalImpl.cpp.
References fdstderr, m_kpty, and KPty::slaveFd().
Referenced by initialize().
|
slot |
Definition at line 208 of file QUnixTerminalImpl.cpp.
References _extra_interrupt, TerminalView::copyClipboard(), and m_terminalView.
Definition at line 33 of file QTerminal.cc.
|
staticinherited |
Definition at line 43 of file QTerminal.cc.
Referenced by QTerminal::notice_settings(), and resource_manager::terminal_default_colors().
|
inlinevirtualslotinherited |
Definition at line 105 of file QTerminal.h.
References QTerminal::_contextMenu, QTerminal::_copy_action, QTerminal::_paste_action, jit_convention::length, and QTerminal::selectedText().
Referenced by initialize(), and QTerminal::QTerminal().
|
virtual |
Implements QTerminal.
Definition at line 230 of file QUnixTerminalImpl.cpp.
References _extra_interrupt.
|
inlinevirtualslotinherited |
Definition at line 118 of file QTerminal.h.
Referenced by QTerminal::QTerminal().
|
private |
Definition at line 33 of file QUnixTerminalImpl.cpp.
References TerminalModel::addView(), connectToPty(), QTerminal::handleCustomContextMenuRequested(), QTerminal::interrupt_signal(), m_kpty, m_terminalModel, m_terminalView, TerminalView::NotifyBell, KPty::open(), TerminalModel::run(), TerminalView::ScrollBarRight, TerminalView::SelectWholeLine, TerminalModel::setAutoClose(), TerminalView::setBellMode(), TerminalView::setBlinkingCursor(), TerminalModel::setCodec(), TerminalModel::setDarkBackground(), TerminalModel::setHistoryType(), TerminalModel::setKeyBindings(), TerminalView::setKeyboardCursorShape(), TerminalView::setScrollBarPosition(), TerminalView::setSize(), setTerminalFont(), TerminalView::setTerminalSizeHint(), TerminalView::setTerminalSizeStartup(), TerminalView::setTripleClickMode(), QTerminal::terminal_interrupt(), and TerminalView::UnderlineCursor.
Referenced by QUnixTerminalImpl().
|
signalinherited |
Definition at line 130 of file moc-QTerminal.cc.
Referenced by initialize(), and QTerminal::terminal_interrupt().
|
slotinherited |
Definition at line 86 of file QTerminal.cc.
References QTerminal::_interrupt_action, QTerminal::BlockCursor, QTerminal::default_colors(), QTerminal::has_extra_interrupt(), QTerminal::IBeamCursor, QTerminal::setBackgroundColor(), QTerminal::setCursorColor(), QTerminal::setCursorType(), QTerminal::setForegroundColor(), QTerminal::setScrollBufferSize(), QTerminal::setSelectionColor(), QTerminal::setTerminalFont(), and QTerminal::UnderlineCursor.
Referenced by QTerminal::QTerminal().
|
slot |
Definition at line 213 of file QUnixTerminalImpl.cpp.
References m_terminalView, and TerminalView::pasteClipboard().
|
signalinherited |
Definition at line 123 of file moc-QTerminal.cc.
Referenced by QWinTerminalImpl::copyClipboard(), and QTerminal::QTerminal().
|
protectedvirtual |
Definition at line 200 of file QUnixTerminalImpl.cpp.
References m_terminalView, size(), and TerminalView::updateImage().
|
slot |
Definition at line 218 of file QUnixTerminalImpl.cpp.
References m_terminalView, and TerminalView::selectAll().
|
virtual |
Implements QTerminal.
Definition at line 224 of file QUnixTerminalImpl.cpp.
References m_terminalView, and TerminalView::selectedText().
|
virtual |
Implements QTerminal.
Definition at line 137 of file QUnixTerminalImpl.cpp.
References m_terminalModel, and TerminalModel::sendText().
|
slotinherited |
Definition at line 76 of file QTerminal.cc.
References QTerminal::_interrupt_action.
Referenced by QWinTerminalImpl::QWinTerminalImpl().
|
virtual |
Implements QTerminal.
Definition at line 154 of file QUnixTerminalImpl.cpp.
References ColorEntry::color, TerminalView::colorTable(), DEFAULT_BACK_COLOR, m_terminalView, TerminalView::setColorTable(), and TABLE_COLORS.
|
virtual |
Implements QTerminal.
Definition at line 187 of file QUnixTerminalImpl.cpp.
References m_terminalView, and TerminalView::setKeyboardCursorColor().
|
virtual |
Reimplemented from QTerminal.
Definition at line 142 of file QUnixTerminalImpl.cpp.
References QTerminal::BlockCursor, TerminalView::BlockCursor, QTerminal::IBeamCursor, TerminalView::IBeamCursor, m_terminalView, TerminalView::setBlinkingCursor(), TerminalView::setKeyboardCursorShape(), QTerminal::UnderlineCursor, and TerminalView::UnderlineCursor.
|
virtual |
Implements QTerminal.
Definition at line 169 of file QUnixTerminalImpl.cpp.
References ColorEntry::color, TerminalView::colorTable(), DEFAULT_FORE_COLOR, m_terminalView, TerminalView::setColorTable(), and TABLE_COLORS.
|
virtual |
Implements QTerminal.
Definition at line 79 of file QUnixTerminalImpl.cpp.
References TerminalModel::clearHistory(), m_terminalModel, and TerminalModel::setHistoryType().
|
virtual |
Implements QTerminal.
Definition at line 185 of file QUnixTerminalImpl.cpp.
Implements QTerminal.
Definition at line 130 of file QUnixTerminalImpl.cpp.
References m_terminalView, and TerminalView::setSize().
|
virtual |
Implements QTerminal.
Definition at line 123 of file QUnixTerminalImpl.cpp.
References m_terminalView, and TerminalView::setVTFont().
Referenced by initialize().
|
protected |
Definition at line 193 of file QUnixTerminalImpl.cpp.
References m_terminalView, and TerminalView::updateImage().
|
inlineslotinherited |
Definition at line 120 of file QTerminal.h.
References QTerminal::interrupt_signal().
Referenced by QWinTerminalImpl::copyClipboard(), initialize(), and QTerminal::QTerminal().
|
private |
Definition at line 70 of file QUnixTerminalImpl.h.
Referenced by copyClipboard(), and has_extra_interrupt().
|
private |
Definition at line 34 of file QUnixTerminalImpl.h.
Referenced by connectToPty(), and ~QUnixTerminalImpl().
|
private |
Definition at line 69 of file QUnixTerminalImpl.h.
Referenced by connectToPty(), and initialize().
|
private |
Definition at line 68 of file QUnixTerminalImpl.h.
Referenced by initialize(), sendText(), and setScrollBufferSize().
|
private |
Definition at line 67 of file QUnixTerminalImpl.h.
Referenced by copyClipboard(), initialize(), pasteClipboard(), resizeEvent(), selectAll(), selectedText(), setBackgroundColor(), setCursorColor(), setCursorType(), setForegroundColor(), setSize(), setTerminalFont(), and showEvent().