/* DrewTechs * Note Binder * @Version 1.0 */ #ifndef NOTEBOOKLIST_H #define NOTEBOOKLIST_H #include #include #include #include #include "notebook.h" #include "notebookmanager.h" #include "newNotebookDialog.h" class NotebookList : public QObject { Q_OBJECT public: explicit NotebookList(QObject *parent = nullptr); QVector nbList; signals: public slots: void addNotebookToList(Notebook* notebook); QTreeWidgetItem* createSectionIcon(QFileInfo fileInfo); QTreeWidgetItem* createSectionGroupIcon(SectionGroup* sectionGroup); QTreeWidgetItem* createNotebookIcon(Notebook* notebook); QIcon SetNotebookIcon(QString notebookColor); QIcon SetSectionGroupIcon(QString sectionGroupColor); }; #endif // NOTEBOOKLIST_H