| 1 |
/* |
| 2 |
Copyright 2007-2008 by Robert Knight <[email protected]> |
| 3 |
Copyright 1997,1998 by Lars Doelle <[email protected]> |
| 4 |
|
| 5 |
This program is free software; you can redistribute it and/or modify |
| 6 |
it under the terms of the GNU General Public License as published by |
| 7 |
the Free Software Foundation; either version 2 of the License, or |
| 8 |
(at your option) any later version. |
| 9 |
|
| 10 |
This program is distributed in the hope that it will be useful, |
| 11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
GNU General Public License for more details. |
| 14 |
|
| 15 |
You should have received a copy of the GNU General Public License |
| 16 |
along with this program; if not, write to the Free Software |
| 17 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
| 18 |
02110-1301 USA. |
| 19 |
*/ |
| 20 |
|
| 21 |
#ifndef TERMINALDISPLAY_H |
| 22 |
#define TERMINALDISPLAY_Hcxx . . $ `lib/TerminalDisplay.h:22:9`! |
| 23 |
|
| 24 |
// Qt |
| 25 |
#include <QColor> |
| 26 |
#include <QPointer> |
| 27 |
//#include <QWidget> |
| 28 |
#include <QQuickPaintedItem> |
| 29 |
|
| 30 |
// Konsole |
| 31 |
#include "Filter.h"cxx . . $ `<file>/lib/Filter.h`/ |
| 32 |
#include "Character.h"cxx . . $ `<file>/lib/Character.h`/ |
| 33 |
#include "qtermwidget.h"cxx . . $ `<file>/lib/qtermwidget.h`/ |
| 34 |
//#include "konsole_export.h" |
| 35 |
#define KONSOLEPRIVATE_EXPORTcxx . . $ `lib/TerminalDisplay.h:35:9`! |
| 36 |
|
| 37 |
// QMLTermWidget |
| 38 |
#include "ksession.h"cxx . . $ `<file>/src/ksession.h`/ |
| 39 |
#include "ColorScheme.h"cxx . . $ `<file>/lib/ColorScheme.h`/ |
| 40 |
|
| 41 |
class QDragcxx . . $ QDrag#; |
| 42 |
class QDragEnterEventcxx . . $ QDragEnterEvent#; |
| 43 |
class QDropEventcxx . . $ QDropEvent#; |
| 44 |
class QLabelcxx . . $ QLabel#; |
| 45 |
class QTimercxx . . $ QTimer#; |
| 46 |
class QEventcxx . . $ QEvent#; |
| 47 |
class QGridLayoutcxx . . $ QGridLayout#; |
| 48 |
class QKeyEventcxx . . $ QKeyEvent#; |
| 49 |
class QScrollBarcxx . . $ QScrollBar#; |
| 50 |
class QShowEventcxx . . $ QShowEvent#; |
| 51 |
class QHideEventcxx . . $ QHideEvent#; |
| 52 |
class QTimerEventcxx . . $ QTimerEvent#; |
| 53 |
class QWidgetcxx . . $ QWidget#; |
| 54 |
|
| 55 |
//class KMenu; |
| 56 |
|
| 57 |
namespace Konsolecxx . . $ Konsole/ |
| 58 |
{ |
| 59 |
|
| 60 |
enum MotionAfterPastingcxx . . $ Konsole/MotionAfterPasting# |
| 61 |
{ |
| 62 |
// No move screenwindow after pasting |
| 63 |
NoMoveScreenWindowcxx . . $ Konsole/NoMoveScreenWindow. = 0, |
| 64 |
// Move start of screenwindow after pasting |
| 65 |
MoveStartScreenWindowcxx . . $ Konsole/MoveStartScreenWindow. = 1, |
| 66 |
// Move end of screenwindow after pasting |
| 67 |
MoveEndScreenWindowcxx . . $ Konsole/MoveEndScreenWindow. = 2 |
| 68 |
}; |
| 69 |
|
| 70 |
enum BackgroundModecxx . . $ Konsole/BackgroundMode# { |
| 71 |
Nonecxx . . $ Konsole/None., |
| 72 |
Stretchcxx . . $ Konsole/Stretch., |
| 73 |
Zoomcxx . . $ Konsole/Zoom., |
| 74 |
Fitcxx . . $ Konsole/Fit., |
| 75 |
Centercxx . . $ Konsole/Center. |
| 76 |
}; |
| 77 |
|
| 78 |
extern unsigned short vt100_graphicscxx . . $ Konsole/vt100_graphics.[32]; |
| 79 |
|
| 80 |
class ScreenWindowcxx . . $ Konsole/ScreenWindow#; |
| 81 |
|
| 82 |
/** |
| 83 |
* A widget which displays output from a terminal emulation and sends input keypresses and mouse activity |
| 84 |
* to the terminal. |
| 85 |
* |
| 86 |
* When the terminal emulation receives new output from the program running in the terminal, |
| 87 |
* it will update the display by calling updateImage(). |
| 88 |
* |
| 89 |
* TODO More documentation |
| 90 |
*/ |
| 91 |
class KONSOLEPRIVATE_EXPORTcxx . . $ `lib/TerminalDisplay.h:35:9`! TerminalDisplaycxx . . $ Konsole/TerminalDisplay# : public QQuickPaintedItemcxx . . $ QQuickPaintedItem# |
| 92 |
{ |
| 93 |
Q_OBJECTcxx . . $ Konsole/TerminalDisplay#staticMetaObject. |
| 94 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(KSession* session READ getSession WRITE setSession NOTIFY sessionChanged ) |
| 95 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(QFont font READ getVTFont WRITE setVTFont NOTIFY vtFontChanged ) |
| 96 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(QString colorScheme READ colorScheme WRITE setColorScheme NOTIFY colorSchemeChanged ) |
| •97 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(QColor backgroundColor READ backgroundColor NOTIFY backgroundColorChanged ) |
| 98 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(QColor foregroundColor READ foregroundColor NOTIFY foregroundColorChanged ) |
| 99 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(QSize terminalSize READ getTerminalSize NOTIFY changedContentSizeSignal) |
| 100 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(int lineSpacing READ lineSpacing WRITE setLineSpacing NOTIFY lineSpacingChanged ) |
| 101 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(bool terminalUsesMouse READ getUsesMouse NOTIFY usesMouseChanged ) |
| 102 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(int lines READ lines NOTIFY changedContentSizeSignal) |
| 103 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(int columns READ columns NOTIFY changedContentSizeSignal) |
| •104 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(int scrollbarCurrentValue READ getScrollbarValue WRITE setScrollbarValue NOTIFY scrollbarParamsChanged ) |
| 105 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(int scrollbarMaximum READ getScrollbarMaximum NOTIFY scrollbarParamsChanged ) |
| 106 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(int scrollbarMinimum READ getScrollbarMinimum NOTIFY scrollbarParamsChanged ) |
| 107 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(QSize fontMetrics READ getFontMetrics NOTIFY changedFontMetricSignal ) |
| 108 |
|
| 109 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(bool enableBold READ getBoldIntense WRITE setBoldIntense NOTIFY boldIntenseChanged ) |
| 110 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(bool fullCursorHeight READ fullCursorHeight WRITE setFullCursorHeight NOTIFY fullCursorHeightChanged) |
| 111 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(bool blinkingCursor READ blinkingCursor WRITE setBlinkingCursor NOTIFY blinkingCursorStateChanged) |
| 112 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(bool antialiasText READ antialias WRITE setAntialias) |
| 113 |
Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(QStringList availableColorSchemes READ availableColorSchemes NOTIFY availableColorSchemesChanged) |
| 114 |
|
| 115 |
public: |
| 116 |
/** Constructs a new terminal display widget with the specified parent. */ |
| 117 |
TerminalDisplaycxx . . $ Konsole/TerminalDisplay#TerminalDisplay(28aa4acb8f529eea).(QQuickItemcxx . . $ QQuickItem# *parent=0); |
| 118 |
virtual ~cxx . . $ Konsole/TerminalDisplay#`~TerminalDisplay`(ced63f7c635d850d).TerminalDisplaycxx . . $ Konsole/TerminalDisplay#(); |
| 119 |
|
| 120 |
/** Returns the terminal color palette used by the display. */ |
| 121 |
const ColorEntrycxx . . $ Konsole/ColorEntry#* colorTablecxx . . $ Konsole/TerminalDisplay#colorTable(ec15202fc6ea9dfb).() const; |
| 122 |
/** Sets the terminal color palette used by the display. */ |
| 123 |
void setColorTablecxx . . $ Konsole/TerminalDisplay#setColorTable(b25cc3fd5c7c482d).(const ColorEntrycxx . . $ Konsole/ColorEntry# table[]); |
| 124 |
/** |
| 125 |
* Sets the seed used to generate random colors for the display |
| 126 |
* (in color schemes that support them). |
| 127 |
*/ |
| 128 |
void setRandomSeedcxx . . $ Konsole/TerminalDisplay#setRandomSeed(cb2f890c2fdad230).(uintcxx . . $ uint# seed); |
| 129 |
/** |
| 130 |
* Returns the seed used to generate random colors for the display |
| 131 |
* (in color schemes that support them). |
| 132 |
*/ |
| 133 |
uintcxx . . $ uint# randomSeedcxx . . $ Konsole/TerminalDisplay#randomSeed(ddd8539a2fcdd4ce).() const; |
| 134 |
|
| 135 |
/** Sets the opacity of the terminal display. */ |
| 136 |
void setOpacitycxx . . $ Konsole/TerminalDisplay#setOpacity(ba8836b59fb42830).(qrealcxx . . $ qreal# opacity); |
| 137 |
|
| 138 |
/** |
| 139 |
* This enum describes the location where the scroll bar is positioned in the display widget. |
| 140 |
*/ |
| 141 |
enum ScrollBarPositioncxx . . $ Konsole/TerminalDisplay#ScrollBarPosition# |
| 142 |
{ |
| 143 |
/** Do not show the scroll bar. */ |
| 144 |
NoScrollBarcxx . . $ Konsole/TerminalDisplay#NoScrollBar.=0, |
| 145 |
/** Show the scroll bar on the left side of the display. */ |
| 146 |
ScrollBarLeftcxx . . $ Konsole/TerminalDisplay#ScrollBarLeft.=1, |
| 147 |
/** Show the scroll bar on the right side of the display. */ |
| 148 |
ScrollBarRightcxx . . $ Konsole/TerminalDisplay#ScrollBarRight.=2 |
| 149 |
}; |
| 150 |
/** |
| 151 |
|
| 152 |
/** Sets the background image of the terminal display. */ |
| 153 |
void setBackgroundImagecxx . . $ Konsole/TerminalDisplay#setBackgroundImage(3520e46b33348bf6).(const QStringcxx . . $ QString#& backgroundImage); |
| 154 |
|
| 155 |
/** Sets the background image mode of the terminal display. */ |
| 156 |
void setBackgroundModecxx . . $ Konsole/TerminalDisplay#setBackgroundMode(69c8e311f4d891b6).(BackgroundModecxx . . $ Konsole/BackgroundMode# mode); |
| 157 |
|
| 158 |
/** |
| 159 |
* Specifies whether the terminal display has a vertical scroll bar, and if so whether it |
| 160 |
* is shown on the left or right side of the display. |
| 161 |
*/ |
| 162 |
void setScrollBarPositioncxx . . $ Konsole/TerminalDisplay#setScrollBarPosition(568e8147827de94f).(QTermWidgetcxx . . $ QTermWidget#::ScrollBarPositioncxx . . $ QTermWidget#ScrollBarPosition# position); |
| 163 |
|
| 164 |
/** |
| 165 |
* Sets the current position and range of the display's scroll bar. |
| 166 |
* |
| 167 |
* @param cursor The position of the scroll bar's thumb. |
| 168 |
* @param lines The maximum value of the scroll bar. |
| 169 |
*/ |
| 170 |
void setScrollcxx . . $ Konsole/TerminalDisplay#setScroll(3e454b8ccf442868).(int cursor, int lines); |
| 171 |
|
| 172 |
/** |
| 173 |
* Scroll to the bottom of the terminal (reset scrolling). |
| 174 |
*/ |
| 175 |
void scrollToEndcxx . . $ Konsole/TerminalDisplay#scrollToEnd(49f6e7a06ebc5aa8).(); |
| 176 |
|
| 177 |
/** |
| 178 |
* Returns the display's filter chain. When the image for the display is updated, |
| 179 |
* the text is passed through each filter in the chain. Each filter can define |
| 180 |
* hotspots which correspond to certain strings (such as URLs or particular words). |
| 181 |
* Depending on the type of the hotspots created by the filter ( returned by Filter::Hotspot::type() ) |
| 182 |
* the view will draw visual cues such as underlines on mouse-over for links or translucent |
| 183 |
* rectangles for markers. |
| 184 |
* |
| 185 |
* To add a new filter to the view, call: |
| 186 |
* viewWidget->filterChain()->addFilter( filterObject ); |
| 187 |
*/ |
| 188 |
FilterChaincxx . . $ Konsole/FilterChain#* filterChaincxx . . $ Konsole/TerminalDisplay#filterChain(a12532596442fae1).() const; |
| 189 |
|
| 190 |
/** |
| 191 |
* Updates the filters in the display's filter chain. This will cause |
| 192 |
* the hotspots to be updated to match the current image. |
| 193 |
* |
| 194 |
* WARNING: This function can be expensive depending on the |
| 195 |
* image size and number of filters in the filterChain() |
| 196 |
* |
| 197 |
* TODO - This API does not really allow efficient usage. Revise it so |
| 198 |
* that the processing can be done in a better way. |
| 199 |
* |
| 200 |
* eg: |
| 201 |
* - Area of interest may be known ( eg. mouse cursor hovering |
| 202 |
* over an area ) |
| 203 |
*/ |
| 204 |
void processFilterscxx . . $ Konsole/TerminalDisplay#processFilters(49f6e7a06ebc5aa8).(); |
| 205 |
|
| 206 |
/** |
| 207 |
* Returns a list of menu actions created by the filters for the content |
| 208 |
* at the given @p position. |
| 209 |
*/ |
| 210 |
QListcxx . . $ QList#<QActioncxx . . $ QAction#*> filterActionscxx . . $ Konsole/TerminalDisplay#filterActions(9fc2ada70f0071b2).(const QPointcxx . . $ QPoint#& position); |
| 211 |
|
| 212 |
/** Returns true if the cursor is set to blink or false otherwise. */ |
| 213 |
bool blinkingCursorcxx . . $ Konsole/TerminalDisplay#blinkingCursor(c9857a73d68e59ba).() { return _hasBlinkingCursorcxx . . $ Konsole/TerminalDisplay#_hasBlinkingCursor.; } |
| 214 |
/** Specifies whether or not the cursor blinks. */ |
| 215 |
void setBlinkingCursorcxx . . $ Konsole/TerminalDisplay#setBlinkingCursor(b45ddcbc8423892c).(bool blink); |
| 216 |
|
| 217 |
/** Specifies whether or not text can blink. */ |
| 218 |
void setBlinkingTextEnabledcxx . . $ Konsole/TerminalDisplay#setBlinkingTextEnabled(b45ddcbc8423892c).(bool blink); |
| 219 |
|
| 220 |
void setCtrlDragcxx . . $ Konsole/TerminalDisplay#setCtrlDrag(b45ddcbc8423892c).(bool enable) { _ctrlDragcxx . . $ Konsole/TerminalDisplay#_ctrlDrag.=enable; } |
| 221 |
bool ctrlDragcxx . . $ Konsole/TerminalDisplay#ctrlDrag(c9857a73d68e59ba).() { return _ctrlDragcxx . . $ Konsole/TerminalDisplay#_ctrlDrag.; } |
| 222 |
|
| 223 |
/** |
| 224 |
* This enum describes the methods for selecting text when |
| 225 |
* the user triple-clicks within the display. |
| 226 |
*/ |
| 227 |
enum TripleClickModecxx . . $ Konsole/TerminalDisplay#TripleClickMode# |
| 228 |
{ |
| 229 |
/** Select the whole line underneath the cursor. */ |
| 230 |
SelectWholeLinecxx . . $ Konsole/TerminalDisplay#SelectWholeLine., |
| 231 |
/** Select from the current cursor position to the end of the line. */ |
| 232 |
SelectForwardsFromCursorcxx . . $ Konsole/TerminalDisplay#SelectForwardsFromCursor. |
| 233 |
}; |
| 234 |
/** Sets how the text is selected when the user triple clicks within the display. */ |
| 235 |
void setTripleClickModecxx . . $ Konsole/TerminalDisplay#setTripleClickMode(e41f19c6b5e2e6bb).(TripleClickModecxx . . $ Konsole/TerminalDisplay#TripleClickMode# mode) { _tripleClickModecxx . . $ Konsole/TerminalDisplay#_tripleClickMode. = mode; } |
| 236 |
/** See setTripleClickSelectionMode() */ |
| 237 |
TripleClickModecxx . . $ Konsole/TerminalDisplay#TripleClickMode# tripleClickModecxx . . $ Konsole/TerminalDisplay#tripleClickMode(2564d2b5b6e35756).() { return _tripleClickModecxx . . $ Konsole/TerminalDisplay#_tripleClickMode.; } |
| 238 |
|
| 239 |
void setLineSpacingcxx . . $ Konsole/TerminalDisplay#setLineSpacing(cb2f890c2fdad230).(uintcxx . . $ uint#); |
| 240 |
void setMargincxx . . $ Konsole/TerminalDisplay#setMargin(d4f767463ce0a6b3).(int); |
| 241 |
|
| 242 |
int margincxx . . $ Konsole/TerminalDisplay#margin(455f465bc33b4cdf).() const; |
| 243 |
uintcxx . . $ uint# lineSpacingcxx . . $ Konsole/TerminalDisplay#lineSpacing(ddd8539a2fcdd4ce).() const; |
| 244 |
|
| 245 |
void emitSelectioncxx . . $ Konsole/TerminalDisplay#emitSelection(b0b38cda41d4ede4).(bool useXselection,bool appendReturn); |
| 246 |
|
| 247 |
/** change and wrap text corresponding to paste mode **/ |
| 248 |
void bracketTextcxx . . $ Konsole/TerminalDisplay#bracketText(e91a184ddc958453).(QStringcxx . . $ QString#& text) const; |
| 249 |
|
| 250 |
/** |
| 251 |
* Sets the shape of the keyboard cursor. This is the cursor drawn |
| 252 |
* at the position in the terminal where keyboard input will appear. |
| 253 |
* |
| 254 |
* In addition the terminal display widget also has a cursor for |
| 255 |
* the mouse pointer, which can be set using the QWidget::setCursor() |
| 256 |
* method. |
| 257 |
* |
| 258 |
* Defaults to BlockCursor |
| 259 |
*/ |
| 260 |
void setKeyboardCursorShapecxx . . $ Konsole/TerminalDisplay#setKeyboardCursorShape(df9f11dc433d3ca3).(QTermWidgetcxx . . $ QTermWidget#::KeyboardCursorShapecxx . . $ QTermWidget#KeyboardCursorShape# shape); |
| 261 |
/** |
| 262 |
* Returns the shape of the keyboard cursor. See setKeyboardCursorShape() |
| 263 |
*/ |
| 264 |
QTermWidgetcxx . . $ QTermWidget#::KeyboardCursorShapecxx . . $ QTermWidget#KeyboardCursorShape# keyboardCursorShapecxx . . $ Konsole/TerminalDisplay#keyboardCursorShape(a825ec257d6720a).() const; |
| 265 |
|
| 266 |
/** |
| 267 |
* Sets the color used to draw the keyboard cursor. |
| 268 |
* |
| 269 |
* The keyboard cursor defaults to using the foreground color of the character |
| 270 |
* underneath it. |
| 271 |
* |
| 272 |
* @param useForegroundColor If true, the cursor color will change to match |
| 273 |
* the foreground color of the character underneath it as it is moved, in this |
| 274 |
* case, the @p color parameter is ignored and the color of the character |
| 275 |
* under the cursor is inverted to ensure that it is still readable. |
| 276 |
* @param color The color to use to draw the cursor. This is only taken into |
| 277 |
* account if @p useForegroundColor is false. |
| 278 |
*/ |
| 279 |
void setKeyboardCursorColorcxx . . $ Konsole/TerminalDisplay#setKeyboardCursorColor(1951bc94b747584d).(bool useForegroundColor , const QColorcxx . . $ QColor#& color); |
| 280 |
|
| 281 |
/** |
| 282 |
* Returns the color of the keyboard cursor, or an invalid color if the keyboard |
| 283 |
* cursor color is set to change according to the foreground color of the character |
| 284 |
* underneath it. |
| 285 |
*/ |
| 286 |
QColorcxx . . $ QColor# keyboardCursorColorcxx . . $ Konsole/TerminalDisplay#keyboardCursorColor(6d62b116d5d1b12f).() const; |
| 287 |
|
| 288 |
/** |
| 289 |
* Returns the number of lines of text which can be displayed in the widget. |
| 290 |
* |
| 291 |
* This will depend upon the height of the widget and the current font. |
| 292 |
* See fontHeight() |
| 293 |
*/ |
| 294 |
int linescxx . . $ Konsole/TerminalDisplay#lines(b126dc7c1de90089).() { return _linescxx . . $ Konsole/TerminalDisplay#_lines.; } |
| 295 |
/** |
| 296 |
* Returns the number of characters of text which can be displayed on |
| 297 |
* each line in the widget. |
| 298 |
* |
| 299 |
* This will depend upon the width of the widget and the current font. |
| 300 |
* See fontWidth() |
| 301 |
*/ |
| 302 |
int columnscxx . . $ Konsole/TerminalDisplay#columns(b126dc7c1de90089).() { return _columnscxx . . $ Konsole/TerminalDisplay#_columns.; } |
| 303 |
|
| 304 |
/** |
| 305 |
* Returns the height of the characters in the font used to draw the text in the display. |
| 306 |
*/ |
| 307 |
int fontHeightcxx . . $ Konsole/TerminalDisplay#fontHeight(b126dc7c1de90089).() { return _fontHeightcxx . . $ Konsole/TerminalDisplay#_fontHeight.; } |
| 308 |
/** |
| 309 |
* Returns the width of the characters in the display. |
| 310 |
* This assumes the use of a fixed-width font. |
| 311 |
*/ |
| 312 |
int fontWidthcxx . . $ Konsole/TerminalDisplay#fontWidth(b126dc7c1de90089).() { return _fontWidthcxx . . $ Konsole/TerminalDisplay#_fontWidth.; } |
| 313 |
|
| 314 |
void setSizecxx . . $ Konsole/TerminalDisplay#setSize(3e454b8ccf442868).(int cols, int lins); |
| 315 |
void setFixedSizecxx . . $ Konsole/TerminalDisplay#setFixedSize(3e454b8ccf442868).(int cols, int lins); |
| 316 |
|
| 317 |
// reimplemented |
| 318 |
QSizecxx . . $ QSize# sizeHintcxx . . $ Konsole/TerminalDisplay#sizeHint(4b3b776e5ee2b367).() const; |
| 319 |
|
| 320 |
/** |
| 321 |
* Sets which characters, in addition to letters and numbers, |
| 322 |
* are regarded as being part of a word for the purposes |
| 323 |
* of selecting words in the display by double clicking on them. |
| 324 |
* |
| 325 |
* The word boundaries occur at the first and last characters which |
| 326 |
* are either a letter, number, or a character in @p wc |
| 327 |
* |
| 328 |
* @param wc An array of characters which are to be considered parts |
| 329 |
* of a word ( in addition to letters and numbers ). |
| 330 |
*/ |
| 331 |
void setWordCharacterscxx . . $ Konsole/TerminalDisplay#setWordCharacters(3520e46b33348bf6).(const QStringcxx . . $ QString#& wc); |
| 332 |
/** |
| 333 |
* Returns the characters which are considered part of a word for the |
| 334 |
* purpose of selecting words in the display with the mouse. |
| 335 |
* |
| 336 |
* @see setWordCharacters() |
| 337 |
*/ |
| 338 |
QStringcxx . . $ QString# wordCharacterscxx . . $ Konsole/TerminalDisplay#wordCharacters(4365c3963150523e).() { return _wordCharacterscxx . . $ QString#QString(132dd6869045752b).; } |
| 339 |
|
| 340 |
/** |
| 341 |
* Sets the type of effect used to alert the user when a 'bell' occurs in the |
| 342 |
* terminal session. |
| 343 |
* |
| 344 |
* The terminal session can trigger the bell effect by calling bell() with |
| 345 |
* the alert message. |
| 346 |
*/ |
| 347 |
void setBellModecxx . . $ Konsole/TerminalDisplay#setBellMode(d4f767463ce0a6b3).(int mode); |
| 348 |
/** |
| 349 |
* Returns the type of effect used to alert the user when a 'bell' occurs in |
| 350 |
* the terminal session. |
| 351 |
* |
| 352 |
* See setBellMode() |
| 353 |
*/ |
| 354 |
int bellModecxx . . $ Konsole/TerminalDisplay#bellMode(b126dc7c1de90089).() { return _bellModecxx . . $ Konsole/TerminalDisplay#_bellMode.; } |
| 355 |
|
| 356 |
/** |
| 357 |
* This enum describes the different types of sounds and visual effects which |
| 358 |
* can be used to alert the user when a 'bell' occurs in the terminal |
| 359 |
* session. |
| 360 |
*/ |
| 361 |
enum BellModecxx . . $ Konsole/TerminalDisplay#BellMode# |
| 362 |
{ |
| 363 |
/** A system beep. */ |
| 364 |
SystemBeepBellcxx . . $ Konsole/TerminalDisplay#SystemBeepBell.=0, |
| 365 |
/** |
| 366 |
* KDE notification. This may play a sound, show a passive popup |
| 367 |
* or perform some other action depending on the user's settings. |
| 368 |
*/ |
| 369 |
NotifyBellcxx . . $ Konsole/TerminalDisplay#NotifyBell.=1, |
| 370 |
/** A silent, visual bell (eg. inverting the display's colors briefly) */ |
| 371 |
VisualBellcxx . . $ Konsole/TerminalDisplay#VisualBell.=2, |
| 372 |
/** No bell effects */ |
| 373 |
NoBellcxx . . $ Konsole/TerminalDisplay#NoBell.=3 |
| 374 |
}; |
| 375 |
|
| 376 |
void setSelectioncxx . . $ Konsole/TerminalDisplay#setSelection(3520e46b33348bf6).(const QStringcxx . . $ QString# &t); |
| 377 |
|
| 378 |
/** |
| 379 |
* Reimplemented. Has no effect. Use setVTFont() to change the font |
| 380 |
* used to draw characters in the display. |
| 381 |
*/ |
| 382 |
virtual void setFontcxx . . $ Konsole/TerminalDisplay#setFont(d0a4bd0c8524b912).(const QFontcxx . . $ QFont# &); |
| 383 |
|
| 384 |
/** Returns the font used to draw characters in the display */ |
| 385 |
QFontcxx . . $ QFont# getVTFontcxx . . $ Konsole/TerminalDisplay#getVTFont(a5342c57202bca31).() { return fontcxx . . $ Konsole/TerminalDisplay#font(9958934e48c66a6a).(); } |
| 386 |
|
| 387 |
/** |
| 388 |
* Sets the font used to draw the display. Has no effect if @p font |
| 389 |
* is larger than the size of the display itself. |
| 390 |
*/ |
| 391 |
void setVTFontcxx . . $ Konsole/TerminalDisplay#setVTFont(d0a4bd0c8524b912).(const QFontcxx . . $ QFont#& font); |
| 392 |
|
| 393 |
/** |
| 394 |
* Specified whether anti-aliasing of text in the terminal display |
| 395 |
* is enabled or not. Defaults to enabled. |
| 396 |
*/ |
| 397 |
static void setAntialiascxx . . $ Konsole/TerminalDisplay#setAntialias(b45ddcbc8423892c).( bool antialias ) { _antialiasTextcxx . . $ Konsole/TerminalDisplay#_antialiasText. = antialias; } |
| 398 |
/** |
| 399 |
* Returns true if anti-aliasing of text in the terminal is enabled. |
| 400 |
*/ |
| 401 |
static bool antialiascxx . . $ Konsole/TerminalDisplay#antialias(c9857a73d68e59ba).() { return _antialiasTextcxx . . $ Konsole/TerminalDisplay#_antialiasText.; } |
| 402 |
|
| 403 |
/** |
| 404 |
* Specify whether line chars should be drawn by ourselves or left to |
| 405 |
* underlying font rendering libraries. |
| 406 |
*/ |
| 407 |
void setDrawLineCharscxx . . $ Konsole/TerminalDisplay#setDrawLineChars(b45ddcbc8423892c).(bool drawLineChars) { _drawLineCharscxx . . $ Konsole/TerminalDisplay#_drawLineChars. = drawLineChars; } |
| 408 |
|
| 409 |
/** |
| 410 |
* Specifies whether characters with intense colors should be rendered |
| 411 |
* as bold. Defaults to true. |
| 412 |
*/ |
| 413 |
void setBoldIntensecxx . . $ Konsole/TerminalDisplay#setBoldIntense(b45ddcbc8423892c).(bool value); |
| 414 |
/** |
| 415 |
* Returns true if characters with intense colors are rendered in bold. |
| 416 |
*/ |
| 417 |
bool getBoldIntensecxx . . $ Konsole/TerminalDisplay#getBoldIntense(c9857a73d68e59ba).() { return _boldIntensecxx . . $ Konsole/TerminalDisplay#_boldIntense.; } |
| 418 |
|
| 419 |
/** |
| 420 |
* Sets whether or not the current height and width of the |
| 421 |
* terminal in lines and columns is displayed whilst the widget |
| 422 |
* is being resized. |
| 423 |
*/ |
| 424 |
void setTerminalSizeHintcxx . . $ Konsole/TerminalDisplay#setTerminalSizeHint(b45ddcbc8423892c).(bool on) { _terminalSizeHintcxx . . $ Konsole/TerminalDisplay#_terminalSizeHint.=on; } |
| 425 |
/** |
| 426 |
* Returns whether or not the current height and width of |
| 427 |
* the terminal in lines and columns is displayed whilst the widget |
| 428 |
* is being resized. |
| 429 |
*/ |
| 430 |
bool terminalSizeHintcxx . . $ Konsole/TerminalDisplay#terminalSizeHint(c9857a73d68e59ba).() { return _terminalSizeHintcxx . . $ Konsole/TerminalDisplay#_terminalSizeHint.; } |
| 431 |
/** |
| 432 |
* Sets whether the terminal size display is shown briefly |
| 433 |
* after the widget is first shown. |
| 434 |
* |
| 435 |
* See setTerminalSizeHint() , isTerminalSizeHint() |
| 436 |
*/ |
| 437 |
void setTerminalSizeStartupcxx . . $ Konsole/TerminalDisplay#setTerminalSizeStartup(b45ddcbc8423892c).(bool on) { _terminalSizeStartupcxx . . $ Konsole/TerminalDisplay#_terminalSizeStartup.=on; } |
| 438 |
|
| 439 |
/** |
| 440 |
* Sets the status of the BiDi rendering inside the terminal display. |
| 441 |
* Defaults to disabled. |
| 442 |
*/ |
| 443 |
void setBidiEnabledcxx . . $ Konsole/TerminalDisplay#setBidiEnabled(b45ddcbc8423892c).(bool set) { _bidiEnabledcxx . . $ Konsole/TerminalDisplay#_bidiEnabled.=set; } |
| 444 |
/** |
| 445 |
* Returns the status of the BiDi rendering in this widget. |
| 446 |
*/ |
| 447 |
bool isBidiEnabledcxx . . $ Konsole/TerminalDisplay#isBidiEnabled(c9857a73d68e59ba).() { return _bidiEnabledcxx . . $ Konsole/TerminalDisplay#_bidiEnabled.; } |
| 448 |
|
| 449 |
/** |
| 450 |
* Sets the terminal screen section which is displayed in this widget. |
| 451 |
* When updateImage() is called, the display fetches the latest character image from the |
| 452 |
* the associated terminal screen window. |
| 453 |
* |
| 454 |
* In terms of the model-view paradigm, the ScreenWindow is the model which is rendered |
| 455 |
* by the TerminalDisplay. |
| 456 |
*/ |
| 457 |
void setScreenWindowcxx . . $ Konsole/TerminalDisplay#setScreenWindow(f95587e758ec8843).( ScreenWindowcxx . . $ Konsole/ScreenWindow#* window ); |
| 458 |
/** Returns the terminal screen section which is displayed in this widget. See setScreenWindow() */ |
| 459 |
ScreenWindowcxx . . $ Konsole/ScreenWindow#* screenWindowcxx . . $ Konsole/TerminalDisplay#screenWindow(b0bba43055925575).() const; |
| 460 |
|
| 461 |
static bool HAVE_TRANSPARENCYcxx . . $ Konsole/TerminalDisplay#HAVE_TRANSPARENCY.; |
| 462 |
|
| 463 |
void setMotionAfterPastingcxx . . $ Konsole/TerminalDisplay#setMotionAfterPasting(b27c40b2256d1e48).(MotionAfterPastingcxx . . $ Konsole/MotionAfterPasting# action); |
| 464 |
int motionAfterPastingcxx . . $ Konsole/TerminalDisplay#motionAfterPasting(b126dc7c1de90089).(); |
| 465 |
void setConfirmMultilinePastecxx . . $ Konsole/TerminalDisplay#setConfirmMultilinePaste(b45ddcbc8423892c).(bool confirmMultilinePaste); |
| 466 |
void setTrimPastedTrailingNewlinescxx . . $ Konsole/TerminalDisplay#setTrimPastedTrailingNewlines(b45ddcbc8423892c).(bool trimPastedTrailingNewlines); |
| 467 |
|
| 468 |
// maps a point on the widget to the position ( ie. line and column ) |
| 469 |
// of the character at that point. |
| 470 |
|
| 471 |
void getCharacterPositioncxx . . $ Konsole/TerminalDisplay#getCharacterPosition(e49d6c685ff5f9bc).(const QPointcxx . . $ QPoint#& widgetPoint,int& line,int& column) const; |
| 472 |
|
| 473 |
void disableBracketedPasteModecxx . . $ Konsole/TerminalDisplay#disableBracketedPasteMode(b45ddcbc8423892c).(bool disable) { _disabledBracketedPasteModecxx . . $ Konsole/TerminalDisplay#_disabledBracketedPasteMode. = disable; } |
| 474 |
bool bracketedPasteModeIsDisabledcxx . . $ Konsole/TerminalDisplay#bracketedPasteModeIsDisabled(50ce9a9e25b4a850).() const { return _disabledBracketedPasteModecxx . . $ Konsole/TerminalDisplay#_disabledBracketedPasteMode.; } |
| 475 |
|
| 476 |
public slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 477 |
|
| 478 |
/** |
| 479 |
* Causes the terminal display to fetch the latest character image from the associated |
| 480 |
* terminal screen ( see setScreenWindow() ) and redraw the display. |
| 481 |
*/ |
| 482 |
void updateImagecxx . . $ Konsole/TerminalDisplay#updateImage(49f6e7a06ebc5aa8).(); |
| 483 |
|
| 484 |
/** Essentially calles processFilters(). |
| 485 |
*/ |
| 486 |
void updateFilterscxx . . $ Konsole/TerminalDisplay#updateFilters(49f6e7a06ebc5aa8).(); |
| 487 |
|
| 488 |
/** |
| 489 |
* Causes the terminal display to fetch the latest line status flags from the |
| 490 |
* associated terminal screen ( see setScreenWindow() ). |
| 491 |
*/ |
| 492 |
void updateLinePropertiescxx . . $ Konsole/TerminalDisplay#updateLineProperties(49f6e7a06ebc5aa8).(); |
| 493 |
|
| 494 |
/** Copies the selected text to the clipboard. */ |
| 495 |
void copyClipboardcxx . . $ Konsole/TerminalDisplay#copyClipboard(49f6e7a06ebc5aa8).(); |
| 496 |
/** |
| 497 |
* Pastes the content of the clipboard into the |
| 498 |
* display. |
| 499 |
*/ |
| 500 |
void pasteClipboardcxx . . $ Konsole/TerminalDisplay#pasteClipboard(49f6e7a06ebc5aa8).(); |
| 501 |
/** |
| 502 |
* Pastes the content of the selection into the |
| 503 |
* display. |
| 504 |
*/ |
| 505 |
void pasteSelectioncxx . . $ Konsole/TerminalDisplay#pasteSelection(49f6e7a06ebc5aa8).(); |
| 506 |
|
| •507 |
/** Checks if the clipboard is empty */ |
| 508 |
bool isClipboardEmptycxx . . $ Konsole/TerminalDisplay#isClipboardEmpty(c9857a73d68e59ba).(); |
| 509 |
|
| 510 |
/** Checks if the selection is empty */ |
| 511 |
bool isSelectionEmptycxx . . $ Konsole/TerminalDisplay#isSelectionEmpty(c9857a73d68e59ba).(); |
| 512 |
|
| 513 |
/** |
| 514 |
* Changes whether the flow control warning box should be shown when the flow control |
| 515 |
* stop key (Ctrl+S) are pressed. |
| 516 |
*/ |
| 517 |
void setFlowControlWarningEnabledcxx . . $ Konsole/TerminalDisplay#setFlowControlWarningEnabled(b45ddcbc8423892c).(bool enabled); |
| 518 |
/** |
| 519 |
* Returns true if the flow control warning box is enabled. |
| 520 |
* See outputSuspended() and setFlowControlWarningEnabled() |
| 521 |
*/ |
| 522 |
bool flowControlWarningEnabledcxx . . $ Konsole/TerminalDisplay#flowControlWarningEnabled(50ce9a9e25b4a850).() const |
| 523 |
{ return _flowControlWarningEnabledcxx . . $ Konsole/TerminalDisplay#_flowControlWarningEnabled.; } |
| 524 |
|
| 525 |
/** |
| 526 |
* Causes the widget to display or hide a message informing the user that terminal |
| 527 |
* output has been suspended (by using the flow control key combination Ctrl+S) |
| 528 |
* |
| 529 |
* @param suspended True if terminal output has been suspended and the warning message should |
| 530 |
* be shown or false to indicate that terminal output has been resumed and that |
| 531 |
* the warning message should disappear. |
| 532 |
*/ |
| 533 |
void outputSuspendedcxx . . $ Konsole/TerminalDisplay#outputSuspended(b45ddcbc8423892c).(bool suspended); |
| 534 |
|
| 535 |
/** |
| 536 |
* Sets whether the program whoose output is being displayed in the view |
| 537 |
* is interested in mouse events. |
| 538 |
* |
| 539 |
* If this is set to true, mouse signals will be emitted by the view when the user clicks, drags |
| 540 |
* or otherwise moves the mouse inside the view. |
| 541 |
* The user interaction needed to create selections will also change, and the user will be required |
| 542 |
* to hold down the shift key to create a selection or perform other mouse activities inside the |
| 543 |
* view area - since the program running in the terminal is being allowed to handle normal mouse |
| 544 |
* events itself. |
| 545 |
* |
| 546 |
* @param usesMouse Set to true if the program running in the terminal is interested in mouse events |
| 547 |
* or false otherwise. |
| 548 |
*/ |
| 549 |
void setUsesMousecxx . . $ Konsole/TerminalDisplay#setUsesMouse(b45ddcbc8423892c).(bool usesMouse); |
| 550 |
|
| 551 |
/** See setUsesMouse() */ |
| 552 |
bool usesMousecxx . . $ Konsole/TerminalDisplay#usesMouse(50ce9a9e25b4a850).() const; |
| 553 |
|
| 554 |
void setBracketedPasteModecxx . . $ Konsole/TerminalDisplay#setBracketedPasteMode(b45ddcbc8423892c).(bool bracketedPasteMode); |
| 555 |
bool bracketedPasteModecxx . . $ Konsole/TerminalDisplay#bracketedPasteMode(50ce9a9e25b4a850).() const; |
| 556 |
|
| 557 |
/** |
| 558 |
* Shows a notification that a bell event has occurred in the terminal. |
| 559 |
* TODO: More documentation here |
| 560 |
*/ |
| 561 |
void bellcxx . . $ Konsole/TerminalDisplay#bell(3520e46b33348bf6).(const QStringcxx . . $ QString#& message); |
| 562 |
|
| 563 |
/** |
| 564 |
* Sets the background of the display to the specified color. |
| 565 |
* @see setColorTable(), setForegroundColor() |
| 566 |
*/ |
| 567 |
void setBackgroundColorcxx . . $ Konsole/TerminalDisplay#setBackgroundColor(129a55e114526ad3).(const QColorcxx . . $ QColor#& color); |
| 568 |
|
| 569 |
/** |
| 570 |
* Sets the text of the display to the specified color. |
| 571 |
* @see setColorTable(), setBackgroundColor() |
| 572 |
*/ |
| 573 |
void setForegroundColorcxx . . $ Konsole/TerminalDisplay#setForegroundColor(129a55e114526ad3).(const QColorcxx . . $ QColor#& color); |
| 574 |
|
| •575 |
QColorcxx . . $ QColor# backgroundColorcxx . . $ Konsole/TerminalDisplay#backgroundColor(6d62b116d5d1b12f).() const; |
| 576 |
QColorcxx . . $ QColor# foregroundColorcxx . . $ Konsole/TerminalDisplay#foregroundColor(6d62b116d5d1b12f).() const; |
| 577 |
|
| 578 |
void selectionChangedcxx . . $ Konsole/TerminalDisplay#selectionChanged(49f6e7a06ebc5aa8).(); |
| 579 |
|
| 580 |
// QMLTermWidget |
| 581 |
void setColorSchemecxx . . $ Konsole/TerminalDisplay#setColorScheme(3520e46b33348bf6).(const QStringcxx . . $ QString# &name); |
| 582 |
QStringcxx . . $ QString# colorSchemecxx . . $ Konsole/TerminalDisplay#colorScheme(6ef7b6c27b00b43d).() const; |
| 583 |
QStringListcxx . . $ QStringList# availableColorSchemescxx . . $ Konsole/TerminalDisplay#availableColorSchemes(669a05bc42dd57cc).(); |
| 584 |
|
| 585 |
void simulateKeyPresscxx . . $ Konsole/TerminalDisplay#simulateKeyPress(61d28ec346736494).(int key, int modifiers, bool pressed, quint32cxx . . $ quint32# nativeScanCode, const QStringcxx . . $ QString# &text); |
| 586 |
void simulateKeySequencecxx . . $ Konsole/TerminalDisplay#simulateKeySequence(462600f892e8a1ee).(const QKeySequencecxx . . $ QKeySequence# &sequence); |
| 587 |
void simulateWheelcxx . . $ Konsole/TerminalDisplay#simulateWheel(6daba774ea832f60).(int x, int y, int buttons, int modifiers, QPointFcxx . . $ QPointF# angleDelta); |
| 588 |
void simulateMouseMovecxx . . $ Konsole/TerminalDisplay#simulateMouseMove(1559a299834bcdd5).(int x, int y, int button, int buttons, int modifiers); |
| 589 |
void simulateMousePresscxx . . $ Konsole/TerminalDisplay#simulateMousePress(1559a299834bcdd5).(int x, int y, int button, int buttons, int modifiers); |
| 590 |
void simulateMouseReleasecxx . . $ Konsole/TerminalDisplay#simulateMouseRelease(1559a299834bcdd5).(int x, int y, int button, int buttons, int modifiers); |
| 591 |
void simulateMouseDoubleClickcxx . . $ Konsole/TerminalDisplay#simulateMouseDoubleClick(1559a299834bcdd5).(int x, int y, int button, int buttons, int modifiers); |
| 592 |
|
| 593 |
signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 594 |
|
| 595 |
/** |
| 596 |
* Emitted when the user presses a key whilst the terminal widget has focus. |
| 597 |
*/ |
| 598 |
void keyPressedSignalcxx . . $ Konsole/TerminalDisplay#keyPressedSignal(4ced653b20f45578).(QKeyEventcxx . . $ QKeyEvent# *e, bool fromPaste); |
| 599 |
|
| 600 |
/** |
| 601 |
* A mouse event occurred. |
| 602 |
* @param button The mouse button (0 for left button, 1 for middle button, 2 for right button, 3 for release) |
| 603 |
* @param column The character column where the event occurred |
| 604 |
* @param line The character row where the event occurred |
| 605 |
* @param eventType The type of event. 0 for a mouse press / release or 1 for mouse motion |
| 606 |
*/ |
| 607 |
void mouseSignalcxx . . $ Konsole/TerminalDisplay#mouseSignal(748afa4755bc9595).(int button, int column, int line, int eventType); |
| 608 |
void changedFontMetricSignalcxx . . $ Konsole/TerminalDisplay#changedFontMetricSignal(3e454b8ccf442868).(int height, int width); |
| 609 |
void changedContentSizeSignalcxx . . $ Konsole/TerminalDisplay#changedContentSizeSignal(3e454b8ccf442868).(int height, int width); |
| 610 |
|
| 611 |
/** |
| 612 |
* Emitted when the user right clicks on the display, or right-clicks with the Shift |
| 613 |
* key held down if usesMouse() is true. |
| 614 |
* |
| 615 |
* This can be used to display a context menu. |
| 616 |
*/ |
| 617 |
void configureRequestcxx . . $ Konsole/TerminalDisplay#configureRequest(4f9e9534be445c03).(const QPointcxx . . $ QPoint#& position); |
| 618 |
|
| 619 |
/** |
| 620 |
* When a shortcut which is also a valid terminal key sequence is pressed while |
| 621 |
* the terminal widget has focus, this signal is emitted to allow the host to decide |
| 622 |
* whether the shortcut should be overridden. |
| 623 |
* When the shortcut is overridden, the key sequence will be sent to the terminal emulation instead |
| 624 |
* and the action associated with the shortcut will not be triggered. |
| 625 |
* |
| 626 |
* @p override is set to false by default and the shortcut will be triggered as normal. |
| 627 |
*/ |
| 628 |
void overrideShortcutCheckcxx . . $ Konsole/TerminalDisplay#overrideShortcutCheck(309c2049881de95d).(QKeyEventcxx . . $ QKeyEvent#* keyEvent,bool& override); |
| 629 |
|
| 630 |
void isBusySelectingcxx . . $ Konsole/TerminalDisplay#isBusySelecting(b45ddcbc8423892c).(bool busy); |
| 631 |
void sendStringToEmucxx . . $ Konsole/TerminalDisplay#sendStringToEmu(85c52e162fed56f9).(const char*); |
| 632 |
|
| 633 |
// qtermwidget signals |
| 634 |
void copyAvailablecxx . . $ Konsole/TerminalDisplay#copyAvailable(b45ddcbc8423892c).(bool available); |
| 635 |
void termGetFocuscxx . . $ Konsole/TerminalDisplay#termGetFocus(49f6e7a06ebc5aa8).(); |
| 636 |
void termLostFocuscxx . . $ Konsole/TerminalDisplay#termLostFocus(49f6e7a06ebc5aa8).(); |
| 637 |
|
| 638 |
void notifyBellcxx . . $ Konsole/TerminalDisplay#notifyBell(3520e46b33348bf6).(const QStringcxx . . $ QString#& bell); |
| 639 |
void usesMouseChangedcxx . . $ Konsole/TerminalDisplay#usesMouseChanged(49f6e7a06ebc5aa8).(); |
| 640 |
|
| 641 |
// QMLTermWidget |
| 642 |
void sessionChangedcxx . . $ Konsole/TerminalDisplay#sessionChanged(49f6e7a06ebc5aa8).(); |
| 643 |
void sizeChangedcxx . . $ Konsole/TerminalDisplay#sizeChanged(49f6e7a06ebc5aa8).(); |
| 644 |
void imagePaintedcxx . . $ Konsole/TerminalDisplay#imagePainted(49f6e7a06ebc5aa8).(); |
| 645 |
void scrollbarValueChangedcxx . . $ Konsole/TerminalDisplay#scrollbarValueChanged(49f6e7a06ebc5aa8).(); |
| 646 |
void scrollbarParamsChangedcxx . . $ Konsole/TerminalDisplay#scrollbarParamsChanged(d4f767463ce0a6b3).(int value); |
| 647 |
void vtFontChangedcxx . . $ Konsole/TerminalDisplay#vtFontChanged(49f6e7a06ebc5aa8).(); |
| 648 |
void lineSpacingChangedcxx . . $ Konsole/TerminalDisplay#lineSpacingChanged(49f6e7a06ebc5aa8).(); |
| 649 |
void availableColorSchemesChangedcxx . . $ Konsole/TerminalDisplay#availableColorSchemesChanged(49f6e7a06ebc5aa8).(); |
| 650 |
void colorSchemeChangedcxx . . $ Konsole/TerminalDisplay#colorSchemeChanged(49f6e7a06ebc5aa8).(); |
| •651 |
void backgroundColorChangedcxx . . $ Konsole/TerminalDisplay#backgroundColorChanged(49f6e7a06ebc5aa8).(); |
| 652 |
void foregroundColorChangedcxx . . $ Konsole/TerminalDisplay#foregroundColorChanged(49f6e7a06ebc5aa8).(); |
| 653 |
void fullCursorHeightChangedcxx . . $ Konsole/TerminalDisplay#fullCursorHeightChanged(49f6e7a06ebc5aa8).(); |
| 654 |
void blinkingCursorStateChangedcxx . . $ Konsole/TerminalDisplay#blinkingCursorStateChanged(49f6e7a06ebc5aa8).(); |
| 655 |
void boldIntenseChangedcxx . . $ Konsole/TerminalDisplay#boldIntenseChanged(49f6e7a06ebc5aa8).(); |
| 656 |
|
| 657 |
protected: |
| 658 |
bool eventcxx . . $ Konsole/TerminalDisplay#event(f123fa2ce489f0bd).( QEventcxx . . $ QEvent# * ) override; |
| 659 |
|
| 660 |
void showEventcxx . . $ Konsole/TerminalDisplay#showEvent(bc3b8402ee8753a7).(QShowEventcxx . . $ QShowEvent#*); |
| 661 |
void hideEventcxx . . $ Konsole/TerminalDisplay#hideEvent(6177daf7b5c7b9b3).(QHideEventcxx . . $ QHideEvent#*); |
| 662 |
void resizeEventcxx . . $ Konsole/TerminalDisplay#resizeEvent(eeeec21cf8dc0387).(QResizeEventcxx . . $ QResizeEvent#*); |
| 663 |
|
| 664 |
virtual void fontChangecxx . . $ Konsole/TerminalDisplay#fontChange(d0a4bd0c8524b912).(const QFontcxx . . $ QFont# &font); |
| 665 |
void focusInEventcxx . . $ Konsole/TerminalDisplay#focusInEvent(897a5ce4b6676619).(QFocusEventcxx . . $ QFocusEvent#* event) override; |
| 666 |
void focusOutEventcxx . . $ Konsole/TerminalDisplay#focusOutEvent(897a5ce4b6676619).(QFocusEventcxx . . $ QFocusEvent#* event) override; |
| 667 |
void keyPressEventcxx . . $ Konsole/TerminalDisplay#keyPressEvent(c92999c1b6b09cc0).(QKeyEventcxx . . $ QKeyEvent#* event) override; |
| 668 |
void mouseDoubleClickEventcxx . . $ Konsole/TerminalDisplay#mouseDoubleClickEvent(702858a82d06265c).(QMouseEventcxx . . $ QMouseEvent#* ev) override; |
| 669 |
void mousePressEventcxx . . $ Konsole/TerminalDisplay#mousePressEvent(702858a82d06265c).( QMouseEventcxx . . $ QMouseEvent#* ) override; |
| 670 |
void mouseReleaseEventcxx . . $ Konsole/TerminalDisplay#mouseReleaseEvent(702858a82d06265c).( QMouseEventcxx . . $ QMouseEvent#* ) override; |
| 671 |
void mouseMoveEventcxx . . $ Konsole/TerminalDisplay#mouseMoveEvent(702858a82d06265c).( QMouseEventcxx . . $ QMouseEvent#* ) override; |
| 672 |
virtual void extendSelectioncxx . . $ Konsole/TerminalDisplay#extendSelection(4f9e9534be445c03).( const QPointcxx . . $ QPoint#& pos ); |
| 673 |
void wheelEventcxx . . $ Konsole/TerminalDisplay#wheelEvent(92d40974398e4832).( QWheelEventcxx . . $ QWheelEvent#* ) override; |
| 674 |
|
| 675 |
bool focusNextPrevChildcxx . . $ Konsole/TerminalDisplay#focusNextPrevChild(efaadfb7dc14930a).( bool next ); |
| 676 |
|
| 677 |
// drag and drop |
| 678 |
void dragEnterEventcxx . . $ Konsole/TerminalDisplay#dragEnterEvent(f87bde08e579de69).(QDragEnterEventcxx . . $ QDragEnterEvent#* event) override; |
| 679 |
void dropEventcxx . . $ Konsole/TerminalDisplay#dropEvent(163a41ccaa120447).(QDropEventcxx . . $ QDropEvent#* event) override; |
| 680 |
void doDragcxx . . $ Konsole/TerminalDisplay#doDrag(49f6e7a06ebc5aa8).(); |
| 681 |
enum DragStatecxx . . $ Konsole/TerminalDisplay#DragState# { diNonecxx . . $ Konsole/TerminalDisplay#diNone., diPendingcxx . . $ Konsole/TerminalDisplay#diPending., diDraggingcxx . . $ Konsole/TerminalDisplay#diDragging. }; |
| 682 |
|
| 683 |
struct _dragInfocxx . . $ Konsole/TerminalDisplay#_dragInfo# { |
| 684 |
DragStatecxx . . $ Konsole/TerminalDisplay#DragState# statecxx . . $ Konsole/TerminalDisplay#_dragInfo#state.; |
| 685 |
QPointcxx . . $ QPoint# startcxx . . $ Konsole/TerminalDisplay#_dragInfo#start.; |
| 686 |
QDragcxx . . $ QDrag# *dragObjectcxx . . $ Konsole/TerminalDisplay#_dragInfo#dragObject.; |
| 687 |
} dragInfocxx . . $ Konsole/TerminalDisplay#dragInfo.; |
| 688 |
|
| 689 |
// classifies the 'ch' into one of three categories |
| 690 |
// and returns a character to indicate which category it is in |
| 691 |
// |
| 692 |
// - A space (returns ' ') |
| 693 |
// - Part of a word (returns 'a') |
| 694 |
// - Other characters (returns the input character) |
| 695 |
QCharcxx . . $ QChar# charClasscxx . . $ Konsole/TerminalDisplay#charClass(321a25151d1569e7).(QCharcxx . . $ QChar# ch) const; |
| 696 |
|
| 697 |
void clearImagecxx . . $ Konsole/TerminalDisplay#clearImage(49f6e7a06ebc5aa8).(); |
| 698 |
|
| 699 |
void mouseTripleClickEventcxx . . $ Konsole/TerminalDisplay#mouseTripleClickEvent(702858a82d06265c).(QMouseEventcxx . . $ QMouseEvent#* ev); |
| 700 |
|
| 701 |
// reimplemented |
| 702 |
void inputMethodEventcxx . . $ Konsole/TerminalDisplay#inputMethodEvent(eb30d52aff958119). ( QInputMethodEventcxx . . $ QInputMethodEvent#* event ) override; |
| 703 |
QVariantcxx . . $ QVariant# inputMethodQuerycxx . . $ Konsole/TerminalDisplay#inputMethodQuery(3c7e6bad31462e7e).( Qtcxx . . $ Qt/::InputMethodQuerycxx . . $ Qt/InputMethodQuery# query ) const override; |
| 704 |
|
| 705 |
// QMLTermWidget |
| 706 |
void paintcxx . . $ Konsole/TerminalDisplay#paint(c81d535d1ac9d52).(QPaintercxx . . $ QPainter# * painter); |
| 707 |
virtual void geometryChangedcxx . . $ Konsole/TerminalDisplay#geometryChanged(2c8a152f426e0ea3).(const QRectFcxx . . $ QRectF# & newGeometry, const QRectFcxx . . $ QRectF# & oldGeometry); |
| 708 |
void inputMethodQuerycxx . . $ Konsole/TerminalDisplay#inputMethodQuery(6445f52ba9e49a42).(QInputMethodQueryEventcxx . . $ QInputMethodQueryEvent# *event); |
| 709 |
void itemChangecxx . . $ Konsole/TerminalDisplay#itemChange(6dfad8b9065d088c).(ItemChangecxx . . $ QQuickItem#ItemChange# change, const ItemChangeDatacxx . . $ QQuickItem#ItemChangeData# & value); |
| 710 |
|
| 711 |
protected slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 712 |
|
| 713 |
void scrollBarPositionChangedcxx . . $ Konsole/TerminalDisplay#scrollBarPositionChanged(d4f767463ce0a6b3).(int value); |
| 714 |
void blinkEventcxx . . $ Konsole/TerminalDisplay#blinkEvent(49f6e7a06ebc5aa8).(); |
| 715 |
void blinkCursorEventcxx . . $ Konsole/TerminalDisplay#blinkCursorEvent(49f6e7a06ebc5aa8).(); |
| 716 |
|
| 717 |
//Renables bell noises and visuals. Used to disable further bells for a short period of time |
| 718 |
//after emitting the first in a sequence of bell events. |
| 719 |
void enableBellcxx . . $ Konsole/TerminalDisplay#enableBell(49f6e7a06ebc5aa8).(); |
| •720 |
void applyColorSchemecxx . . $ Konsole/TerminalDisplay#applyColorScheme(49f6e7a06ebc5aa8).(); |
| 721 |
|
| 722 |
private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 723 |
|
| 724 |
void swapColorTablecxx . . $ Konsole/TerminalDisplay#swapColorTable(49f6e7a06ebc5aa8).(); |
| 725 |
void tripleClickTimeoutcxx . . $ Konsole/TerminalDisplay#tripleClickTimeout(49f6e7a06ebc5aa8).(); // resets possibleTripleClick |
| 726 |
|
| 727 |
private: |
| 728 |
|
| 729 |
// -- Drawing helpers -- |
| 730 |
|
| 731 |
// determine the width of this text |
| 732 |
int textWidthcxx . . $ Konsole/TerminalDisplay#textWidth(ccfa90015542b148).(int startColumn, int length, int line) const; |
| 733 |
// determine the area that encloses this series of characters |
| 734 |
QRectcxx . . $ QRect# calculateTextAreacxx . . $ Konsole/TerminalDisplay#calculateTextArea(53f364db87716c6c).(int topLeftX, int topLeftY, int startColumn, int line, int length); |
| 735 |
|
| 736 |
// divides the part of the display specified by 'rect' into |
| 737 |
// fragments according to their colors and styles and calls |
| 738 |
// drawTextFragment() to draw the fragments |
| 739 |
void drawContentscxx . . $ Konsole/TerminalDisplay#drawContents(b0f466568e76e62).(QPaintercxx . . $ QPainter# &paint, const QRectcxx . . $ QRect# &rect); |
| 740 |
// draws a section of text, all the text in this section |
| 741 |
// has a common color and style |
| 742 |
void drawTextFragmentcxx . . $ Konsole/TerminalDisplay#drawTextFragment(dce02916890c04de).(QPaintercxx . . $ QPainter#& painter, const QRectcxx . . $ QRect#& rect, |
| 743 |
const stdcxx . . $ std/::wstringcxx . . $ std/wstring#& text, const Charactercxx . . $ Konsole/Character#* style); |
| 744 |
// draws the background for a text fragment |
| 745 |
// if useOpacitySetting is true then the color's alpha value will be set to |
| 746 |
// the display's transparency (set with setOpacity()), otherwise the background |
| 747 |
// will be drawn fully opaque |
| 748 |
void drawBackgroundcxx . . $ Konsole/TerminalDisplay#drawBackground(e8484d876dbc605a).(QPaintercxx . . $ QPainter#& painter, const QRectcxx . . $ QRect#& rect, const QColorcxx . . $ QColor#& color, |
| 749 |
bool useOpacitySetting); |
| 750 |
// draws the cursor character |
| 751 |
void drawCursorcxx . . $ Konsole/TerminalDisplay#drawCursor(73ea19ad007b7edc).(QPaintercxx . . $ QPainter#& painter, const QRectcxx . . $ QRect#& rect , const QColorcxx . . $ QColor#& foregroundColor, |
| 752 |
const QColorcxx . . $ QColor#& backgroundColor , bool& invertColors); |
| 753 |
// draws the characters or line graphics in a text fragment |
| 754 |
void drawCharacterscxx . . $ Konsole/TerminalDisplay#drawCharacters(683bc66187729b95).(QPaintercxx . . $ QPainter#& painter, const QRectcxx . . $ QRect#& rect, const stdcxx . . $ std/::wstringcxx . . $ std/wstring#& text, |
| 755 |
const Charactercxx . . $ Konsole/Character#* style, bool invertCharacterColor); |
| 756 |
// draws a string of line graphics |
| 757 |
void drawLineCharStringcxx . . $ Konsole/TerminalDisplay#drawLineCharString(635ec380c65fbc2f).(QPaintercxx . . $ QPainter#& painter, int x, int y, |
| 758 |
const stdcxx . . $ std/::wstringcxx . . $ std/wstring#& str, const Charactercxx . . $ Konsole/Character#* attributes) const; |
| 759 |
|
| 760 |
// draws the preedit string for input methods |
| 761 |
void drawInputMethodPreeditStringcxx . . $ Konsole/TerminalDisplay#drawInputMethodPreeditString(b0f466568e76e62).(QPaintercxx . . $ QPainter#& painter , const QRectcxx . . $ QRect#& rect); |
| 762 |
|
| 763 |
// -- |
| 764 |
|
| 765 |
// maps an area in the character image to an area on the widget |
| 766 |
QRectcxx . . $ QRect# imageToWidgetcxx . . $ Konsole/TerminalDisplay#imageToWidget(a74d2a1e09b26a6c).(const QRectcxx . . $ QRect#& imageArea) const; |
| 767 |
|
| 768 |
// the area where the preedit string for input methods will be draw |
| 769 |
QRectcxx . . $ QRect# preeditRectcxx . . $ Konsole/TerminalDisplay#preeditRect(d857385bac04cbf7).() const; |
| 770 |
|
| 771 |
// shows a notification window in the middle of the widget indicating the terminal's |
| 772 |
// current size in columns and lines |
| 773 |
void showResizeNotificationcxx . . $ Konsole/TerminalDisplay#showResizeNotification(49f6e7a06ebc5aa8).(); |
| 774 |
|
| 775 |
// scrolls the image by a number of lines. |
| 776 |
// 'lines' may be positive ( to scroll the image down ) |
| 777 |
// or negative ( to scroll the image up ) |
| 778 |
// 'region' is the part of the image to scroll - currently only |
| 779 |
// the top, bottom and height of 'region' are taken into account, |
| 780 |
// the left and right are ignored. |
| 781 |
void scrollImagecxx . . $ Konsole/TerminalDisplay#scrollImage(f77025cb21ba58a9).(int lines , const QRectcxx . . $ QRect#& region); |
| 782 |
|
| 783 |
void calcGeometrycxx . . $ Konsole/TerminalDisplay#calcGeometry(49f6e7a06ebc5aa8).(); |
| 784 |
void propagateSizecxx . . $ Konsole/TerminalDisplay#propagateSize(49f6e7a06ebc5aa8).(); |
| 785 |
void updateImageSizecxx . . $ Konsole/TerminalDisplay#updateImageSize(49f6e7a06ebc5aa8).(); |
| 786 |
void makeImagecxx . . $ Konsole/TerminalDisplay#makeImage(49f6e7a06ebc5aa8).(); |
| 787 |
|
| 788 |
void paintFilterscxx . . $ Konsole/TerminalDisplay#paintFilters(a44752e0c3add9e1).(QPaintercxx . . $ QPainter#& painter); |
| 789 |
|
| 790 |
// returns a region covering all of the areas of the widget which contain |
| 791 |
// a hotspot |
| 792 |
QRegioncxx . . $ QRegion# hotSpotRegioncxx . . $ Konsole/TerminalDisplay#hotSpotRegion(60241c9f822a04d8).() const; |
| 793 |
|
| 794 |
// returns the position of the cursor in columns and lines |
| 795 |
QPointcxx . . $ QPoint# cursorPositioncxx . . $ Konsole/TerminalDisplay#cursorPosition(75d69cfbd3c4b2dd).() const; |
| 796 |
|
| 797 |
// redraws the cursor |
| 798 |
void updateCursorcxx . . $ Konsole/TerminalDisplay#updateCursor(49f6e7a06ebc5aa8).(); |
| 799 |
|
| 800 |
bool handleShortcutOverrideEventcxx . . $ Konsole/TerminalDisplay#handleShortcutOverrideEvent(654f5f472df72c38).(QKeyEventcxx . . $ QKeyEvent#* event); |
| 801 |
|
| 802 |
bool isLineCharcxx . . $ Konsole/TerminalDisplay#isLineChar(beeb25e058ed20bb).(wchar_t c) const; |
| 803 |
bool isLineCharStringcxx . . $ Konsole/TerminalDisplay#isLineCharString(330196f35372e4a).(const stdcxx . . $ std/::wstringcxx . . $ std/wstring#& string) const; |
| 804 |
|
| 805 |
// the window onto the terminal screen which this display |
| 806 |
// is currently showing. |
| 807 |
QPointercxx . . $ QPointer#<ScreenWindowcxx . . $ Konsole/ScreenWindow#> _screenWindowcxx . . $ Konsole/TerminalDisplay#_screenWindow.; |
| 808 |
|
| 809 |
bool _allowBellcxx . . $ Konsole/TerminalDisplay#_allowBell.; |
| 810 |
|
| 811 |
QGridLayoutcxx . . $ QGridLayout#* _gridLayoutcxx . . $ Konsole/TerminalDisplay#_gridLayout.; |
| 812 |
|
| 813 |
bool _fixedFontcxx . . $ Konsole/TerminalDisplay#_fixedFont.; // has fixed pitch |
| 814 |
int _fontHeightcxx . . $ Konsole/TerminalDisplay#_fontHeight.; // height |
| 815 |
int _fontWidthcxx . . $ Konsole/TerminalDisplay#_fontWidth.; // width |
| 816 |
int _fontAscentcxx . . $ Konsole/TerminalDisplay#_fontAscent.; // ascend |
| 817 |
bool _boldIntensecxx . . $ Konsole/TerminalDisplay#_boldIntense.; // Whether intense colors should be rendered with bold font |
| 818 |
|
| 819 |
int _leftMargincxx . . $ Konsole/TerminalDisplay#_leftMargin.; // offset |
| 820 |
int _topMargincxx . . $ Konsole/TerminalDisplay#_topMargin.; // offset |
| 821 |
|
| 822 |
int _linescxx . . $ Konsole/TerminalDisplay#_lines.; // the number of lines that can be displayed in the widget |
| 823 |
int _columnscxx . . $ Konsole/TerminalDisplay#_columns.; // the number of columns that can be displayed in the widget |
| 824 |
|
| 825 |
int _usedLinescxx . . $ Konsole/TerminalDisplay#_usedLines.; // the number of lines that are actually being used, this will be less |
| 826 |
// than 'lines' if the character image provided with setImage() is smaller |
| 827 |
// than the maximum image size which can be displayed |
| 828 |
|
| 829 |
int _usedColumnscxx . . $ Konsole/TerminalDisplay#_usedColumns.; // the number of columns that are actually being used, this will be less |
| 830 |
// than 'columns' if the character image provided with setImage() is smaller |
| 831 |
// than the maximum image size which can be displayed |
| 832 |
|
| 833 |
int _contentHeightcxx . . $ Konsole/TerminalDisplay#_contentHeight.; |
| 834 |
int _contentWidthcxx . . $ Konsole/TerminalDisplay#_contentWidth.; |
| 835 |
Charactercxx . . $ Konsole/Character#* _imagecxx . . $ Konsole/TerminalDisplay#_image.; // [lines][columns] |
| 836 |
// only the area [usedLines][usedColumns] in the image contains valid data |
| 837 |
|
| 838 |
int _imageSizecxx . . $ Konsole/TerminalDisplay#_imageSize.; |
| 839 |
QVectorcxx . . $ QVector#<LinePropertycxx . . $ Konsole/LineProperty#> _linePropertiescxx . . $ Konsole/TerminalDisplay#_lineProperties.; |
| 840 |
|
| 841 |
ColorEntrycxx . . $ Konsole/ColorEntry# _colorTablecxx . . $ Konsole/TerminalDisplay#_colorTable.[TABLE_COLORScxx . . $ `lib/CharacterColor.h:103:9`!]; |
| 842 |
uintcxx . . $ uint# _randomSeedcxx . . $ Konsole/TerminalDisplay#_randomSeed.; |
| 843 |
|
| 844 |
bool _resizingcxx . . $ Konsole/TerminalDisplay#_resizing.; |
| 845 |
bool _terminalSizeHintcxx . . $ Konsole/TerminalDisplay#_terminalSizeHint.; |
| 846 |
bool _terminalSizeStartupcxx . . $ Konsole/TerminalDisplay#_terminalSizeStartup.; |
| 847 |
bool _bidiEnabledcxx . . $ Konsole/TerminalDisplay#_bidiEnabled.; |
| 848 |
bool _mouseMarkscxx . . $ Konsole/TerminalDisplay#_mouseMarks.; |
| 849 |
bool _bracketedPasteModecxx . . $ Konsole/TerminalDisplay#_bracketedPasteMode.; |
| 850 |
bool _disabledBracketedPasteModecxx . . $ Konsole/TerminalDisplay#_disabledBracketedPasteMode.; |
| 851 |
|
| 852 |
QPointcxx . . $ QPoint# _iPntSelcxx . . $ Konsole/TerminalDisplay#_iPntSel.; // initial selection point |
| 853 |
QPointcxx . . $ QPoint# _pntSelcxx . . $ Konsole/TerminalDisplay#_pntSel.; // current selection point |
| 854 |
QPointcxx . . $ QPoint# _tripleSelBegincxx . . $ Konsole/TerminalDisplay#_tripleSelBegin.; // help avoid flicker |
| 855 |
int _actSelcxx . . $ Konsole/TerminalDisplay#_actSel.; // selection state |
| 856 |
bool _wordSelectionModecxx . . $ Konsole/TerminalDisplay#_wordSelectionMode.; |
| 857 |
bool _lineSelectionModecxx . . $ Konsole/TerminalDisplay#_lineSelectionMode.; |
| 858 |
bool _preserveLineBreakscxx . . $ Konsole/TerminalDisplay#_preserveLineBreaks.; |
| 859 |
bool _columnSelectionModecxx . . $ Konsole/TerminalDisplay#_columnSelectionMode.; |
| 860 |
|
| 861 |
QClipboardcxx . . $ QClipboard#* _clipboardcxx . . $ Konsole/TerminalDisplay#_clipboard.; |
| 862 |
QScrollBarcxx . . $ QScrollBar#* _scrollBarcxx . . $ Konsole/TerminalDisplay#_scrollBar.; |
| 863 |
QTermWidgetcxx . . $ QTermWidget#::ScrollBarPositioncxx . . $ QTermWidget#ScrollBarPosition# _scrollbarLocationcxx . . $ Konsole/TerminalDisplay#_scrollbarLocation.; |
| 864 |
QStringcxx . . $ QString# _wordCharacterscxx . . $ Konsole/TerminalDisplay#_wordCharacters.; |
| 865 |
int _bellModecxx . . $ Konsole/TerminalDisplay#_bellMode.; |
| 866 |
|
| 867 |
bool _blinkingcxx . . $ Konsole/TerminalDisplay#_blinking.; // hide text in paintEvent |
| 868 |
bool _hasBlinkercxx . . $ Konsole/TerminalDisplay#_hasBlinker.; // has characters to blink |
| 869 |
bool _cursorBlinkingcxx . . $ Konsole/TerminalDisplay#_cursorBlinking.; // hide cursor in paintEvent |
| 870 |
bool _hasBlinkingCursorcxx . . $ Konsole/TerminalDisplay#_hasBlinkingCursor.; // has blinking cursor enabled |
| 871 |
bool _allowBlinkingTextcxx . . $ Konsole/TerminalDisplay#_allowBlinkingText.; // allow text to blink |
| 872 |
bool _ctrlDragcxx . . $ Konsole/TerminalDisplay#_ctrlDrag.; // require Ctrl key for drag |
| 873 |
TripleClickModecxx . . $ Konsole/TerminalDisplay#TripleClickMode# _tripleClickModecxx . . $ Konsole/TerminalDisplay#_tripleClickMode.; |
| 874 |
bool _isFixedSizecxx . . $ Konsole/TerminalDisplay#_isFixedSize.; //Columns / lines are locked. |
| 875 |
QTimercxx . . $ QTimer#* _blinkTimercxx . . $ Konsole/TerminalDisplay#_blinkTimer.; // active when hasBlinker |
| 876 |
QTimercxx . . $ QTimer#* _blinkCursorTimercxx . . $ Konsole/TerminalDisplay#_blinkCursorTimer.; // active when hasBlinkingCursor |
| 877 |
|
| 878 |
//QMenu* _drop; |
| 879 |
QStringcxx . . $ QString# _dropTextcxx . . $ Konsole/TerminalDisplay#_dropText.; |
| 880 |
int _dndFileCountcxx . . $ Konsole/TerminalDisplay#_dndFileCount.; |
| 881 |
|
| 882 |
bool _possibleTripleClickcxx . . $ Konsole/TerminalDisplay#_possibleTripleClick.; // is set in mouseDoubleClickEvent and deleted |
| 883 |
// after QApplication::doubleClickInterval() delay |
| 884 |
|
| 885 |
|
| 886 |
QLabelcxx . . $ QLabel#* _resizeWidgetcxx . . $ Konsole/TerminalDisplay#_resizeWidget.; |
| 887 |
QTimercxx . . $ QTimer#* _resizeTimercxx . . $ Konsole/TerminalDisplay#_resizeTimer.; |
| 888 |
|
| 889 |
bool _flowControlWarningEnabledcxx . . $ Konsole/TerminalDisplay#_flowControlWarningEnabled.; |
| 890 |
|
| 891 |
//widgets related to the warning message that appears when the user presses Ctrl+S to suspend |
| 892 |
//terminal output - informing them what has happened and how to resume output |
| 893 |
QLabelcxx . . $ QLabel#* _outputSuspendedLabelcxx . . $ Konsole/TerminalDisplay#_outputSuspendedLabel.; |
| 894 |
|
| 895 |
uintcxx . . $ uint# _lineSpacingcxx . . $ Konsole/TerminalDisplay#_lineSpacing.; |
| 896 |
QStringcxx . . $ QString# _colorSchemecxx . . $ Konsole/TerminalDisplay#_colorScheme.; |
| •897 |
const ColorSchemecxx . . $ Konsole/ColorScheme#* _colorSchemeRefcxx . . $ Konsole/TerminalDisplay#_colorSchemeRef.; |
| 898 |
bool _colorsInvertedcxx . . $ Konsole/TerminalDisplay#_colorsInverted.; // true during visual bell |
| 899 |
|
| 900 |
QSizecxx . . $ QSize# _sizecxx . . $ Konsole/TerminalDisplay#_size.; |
| 901 |
|
| 902 |
qrealcxx . . $ qreal# _opacitycxx . . $ Konsole/TerminalDisplay#_opacity.; |
| 903 |
|
| 904 |
QPixmapcxx . . $ QPixmap# _backgroundImagecxx . . $ Konsole/TerminalDisplay#_backgroundImage.; |
| 905 |
BackgroundModecxx . . $ Konsole/BackgroundMode# _backgroundModecxx . . $ Konsole/TerminalDisplay#_backgroundMode.; |
| 906 |
|
| 907 |
// list of filters currently applied to the display. used for links and |
| 908 |
// search highlight |
| 909 |
TerminalImageFilterChaincxx . . $ Konsole/TerminalImageFilterChain#* _filterChaincxx . . $ Konsole/TerminalDisplay#_filterChain.; |
| 910 |
QRegioncxx . . $ QRegion# _mouseOverHotspotAreacxx . . $ Konsole/TerminalDisplay#_mouseOverHotspotArea.; |
| 911 |
|
| 912 |
QTermWidgetcxx . . $ QTermWidget#::KeyboardCursorShapecxx . . $ QTermWidget#KeyboardCursorShape# _cursorShapecxx . . $ Konsole/TerminalDisplay#_cursorShape.; |
| 913 |
|
| 914 |
// custom cursor color. if this is invalid then the foreground |
| 915 |
// color of the character under the cursor is used |
| 916 |
QColorcxx . . $ QColor# _cursorColorcxx . . $ Konsole/TerminalDisplay#_cursorColor.; |
| 917 |
|
| 918 |
|
| 919 |
MotionAfterPastingcxx . . $ Konsole/MotionAfterPasting# mMotionAfterPastingcxx . . $ Konsole/TerminalDisplay#mMotionAfterPasting.; |
| 920 |
bool _confirmMultilinePastecxx . . $ Konsole/TerminalDisplay#_confirmMultilinePaste.; |
| 921 |
bool _trimPastedTrailingNewlinescxx . . $ Konsole/TerminalDisplay#_trimPastedTrailingNewlines.; |
| 922 |
|
| 923 |
struct InputMethodDatacxx . . $ Konsole/TerminalDisplay#InputMethodData# |
| 924 |
{ |
| 925 |
stdcxx . . $ std/::wstringcxx . . $ std/wstring# preeditStringcxx . . $ Konsole/TerminalDisplay#InputMethodData#preeditString.; |
| 926 |
QRectcxx . . $ QRect# previousPreeditRectcxx . . $ Konsole/TerminalDisplay#InputMethodData#previousPreeditRect.; |
| 927 |
}; |
| 928 |
InputMethodDatacxx . . $ Konsole/TerminalDisplay#InputMethodData# _inputMethodDatacxx . . $ Konsole/TerminalDisplay#_inputMethodData.; |
| 929 |
|
| 930 |
static bool _antialiasTextcxx . . $ Konsole/TerminalDisplay#_antialiasText.; // do we antialias or not |
| 931 |
|
| 932 |
//the delay in milliseconds between redrawing blinking text |
| 933 |
static const int TEXT_BLINK_DELAYcxx . . $ Konsole/TerminalDisplay#TEXT_BLINK_DELAY. = 500; |
| 934 |
|
| 935 |
int _leftBaseMargincxx . . $ Konsole/TerminalDisplay#_leftBaseMargin.; |
| 936 |
int _topBaseMargincxx . . $ Konsole/TerminalDisplay#_topBaseMargin.; |
| 937 |
|
| 938 |
// QMLTermWidget port functions |
| 939 |
QFontcxx . . $ QFont# m_fontcxx . . $ Konsole/TerminalDisplay#m_font.; |
| 940 |
QPalettecxx . . $ QPalette# m_palettecxx . . $ Konsole/TerminalDisplay#m_palette.; |
| 941 |
QPalettecxx . . $ QPalette#::ColorRolecxx . . $ QPalette#ColorRole# m_color_rolecxx . . $ Konsole/TerminalDisplay#m_color_role.; |
| 942 |
KSessioncxx . . $ KSession# *m_sessioncxx . . $ Konsole/TerminalDisplay#m_session.; |
| 943 |
bool m_full_cursor_heightcxx . . $ Konsole/TerminalDisplay#m_full_cursor_height.; |
| 944 |
|
| 945 |
QFontcxx . . $ QFont# fontcxx . . $ Konsole/TerminalDisplay#font(9958934e48c66a6a).() const { return m_fontcxx . . $ Konsole/TerminalDisplay#m_font.; } |
| 946 |
|
| 947 |
const QPalettecxx . . $ QPalette# palettecxx . . $ Konsole/TerminalDisplay#palette(d9f8a6603c6966ab).() { return m_palettecxx . . $ Konsole/TerminalDisplay#m_palette.; } |
| 948 |
void setPalettecxx . . $ Konsole/TerminalDisplay#setPalette(f826ed73d5553cd5).(const QPalettecxx . . $ QPalette# &p){ m_palettecxx . . $ Konsole/TerminalDisplay#m_palette. =cxx . . $ QPalette#`operator=`(f79b03df217b5109). p; } |
| 949 |
|
| 950 |
QPalettecxx . . $ QPalette#::ColorRolecxx . . $ QPalette#ColorRole# backgroundRolecxx . . $ Konsole/TerminalDisplay#backgroundRole(66f9c6b7f2ab2976).() { return m_color_rolecxx . . $ Konsole/TerminalDisplay#m_color_role.; } |
| 951 |
void setBackgroundRolecxx . . $ Konsole/TerminalDisplay#setBackgroundRole(656661f550a99654).(QPalettecxx . . $ QPalette#::ColorRolecxx . . $ QPalette#ColorRole# role) { m_color_rolecxx . . $ Konsole/TerminalDisplay#m_color_role. = role; } |
| 952 |
|
| 953 |
void updatecxx . . $ Konsole/TerminalDisplay#update(bd1064c840c6b6e8).(const QRegioncxx . . $ QRegion# ®ion); |
| 954 |
void updatecxx . . $ Konsole/TerminalDisplay#update(49f6e7a06ebc5aa8).(); |
| 955 |
|
| 956 |
QRectcxx . . $ QRect# contentsRectcxx . . $ Konsole/TerminalDisplay#contentsRect(d857385bac04cbf7).() const; |
| 957 |
QSizecxx . . $ QSize# sizecxx . . $ Konsole/TerminalDisplay#size(4b3b776e5ee2b367).() const; |
| 958 |
|
| 959 |
void setSessioncxx . . $ Konsole/TerminalDisplay#setSession(d3af3380e0f4dac0).(KSessioncxx . . $ KSession# *session); |
| 960 |
KSessioncxx . . $ KSession#* getSessioncxx . . $ Konsole/TerminalDisplay#getSession(af8a2e5b2374616e).(); |
| 961 |
|
| 962 |
QSizecxx . . $ QSize# getTerminalSizecxx . . $ Konsole/TerminalDisplay#getTerminalSize(dc21773d1a733566).(); |
| 963 |
|
| 964 |
bool getUsesMousecxx . . $ Konsole/TerminalDisplay#getUsesMouse(c9857a73d68e59ba).(); |
| 965 |
|
| 966 |
int getScrollbarValuecxx . . $ Konsole/TerminalDisplay#getScrollbarValue(b126dc7c1de90089).(); |
| •967 |
void setScrollbarValuecxx . . $ Konsole/TerminalDisplay#setScrollbarValue(d4f767463ce0a6b3).(int value); |
| 968 |
|
| 969 |
int getScrollbarMaximumcxx . . $ Konsole/TerminalDisplay#getScrollbarMaximum(b126dc7c1de90089).(); |
| 970 |
int getScrollbarMinimumcxx . . $ Konsole/TerminalDisplay#getScrollbarMinimum(b126dc7c1de90089).(); |
| 971 |
|
| 972 |
QSizecxx . . $ QSize# getFontMetricscxx . . $ Konsole/TerminalDisplay#getFontMetrics(dc21773d1a733566).(); |
| 973 |
|
| 974 |
void setFullCursorHeightcxx . . $ Konsole/TerminalDisplay#setFullCursorHeight(b45ddcbc8423892c).(bool val); |
| 975 |
|
| 976 |
bool _drawLineCharscxx . . $ Konsole/TerminalDisplay#_drawLineChars.; |
| 977 |
|
| 978 |
public: |
| 979 |
static void setTransparencyEnabledcxx . . $ Konsole/TerminalDisplay#setTransparencyEnabled(b45ddcbc8423892c).(bool enable) |
| 980 |
{ |
| 981 |
HAVE_TRANSPARENCYcxx . . $ Konsole/TerminalDisplay#HAVE_TRANSPARENCY. = enable; |
| 982 |
} |
| 983 |
bool fullCursorHeightcxx . . $ Konsole/TerminalDisplay#fullCursorHeight(50ce9a9e25b4a850).() const; |
| 984 |
}; |
| 985 |
|
| 986 |
class AutoScrollHandlercxx . . $ Konsole/AutoScrollHandler# : public QObjectcxx . . $ QObject# |
| 987 |
{ |
| 988 |
Q_OBJECTcxx . . $ Konsole/AutoScrollHandler#staticMetaObject. |
| 989 |
|
| 990 |
public: |
| 991 |
AutoScrollHandlercxx . . $ Konsole/AutoScrollHandler#AutoScrollHandler(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget#* parent); |
| 992 |
protected: |
| 993 |
void timerEventcxx . . $ Konsole/AutoScrollHandler#timerEvent(b9e57d1150f23bf5).(QTimerEventcxx . . $ QTimerEvent#* event) override; |
| 994 |
bool eventFiltercxx . . $ Konsole/AutoScrollHandler#eventFilter(978aa4af1d030efa).(QObjectcxx . . $ QObject#* watched,QEventcxx . . $ QEvent#* event) override; |
| 995 |
private: |
| 996 |
QWidgetcxx . . $ QWidget#* widgetcxx . . $ Konsole/AutoScrollHandler#widget(27f420ad5cce8994).() const { return static_cast<QWidgetcxx . . $ QWidget#*>(parentcxx . . $ QObject#parent(2dbb680a34285c44).()); } |
| 997 |
int _timerIdcxx . . $ Konsole/AutoScrollHandler#_timerId.; |
| 998 |
}; |
| 999 |
|
| 1000 |
} |
| 1001 |
|
| 1002 |
#endif // TERMINALDISPLAY_H |