The Note Binder is a Note Organizing Application with a built-in Application Launcher to compliment Note Taking applications.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

45 lines
1.3 KiB

#ifndef ITEMPROPERTIES_H
#define ITEMPROPERTIES_H
#include <QDialog>
#include "notebook.h"
#include "notebooklist.h"
#include "notebookmanager.h"
namespace Ui {
class itemProperties;
}
class itemProperties : public QDialog
{
Q_OBJECT
public:
itemProperties(NotebookList* nbList, QString notebookItemLocation, QWidget *parent = nullptr);
~itemProperties();
void init();
void setIconsToItemColorComboBox_Notebook();
void setIconsToItemColorComboBox_SectionGroup();
QIcon SetNotebookIcon(QString notebookColor);
QIcon SetSectionGroupIcon(QString sectionGroupColor);
void init_searchDirectoryRecursive(SectionGroup* sectionGroup);
void accept_notebookSearchDirectoryRecursive(SectionGroup* sectionGroup, QFileInfo notebookFileInfo);
void accept_sectionGroupSearchDirectoryRecursive(SectionGroup* sectionGroup, QFileInfo notebookFileInfo);
NotebookList* getNotebookList();
QString getNotebookItemLocation();
void setNotebookList(NotebookList* newNotebookList);
void setNotebookItemLocation(QString newNotebookItemLocation);
private slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
private:
Ui::itemProperties *ui;
NotebookList* notebookList;
QString notebookItemLocation;
};
#endif // ITEMPROPERTIES_H