Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TEWidget Class Reference

Visible screen contents. More...

#include </home/clem/local/src/opie/core/apps/embeddedkonsole/TEWidget.h>

Collaboration diagram for TEWidget:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { SCRNONE = 0, SCRLEFT = 1, SCRRIGHT = 2 }
enum  { SCRNONE = 0, SCRLEFT = 1, SCRRIGHT = 2 }

Public Slots

void onClearSelection ()
void onClearSelection ()

Signals

void keyPressedSignal (QKeyEvent *e)
void mouseSignal (int cb, int cx, int cy)
void changedImageSizeSignal (int lines, int columns)
void changedHistoryCursor (int value)
void changedHorzCursor (int value)
void configureRequest (TEWidget *, int state, int x, int y)
void clearSelectionSignal ()
void beginSelectionSignal (const int x, const int y)
void extendSelectionSignal (const int x, const int y)
void endSelectionSignal (const BOOL preserve_line_breaks)
void changeFontSize (int)
void toggleFullScreen ()
void setFullScreen (bool)
void changeSession (int)
void newSession ()
void keyPressedSignal (QKeyEvent *e)
void mouseSignal (int cb, int cx, int cy)
void changedImageSizeSignal (int lines, int columns)
void changedHistoryCursor (int value)
void configureRequest (TEWidget *, int state, int x, int y)
void clearSelectionSignal ()
void beginSelectionSignal (const int x, const int y)
void extendSelectionSignal (const int x, const int y)
void endSelectionSignal (const BOOL preserve_line_breaks)

Public Member Functions

 TEWidget (QWidget *parent=0, const char *name=0)
virtual ~TEWidget ()
QColor getDefaultBackColor ()
const ColorEntrygetColorTable () const
const ColorEntrygetdefaultColorTable () const
void setColorTable (const ColorEntry table[])
void setScrollbarLocation (int loc)
void setScroll (int cursor, int lines)
void doScroll (int lines)
void doHScroll (int lines)
void emitSelection ()
void setWrapAt (int columns)
void setImage (const ca *const newimg, int lines, int columns)
int Lines ()
int Columns ()
void calcGeometry ()
void propagateSize ()
QSize calcSize (int cols, int lins) const
QSize sizeHint () const
void Bell ()
void emitText (QString text)
void pasteClipboard ()
const QPixmap * backgroundPixmap ()
void setSelection (const QString &t)
virtual void setFont (const QFont &)
void setVTFont (const QFont &)
QFont getVTFont ()
void setMouseMarks (bool on)
 TEWidget (QWidget *parent=0, const char *name=0)
virtual ~TEWidget ()
QColor getDefaultBackColor ()
QPushButton * cornerButton ()
const ColorEntrygetColorTable () const
const ColorEntrygetdefaultColorTable () const
void setColorTable (const ColorEntry table[])
void setScrollbarLocation (int loc)
void setScroll (int cursor, int lines)
void doScroll (int lines)
void emitSelection ()
void setWrapAt (int columns)
void setImage (const ca *const newimg, int lines, int columns)
int Lines ()
int Columns ()
void calcGeometry ()
void propagateSize ()
QSize calcSize (int cols, int lins) const
QSize sizeHint () const
void Bell ()
void emitText (QString text)
void pasteClipboard ()
const QPixmap * backgroundPixmap ()
void setSelection (const QString &t)
virtual void setFont (const QFont &)
void setVTFont (const QFont &)
QFont getVTFont ()
void setMouseMarks (bool on)

Public Attributes

bool useHorzScroll
bool useBeep
int color_menu_item
TESessioncurrentSession
TESessioncurrentSession

Protected Slots

void scrollChanged (int value)
void hScrollChanged (int value)
void blinkEvent ()
void scrollChanged (int value)
void hscrollChanged (int value)
void blinkEvent ()

Protected Member Functions

