Konsole
TerminalDisplay.cpp File Reference
#include "TerminalDisplay.h"
#include <QtGui/QApplication>
#include <QtGui/QBoxLayout>
#include <QtGui/QClipboard>
#include <QtGui/QKeyEvent>
#include <QtCore/QEvent>
#include <QtCore/QTime>
#include <QtCore/QFile>
#include <QtGui/QGridLayout>
#include <QtGui/QLabel>
#include <QtGui/QLayout>
#include <QtGui/QPainter>
#include <QtGui/QPixmap>
#include <QtGui/QScrollBar>
#include <QtGui/QStyle>
#include <QtCore/QTimer>
#include <QtGui/QToolTip>
#include <kshell.h>
#include <KColorScheme>
#include <KCursor>
#include <kdebug.h>
#include <KLocale>
#include <KMenu>
#include <KNotification>
#include <KGlobalSettings>
#include <KShortcut>
#include <KIO/NetAccess>
#include <config-apps.h>
#include "Filter.h"
#include "konsole_wcwidth.h"
#include "ScreenWindow.h"
#include "TerminalCharacterDecoder.h"
#include "LineFont.h"
#include "TerminalDisplay.moc"

Go to the source code of this file.
Defines | |
| #define | loc(X, Y) ((Y)*_columns+(X)) |
| #define | REPCHAR |
| #define | yMouseScroll 1 |
Enumerations | |
| enum | LineEncode { TopL = (1<<1), TopC = (1<<2), TopR = (1<<3), LeftT = (1<<5), Int11 = (1<<6), Int12 = (1<<7), Int13 = (1<<8), RightT = (1<<9), LeftC = (1<<10), Int21 = (1<<11), Int22 = (1<<12), Int23 = (1<<13), RightC = (1<<14), LeftB = (1<<15), Int31 = (1<<16), Int32 = (1<<17), Int33 = (1<<18), RightB = (1<<19), BotL = (1<<21), BotC = (1<<22), BotR = (1<<23) } |
Functions | |
| static void | drawLineChar (QPainter &paint, int x, int y, int w, int h, uchar code) |
| static bool | isLineChar (quint16 c) |
| static bool | isLineCharString (const QString &string) |
Variables | |
| const QChar | LTR_OVERRIDE_CHAR (0x202D) |
Define Documentation
| #define loc | ( | X, | |||
| Y | ) | ((Y)*_columns+(X)) |
Definition at line 66 of file TerminalDisplay.cpp.
| #define REPCHAR |
Value:
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" \ "abcdefgjijklmnopqrstuvwxyz" \ "0123456789./+@"
Definition at line 71 of file TerminalDisplay.cpp.
| #define yMouseScroll 1 |
Definition at line 69 of file TerminalDisplay.cpp.
Enumeration Type Documentation
| enum LineEncode |
A table for emulating the simple (single width) unicode drawing chars.
It represents the 250x - 257x glyphs. If it's zero, we can't use it. if it's not, it's encoded as follows: imagine a 5x5 grid where the points are numbered 0 to 24 left to top, top to bottom. Each point is represented by the corresponding bit.
Then, the pixels basically have the following interpretation: _|||_ -...- -...- -...- _|||_
where _ = none | = vertical line.
- = horizontal line.
- Enumerator:
-
TopL TopC TopR LeftT Int11 Int12 Int13 RightT LeftC Int21 Int22 Int23 RightC LeftB Int31 Int32 Int33 RightB BotL BotC BotR
Definition at line 412 of file TerminalDisplay.cpp.
Function Documentation
| static void drawLineChar | ( | QPainter & | paint, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| uchar | code | |||
| ) | [static] |
Definition at line 443 of file TerminalDisplay.cpp.
| static bool isLineChar | ( | quint16 | c | ) | [inline, static] |
Definition at line 190 of file TerminalDisplay.cpp.
| static bool isLineCharString | ( | const QString & | string | ) | [inline, static] |
Definition at line 191 of file TerminalDisplay.cpp.
Variable Documentation
| const QChar LTR_OVERRIDE_CHAR(0x202D) |
KDE 4.1 API Reference