GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | Friends | List of all members
QWinTerminalImpl Class Reference

#include "QWinTerminalImpl.h"

Inheritance diagram for QWinTerminalImpl:
Inheritance graph
[legend]
Collaboration diagram for QWinTerminalImpl:
Collaboration graph
[legend]

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 QTerminalcreate (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

QConsolePrivated

Friends

class QConsolePrivate
class QConsoleThread
class QConsoleView

Detailed Description

Definition at line 42 of file QWinTerminalImpl.h.

Member Enumeration Documentation

enum QTerminal::CursorType
inherited
Enumerator:
UnderlineCursor 
BlockCursor 
IBeamCursor 

Definition at line 59 of file QTerminal.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void QWinTerminalImpl::blinkCursorEvent ( void  )
slot
QStringList QTerminal::color_names ( void  )
staticinherited

Definition at line 59 of file QTerminal.cc.

References names().

Referenced by resource_manager::terminal_color_names().

void QWinTerminalImpl::copyClipboard ( void  )
slot
QTerminal * QTerminal::create ( QWidget xparent = 0)
staticinherited

Definition at line 33 of file QTerminal.cc.

QList< QColor > QTerminal::default_colors ( void  )
staticinherited
bool QWinTerminalImpl::eventFilter ( QObject obj,
QEvent *  ev 
)
protected

Definition at line 1407 of file QWinTerminalImpl.cpp.

References sendText().

void QWinTerminalImpl::focusInEvent ( QFocusEvent *  event)
protected
void QWinTerminalImpl::focusOutEvent ( QFocusEvent *  event)
protected
virtual void QTerminal::handleCustomContextMenuRequested ( const QPoint &  at)
inlinevirtualslotinherited
void QTerminal::interrupt_signal ( void  )
signalinherited
void QWinTerminalImpl::keyPressEvent ( QKeyEvent *  event)
protected
void QWinTerminalImpl::monitorConsole ( void  )
privateslot

Definition at line 1374 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::monitorConsole().

void QWinTerminalImpl::mouseMoveEvent ( QMouseEvent *  event)
protected
void QWinTerminalImpl::mousePressEvent ( QMouseEvent *  event)
protected
void QWinTerminalImpl::mouseReleaseEvent ( QMouseEvent *  event)
protected
void QTerminal::notice_settings ( const QSettings *  settings)
slotinherited
void QWinTerminalImpl::pasteClipboard ( void  )
slot

Definition at line 1534 of file QWinTerminalImpl.cpp.

References sendText(), and text::text().

void QTerminal::report_status_message ( const QString &  )
signalinherited
void QWinTerminalImpl::scrollValueChanged ( int  value)
privateslot

Definition at line 1367 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::setScrollValue().

Referenced by QConsolePrivate::QConsolePrivate().

QString QWinTerminalImpl::selectedText ( )
virtual

Implements QTerminal.

Definition at line 1547 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::getSelection().

void QWinTerminalImpl::sendText ( const QString &  s)
virtual

Implements QTerminal.

Definition at line 1449 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::sendConsoleText().

Referenced by eventFilter(), keyPressEvent(), and pasteClipboard().

void QWinTerminalImpl::set_global_shortcuts_signal ( bool  )
signal
void QWinTerminalImpl::setBackgroundColor ( const QColor &  color)
virtual

Implements QTerminal.

Definition at line 1474 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::setBackgroundColor().

void QWinTerminalImpl::setBlinkingCursor ( bool  blink)
protected

Definition at line 1331 of file QWinTerminalImpl.cpp.

References d, QConsolePrivate::m_hasBlinkingCursor, and setBlinkingCursorState().

Referenced by setCursorType().

void QWinTerminalImpl::setBlinkingCursorState ( bool  blink)
protected
void QWinTerminalImpl::setCursorColor ( bool  useForegoundColor,
const QColor &  color 
)
virtual

Implements QTerminal.

Definition at line 1489 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::setCursorColor().

void QWinTerminalImpl::setCursorType ( CursorType  type,
bool  blinking 
)
virtual
void QWinTerminalImpl::setForegroundColor ( const QColor &  color)
virtual

Implements QTerminal.

Definition at line 1479 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::setForegroundColor().

void QWinTerminalImpl::setSelectionColor ( const QColor &  color)
virtual

Implements QTerminal.

Definition at line 1484 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::setSelectionColor().

void QWinTerminalImpl::setSize ( int  columns,
int  lines 
)
virtual

Implements QTerminal.

Definition at line 1506 of file QWinTerminalImpl.cpp.

void QWinTerminalImpl::setTerminalFont ( const QFont &  font)
virtual
void QWinTerminalImpl::start ( void  )
protectedvirtual

Definition at line 1442 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::startCommand().

Referenced by QConsoleThread::run().

void QTerminal::terminal_interrupt ( void  )
inlineslotinherited

Definition at line 109 of file QTerminal.h.

References QTerminal::interrupt_signal().

Referenced by copyClipboard(), and QUnixTerminalImpl::initialize().

void QWinTerminalImpl::terminated ( void  )
signal
void QWinTerminalImpl::titleChanged ( const QString &  )
signal
void QWinTerminalImpl::updateSelection ( void  )
privateslot

Definition at line 1379 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::updateSelection().

Referenced by mouseMoveEvent(), and mouseReleaseEvent().

void QWinTerminalImpl::viewPaintEvent ( QConsoleView w,
QPaintEvent *  event 
)
protected
void QWinTerminalImpl::viewResizeEvent ( QConsoleView ,
QResizeEvent *   
)
protected
void QWinTerminalImpl::wheelEvent ( QWheelEvent *  event)
protected

Friends And Related Function Documentation

friend class QConsolePrivate
friend

Definition at line 45 of file QWinTerminalImpl.h.

friend class QConsoleThread
friend

Definition at line 46 of file QWinTerminalImpl.h.

Referenced by QConsolePrivate::QConsolePrivate().

friend class QConsoleView
friend

Definition at line 47 of file QWinTerminalImpl.h.

Referenced by QConsolePrivate::QConsolePrivate().

Member Data Documentation

QConsolePrivate* QWinTerminalImpl::d
private

The documentation for this class was generated from the following files: