Changeset View
Changeset View
Standalone View
Standalone View
src/TerminalDisplay.h
Show First 20 Lines • Show All 743 Lines • ▼ Show 20 Line(s) | 709 | Q_SIGNALS: | |||
---|---|---|---|---|---|
744 | void overrideShortcutCheck(QKeyEvent *keyEvent, bool &override); | 744 | void overrideShortcutCheck(QKeyEvent *keyEvent, bool &override); | ||
745 | 745 | | |||
746 | void sendStringToEmu(const QByteArray &local8BitString); | 746 | void sendStringToEmu(const QByteArray &local8BitString); | ||
747 | 747 | | |||
748 | void focusLost(); | 748 | void focusLost(); | ||
749 | void focusGained(); | 749 | void focusGained(); | ||
750 | 750 | | |||
751 | protected: | 751 | protected: | ||
752 | // events | ||||
752 | bool event(QEvent *event) Q_DECL_OVERRIDE; | 753 | bool event(QEvent *event) Q_DECL_OVERRIDE; | ||
753 | | ||||
754 | void paintEvent(QPaintEvent *pe) Q_DECL_OVERRIDE; | 754 | void paintEvent(QPaintEvent *pe) Q_DECL_OVERRIDE; | ||
755 | | ||||
756 | void showEvent(QShowEvent *event) Q_DECL_OVERRIDE; | 755 | void showEvent(QShowEvent *event) Q_DECL_OVERRIDE; | ||
757 | void hideEvent(QHideEvent *event) Q_DECL_OVERRIDE; | 756 | void hideEvent(QHideEvent *event) Q_DECL_OVERRIDE; | ||
758 | void resizeEvent(QResizeEvent *event) Q_DECL_OVERRIDE; | 757 | void resizeEvent(QResizeEvent *event) Q_DECL_OVERRIDE; | ||
759 | | ||||
760 | void contextMenuEvent(QContextMenuEvent *event) Q_DECL_OVERRIDE; | 758 | void contextMenuEvent(QContextMenuEvent *event) Q_DECL_OVERRIDE; | ||
761 | | ||||
762 | virtual void fontChange(const QFont &); | | |||
763 | void focusInEvent(QFocusEvent *event) Q_DECL_OVERRIDE; | 759 | void focusInEvent(QFocusEvent *event) Q_DECL_OVERRIDE; | ||
764 | void focusOutEvent(QFocusEvent *event) Q_DECL_OVERRIDE; | 760 | void focusOutEvent(QFocusEvent *event) Q_DECL_OVERRIDE; | ||
765 | void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE; | 761 | void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE; | ||
766 | void keyReleaseEvent(QKeyEvent *event) Q_DECL_OVERRIDE; | 762 | void keyReleaseEvent(QKeyEvent *event) Q_DECL_OVERRIDE; | ||
767 | void leaveEvent(QEvent *event) Q_DECL_OVERRIDE; | 763 | void leaveEvent(QEvent *event) Q_DECL_OVERRIDE; | ||
768 | void mouseDoubleClickEvent(QMouseEvent *ev) Q_DECL_OVERRIDE; | 764 | void mouseDoubleClickEvent(QMouseEvent *ev) Q_DECL_OVERRIDE; | ||
769 | void mousePressEvent(QMouseEvent *ev) Q_DECL_OVERRIDE; | 765 | void mousePressEvent(QMouseEvent *ev) Q_DECL_OVERRIDE; | ||
770 | void mouseReleaseEvent(QMouseEvent *ev) Q_DECL_OVERRIDE; | 766 | void mouseReleaseEvent(QMouseEvent *ev) Q_DECL_OVERRIDE; | ||
771 | void mouseMoveEvent(QMouseEvent *ev) Q_DECL_OVERRIDE; | 767 | void mouseMoveEvent(QMouseEvent *ev) Q_DECL_OVERRIDE; | ||
772 | virtual void extendSelection(const QPoint &position); | | |||
773 | void wheelEvent(QWheelEvent *ev) Q_DECL_OVERRIDE; | 768 | void wheelEvent(QWheelEvent *ev) Q_DECL_OVERRIDE; | ||
774 | | ||||
775 | bool focusNextPrevChild(bool next) Q_DECL_OVERRIDE; | 769 | bool focusNextPrevChild(bool next) Q_DECL_OVERRIDE; | ||
776 | 770 | | |||
771 | void fontChange(const QFont &); | ||||
772 | void extendSelection(const QPoint &position); | ||||
773 | | ||||
777 | // drag and drop | 774 | // drag and drop | ||
778 | void dragEnterEvent(QDragEnterEvent *event) Q_DECL_OVERRIDE; | 775 | void dragEnterEvent(QDragEnterEvent *event) Q_DECL_OVERRIDE; | ||
779 | void dropEvent(QDropEvent *event) Q_DECL_OVERRIDE; | 776 | void dropEvent(QDropEvent *event) Q_DECL_OVERRIDE; | ||
780 | void doDrag(); | 777 | void doDrag(); | ||
781 | enum DragState { | 778 | enum DragState { | ||
782 | diNone, diPending, diDragging | 779 | diNone, diPending, diDragging | ||
783 | }; | 780 | }; | ||
784 | 781 | | |||
▲ Show 20 Lines • Show All 321 Lines • Show Last 20 Lines |