#include </home/clem/local/src/opie/noncore/apps/opie-console/emulation_widget.h>
Public Member Functions | |
| EmulationWidget (const Profile &config, QWidget *parent=0, const char *name=0) | |
| ~EmulationWidget () | |
| virtual void | setImage (QArray< Character > const newimg, int columns, int lines) |
| virtual void | reloadConfig (const Profile &config) |
| virtual void | setScroll (int cursor, int slines) |
| virtual void | scroll (int value) |
| virtual QSize | calcSize (int cols, int lins) const |
Protected Types | |
| enum | ScrollLocation { SCRNONE, SCRLEFT, SCRIGHT } |
Protected Member Functions | |
| virtual void | calcGeometry () |
| void | paintEvent (QPaintEvent *event) |
| void | setColorTable (const ColorEntry table[]) |
| void | drawAttrString (QString &string, QPainter &painter, QRect rect, Character attr, bool pm, bool clear) |
Protected Attributes | |
| int | f_height |
| int | f_width |
| int | f_ascent |
| int | m_blX |
| int | m_blY |
| int | m_brX |
| int | m_bY |
| int | m_bX |
| QScrollBar * | m_scrollbar |
| ScrollLocation | scrollLoc |
| bool | blinking |
Definition at line 20 of file emulation_widget.h.
|
|
Definition at line 93 of file emulation_widget.h. |
|
||||||||||||||||
|
constructor
Definition at line 25 of file emulation_widget.cpp. References calcGeometry(), f_ascent, f_height, f_width, m_scrollbar, and reloadConfig(). |
|
|
destructor Definition at line 54 of file emulation_widget.cpp. |
|
|
calculates current image bounds Definition at line 223 of file emulation_widget.cpp. References f_height, f_width, height, m_blX, m_brX, m_bY, m_scrollbar, rimX, rimY, SCRIGHT, SCRLEFT, SCRNONE, scrollLoc, and width. Referenced by EmulationWidget(). |
|
||||||||||||
|
Definition at line 99 of file emulation_widget.cpp. References f_height, f_width, height, m_scrollbar, rimX, rimY, SCRNONE, scrollLoc, and width. |
|
||||||||||||||||||||||||||||
|
draws a String
Definition at line 255 of file emulation_widget.cpp. References Character::b, blinking, Character::f, and f_ascent. Referenced by paintEvent(), and setImage(). |
|
|
Definition at line 178 of file emulation_widget.cpp. References drawAttrString(), f, f_height, f_width, l, len, loc, m_blX, m_bY, vt100extended(), Opie::MM::x, and Opie::MM::y. |
|
|
reloads configuration
Definition at line 48 of file emulation_widget.cpp. Referenced by EmulationWidget(). |
|
|
scrolls (not yet implemented)
Definition at line 286 of file emulation_widget.cpp. |
|
|
|
|
||||||||||||||||
|
sets the image
Definition at line 108 of file emulation_widget.cpp. References Character::b, drawAttrString(), Character::f, f, f_height, f_width, len, m_blX, m_bY, NULL, Character::r, vt100extended(), Opie::MM::x, and Opie::MM::y. |
|
||||||||||||
|
sets the scrollbar (not yet implemented) Definition at line 290 of file emulation_widget.cpp. |
|
|
Definition at line 115 of file emulation_widget.h. Referenced by drawAttrString(). |
|
|
Definition at line 102 of file emulation_widget.h. Referenced by drawAttrString(), and EmulationWidget(). |
|
|
Definition at line 100 of file emulation_widget.h. Referenced by calcGeometry(), calcSize(), EmulationWidget(), paintEvent(), and setImage(). |
|
|
Definition at line 101 of file emulation_widget.h. Referenced by calcGeometry(), calcSize(), EmulationWidget(), paintEvent(), and setImage(). |
|
|
Definition at line 103 of file emulation_widget.h. Referenced by calcGeometry(), paintEvent(), and setImage(). |
|
|
Definition at line 104 of file emulation_widget.h. |
|
|
Definition at line 105 of file emulation_widget.h. Referenced by calcGeometry(). |
|
|
Definition at line 108 of file emulation_widget.h. |
|
|
Definition at line 107 of file emulation_widget.h. Referenced by calcGeometry(), paintEvent(), and setImage(). |
|
|
Definition at line 109 of file emulation_widget.h. Referenced by calcGeometry(), calcSize(), and EmulationWidget(). |
|
|
Definition at line 111 of file emulation_widget.h. Referenced by calcGeometry(), and calcSize(). |
1.4.2