/* DrewTechs * Note Binder * @Version 1.0 */ #ifndef NEWSECTIONDIALOG_H #define NEWSECTIONDIALOG_H #include #include #include #include #include #include #include "mainwindow.h" #include "notebook.h" #include "sectiongroup.h" #include "notebooklist.h" #include "notebookmanager.h" #include "settings.h" namespace Ui { class newSectionDialog; } class newSectionDialog : public QDialog { Q_OBJECT public: //newSectionDialog(QWidget *parent = nullptr); newSectionDialog(QStringList notebookColorList, QStringList notebookDirList, QStringList list, QList applicationLaunchers, QWidget *parent = nullptr); ~newSectionDialog(); QStringList getDirectories() const; QStringList getNotebookDirList() const; QStringList getNotebookColorList() const; QStringList getExtensionList() const; QString getFullFileName() const; void setDirectories(QStringList dirList); void setNotebookDirList(QStringList nbDirList); void setNotebookColorList(QStringList nbColorList); void setExtensionList(QStringList newExtensionList); void setFullFileName(QString newFullFileName); void setApplicationLauncher(QList newApplicationLaunchers); QIcon SetNotebookIcon(QString notebookColor); QIcon SetSectionGroupIcon(QString sectionGroupColor); private slots: void on_buttonBox_accepted(); void on_buttonBox_rejected(); void addItemsToDirectory(); void applicationLauncher(); private: Ui::newSectionDialog *ui; QStringList var_directoryList; // Directories displayed on the ComboBox of Directory List QStringList notebookdirList; // Actual Filepaths of each Notebook or Section Group. QStringList notebookcolorlist; // Icon Colors of Notebook or Section Group QStringList extensionList; // List of File Extensions QString fullFileName; // Full Filename including the extension. QList applicationLaunchers; // Application Launchers void init(); }; #endif // NEWSECTIONDIALOG_H