Changeset View
Changeset View
Standalone View
Standalone View
src/TerminalDisplay.h
Show First 20 Lines • Show All 549 Lines • ▼ Show 20 Line(s) | 69 | public: | |||
---|---|---|---|---|---|
550 | bool flowControlWarningEnabled() const | 550 | bool flowControlWarningEnabled() const | ||
551 | { | 551 | { | ||
552 | return _flowControlWarningEnabled; | 552 | return _flowControlWarningEnabled; | ||
553 | } | 553 | } | ||
554 | 554 | | |||
555 | /** See setUsesMouse() */ | 555 | /** See setUsesMouse() */ | ||
556 | bool usesMouse() const; | 556 | bool usesMouse() const; | ||
557 | 557 | | |||
558 | /** See setAlternateScrolling() */ | ||||
559 | bool alternateScrolling() const; | ||||
560 | | ||||
558 | public Q_SLOTS: | 561 | public Q_SLOTS: | ||
559 | /** | 562 | /** | ||
560 | * Scrolls current ScreenWindow | 563 | * Scrolls current ScreenWindow | ||
561 | * | 564 | * | ||
562 | * it's needed for proper handling scroll commands in the Vt102Emulation class | 565 | * it's needed for proper handling scroll commands in the Vt102Emulation class | ||
563 | */ | 566 | */ | ||
564 | void scrollScreenWindow(enum ScreenWindow::RelativeScrollMode mode, int amount); | 567 | void scrollScreenWindow(enum ScreenWindow::RelativeScrollMode mode, int amount); | ||
565 | 568 | | |||
▲ Show 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | |||||
624 | * events itself. | 627 | * events itself. | ||
625 | * | 628 | * | ||
626 | * @param on Set to true if the program running in the terminal is interested in mouse events | 629 | * @param on Set to true if the program running in the terminal is interested in mouse events | ||
627 | * or false otherwise. | 630 | * or false otherwise. | ||
628 | */ | 631 | */ | ||
629 | void setUsesMouse(bool on); | 632 | void setUsesMouse(bool on); | ||
630 | 633 | | |||
631 | /** | 634 | /** | ||
635 | * Sets the AlternateScrolling profile property which controls whether | ||||
636 | * to emulate up/down key presses for mouse scroll wheel events. | ||||
637 | * For more details, check the documentation of that property in the | ||||
638 | * Profile header. | ||||
639 | * Enabled by default. | ||||
640 | */ | ||||
641 | void setAlternateScrolling(bool enable); | ||||
642 | | ||||
643 | /** | ||||
632 | * Sets _isPrimaryScreen depending on which screen is currently in | 644 | * Sets _isPrimaryScreen depending on which screen is currently in | ||
633 | * use, primary or alternate | 645 | * use, primary or alternate | ||
634 | * | 646 | * | ||
635 | * @param use Set to @c true if the primary screen is in use or to | 647 | * @param use Set to @c true if the primary screen is in use or to | ||
636 | * @c false otherwise (i.e. the alternate screen is in use) | 648 | * @c false otherwise (i.e. the alternate screen is in use) | ||
637 | */ | 649 | */ | ||
638 | void usingPrimaryScreen(bool use); | 650 | void usingPrimaryScreen(bool use); | ||
639 | 651 | | |||
▲ Show 20 Lines • Show All 281 Lines • ▼ Show 20 Line(s) | 806 | private: | |||
921 | 933 | | |||
922 | ColorEntry _colorTable[TABLE_COLORS]; | 934 | ColorEntry _colorTable[TABLE_COLORS]; | ||
923 | uint _randomSeed; | 935 | uint _randomSeed; | ||
924 | 936 | | |||
925 | bool _resizing; | 937 | bool _resizing; | ||
926 | bool _showTerminalSizeHint; | 938 | bool _showTerminalSizeHint; | ||
927 | bool _bidiEnabled; | 939 | bool _bidiEnabled; | ||
928 | bool _mouseMarks; | 940 | bool _mouseMarks; | ||
941 | bool _alternateScrolling; | ||||
929 | bool _isPrimaryScreen; | 942 | bool _isPrimaryScreen; | ||
930 | bool _bracketedPasteMode; | 943 | bool _bracketedPasteMode; | ||
931 | 944 | | |||
932 | QPoint _iPntSel; // initial selection point | 945 | QPoint _iPntSel; // initial selection point | ||
933 | QPoint _pntSel; // current selection point | 946 | QPoint _pntSel; // current selection point | ||
934 | QPoint _tripleSelBegin; // help avoid flicker | 947 | QPoint _tripleSelBegin; // help avoid flicker | ||
935 | int _actSel; // selection state | 948 | int _actSel; // selection state | ||
936 | bool _wordSelectionMode; | 949 | bool _wordSelectionMode; | ||
▲ Show 20 Lines • Show All 120 Lines • Show Last 20 Lines |