virtual void styleChange (QStyle &)
bool eventFilter (QObject *, QEvent *)
void drawAttrStr (QPainter &paint, QRect rect, QString &str, ca attr, BOOL pm, BOOL clear)
void paintEvent (QPaintEvent *)
void resizeEvent (QResizeEvent *)
void fontChange (const QFont &font)
void frameChanged ()
void mouseDoubleClickEvent (QMouseEvent *ev)
void mousePressEvent (QMouseEvent *)
void mouseReleaseEvent (QMouseEvent *)
void mouseMoveEvent (QMouseEvent *)
void focusInEvent (QFocusEvent *)
void focusOutEvent (QFocusEvent *)
bool focusNextPrevChild (bool next)
void dragEnterEvent (QDragEnterEvent *event)
void dropEvent (QDropEvent *event)
virtual int charClass (char) const
void clearImage ()
virtual void styleChange (QStyle &)
bool eventFilter (QObject *, QEvent *)
void drawAttrStr (QPainter &paint, QRect rect, QString &str, ca attr, BOOL pm, BOOL clear)
void paintEvent (QPaintEvent *)
void resizeEvent (QResizeEvent *)
void fontChange (const QFont &font)
void frameChanged ()
void mouseDoubleClickEvent (QMouseEvent *ev)
void mousePressEvent (QMouseEvent *)
void mouseReleaseEvent (QMouseEvent *)
void mouseMoveEvent (QMouseEvent *)
void focusInEvent (QFocusEvent *)
void focusOutEvent (QFocusEvent *)
bool focusNextPrevChild (bool next)
virtual int charClass (char) const
void clearImage ()

Private Slots

void drop_menu_activated (int item)
void drop_menu_activated (int item)

Private Member Functions

void makeImage ()
void makeImage ()

Private Attributes

QChar(* fontMap )(QChar)
int font_h
int font_w
int font_a
int blX
int brX
int bY
int lines
int columns
caimage
ColorEntry color_table [TABLE_COLORS]
BOOL resizing
bool mouse_marks
QPoint iPntSel
QPoint pntSel
int actSel
BOOL word_selection_mode
BOOL preserve_line_breaks
QClipboard * cb
QScrollBar * scrollbar
QScrollBar * hScrollbar
int scrollLoc
int hScrollLoc
int hposition
int vcolumns
int mouse_down_x
int mouse_down_y
BOOL blinking
BOOL hasBlinker
QTimer * blinkT
QPopupMenu * m_drop
QString dropText
bool fixed_font
caimage
QPushButton * m_cornerButton
QClipboard * cb
QScrollBar * scrollbar
QScrollBar * hscrollbar
QTimer * blinkT
QPopupMenu * m_drop

Detailed Description

Visible screen contents.

