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.
41 lines
885 B
41 lines
885 B
3 years ago
|
#ifndef UNFILEDNOTES_H
|
||
|
#define UNFILEDNOTES_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
#include "applicationlaunchers.h"
|
||
|
|
||
|
namespace Ui {
|
||
|
class UnfiledNotes;
|
||
|
}
|
||
|
|
||
|
class UnfiledNotes : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit UnfiledNotes(QList<ApplicationLaunchers*> appLaunchers, QWidget *parent = nullptr);
|
||
|
~UnfiledNotes();
|
||
|
|
||
|
void init();
|
||
|
|
||
|
void setApplicationLauncher(QList<ApplicationLaunchers*> appLaunchers);
|
||
|
QStringList getExtensionList();
|
||
|
void setExtension(int idx);
|
||
|
|
||
|
void setExtensionList(QStringList newExtensionList);
|
||
|
ApplicationLaunchers* getApplicationLauncherAt(int idx);
|
||
|
QString getExtension();
|
||
|
|
||
|
private slots:
|
||
|
void on_buttonBox_accepted();
|
||
|
void on_buttonBox_rejected();
|
||
|
|
||
|
private:
|
||
|
Ui::UnfiledNotes *ui;
|
||
|
QList<ApplicationLaunchers*> applicationLaunchers;
|
||
|
QStringList extensionList;
|
||
|
QString extension;
|
||
|
};
|
||
|
|
||
|
#endif // UNFILEDNOTES_H
|