GNU Octave  4.0.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 init_terminal_size (void)
 
void notice_settings (const QSettings *settings)
 
void pasteClipboard (void)
 
void selectAll (void)
 
void set_global_shortcuts (bool focus_out)
 
void terminal_interrupt (void)
 

Signals

void interrupt_signal (void)
 
void report_status_message (const QString &)
 
void set_global_shortcuts_signal (bool)
 
void set_screen_size_signal (int, int)
 
void terminated (void)
 
void titleChanged (const QString &)
 

Public Member Functions

 QWinTerminalImpl (QWidget *parent=0)
 
 QWinTerminalImpl (const QString &cmd, QWidget *parent=0)
 
 ~QWinTerminalImpl (void)
 
void has_extra_interrupt (bool)
 
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 setScrollBufferSize (int value)
 
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

void dragEnterEvent (QDragEnterEvent *event)
 
void dropEvent (QDropEvent *event)
 
bool eventFilter (QObject *obj, QEvent *ev)
 
void focusInEvent (QFocusEvent *)
 
void focusOutEvent (QFocusEvent *)
 
void keyPressEvent (QKeyEvent *)
 
void mouseDoubleClickEvent (QMouseEvent *event)
 
void mouseMoveEvent (QMouseEvent *event)
 
void mousePressEvent (QMouseEvent *event)
 
void mouseReleaseEvent (QMouseEvent *event)
 