This class is responsible to map the `image' of a terminal emulation to the display. All the dependency of the emulation to a specific GUI or toolkit is localized here. Further, this widget has no knowledge about being part of an emulation, it simply work within the terminal emulation framework by exposing size and key events and by being ordered to show a new image.

See also:
TEScreen

Emulation

Definition at line 38 of file TEWidget.h.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
SCRNONE 
SCRLEFT 
SCRRIGHT 

Definition at line 58 of file TEWidget.h.

anonymous enum
 

Enumeration values:
SCRNONE 
SCRLEFT 
SCRRIGHT 

Definition at line 65 of file TEWidget.h.


Constructor & Destructor Documentation

TEWidget::TEWidget QWidget *  parent = 0,
const char *  name = 0
 

Definition at line 286 of file TEWidget.cpp.

References actSel, blinkEvent(), blinking, blinkT, cb, columns, currentSession, FALSE, font_a, font_h, font_w, hposition, hScrollbar, hScrollChanged(), image, lines, NULL, onClearSelection(), qApp, Config::readBoolEntry(), Config::readNumEntry(), resizing, SCRLEFT, SCRNONE, scrollbar, scrollChanged(), scrollLoc, SCRRIGHT, setColorTable(), Config::setGroup(), setMouseMarks(), setVTFont(), TRUE, useBeep, useHorzScroll, vcolumns, and word_selection_mode.

TEWidget::~TEWidget  )  [virtual]
 

Definition at line 361 of file TEWidget.cpp.

References image, and qApp.

TEWidget::TEWidget QWidget *  parent = 0,
const char *  name = 0
 

virtual TEWidget::~TEWidget  )  [virtual]
 


Member Function Documentation

const QPixmap* TEWidget::backgroundPixmap  ) 
 

const QPixmap * TEWidget::backgroundPixmap  ) 
 

Definition at line 150 of file TEWidget.cpp.

Referenced by paintEvent(), setColorTable(), and setImage().

void TEWidget::beginSelectionSignal const int  x,
const int  y
[signal]
 

void TEWidget::beginSelectionSignal const int  x,
const int  y
[signal]
 

Referenced by mouseDoubleClickEvent(), and mouseMoveEvent().

void TEWidget::Bell  ) 
 

void TEWidget::Bell  ) 
 

Definition at line 1182 of file TEWidget.cpp.

References useBeep.

Referenced by TEmulation::onRcvChar(), and TEmuVt102::tau().

void TEWidget::blinkEvent  )  [protected, slot]
 

void TEWidget::blinkEvent  )  [protected, slot]
 

Definition at line 547 of file TEWidget.cpp.

References blinking, and FALSE.

Referenced by TEWidget().

void TEWidget::calcGeometry  ) 
 

void TEWidget::calcGeometry  ) 
 

Definition at line 1221 of file TEWidget.cpp.

References blX, brX, bY, columns, font_h, font_w, height, hposition, hScrollbar, lines, p, Config::readBoolEntry(), rimX, rimY, SCRLEFT, SCRNONE, scrollbar, scrollLoc, SCRRIGHT, Config::setGroup(), useHorzScroll, vcolumns, and width.

Referenced by makeImage().

QSize TEWidget::calcSize int  cols,
int  lins
const
 

QSize TEWidget::calcSize int  cols,
int  lins
const
 

Definition at line 1304 of file TEWidget.cpp.

References font_h, font_w, height, rimX, rimY, SCRNONE, scrollbar, scrollLoc, and width.

Referenced by Konsole::calcSize(), and EmulationHandler::EmulationHandler().

void TEWidget::changedHistoryCursor int  value  )  [signal]
 

void TEWidget::changedHistoryCursor int  value  )  [signal]
 

Referenced by scrollChanged().

void TEWidget::changedHorzCursor int  value  )  [signal]
 

void TEWidget::changedImageSizeSignal int  lines,
int  columns
[signal]
 

void TEWidget::changedImageSizeSignal int  lines,
int  columns
[signal]
 

Referenced by propagateSize().

void TEWidget::changeFontSize int   )  [signal]
 

Referenced by eventFilter().

void TEWidget::changeSession int   )  [signal]
 

Referenced by eventFilter().

virtual int TEWidget::charClass char   )  const [protected, virtual]
 

int TEWidget::charClass char   )  const [protected, virtual]
 

Definition at line 909 of file TEWidget.cpp.

Referenced by mouseDoubleClickEvent(), and mouseMoveEvent().

void TEWidget::clearImage  )  [protected]
 

void TEWidget::clearImage  )  [protected]
 

Definition at line 1205 of file TEWidget.cpp.

References ca::b, ca::c, columns, ca::f, image, lines, loc, ca::r, Opie::MM::x, and Opie::MM::y.

Referenced by makeImage(), and propagateSize().

void TEWidget::clearSelectionSignal  )  [signal]
 

void TEWidget::clearSelectionSignal  )  [signal]
 

Referenced by emitSelection(), mouseDoubleClickEvent(), mousePressEvent(), and onClearSelection().

int TEWidget::Columns  )  [inline]
 

Definition at line 79 of file TEWidget.h.

References columns.

int TEWidget::Columns  )  [inline]
 

Definition at line 68 of file TEWidget.h.

Referenced by TEmulation::setConnect(), TEmulation::TEmulation(), and TESession::TESession().

void TEWidget::configureRequest TEWidget ,
int  state,
int  x,
int  y
[signal]
 

void TEWidget::configureRequest TEWidget ,
int  state,
int  x,
int  y
[signal]
 

Referenced by mousePressEvent().

QPushButton * TEWidget::cornerButton  ) 
 

Definition at line 1346 of file TEWidget.cpp.

References m_cornerButton.

Referenced by EmulationHandler::cornerButton().

void TEWidget::doHScroll int  lines  ) 
 

Definition at line 1011 of file TEWidget.cpp.

References hScrollbar.

void TEWidget::doScroll int  lines  ) 
 

void TEWidget::doScroll int  lines  ) 
 

Definition at line 1006 of file TEWidget.cpp.

References scrollbar.

Referenced by TEmuVt102::onKeyPress().

void TEWidget::dragEnterEvent QDragEnterEvent *  event  )  [protected]
 

Definition at line 1331 of file TEWidget.cpp.

void TEWidget::drawAttrStr QPainter &  paint,
QRect  rect,
QString str,
ca  attr,
BOOL  pm,
BOOL  clear
[protected]
 

void TEWidget::drawAttrStr QPainter &  paint,
QRect  rect,
QString str,
ca  attr,
BOOL  pm,
BOOL  clear
[protected]
 

attributed string draw primitive

Definition at line 377 of file TEWidget.cpp.

References ca::b, blinking, color_table, ca::f, font_a, ca::r, and RE_UNDERLINE.

Referenced by paintEvent(), and setImage().

void TEWidget::drop_menu_activated int  item  )  [private, slot]
 

void TEWidget::drop_menu_activated int  item  )  [private, slot]
 

Definition at line 1392 of file TEWidget.cpp.

References currentSession, dropText, QFile::encodeName(), TESession::getEmulation(), QString::local8Bit(), and S_ISDIR.

void TEWidget::dropEvent QDropEvent *  event  )  [protected]
 

Definition at line 1337 of file TEWidget.cpp.

References QPtrList< type >::count(), currentSession, dropText, QPtrList< type >::first(), TESession::getEmulation(), QString::local8Bit(), m_drop, QPtrList< type >::next(), and p.

void TEWidget::emitSelection  ) 
 

void TEWidget::emitSelection  ) 
 

Definition at line 939 of file TEWidget.cpp.

References clearSelectionSignal(), QString::isNull(), KeyPress, keyPressedSignal(), QString::replace(), and text.

Referenced by EmulationHandler::copy(), mousePressEvent(), TEmuVt102::onKeyPress(), and pasteClipboard().

void TEWidget::emitText QString  text  ) 
 

void TEWidget::emitText QString  text  ) 
 

Definition at line 955 of file TEWidget.cpp.

References KeyPress, and keyPressedSignal().

Referenced by Konsole::enterCommand(), Konsole::hitEnter(), Konsole::hitSpace(), Konsole::hitTab(), and Konsole::setDocument().

void TEWidget::endSelectionSignal const BOOL  preserve_line_breaks  )  [signal]
 

void TEWidget::endSelectionSignal const BOOL  preserve_line_breaks  )  [signal]
 

Referenced by mouseDoubleClickEvent(), and mouseReleaseEvent().

bool TEWidget::eventFilter QObject *  ,
QEvent * 
[protected]
 

bool TEWidget::eventFilter QObject *  ,
QEvent * 
[protected]
 

Definition at line 1015 of file TEWidget.cpp.

References actSel, cb, changeFontSize(), changeSession(), FALSE, Key_F13, Key_F2, Key_F3, Key_F4, Key_F5, Key_F6, Key_F9, Qt::Key_Left, Qt::Key_Right, Qt::Key_Tab, KeyPress, keyPressedSignal(), KeyRelease, newSession(), onClearSelection(), pasteClipboard(), qApp, scrollbar, toggleFullScreen(), TRUE, and vcolumns.

void TEWidget::extendSelectionSignal const int  x,
const int  y
[signal]
 

void TEWidget::extendSelectionSignal const int  x,
const int  y
[signal]
 

Referenced by mouseDoubleClickEvent(), and mouseMoveEvent().

void TEWidget::focusInEvent QFocusEvent *   )  [protected]
 

void TEWidget::focusInEvent QFocusEvent *   )  [protected]
 

Definition at line 888 of file TEWidget.cpp.

bool TEWidget::focusNextPrevChild bool  next  )  [protected]
 

bool TEWidget::focusNextPrevChild bool  next  )  [protected]
 

Definition at line 900 of file TEWidget.cpp.

void TEWidget::focusOutEvent QFocusEvent *   )  [protected]
 

void TEWidget::focusOutEvent QFocusEvent *   )  [protected]
 

Definition at line 895 of file TEWidget.cpp.

void TEWidget::fontChange const QFont &  font  )  [protected]
 

void TEWidget::fontChange const QFont &  font  )  [protected]
 

Definition at line 240 of file TEWidget.cpp.

References font_a, font_h, font_w, fontMap, identicalMap(), printf, propagateSize(), and vt100extended().

void TEWidget::frameChanged  )  [protected]
 

void TEWidget::frameChanged  )  [protected]
 

Definition at line 1171 of file TEWidget.cpp.

References propagateSize().

const ColorEntry* TEWidget::getColorTable  )  const
 

const ColorEntry * TEWidget::getColorTable  )  const
 

Definition at line 139 of file TEWidget.cpp.

References color_table.

QColor TEWidget::getDefaultBackColor  ) 
 

QColor TEWidget::getDefaultBackColor  ) 
 

Definition at line 134 of file TEWidget.cpp.

References ColorEntry::color, color_table, and DEFAULT_BACK_COLOR.

const ColorEntry* TEWidget::getdefaultColorTable  )  const
 

const ColorEntry * TEWidget::getdefaultColorTable  )  const
 

Definition at line 144 of file TEWidget.cpp.

Referenced by Konsole::colorMenuSelected(), EmulationHandler::setColor(), and Konsole::setColors().

QFont TEWidget::getVTFont  ) 
 

QFont TEWidget::getVTFont  ) 
 

Definition at line 271 of file TEWidget.cpp.

Referenced by Konsole::changeFontSize(), Konsole::cycleZoom(), and Konsole::switchSession().

void TEWidget::hscrollChanged int  value  )  [protected, slot]
 

Definition at line 634 of file TEWidget.cpp.

References hposition, and propagateSize().

void TEWidget::hScrollChanged int  value  )  [protected, slot]
 

Definition at line 612 of file TEWidget.cpp.

References hposition, and propagateSize().

Referenced by TEWidget().

void TEWidget::keyPressedSignal QKeyEvent *  e  )  [signal]
 

void TEWidget::keyPressedSignal QKeyEvent *  e  )  [signal]
 

Referenced by emitSelection(), emitText(), and eventFilter().

int TEWidget::Lines  )  [inline]
 

Definition at line 78 of file TEWidget.h.

References lines.

int TEWidget::Lines  )  [inline]
 

Definition at line 67 of file TEWidget.h.

Referenced by TEmulation::bulkEnd(), TEmuVt102::onKeyPress(), TEmulation::setConnect(), TEmulation::TEmulation(), and TESession::TESession().

void TEWidget::makeImage  )  [private]
 

void TEWidget::makeImage  )  [private]
 

Definition at line 1295 of file TEWidget.cpp.

References calcGeometry(), clearImage(), columns, image, and lines.

Referenced by propagateSize().

void TEWidget::mouseDoubleClickEvent QMouseEvent *  ev  )  [protected]
 

void TEWidget::mouseDoubleClickEvent QMouseEvent *  ev  )  [protected]
 

Definition at line 838 of file TEWidget.cpp.

References actSel, beginSelectionSignal(), blX, bY, charClass(), clearSelectionSignal(), columns, endSelectionSignal(), extendSelectionSignal(), font_h, font_w, i, image, iPntSel, loc, mouse_marks, mouseSignal(), pos, preserve_line_breaks, TRUE, word_selection_mode, and Opie::MM::x.

void TEWidget::mouseMoveEvent QMouseEvent *   )  [protected]
 

void TEWidget::mouseMoveEvent QMouseEvent *   )  [protected]
 

Definition at line 712 of file TEWidget.cpp.

References actSel, beginSelectionSignal(), blX, bY, charClass(), columns, extendSelectionSignal(), FALSE, font_h, font_w, i, image, iPntSel, lines, loc, pntSel, pos, scrollbar, word_selection_mode, and yMouseScroll.

void TEWidget::mousePressEvent QMouseEvent *   )  [protected]
 

void TEWidget::mousePressEvent QMouseEvent *   )  [protected]
 

Definition at line 670 of file TEWidget.cpp.

References actSel, blX, bY, clearSelectionSignal(), configureRequest(), emitSelection(), FALSE, font_h, font_w, iPntSel, mouse_down_x, mouse_down_y, mouse_marks, mouseSignal(), pntSel, pos, preserve_line_breaks, and word_selection_mode.

void TEWidget::mouseReleaseEvent QMouseEvent *   )  [protected]
 

void TEWidget::mouseReleaseEvent QMouseEvent *   )  [protected]
 

Definition at line 807 of file TEWidget.cpp.

References actSel, blX, bY, endSelectionSignal(), font_h, font_w, mouse_down_x, mouse_down_y, mouse_marks, mouseSignal(), preserve_line_breaks, qApp, setFullScreen(), and TRUE.

void TEWidget::mouseSignal int  cb,
int  cx,
int  cy
[signal]
 

void TEWidget::mouseSignal int  cb,
int  cx,
int  cy
[signal]
 

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

void TEWidget::newSession  )  [signal]
 

Referenced by eventFilter().

void TEWidget::onClearSelection  )  [slot]
 

void TEWidget::onClearSelection  )  [slot]
 

Definition at line 981 of file TEWidget.cpp.

References clearSelectionSignal().

Referenced by eventFilter(), setSelection(), and TEWidget().

void TEWidget::paintEvent QPaintEvent *   )  [protected]
 

void TEWidget::paintEvent QPaintEvent *  pe  )  [protected]
 

The difference of this routine vs. the `setImage' is, that the drawing does not include a difference analysis between the old and the new image. Instead, the internal image is used and the painting bound by the PaintEvent box.

