diff src/include/sidebar.h @ 6:1d82f6e04d7d

Update: add first parts to the settings dialog
author Paper <mrpapersonic@gmail.com>
date Wed, 16 Aug 2023 00:49:17 -0400
parents
children 07a9095eaeed
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/include/sidebar.h	Wed Aug 16 00:49:17 2023 -0400
@@ -0,0 +1,10 @@
+#ifndef __sidebar_h
+#define __sidebar_h
+#include <QListWidget>
+class SideBar : public QListWidget {
+	public:
+		SideBar(QWidget *parent = nullptr);
+		QListWidgetItem* AddItem(QString name, QIcon icon = QIcon());
+		QListWidgetItem* AddSeparator();
+};
+#endif // __sidebar_h