GNU Octave
3.8.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) |
void | notice_settings (const QSettings *settings) |
void | pasteClipboard () |
void | terminal_interrupt (void) |
Signals | |
void | interrupt_signal (void) |
void | report_status_message (const QString &) |
Public Member Functions | |
QUnixTerminalImpl (QWidget *parent=0) | |
virtual | ~QUnixTerminalImpl () |
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 | 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 | |
int | fdstderr |
KPty * | m_kpty |
TerminalModel * | m_terminalModel |
TerminalView * | m_terminalView |
Definition at line 30 of file QUnixTerminalImpl.h.
|
inherited |
Definition at line 59 of file QTerminal.h.
QUnixTerminalImpl::QUnixTerminalImpl | ( | QWidget * | parent = 0 | ) |
Definition at line 27 of file QUnixTerminalImpl.cpp.
References initialize().
|
virtual |
Definition at line 104 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 79 of file QUnixTerminalImpl.cpp.
References fdstderr, isatty(), m_kpty, KPty::slaveFd(), and STDIN_FILENO.
Referenced by initialize().
Definition at line 197 of file QUnixTerminalImpl.cpp.
References TerminalView::copyClipboard(), and m_terminalView.
Definition at line 33 of file QTerminal.cc.
Definition at line 43 of file QTerminal.cc.
Referenced by QTerminal::notice_settings(), and resource_manager::terminal_default_colors().
|
inlinevirtualslotinherited |
Definition at line 96 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().
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().
Referenced by initialize(), and QTerminal::terminal_interrupt().
|
slotinherited |
Definition at line 75 of file QTerminal.cc.
References QTerminal::BlockCursor, QTerminal::default_colors(), QTerminal::IBeamCursor, QTerminal::setBackgroundColor(), QTerminal::setCursorColor(), QTerminal::setCursorType(), QTerminal::setForegroundColor(), QTerminal::setSelectionColor(), QTerminal::setTerminalFont(), and QTerminal::UnderlineCursor.
Referenced by QTerminal::QTerminal().
Definition at line 202 of file QUnixTerminalImpl.cpp.
References m_terminalView, and TerminalView::pasteClipboard().
|
signalinherited |
Referenced by QWinTerminalImpl::copyClipboard(), and QTerminal::QTerminal().
|
protectedvirtual |
Definition at line 189 of file QUnixTerminalImpl.cpp.
References m_terminalView, size(), and TerminalView::updateImage().
|
virtual |
Implements QTerminal.
Definition at line 207 of file QUnixTerminalImpl.cpp.
References m_terminalView, and TerminalView::selectedText().
|
virtual |
Implements QTerminal.
Definition at line 126 of file QUnixTerminalImpl.cpp.
References m_terminalModel, and TerminalModel::sendText().
|
virtual |
Implements QTerminal.
Definition at line 143 of file QUnixTerminalImpl.cpp.
References ColorEntry::color, TerminalView::colorTable(), DEFAULT_BACK_COLOR, m_terminalView, TerminalView::setColorTable(), and TABLE_COLORS.
Implements QTerminal.
Definition at line 176 of file QUnixTerminalImpl.cpp.
References m_terminalView, and TerminalView::setKeyboardCursorColor().
|
virtual |
Reimplemented from QTerminal.
Definition at line 131 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 158 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 174 of file QUnixTerminalImpl.cpp.
Implements QTerminal.
Definition at line 119 of file QUnixTerminalImpl.cpp.
References m_terminalView, and TerminalView::setSize().
|
virtual |
Implements QTerminal.
Definition at line 112 of file QUnixTerminalImpl.cpp.
References m_terminalView, and TerminalView::setVTFont().
Referenced by initialize().
|
protected |
Definition at line 182 of file QUnixTerminalImpl.cpp.
References m_terminalView, and TerminalView::updateImage().
Definition at line 109 of file QTerminal.h.
References QTerminal::interrupt_signal().
Referenced by QWinTerminalImpl::copyClipboard(), and initialize().
|
private |
Definition at line 34 of file QUnixTerminalImpl.h.
Referenced by connectToPty(), and ~QUnixTerminalImpl().
|
private |
Definition at line 67 of file QUnixTerminalImpl.h.
Referenced by connectToPty(), and initialize().
|
private |
Definition at line 66 of file QUnixTerminalImpl.h.
Referenced by initialize(), and sendText().
|
private |
Definition at line 65 of file QUnixTerminalImpl.h.
Referenced by copyClipboard(), initialize(), pasteClipboard(), resizeEvent(), selectedText(), setBackgroundColor(), setCursorColor(), setCursorType(), setForegroundColor(), setSize(), setTerminalFont(), and showEvent().