Definition at line 481 of file TEWidget.cpp.

References ca::b, backgroundPixmap(), blX, bY, cb, columns, drawAttrStr(), f, ca::f, FALSE, font_h, font_w, fontMap, HCNT, image, len, lines, loc, NULL, ca::r, TRUE, Opie::MM::x, and Opie::MM::y.

void TEWidget::pasteClipboard  ) 
 

void TEWidget::pasteClipboard  ) 
 

Definition at line 961 of file TEWidget.cpp.

References emitSelection().

Referenced by eventFilter(), Konsole::hitPaste(), and EmulationHandler::paste().

void TEWidget::propagateSize  ) 
 

void TEWidget::propagateSize  ) 
 

Definition at line 575 of file TEWidget.cpp.

References changedImageSizeSignal(), clearImage(), columns, FALSE, image, lines, makeImage(), resizing, and TRUE.

Referenced by fontChange(), frameChanged(), hscrollChanged(), hScrollChanged(), resizeEvent(), setScrollbarLocation(), setWrapAt(), and styleChange().

void TEWidget::resizeEvent QResizeEvent *   )  [protected]
 

void TEWidget::resizeEvent QResizeEvent *   )  [protected]
 

Definition at line 559 of file TEWidget.cpp.

References assert, HCNT, height, propagateSize(), and width.

