GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "QWinTerminalImpl.h"
Public Types | |
enum | CursorType { UnderlineCursor, BlockCursor, IBeamCursor } |
Public Slots | |
void | blinkCursorEvent (void) |
void | copyClipboard (void) |
virtual void | handleCustomContextMenuRequested (const QPoint &at) |
void | notice_settings (const QSettings *settings) |
void | pasteClipboard (void) |
void | terminal_interrupt (void) |
Signals | |
void | interrupt_signal (void) |
void | report_status_message (const QString &) |
void | set_global_shortcuts_signal (bool) |
void | terminated (void) |
void | titleChanged (const QString &) |
Public Member Functions | |
QWinTerminalImpl (QWidget *parent=0) | |
QWinTerminalImpl (const QString &cmd, QWidget *parent=0) | |
~QWinTerminalImpl (void) | |
QString | selectedText () |
void | sendText (const QString &s) |
void | setBackgroundColor (const QColor &color) |
void | setCursorColor (bool useForegoundColor, const QColor &color) |
void | setCursorType (CursorType type, bool blinking) |
void | setForegroundColor (const QColor &color) |
void | setSelectionColor (const QColor &color) |
void | setSize (int columns, int lines) |
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 | |
bool | eventFilter (QObject *obj, QEvent *ev) |
void | focusInEvent (QFocusEvent *) |
void | focusOutEvent (QFocusEvent *) |
void | keyPressEvent (QKeyEvent *) |
void | mouseMoveEvent (QMouseEvent *event) |
void | mousePressEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
void | setBlinkingCursor (bool blink) |
void | setBlinkingCursorState (bool blink) |
virtual void | start (void) |
void | viewPaintEvent (QConsoleView *, QPaintEvent *) |
void | viewResizeEvent (QConsoleView *, QResizeEvent *) |
void | wheelEvent (QWheelEvent *) |
Private Slots | |
void | monitorConsole (void) |
void | scrollValueChanged (int value) |
void | updateSelection (void) |
Private Attributes | |
QConsolePrivate * | d |
Friends | |
class | QConsolePrivate |
class | QConsoleThread |
class | QConsoleView |
Definition at line 42 of file QWinTerminalImpl.h.
|
inherited |
Definition at line 59 of file QTerminal.h.
QWinTerminalImpl::QWinTerminalImpl | ( | QWidget * | parent = 0 | ) |
Definition at line 1232 of file QWinTerminalImpl.cpp.
References set_global_shortcuts_signal().
QWinTerminalImpl::QWinTerminalImpl | ( | const QString & | cmd, |
QWidget * | parent = 0 |
||
) |
Definition at line 1243 of file QWinTerminalImpl.cpp.
QWinTerminalImpl::~QWinTerminalImpl | ( | void | ) |
Definition at line 1250 of file QWinTerminalImpl.cpp.
References d.
Definition at line 1321 of file QWinTerminalImpl.cpp.
References QConsolePrivate::cursorRect(), d, QConsolePrivate::m_consoleView, QConsolePrivate::m_cursorBlinking, and QConsolePrivate::m_hasBlinkingCursor.
Referenced by keyPressEvent(), QConsolePrivate::QConsolePrivate(), and setBlinkingCursorState().
|
staticinherited |
Definition at line 59 of file QTerminal.cc.
References names().
Referenced by resource_manager::terminal_color_names().
Definition at line 1514 of file QWinTerminalImpl.cpp.
References d, QConsolePrivate::getSelection(), QTerminal::report_status_message(), and QTerminal::terminal_interrupt().
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().
Definition at line 1407 of file QWinTerminalImpl.cpp.
References sendText().
|
protected |
Definition at line 1386 of file QWinTerminalImpl.cpp.
References set_global_shortcuts_signal(), and setBlinkingCursorState().
|
protected |
Definition at line 1395 of file QWinTerminalImpl.cpp.
References d, QConsolePrivate::m_cursorBlinking, set_global_shortcuts_signal(), and setBlinkingCursorState().
|
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 QUnixTerminalImpl::initialize(), and QTerminal::QTerminal().
Referenced by QUnixTerminalImpl::initialize(), and QTerminal::terminal_interrupt().
|
protected |
Definition at line 1423 of file QWinTerminalImpl.cpp.
References QConsolePrivate::BLINK_DELAY, blinkCursorEvent(), d, QConsolePrivate::m_blinkCursorTimer, QConsolePrivate::m_cursorBlinking, QConsolePrivate::m_hasBlinkingCursor, sendText(), and translateKey().
Definition at line 1374 of file QWinTerminalImpl.cpp.
References d, and QConsolePrivate::monitorConsole().
|
protected |
Definition at line 1255 of file QWinTerminalImpl.cpp.
References d, QConsolePrivate::m_endSelection, QConsolePrivate::m_settingSelection, QConsolePrivate::posToCell(), and updateSelection().
|
protected |
Definition at line 1265 of file QWinTerminalImpl.cpp.
References d, QConsolePrivate::m_beginSelection, QConsolePrivate::m_settingSelection, and QConsolePrivate::posToCell().
|
protected |
Definition at line 1275 of file QWinTerminalImpl.cpp.
References d, QConsolePrivate::m_endSelection, QConsolePrivate::m_settingSelection, QConsolePrivate::posToCell(), and updateSelection().
|
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 1534 of file QWinTerminalImpl.cpp.
References sendText(), and text::text().
|
signalinherited |
Referenced by copyClipboard(), and QTerminal::QTerminal().
Definition at line 1367 of file QWinTerminalImpl.cpp.
References d, and QConsolePrivate::setScrollValue().
Referenced by QConsolePrivate::QConsolePrivate().
|
virtual |
Implements QTerminal.
Definition at line 1547 of file QWinTerminalImpl.cpp.
References d, and QConsolePrivate::getSelection().
|
virtual |
Implements QTerminal.
Definition at line 1449 of file QWinTerminalImpl.cpp.
References d, and QConsolePrivate::sendConsoleText().
Referenced by eventFilter(), keyPressEvent(), and pasteClipboard().
Referenced by focusInEvent(), focusOutEvent(), and QWinTerminalImpl().
|
virtual |
Implements QTerminal.
Definition at line 1474 of file QWinTerminalImpl.cpp.
References d, and QConsolePrivate::setBackgroundColor().
Definition at line 1331 of file QWinTerminalImpl.cpp.
References d, QConsolePrivate::m_hasBlinkingCursor, and setBlinkingCursorState().
Referenced by setCursorType().
Definition at line 1338 of file QWinTerminalImpl.cpp.
References QConsolePrivate::BLINK_DELAY, blinkCursorEvent(), d, QConsolePrivate::m_blinkCursorTimer, and QConsolePrivate::m_cursorBlinking.
Referenced by focusInEvent(), focusOutEvent(), and setBlinkingCursor().
Implements QTerminal.
Definition at line 1489 of file QWinTerminalImpl.cpp.
References d, and QConsolePrivate::setCursorColor().
|
virtual |
Reimplemented from QTerminal.
Definition at line 1454 of file QWinTerminalImpl.cpp.
References QTerminal::BlockCursor, d, QTerminal::IBeamCursor, QConsolePrivate::m_cursorType, setBlinkingCursor(), and QTerminal::UnderlineCursor.
|
virtual |
Implements QTerminal.
Definition at line 1479 of file QWinTerminalImpl.cpp.
References d, and QConsolePrivate::setForegroundColor().
|
virtual |
Implements QTerminal.
Definition at line 1484 of file QWinTerminalImpl.cpp.
References d, and QConsolePrivate::setSelectionColor().
Implements QTerminal.
Definition at line 1506 of file QWinTerminalImpl.cpp.
|
virtual |
Implements QTerminal.
Definition at line 1497 of file QWinTerminalImpl.cpp.
References d, f, QConsolePrivate::m_consoleView, QConsolePrivate::m_font, and QConsolePrivate::updateConsoleSize().
Definition at line 1442 of file QWinTerminalImpl.cpp.
References d, and QConsolePrivate::startCommand().
Referenced by QConsoleThread::run().
Definition at line 109 of file QTerminal.h.
References QTerminal::interrupt_signal().
Referenced by copyClipboard(), and QUnixTerminalImpl::initialize().
Referenced by QConsolePrivate::QConsolePrivate().
|
signal |
Referenced by QConsolePrivate::monitorConsole().
Definition at line 1379 of file QWinTerminalImpl.cpp.
References d, and QConsolePrivate::updateSelection().
Referenced by mouseMoveEvent(), and mouseReleaseEvent().
|
protected |
Definition at line 1297 of file QWinTerminalImpl.cpp.
References d, QConsolePrivate::drawCursor(), QConsolePrivate::drawSelection(), QConsolePrivate::drawText(), QConsolePrivate::drawTextBackground(), QConsolePrivate::m_charSize, and QConsolePrivate::m_consoleRect.
Referenced by QConsoleView::paintEvent().
|
protected |
Definition at line 1289 of file QWinTerminalImpl.cpp.
References d, QConsolePrivate::grabConsoleBuffer(), and QConsolePrivate::updateConsoleSize().
Referenced by QConsoleView::resizeEvent().
|
protected |
Definition at line 1354 of file QWinTerminalImpl.cpp.
References d, QConsolePrivate::m_inWheelEvent, and QConsolePrivate::m_scrollBar.
|
friend |
Definition at line 45 of file QWinTerminalImpl.h.
|
friend |
Definition at line 46 of file QWinTerminalImpl.h.
Referenced by QConsolePrivate::QConsolePrivate().
|
friend |
Definition at line 47 of file QWinTerminalImpl.h.
Referenced by QConsolePrivate::QConsolePrivate().
|
private |
Definition at line 98 of file QWinTerminalImpl.h.
Referenced by blinkCursorEvent(), copyClipboard(), focusOutEvent(), keyPressEvent(), monitorConsole(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), scrollValueChanged(), selectedText(), sendText(), setBackgroundColor(), setBlinkingCursor(), setBlinkingCursorState(), setCursorColor(), setCursorType(), setForegroundColor(), setSelectionColor(), setTerminalFont(), start(), updateSelection(), viewPaintEvent(), viewResizeEvent(), wheelEvent(), and ~QWinTerminalImpl().