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

#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)
 
virtual void init_terminal_size (void)
 
void notice_settings (const QSettings *settings)
 
virtual void pasteClipboard (void)=0
 
virtual void selectAll (void)=0
 
void set_global_shortcuts (bool focus_out)
 
void terminal_interrupt (void)
 

Signals

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

Public Member Functions

virtual ~QTerminal (void)
 
virtual void has_extra_interrupt (bool extra)=0
 
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 setScrollBufferSize (int value=1000)=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 * _interrupt_action
 
QAction * _paste_action
 
QAction * _selectall_action
 

Detailed Description

Definition at line 40 of file QTerminal.h.

Member Enumeration Documentation

Enumerator
UnderlineCursor 
BlockCursor 
IBeamCursor 

Definition at line 64 of file QTerminal.h.

Constructor & Destructor Documentation

virtual QTerminal::~QTerminal ( void  )
inlinevirtual

Definition at line 52 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
virtual void QTerminal::has_extra_interrupt ( bool  extra)
pure virtual

Implemented in QWinTerminalImpl, and QUnixTerminalImpl.

Referenced by notice_settings().

virtual void QTerminal::init_terminal_size ( void  )
inlinevirtualslot

Definition at line 118 of file QTerminal.h.

Referenced by QTerminal().

void QTerminal::interrupt_signal ( void  )
signal

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

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

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 &  _t1)
signal

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

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

virtual void QTerminal::selectAll ( void  )
pure virtualslot

Referenced by QTerminal().

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

Implemented in QWinTerminalImpl, and QUnixTerminalImpl.

void QTerminal::set_global_shortcuts ( bool  focus_out)
slot

Definition at line 76 of file QTerminal.cc.

References _interrupt_action.

Referenced by QWinTerminalImpl::QWinTerminalImpl().

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 71 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::setScrollBufferSize ( int  value = 1000)
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

Member Data Documentation

QMenu* QTerminal::_contextMenu
private

Definition at line 186 of file QTerminal.h.

Referenced by handleCustomContextMenuRequested(), and QTerminal().

QAction* QTerminal::_copy_action
private

Definition at line 187 of file QTerminal.h.

Referenced by handleCustomContextMenuRequested(), and QTerminal().

QAction* QTerminal::_interrupt_action
private

Definition at line 191 of file QTerminal.h.

Referenced by notice_settings(), QTerminal(), and set_global_shortcuts().

QAction* QTerminal::_paste_action
private

Definition at line 188 of file QTerminal.h.

Referenced by handleCustomContextMenuRequested(), and QTerminal().

QAction* QTerminal::_selectall_action
private

Definition at line 189 of file QTerminal.h.

Referenced by QTerminal().


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