void TEWidget::scrollChanged int  value  )  [protected, slot]
 

void TEWidget::scrollChanged int  value  )  [protected, slot]
 

Definition at line 608 of file TEWidget.cpp.

References changedHistoryCursor(), and scrollbar.

Referenced by setScroll(), and TEWidget().

void TEWidget::setColorTable const ColorEntry  table[]  ) 
 

void TEWidget::setColorTable const ColorEntry  table[]  ) 
 

Definition at line 157 of file TEWidget.cpp.

References backgroundPixmap(), color_table, DEFAULT_BACK_COLOR, i, and TABLE_COLORS.

Referenced by Konsole::colorMenuSelected(), EmulationHandler::setColor(), Konsole::setColors(), and TEWidget().

virtual void TEWidget::setFont const QFont &   )  [virtual]
 

void TEWidget::setFont const QFont &   )  [virtual]
 

Definition at line 275 of file TEWidget.cpp.

void TEWidget::setFullScreen bool   )  [signal]
 

Referenced by mouseReleaseEvent().

void TEWidget::setImage const ca *const   newimg,
int  lines,
int  columns
 

void TEWidget::setImage const ca *const   newimg,
int  lines,
int  columns
 

The image can only be set completely.

The size of the new image may or may not match the size of the widget.

Definition at line 413 of file TEWidget.cpp.

