Changeset View
Changeset View
Standalone View
Standalone View
src/TerminalDisplay.h
Show All 28 Lines | |||||
29 | // Konsole | 29 | // Konsole | ||
30 | #include "Character.h" | 30 | #include "Character.h" | ||
31 | #include "konsoleprivate_export.h" | 31 | #include "konsoleprivate_export.h" | ||
32 | #include "ScreenWindow.h" | 32 | #include "ScreenWindow.h" | ||
33 | #include "ColorScheme.h" | 33 | #include "ColorScheme.h" | ||
34 | #include "Enumeration.h" | 34 | #include "Enumeration.h" | ||
35 | #include "ScrollState.h" | 35 | #include "ScrollState.h" | ||
36 | #include "Profile.h" | 36 | #include "Profile.h" | ||
37 | #include "TerminalHeaderBar.h" | ||||
37 | 38 | | |||
38 | class QDrag; | 39 | class QDrag; | ||
39 | class QDragEnterEvent; | 40 | class QDragEnterEvent; | ||
40 | class QDropEvent; | 41 | class QDropEvent; | ||
41 | class QLabel; | 42 | class QLabel; | ||
42 | class QTimer; | 43 | class QTimer; | ||
43 | class QEvent; | 44 | class QEvent; | ||
44 | class QVBoxLayout; | 45 | class QVBoxLayout; | ||
▲ Show 20 Lines • Show All 243 Lines • ▼ Show 20 Line(s) | 72 | public: | |||
288 | void visualBell(); | 289 | void visualBell(); | ||
289 | 290 | | |||
290 | /** Returns the font used to draw characters in the display */ | 291 | /** Returns the font used to draw characters in the display */ | ||
291 | QFont getVTFont() | 292 | QFont getVTFont() | ||
292 | { | 293 | { | ||
293 | return font(); | 294 | return font(); | ||
294 | } | 295 | } | ||
295 | 296 | | |||
297 | TerminalHeaderBar *headerBar() const | ||||
298 | { | ||||
299 | return _headerBar; | ||||
300 | } | ||||
296 | /** | 301 | /** | ||
297 | * Sets the font used to draw the display. Has no effect if @p font | 302 | * Sets the font used to draw the display. Has no effect if @p font | ||
298 | * is larger than the size of the display itself. | 303 | * is larger than the size of the display itself. | ||
299 | */ | 304 | */ | ||
300 | void setVTFont(const QFont &f); | 305 | void setVTFont(const QFont &f); | ||
301 | 306 | | |||
302 | /** Increases the font size */ | 307 | /** Increases the font size */ | ||
303 | void increaseFontSize(); | 308 | void increaseFontSize(); | ||
▲ Show 20 Lines • Show All 536 Lines • ▼ Show 20 Line(s) | 601 | private: | |||
840 | bool _readOnly; | 845 | bool _readOnly; | ||
841 | 846 | | |||
842 | qreal _opacity; | 847 | qreal _opacity; | ||
843 | 848 | | |||
844 | bool _dimWhenInactive; | 849 | bool _dimWhenInactive; | ||
845 | 850 | | |||
846 | ScrollState _scrollWheelState; | 851 | ScrollState _scrollWheelState; | ||
847 | IncrementalSearchBar *_searchBar; | 852 | IncrementalSearchBar *_searchBar; | ||
848 | 853 | TerminalHeaderBar *_headerBar; | |||
849 | QRect _searchResultRect; | 854 | QRect _searchResultRect; | ||
850 | friend class TerminalDisplayAccessible; | 855 | friend class TerminalDisplayAccessible; | ||
851 | }; | 856 | }; | ||
852 | 857 | | |||
853 | class AutoScrollHandler : public QObject | 858 | class AutoScrollHandler : public QObject | ||
854 | { | 859 | { | ||
855 | Q_OBJECT | 860 | Q_OBJECT | ||
856 | 861 | | |||
Show All 16 Lines |