aboutsummaryrefslogtreecommitdiff
path: root/src/session/sessionform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/session/sessionform.h')
-rw-r--r--src/session/sessionform.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/session/sessionform.h b/src/session/sessionform.h
new file mode 100644
index 0000000..5e5f52e
--- /dev/null
+++ b/src/session/sessionform.h
@@ -0,0 +1,37 @@
+/*
+ * This file is part of smolbote. It's copyrighted by the contributors recorded
+ * in the version control history of the file, available from its original
+ * location: https://neueland.iserlohn-fortress.net/gitea/aqua/smolbote
+ *
+ * SPDX-License-Identifier: GPL-3.0
+ */
+
+#ifndef SMOLBOTE_SESSIONFORM_H
+#define SMOLBOTE_SESSIONFORM_H
+
+#include <QWidget>
+
+namespace Ui
+{
+class SessionForm;
+}
+
+class SessionForm : public QWidget
+{
+ Q_OBJECT
+
+ friend class SessionDialog;
+
+public:
+ explicit SessionForm(const QString &path, QWidget *parent = nullptr);
+ ~SessionForm() override;
+
+public slots:
+ void showDetails();
+ void hideDetails();
+
+private:
+ Ui::SessionForm *ui;
+};
+
+#endif // SMOLBOTE_SESSIONFORM_H