aboutsummaryrefslogtreecommitdiff
path: root/desktop-utilities/lumina-terminal/TerminalWidget.h
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-02-02 08:41:10 -0500
committerKen Moore <moorekou@gmail.com>2016-02-02 08:41:10 -0500
commit1914eb08cf2cc9f9ed135ada27cf9c6751fa7354 (patch)
tree1d960752a5061055da2510b72c2c498e7b55b924 /desktop-utilities/lumina-terminal/TerminalWidget.h
parentMerge branch 'master' of github.com:pcbsd/lumina (diff)
downloadlumina-1914eb08cf2cc9f9ed135ada27cf9c6751fa7354.tar.gz
lumina-1914eb08cf2cc9f9ed135ada27cf9c6751fa7354.tar.bz2
lumina-1914eb08cf2cc9f9ed135ada27cf9c6751fa7354.zip
Add a few more built-in Qt paths to the OS-detect file, and commit a bit more work on the lumina-terminal app.
Diffstat (limited to 'desktop-utilities/lumina-terminal/TerminalWidget.h')
-rw-r--r--desktop-utilities/lumina-terminal/TerminalWidget.h10
1 files changed, 8 insertions, 2 deletions
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 <QTextEdit>
#include <QProcess>
#include <QKeyEvent>
+#include <QSerialPort>
+#include <QSerialPortInfo>
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
bgstack15