References ca::b, backgroundPixmap(), blinking, blinkT, blX, bY, cb, drawAttrStr(), ca::f, f, FALSE, font_h, font_w, fontMap, hasBlinker, HCNT, image, len, NULL, ca::r, RE_BLINK, resizing, TRUE, Opie::MM::x, and Opie::MM::y.

Referenced by TEmulation::showBulk().

void TEWidget::setMouseMarks bool  on  ) 
 

void TEWidget::setMouseMarks bool  on  ) 
 

Definition at line 925 of file TEWidget.cpp.

References mouse_marks.

Referenced by TEmuVt102::resetMode(), TEmuVt102::setMode(), and TEWidget().

void TEWidget::setScroll int  cursor,
int  lines
 

void TEWidget::setScroll int  cursor,
int  lines
 

Definition at line 620 of file TEWidget.cpp.

References lines, scrollbar, and scrollChanged().

Referenced by TEmulation::showBulk().

void TEWidget::setScrollbarLocation int  loc  ) 
 

void TEWidget::setScrollbarLocation int  loc  ) 
 

Definition at line 629 of file TEWidget.cpp.

References propagateSize(), and scrollLoc.

Referenced by Konsole::configMenuSelected(), Konsole::scrollMenuSelected(), and EmulationHandler::setScrollbarLocation().

