• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Konsole

  • kde-4.14
  • applications
  • konsole
  • src
Namespaces | Macros | Enumerations | Functions | Variables
TerminalDisplay.cpp File Reference
#include "TerminalDisplay.h"
#include <config-konsole.h>
#include <QApplication>
#include <QtGui/QClipboard>
#include <QtGui/QKeyEvent>
#include <QtCore/QEvent>
#include <QtCore/QFileInfo>
#include <QGridLayout>
#include <QAction>
#include <QLabel>
#include <QtGui/QPainter>
#include <QtGui/QPixmap>
#include <QScrollBar>
#include <QStyle>
#include <QtCore/QTimer>
#include <QToolTip>
#include <QtGui/QAccessible>
#include <KShell>
#include <KColorScheme>
#include <KCursor>
#include <KDebug>
#include <KLocalizedString>
#include <KNotification>
#include <KGlobalSettings>
#include <KIO/NetAccess>
#include <KFileItem>
#include <KMessageBox>
#include "Filter.h"
#include "konsole_wcwidth.h"
#include "TerminalCharacterDecoder.h"
#include "Screen.h"
#include "ScreenWindow.h"
#include "LineFont.h"
#include "SessionController.h"
#include "ExtendedCharTable.h"
#include "TerminalDisplayAccessible.h"
#include "SessionManager.h"
#include "Session.h"
#include "TerminalDisplay.moc"
Include dependency graph for TerminalDisplay.cpp:

Go to the source code of this file.

Namespaces

 Konsole
 

Macros

#define loc(X, Y)   ((Y)*_columns+(X))
 
#define REPCHAR
 

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

QAccessibleInterface * Konsole::accessibleInterfaceFactory (const QString &key, QObject *object)
 
static void drawLineChar (QPainter &paint, int x, int y, int w, int h, uchar code)
 
static bool isLineCharString (const QString &string)
 

Variables

const QChar LTR_OVERRIDE_CHAR (0x202D)
 

Macro Definition Documentation

#define loc (   X,
  Y 
)    ((Y)*_columns+(X))

Definition at line 78 of file TerminalDisplay.cpp.

#define REPCHAR
Value:
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
"abcdefgjijklmnopqrstuvwxyz" \
"0123456789./+@"

Definition at line 81 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 446 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 474 of file TerminalDisplay.cpp.

static bool isLineCharString ( const QString &  string)
inlinestatic

Definition at line 166 of file TerminalDisplay.cpp.

Variable Documentation

const QChar LTR_OVERRIDE_CHAR(0x202D)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Konsole

Skip menu "Konsole"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal