Changeset View
Changeset View
Standalone View
Standalone View
src/TerminalDisplay.h
Show First 20 Lines • Show All 522 Lines • ▼ Show 20 Line(s) | 69 | public: | |||
---|---|---|---|---|---|
523 | * Sets the modifiers that shows URL hints when they are pressed | 523 | * Sets the modifiers that shows URL hints when they are pressed | ||
524 | * Defaults to disabled. | 524 | * Defaults to disabled. | ||
525 | */ | 525 | */ | ||
526 | void setUrlHintsModifiers(int modifiers) | 526 | void setUrlHintsModifiers(int modifiers) | ||
527 | { | 527 | { | ||
528 | _urlHintsModifiers = Qt::KeyboardModifiers(modifiers); | 528 | _urlHintsModifiers = Qt::KeyboardModifiers(modifiers); | ||
529 | } | 529 | } | ||
530 | 530 | | |||
531 | void setReverseUrlHintsEnabled(bool set) | ||||
532 | { | ||||
533 | _reverseUrlHints = set; | ||||
534 | } | ||||
535 | | ||||
536 | bool isReverseUrlHintsEnabled() const | ||||
537 | { | ||||
538 | return _reverseUrlHints; | ||||
539 | } | ||||
540 | | ||||
531 | /** | 541 | /** | ||
532 | * Sets the terminal screen section which is displayed in this widget. | 542 | * Sets the terminal screen section which is displayed in this widget. | ||
533 | * When updateImage() is called, the display fetches the latest character image from the | 543 | * When updateImage() is called, the display fetches the latest character image from the | ||
534 | * the associated terminal screen window. | 544 | * the associated terminal screen window. | ||
535 | * | 545 | * | ||
536 | * In terms of the model-view paradigm, the ScreenWindow is the model which is rendered | 546 | * In terms of the model-view paradigm, the ScreenWindow is the model which is rendered | ||
537 | * by the TerminalDisplay. | 547 | * by the TerminalDisplay. | ||
538 | */ | 548 | */ | ||
▲ Show 20 Lines • Show All 438 Lines • ▼ Show 20 Line(s) | 822 | private: | |||
977 | bool _textBlinking; // text is blinking, hide it when drawing | 987 | bool _textBlinking; // text is blinking, hide it when drawing | ||
978 | bool _cursorBlinking; // cursor is blinking, hide it when drawing | 988 | bool _cursorBlinking; // cursor is blinking, hide it when drawing | ||
979 | bool _hasTextBlinker; // has characters to blink | 989 | bool _hasTextBlinker; // has characters to blink | ||
980 | QTimer *_blinkTextTimer; | 990 | QTimer *_blinkTextTimer; | ||
981 | QTimer *_blinkCursorTimer; | 991 | QTimer *_blinkCursorTimer; | ||
982 | 992 | | |||
983 | Qt::KeyboardModifiers _urlHintsModifiers; | 993 | Qt::KeyboardModifiers _urlHintsModifiers; | ||
984 | bool _showUrlHint; | 994 | bool _showUrlHint; | ||
995 | bool _reverseUrlHints; | ||||
985 | bool _openLinksByDirectClick; // Open URL and hosts by single mouse click | 996 | bool _openLinksByDirectClick; // Open URL and hosts by single mouse click | ||
986 | 997 | | |||
987 | bool _ctrlRequiredForDrag; // require Ctrl key for drag selected text | 998 | bool _ctrlRequiredForDrag; // require Ctrl key for drag selected text | ||
988 | bool _dropUrlsAsText; // always paste URLs as text without showing copy/move menu | 999 | bool _dropUrlsAsText; // always paste URLs as text without showing copy/move menu | ||
989 | 1000 | | |||
990 | Enum::TripleClickModeEnum _tripleClickMode; | 1001 | Enum::TripleClickModeEnum _tripleClickMode; | ||
991 | bool _possibleTripleClick; // is set in mouseDoubleClickEvent and deleted | 1002 | bool _possibleTripleClick; // is set in mouseDoubleClickEvent and deleted | ||
992 | // after QApplication::doubleClickInterval() delay | 1003 | // after QApplication::doubleClickInterval() delay | ||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |