mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 22:09:52 +08:00
30 lines
539 B
C++
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
|