Changeset View
Changeset View
Standalone View
Standalone View
src/TerminalDisplay.h
Show All 18 Lines | |||||
19 | */ | 19 | */ | ||
20 | 20 | | |||
21 | #ifndef TERMINALDISPLAY_H | 21 | #ifndef TERMINALDISPLAY_H | ||
22 | #define TERMINALDISPLAY_H | 22 | #define TERMINALDISPLAY_H | ||
23 | 23 | | |||
24 | // Qt | 24 | // Qt | ||
25 | #include <QColor> | 25 | #include <QColor> | ||
26 | #include <QPointer> | 26 | #include <QPointer> | ||
27 | #include <QTabBar> | ||||
27 | #include <QWidget> | 28 | #include <QWidget> | ||
28 | 29 | | |||
29 | // Konsole | 30 | // Konsole | ||
30 | #include "Character.h" | 31 | #include "Character.h" | ||
31 | #include "konsoleprivate_export.h" | 32 | #include "konsoleprivate_export.h" | ||
32 | #include "ScreenWindow.h" | 33 | #include "ScreenWindow.h" | ||
33 | #include "ColorScheme.h" | 34 | #include "ColorScheme.h" | ||
34 | #include "Enumeration.h" | 35 | #include "Enumeration.h" | ||
35 | #include "ScrollState.h" | 36 | #include "ScrollState.h" | ||
36 | 37 | | |||
37 | class QDrag; | 38 | class QDrag; | ||
38 | class QDragEnterEvent; | 39 | class QDragEnterEvent; | ||
39 | class QDropEvent; | 40 | class QDropEvent; | ||
40 | class QLabel; | 41 | class QLabel; | ||
41 | class QTimer; | 42 | class QTimer; | ||
42 | class QEvent; | 43 | class QEvent; | ||
43 | class QVBoxLayout; | 44 | class QVBoxLayout; | ||
44 | class QKeyEvent; | 45 | class QKeyEvent; | ||
45 | class QScrollBar; | 46 | class QScrollBar; | ||
46 | class QShowEvent; | 47 | class QShowEvent; | ||
47 | class QHideEvent; | 48 | class QHideEvent; | ||
49 | class QTabBar; | ||||
48 | class QTimerEvent; | 50 | class QTimerEvent; | ||
49 | class KMessageWidget; | 51 | class KMessageWidget; | ||
50 | 52 | | |||
51 | namespace Konsole { | 53 | namespace Konsole { | ||
52 | class FilterChain; | 54 | class FilterChain; | ||
53 | class TerminalImageFilterChain; | 55 | class TerminalImageFilterChain; | ||
54 | class SessionController; | 56 | class SessionController; | ||
55 | class IncrementalSearchBar; | 57 | class IncrementalSearchBar; | ||
▲ Show 20 Lines • Show All 869 Lines • ▼ Show 20 Line(s) | 823 | private: | |||
925 | // is currently showing. | 927 | // is currently showing. | ||
926 | QPointer<ScreenWindow> _screenWindow; | 928 | QPointer<ScreenWindow> _screenWindow; | ||
927 | 929 | | |||
928 | bool _bellMasked; | 930 | bool _bellMasked; | ||
929 | 931 | | |||
930 | QVBoxLayout *_verticalLayout; | 932 | QVBoxLayout *_verticalLayout; | ||
931 | 933 | | |||
932 | bool _fixedFont; // has fixed pitch | 934 | bool _fixedFont; // has fixed pitch | ||
935 | int _tabToBeClosedOnMiddleMouseButtonRelease; | ||||
933 | int _fontHeight; // height | 936 | int _fontHeight; // height | ||
934 | int _fontWidth; // width | 937 | int _fontWidth; // width | ||
935 | int _fontAscent; // ascend | 938 | int _fontAscent; // ascend | ||
936 | bool _boldIntense; // Whether intense colors should be rendered with bold font | 939 | bool _boldIntense; // Whether intense colors should be rendered with bold font | ||
937 | 940 | | |||
938 | int _lines; // the number of lines that can be displayed in the widget | 941 | int _lines; // the number of lines that can be displayed in the widget | ||
939 | int _columns; // the number of columns that can be displayed in the widget | 942 | int _columns; // the number of columns that can be displayed in the widget | ||
940 | 943 | | |||
▲ Show 20 Lines • Show All 125 Lines • ▼ Show 20 Line(s) | |||||
1066 | qreal _opacity; | 1069 | qreal _opacity; | ||
1067 | 1070 | | |||
1068 | bool _dimWhenInactive; | 1071 | bool _dimWhenInactive; | ||
1069 | 1072 | | |||
1070 | ScrollState _scrollWheelState; | 1073 | ScrollState _scrollWheelState; | ||
1071 | IncrementalSearchBar *_searchBar; | 1074 | IncrementalSearchBar *_searchBar; | ||
1072 | 1075 | | |||
1073 | QRect _searchResultRect; | 1076 | QRect _searchResultRect; | ||
1077 | | ||||
1078 | QTabBar *_tabBar; | ||||
1079 | | ||||
1074 | friend class TerminalDisplayAccessible; | 1080 | friend class TerminalDisplayAccessible; | ||
1075 | }; | 1081 | }; | ||
1076 | 1082 | | |||
1077 | class AutoScrollHandler : public QObject | 1083 | class AutoScrollHandler : public QObject | ||
1078 | { | 1084 | { | ||
1079 | Q_OBJECT | 1085 | Q_OBJECT | ||
1080 | 1086 | | |||
1081 | public: | 1087 | public: | ||
Show All 15 Lines |