--- /dev/null
+/*
+ SPDX-FileCopyrightText: %{CURRENT_YEAR} %{AUTHOR} <%{EMAIL}>
+
+ SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
+*/
+
+#ifndef MAINVIEW_H
+#define MAINVIEW_H
+
+#include "ui_mainview.h"
+
+
+/**
+ * This class serves as the main window for privacybrowserpc. It handles the
+ * menus, toolbars and status bars.
+ *
+ * @short Main window class
+ * @author %{AUTHOR} <%{EMAIL}>
+ * @version %{VERSION}
+ */
+class MainView : public QWidget
+{
+ Q_OBJECT
+public:
+ /**
+ * Default Constructor
+ */
+ explicit MainView(QWidget *parent);
+
+ /**
+ * Default Destructor
+ */
+ ~MainView() override;
+
+public Q_SLOTS:
+ void switchColors();
+ void handleSettingsChanged();
+
+private:
+ // this is the name of the root widget inside our Ui file
+ // you can rename it in designer and then change it here
+ Ui::MainView m_ui;
+};
+
+#endif