diff include/gui/dialog/settings.h @ 236:4d461ef7d424

HUGE UPDATE: convert build system to autotools why? because cmake sucks :)
author Paper <mrpapersonic@gmail.com>
date Fri, 19 Jan 2024 00:24:02 -0500
parents ff0061e75f0f
children 862d0d8619f6
line wrap: on
line diff
--- a/include/gui/dialog/settings.h	Tue Jan 16 15:22:29 2024 -0500
+++ b/include/gui/dialog/settings.h	Fri Jan 19 00:24:02 2024 -0500
@@ -7,12 +7,29 @@
 #include <QDialog>
 #include <QWidget>
 #include <QLocale>
+#include <QListWidget>
 
 class QLabel;
 class QTabWidget;
 class QStackedWidget;
 class SideBar;
 
+/* !!! MOVE THIS ELSEWHERE! */
+class DroppableListWidget : public QListWidget {
+	Q_OBJECT
+
+public:
+	explicit DroppableListWidget(QWidget* parent);
+
+signals:
+	void FilesDropped(QStringList list);
+
+protected:
+	void dragEnterEvent(QDragEnterEvent* event) override;
+	void dragMoveEvent(QDragMoveEvent* event) override;
+	void dropEvent(QDropEvent* event) override;
+};
+
 class SettingsPage : public QWidget {
 		Q_OBJECT