From 1914eb08cf2cc9f9ed135ada27cf9c6751fa7354 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Tue, 2 Feb 2016 08:41:10 -0500 Subject: Add a few more built-in Qt paths to the OS-detect file, and commit a bit more work on the lumina-terminal app. --- desktop-utilities/lumina-terminal/TerminalWidget.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'desktop-utilities/lumina-terminal/TerminalWidget.h') diff --git a/desktop-utilities/lumina-terminal/TerminalWidget.h b/desktop-utilities/lumina-terminal/TerminalWidget.h index b16d298d..d4bdec09 100644 --- a/desktop-utilities/lumina-terminal/TerminalWidget.h +++ b/desktop-utilities/lumina-terminal/TerminalWidget.h @@ -10,6 +10,8 @@ #include #include #include +#include +#include class TerminalWidget : public QTextEdit{ Q_OBJECT @@ -20,8 +22,9 @@ public: void aboutToClose(); private: + //QSerialPort *PROC; QProcess *PROC; - QString inBuffer; + private slots: void UpdateText(); void ShellClosed(); @@ -30,7 +33,10 @@ signals: void ProcessClosed(QString); protected: - void keyPressEvent(QKeyEvent *event); + void keyPressEvent(QKeyEvent *ev); + void mousePressEvent(QMouseEvent *ev); + void mouseDoubleClickEvent(QMouseEvent *ev); + void contextMenuEvent(QContextMenuEvent *ev); }; #endif \ No newline at end of file -- cgit