File indexing completed on 2024-05-19 05:28:18

0001 /*  SPDX-FileCopyrightText: 2008 e _k (e_k@users.sourceforge.net)
0002 
0003     SPDX-License-Identifier: LGPL-2.0-or-later
0004 */
0005 
0006 #ifndef _Q_TERM_WIDGET
0007 #define _Q_TERM_WIDGET
0008 
0009 #include "Emulation.h"
0010 #include "Filter.h"
0011 #include <QTranslator>
0012 #include <QWidget>
0013 
0014 class QVBoxLayout;
0015 class TermWidgetImpl;
0016 class SearchBar;
0017 class QUrl;
0018 
0019 class QTermWidget
0020 {
0021 public:
0022     /**
0023      * This enum describes the location where the scroll bar is positioned in the display widget.
0024      */
0025     enum ScrollBarPosition {
0026         /** Do not show the scroll bar. */
0027         NoScrollBar = 0,
0028         /** Show the scroll bar on the left side of the display. */
0029         ScrollBarLeft = 1,
0030         /** Show the scroll bar on the right side of the display. */
0031         ScrollBarRight = 2
0032     };
0033 
0034     using KeyboardCursorShape = Konsole::Emulation::KeyboardCursorShape;
0035 };
0036 
0037 #endif