#ifndef IMPORTSECTION_H #define IMPORTSECTION_H #include #include #include namespace Ui { class importSection; } class importSection : public QDialog { Q_OBJECT public: explicit importSection(QStringList notebookColorList, QStringList notebookDirList, QStringList list, QWidget *parent = nullptr); ~importSection(); void init(); QStringList getDirectoryList(); QStringList getNotebookColorList(); QStringList getNotebookDirList(); QString getNewFile(); void setDirectoryList(QStringList dirList); void setNotebookColorList(QStringList newNbColorList); void setNotebookDirList(QStringList newNbDirList); void setNewFile(QString newNewFile); QIcon SetNotebookIcon(QString notebookColor); QIcon SetSectionGroupIcon(QString sectionGroupColor); private slots: void on_buttonBox_accepted(); void on_buttonBox_rejected(); void on_selectDirectoryButton_clicked(); private: QStringList var_directoryList; QStringList nbColorList; QStringList nbDirList; QString newFile; Ui::importSection *ui; }; #endif // IMPORTSECTION_H