diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-03-08 20:28:10 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-03-08 20:29:03 +0530 |
| commit | 6d3ee55638164df6521a60b6392a26f855d5f924 (patch) | |
| tree | 18448793cbb971e76cbaeb7b9d2159ee2ab5d3b6 /include | |
| parent | b7ac4dc7a20c624a343c946c5decd1b84eab2b82 (diff) | |
| download | null-browser-6d3ee55638164df6521a60b6392a26f855d5f924.tar.gz null-browser-6d3ee55638164df6521a60b6392a26f855d5f924.zip | |
Add test setup + spec for command input
Diffstat (limited to 'include')
| -rw-r--r-- | include/CommandInput.hpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/CommandInput.hpp b/include/CommandInput.hpp index e6dc53d..5cebcd1 100644 --- a/include/CommandInput.hpp +++ b/include/CommandInput.hpp @@ -1,17 +1,8 @@ #pragma once -#include <QApplication> -#include <QDialog> +#include <QBoxLayout> #include <QKeyEvent> -#include <QLabel> #include <QLineEdit> -#include <QObject> -#include <QVBoxLayout> -#include <QWebEnginePage> -#include <QWebEngineView> -#include <QWidget> -#include <QWindow> -#include <lua.hpp> class CommandInput : public QFrame { Q_OBJECT @@ -20,6 +11,7 @@ public: CommandInput(QString defaultInput = "", QWidget *parentNode = nullptr); void setInputFocus(bool focussed); bool isInputFocussed(); + QString getInputCommand(); signals: void submitted(QString command); |
