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 Attributes | List of all members
QTerminal Class Reference

#include "QTerminal.h"

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

Public Types

enum  CursorType { UnderlineCursor, BlockCursor, IBeamCursor }

Public Slots

virtual void copyClipboard (void)=0
virtual void handleCustomContextMenuRequested (const QPoint &at)
void notice_settings (const QSettings *settings)
virtual void pasteClipboard (void)=0
void terminal_interrupt (void)

Signals

void interrupt_signal (void)
void report_status_message (const QString &)

Public Member Functions

virtual ~QTerminal (void)
virtual QString selectedText ()=0
virtual void sendText (const QString &text)=0
virtual void setBackgroundColor (const QColor &color)=0
virtual void setCursorColor (bool useForegroundColor, const QColor &color)=0
virtual void setCursorType (CursorType type, bool blinking)
virtual void setForegroundColor (const QColor &color)=0
virtual void setSelectionColor (const QColor &color)=0
virtual void setSize (int h, int v)=0
virtual void setTerminalFont (const QFont &font)=0

Static Public Member Functions

static QStringList color_names (void)
static QTerminalcreate (QWidget *xparent=0)
static QList< QColor > default_colors (void)

Protected Member Functions

 QTerminal (QWidget *xparent=0)

Private Attributes

QMenu * _contextMenu
QAction * _copy_action
QAction * _paste_action

Detailed Description

Definition at line 37 of file QTerminal.h.

Member Enumeration Documentation

Enumerator:
UnderlineCursor 
BlockCursor 
IBeamCursor 

Definition at line 59 of file QTerminal.h.

Constructor & Destructor Documentation

virtual QTerminal::~QTerminal ( void  )
inlinevirtual

Definition at line 49 of file QTerminal.h.

QTerminal::QTerminal ( QWidget xparent = 0)
inlineprotected

Member Function Documentation

QStringList QTerminal::color_names ( void  )
static

Definition at line 59 of file QTerminal.cc.

References names().

Referenced by resource_manager::terminal_color_names().

virtual void QTerminal::copyClipboard ( void  )
pure virtualslot

Referenced by QTerminal().

QTerminal * QTerminal::create ( QWidget xparent = 0)
static

Definition at line 33 of file QTerminal.cc.

QList< QColor > QTerminal::default_colors ( void  )
static

Definition at line 43 of file QTerminal.cc.

Referenced by notice_settings(), and resource_manager::terminal_default_colors().

virtual void QTerminal::handleCustomContextMenuRequested ( const QPoint &  at)
inlinevirtualslot
void QTerminal::interrupt_signal ( void  )
signal
void QTerminal::notice_settings ( const QSettings *  settings)
slot
virtual void QTerminal::pasteClipboard ( void  )
pure virtualslot

Referenced by QTerminal().

void QTerminal::report_status_message ( const QString &  )
signal
virtual QString QTerminal::selectedText ( )
pure virtual
virtual void QTerminal::sendText ( const QString &  text)
pure virtual

Implemented in QWinTerminalImpl, and QUnixTerminalImpl.

virtual void QTerminal::setBackgroundColor ( const QColor &  color)
pure virtual

Implemented in QWinTerminalImpl, and QUnixTerminalImpl.

Referenced by notice_settings().

virtual void QTerminal::setCursorColor ( bool  useForegroundColor,
const QColor &  color 
)
pure virtual

Implemented in QWinTerminalImpl, and QUnixTerminalImpl.

Referenced by notice_settings().

virtual void QTerminal::setCursorType ( CursorType  type,
bool  blinking 
)
inlinevirtual

Reimplemented in QWinTerminalImpl, and QUnixTerminalImpl.

Definition at line 66 of file QTerminal.h.

Referenced by notice_settings().

virtual void QTerminal::setForegroundColor ( const QColor &  color)
pure virtual

Implemented in QWinTerminalImpl, and QUnixTerminalImpl.

Referenced by notice_settings().

virtual void QTerminal::setSelectionColor ( const QColor &  color)
pure virtual

Implemented in QWinTerminalImpl, and QUnixTerminalImpl.

Referenced by notice_settings().

virtual void QTerminal::setSize ( int  h,
int  v 
)
pure virtual

Implemented in QWinTerminalImpl, and QUnixTerminalImpl.

virtual void QTerminal::setTerminalFont ( const QFont &  font)
pure virtual

Implemented in QWinTerminalImpl, and QUnixTerminalImpl.

Referenced by notice_settings().

void QTerminal::terminal_interrupt ( void  )
inlineslot

Definition at line 109 of file QTerminal.h.

References interrupt_signal().

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

Member Data Documentation

QMenu* QTerminal::_contextMenu
private

Definition at line 150 of file QTerminal.h.

Referenced by handleCustomContextMenuRequested(), and QTerminal().

QAction* QTerminal::_copy_action
private

Definition at line 151 of file QTerminal.h.

Referenced by handleCustomContextMenuRequested(), and QTerminal().

QAction* QTerminal::_paste_action
private

Definition at line 152 of file QTerminal.h.

Referenced by handleCustomContextMenuRequested(), and QTerminal().


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