void mouseTripleClickEvent (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 horizontalScrollValueChanged (int value)
 
void monitorConsole (void)
 
void tripleClickTimeout (void)
 
void updateSelection (void)
 
void verticalScrollValueChanged (int value)
 

Private Attributes

bool _extra_interrupt
 
bool allowTripleClick
 
QConsolePrivated
 

Friends

class QConsolePrivate
 
class QConsoleThread
 
class QConsoleView
 

Detailed Description

Definition at line 44 of file QWinTerminalImpl.h.

Member Enumeration Documentation

enum QTerminal::CursorType
inherited
Enumerator
UnderlineCursor 
BlockCursor 
IBeamCursor 

Definition at line 64 of file QTerminal.h.

Constructor & Destructor Documentation

QWinTerminalImpl::QWinTerminalImpl ( QWidget parent = 0)
QWinTerminalImpl::QWinTerminalImpl ( const QString &  cmd,
QWidget parent = 0 
)

Definition at line 1440 of file QWinTerminalImpl.cpp.

QWinTerminalImpl::~QWinTerminalImpl ( void  )

Definition at line 1447 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
void QWinTerminalImpl::dragEnterEvent ( QDragEnterEvent *  event)
protected

Definition at line 1817 of file QWinTerminalImpl.cpp.

void QWinTerminalImpl::dropEvent ( QDropEvent *  event)
protected

Definition at line 1827 of file QWinTerminalImpl.cpp.

References sendText().

bool QWinTerminalImpl::eventFilter ( QObject obj,
QEvent *  ev 
)
protected

Definition at line 1650 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 QWinTerminalImpl::has_extra_interrupt ( bool  extra)
virtual

Implements QTerminal.

Definition at line 1845 of file QWinTerminalImpl.cpp.

References _extra_interrupt.

void QWinTerminalImpl::horizontalScrollValueChanged ( int  value)
privateslot
void QWinTerminalImpl::init_terminal_size ( void  )
slot

Definition at line 1585 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::updateConsoleSize().

void QTerminal::interrupt_signal ( void  )
signalinherited
void QWinTerminalImpl::keyPressEvent ( QKeyEvent *  event)
protected
void QWinTerminalImpl::monitorConsole ( void  )
privateslot

Definition at line 1617 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::monitorConsole().

void QWinTerminalImpl::mouseDoubleClickEvent ( QMouseEvent *  event)
protected
void QWinTerminalImpl::mouseMoveEvent ( QMouseEvent *  event)
protected
void QWinTerminalImpl::mousePressEvent ( QMouseEvent *  event)
protected
void QWinTerminalImpl::mouseReleaseEvent ( QMouseEvent *  event)
protected
void QWinTerminalImpl::mouseTripleClickEvent ( QMouseEvent *  event)
protected

Definition at line 1505 of file QWinTerminalImpl.cpp.

References d, QConsolePrivate::posToCell(), and QConsolePrivate::selectLine().

Referenced by mousePressEvent().

void QTerminal::notice_settings ( const QSettings *  settings)
slotinherited
void QWinTerminalImpl::pasteClipboard ( void  )
slot

Definition at line 1786 of file QWinTerminalImpl.cpp.

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

void QTerminal::report_status_message ( const QString &  _t1)
signalinherited

Definition at line 123 of file moc-QTerminal.cc.

Referenced by copyClipboard(), and QTerminal::QTerminal().

void QWinTerminalImpl::selectAll ( void  )
slot

Definition at line 1798 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::selectAll().

QString QWinTerminalImpl::selectedText ( )
virtual

Implements QTerminal.

Definition at line 1809 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::getSelection().

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

Implements QTerminal.

Definition at line 1692 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::sendConsoleText().

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

void QTerminal::set_global_shortcuts ( bool  focus_out)
slotinherited

Definition at line 76 of file QTerminal.cc.

References QTerminal::_interrupt_action.

Referenced by QWinTerminalImpl().

void QWinTerminalImpl::set_global_shortcuts_signal ( bool  )
signal
void QWinTerminalImpl::set_screen_size_signal ( int  ,
int   
)
signal

Referenced by QWinTerminalImpl(), and setSize().

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

Implements QTerminal.

Definition at line 1717 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::setBackgroundColor().

void QWinTerminalImpl::setBlinkingCursor ( bool  blink)
protected

Definition at line 1562 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 1732 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 1722 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::setForegroundColor().

void QWinTerminalImpl::setScrollBufferSize ( int  value)
virtual

Implements QTerminal.

Definition at line 1738 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::setScrollBufferSize().

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

Implements QTerminal.

Definition at line 1727 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::setSelectionColor().

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

Implements QTerminal.

Definition at line 1755 of file QWinTerminalImpl.cpp.

References d, QConsolePrivate::log(), and set_screen_size_signal().

Referenced by QConsolePrivate::updateConsoleSize().

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

Definition at line 1685 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::startCommand().

Referenced by QConsoleThread::run().

void QTerminal::terminal_interrupt ( void  )
inlineslotinherited
void QWinTerminalImpl::terminated ( void  )
signal
void QWinTerminalImpl::titleChanged ( const QString &  )
signal
void QWinTerminalImpl::tripleClickTimeout ( void  )
privateslot

Definition at line 1513 of file QWinTerminalImpl.cpp.

References allowTripleClick.

Referenced by mouseDoubleClickEvent().

void QWinTerminalImpl::updateSelection ( void  )
privateslot

Definition at line 1622 of file QWinTerminalImpl.cpp.

References d, and QConsolePrivate::updateSelection().

Referenced by mouseMoveEvent(), and mouseReleaseEvent().

void QWinTerminalImpl::verticalScrollValueChanged ( int  value)
privateslot
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 47 of file QWinTerminalImpl.h.

friend class QConsoleThread
friend

Definition at line 48 of file QWinTerminalImpl.h.

Referenced by QConsolePrivate::QConsolePrivate().

friend class QConsoleView
friend

Definition at line 49 of file QWinTerminalImpl.h.

Referenced by QConsolePrivate::QConsolePrivate().

Member Data Documentation

bool QWinTerminalImpl::_extra_interrupt
private

Definition at line 115 of file QWinTerminalImpl.h.

Referenced by copyClipboard(), and has_extra_interrupt().

bool QWinTerminalImpl::allowTripleClick
private

Definition at line 114 of file QWinTerminalImpl.h.

Referenced by mouseDoubleClickEvent(), mousePressEvent(), and tripleClickTimeout().

QConsolePrivate* QWinTerminalImpl::d
private

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