void TEWidget::setSelection const QString t  ) 
 

void TEWidget::setSelection const QString t  ) 
 

Definition at line 966 of file TEWidget.cpp.

References cb, and onClearSelection().

Referenced by TEmulation::setSelection().

void TEWidget::setVTFont const QFont &   ) 
 

void TEWidget::setVTFont const QFont &   ) 
 

Definition at line 266 of file TEWidget.cpp.

Referenced by EmulationHandler::load(), Konsole::newSession(), Konsole::setFont(), and TEWidget().

void TEWidget::setWrapAt int  columns  ) 
 

void TEWidget::setWrapAt int  columns  ) 
 

Definition at line 1426 of file TEWidget.cpp.

References propagateSize(), and vcolumns.

Referenced by Konsole::doWrap(), and EmulationHandler::setWrap().

QSize TEWidget::sizeHint  )  const
 

QSize TEWidget::sizeHint  )  const
 

Definition at line 1312 of file TEWidget.cpp.

References size.

virtual void TEWidget::styleChange QStyle &   )  [protected, virtual]
 

void TEWidget::styleChange QStyle &   )  [protected, virtual]
 

Definition at line 1317 of file TEWidget.cpp.

References propagateSize().

void TEWidget::toggleFullScreen  )  [signal]
 

Referenced by eventFilter().


Member Data Documentation

int TEWidget::actSel [private]
 

Definition at line 188 of file TEWidget.h.

Referenced by eventFilter(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), and TEWidget().

BOOL TEWidget::blinking [private]
 

Definition at line 202 of file TEWidget.h.

Referenced by blinkEvent(), drawAttrStr(), setImage(), and TEWidget().

QTimer* TEWidget::blinkT [private]
 

Definition at line 204 of file TEWidget.h.

QTimer* TEWidget::blinkT [private]
 

Definition at line 202 of file TEWidget.h.

Referenced by setImage(), and TEWidget().

int TEWidget::blX [private]
 

Definition at line 171 of file TEWidget.h.

Referenced by calcGeometry(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), paintEvent(), and setImage().

int TEWidget::brX [private]
 

Definition at line 172 of file TEWidget.h.

Referenced by calcGeometry().

int TEWidget::bY [private]
 

Definition at line 173 of file TEWidget.h.

Referenced by calcGeometry(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), paintEvent(), and setImage().

QClipboard* TEWidget::cb [private]
 

Definition at line 193 of file TEWidget.h.

QClipboard* TEWidget::cb [private]
 

Definition at line 188 of file TEWidget.h.

Referenced by eventFilter(), paintEvent(), setImage(), setSelection(), and TEWidget().

int TEWidget::color_menu_item
 

Definition at line 78 of file TEWidget.h.

ColorEntry TEWidget::color_table [private]
 

Definition at line 179 of file TEWidget.h.

Referenced by drawAttrStr(), getColorTable(), getDefaultBackColor(), and setColorTable().

int TEWidget::columns [private]
 

Definition at line 176 of file TEWidget.h.

Referenced by calcGeometry(), clearImage(), Columns(), makeImage(), mouseDoubleClickEvent(), mouseMoveEvent(), paintEvent(), propagateSize(), and TEWidget().

TESession* TEWidget::currentSession
 

Definition at line 209 of file TEWidget.h.

TESession* TEWidget::currentSession
 

Definition at line 208 of file TEWidget.h.

Referenced by Konsole::doneSession(), drop_menu_activated(), dropEvent(), Konsole::switchSession(), and TEWidget().

QString TEWidget::dropText [private]
 

Definition at line 206 of file TEWidget.h.

Referenced by drop_menu_activated(), and dropEvent().

bool TEWidget::fixed_font [private]
 

Definition at line 166 of file TEWidget.h.

int TEWidget::font_a [private]
 

Definition at line 169 of file TEWidget.h.

Referenced by drawAttrStr(), fontChange(), and TEWidget().

int TEWidget::font_h [private]
 

Definition at line 167 of file TEWidget.h.

Referenced by calcGeometry(), calcSize(), fontChange(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), paintEvent(), setImage(), and TEWidget().

int TEWidget::font_w [private]
 

Definition at line 168 of file TEWidget.h.

