vnote/src/widgets/dialogs/filepropertiesdialog.h
Le Tan 52702a32e9 hard days for VNoteX project
Never say "refactor" again!!!
2020-11-28 23:10:43 +08:00

30 lines
539 B
C++

#ifndef FILEPROPERTIESDIALOG_H
#define FILEPROPERTIESDIALOG_H
#include "scrolldialog.h"
class QLineEdit;
namespace vnotex
{
class FilePropertiesDialog : public ScrollDialog
{
Q_OBJECT
public:
FilePropertiesDialog(const QString &p_path, QWidget *p_parent = nullptr);
QString getFileName() const;
private:
void setupUI();
void setupNameLineEdit(QWidget *p_parent);
QString m_path;
QLineEdit *m_nameLineEdit = nullptr;
};
}
#endif // FILEPROPERTIESDIALOG_H