Referenced by calcGeometry(), calcSize(), fontChange(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), paintEvent(), setImage(), and TEWidget().

QChar(* TEWidget::fontMap [private]
 

Referenced by fontChange(), paintEvent(), and setImage().

BOOL TEWidget::hasBlinker [private]
 

Definition at line 203 of file TEWidget.h.

Referenced by setImage().

int TEWidget::hposition [private]
 

Definition at line 196 of file TEWidget.h.

Referenced by calcGeometry(), hscrollChanged(), hScrollChanged(), and TEWidget().

QScrollBar * TEWidget::hscrollbar [private]
 

Definition at line 194 of file TEWidget.h.

QScrollBar * TEWidget::hScrollbar [private]
 

Definition at line 189 of file TEWidget.h.

Referenced by calcGeometry(), doHScroll(), and TEWidget().

int TEWidget::hScrollLoc [private]
 

Definition at line 191 of file TEWidget.h.

ca* TEWidget::image [private]
 

Definition at line 177 of file TEWidget.h.

ca* TEWidget::image [private]
 

Definition at line 173 of file TEWidget.h.

Referenced by clearImage(), makeImage(), mouseDoubleClickEvent(), mouseMoveEvent(), paintEvent(), propagateSize(), setImage(), TEWidget(), and ~TEWidget().

QPoint TEWidget::iPntSel [private]
 

Definition at line 186 of file TEWidget.h.

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

int TEWidget::lines [private]
 

Definition at line 175 of file TEWidget.h.

Referenced by calcGeometry(), clearImage(), Lines(), makeImage(), mouseMoveEvent(), paintEvent(), propagateSize(), setScroll(), and TEWidget().

QPushButton* TEWidget::m_cornerButton [private]
 

Definition at line 192 of file TEWidget.h.

Referenced by cornerButton().

QPopupMenu* TEWidget::m_drop [private]
 

Definition at line 205 of file TEWidget.h.

QPopupMenu* TEWidget::m_drop [private]
 

Definition at line 203 of file TEWidget.h.

Referenced by dropEvent().

int TEWidget::mouse_down_x [private]
 

Definition at line 194 of file TEWidget.h.

Referenced by mousePressEvent(), and mouseReleaseEvent().

int TEWidget::mouse_down_y [private]
 

Definition at line 194 of file TEWidget.h.

Referenced by mousePressEvent(), and mouseReleaseEvent().

bool TEWidget::mouse_marks [private]
 

Definition at line 182 of file TEWidget.h.

Referenced by mouseDoubleClickEvent(), mousePressEvent(), mouseReleaseEvent(), and setMouseMarks().

QPoint TEWidget::pntSel [private]
 

Definition at line 187 of file TEWidget.h.

Referenced by mouseMoveEvent(), and mousePressEvent().

BOOL TEWidget::preserve_line_breaks [private]
 

Definition at line 190 of file TEWidget.h.

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

BOOL TEWidget::resizing [private]
 

Definition at line 181 of file TEWidget.h.

Referenced by propagateSize(), setImage(), and TEWidget().

QScrollBar* TEWidget::scrollbar [private]
 

Definition at line 194 of file TEWidget.h.

QScrollBar* TEWidget::scrollbar [private]
 

Definition at line 189 of file TEWidget.h.

Referenced by calcGeometry(), calcSize(), doScroll(), eventFilter(), mouseMoveEvent(), scrollChanged(), setScroll(), and TEWidget().

int TEWidget::scrollLoc [private]
 

Definition at line 195 of file TEWidget.h.

Referenced by calcGeometry(), calcSize(), setScrollbarLocation(), and TEWidget().

bool TEWidget::useBeep
 

Definition at line 77 of file TEWidget.h.

Referenced by Bell(), Konsole::configMenuSelected(), Konsole::newSession(), and TEWidget().

bool TEWidget::useHorzScroll
 

Definition at line 76 of file TEWidget.h.

Referenced by calcGeometry(), and TEWidget().

int TEWidget::vcolumns [private]
 

Definition at line 196 of file TEWidget.h.

Referenced by calcGeometry(), eventFilter(), setWrapAt(), and TEWidget().

BOOL TEWidget::word_selection_mode [private]
 

Definition at line 189 of file TEWidget.h.

Referenced by mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), and TEWidget().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:53:38 2005 for OPIE by  doxygen 1.4.2