mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00

Use QTextBrowser to display file in read mode and VEdit to display file in edit mode. Signed-off-by: Le Tan <tamlokveer@gmail.com>
21 lines
366 B
C++
21 lines
366 B
C++
#ifndef VNOTEFILE_H
|
|
#define VNOTEFILE_H
|
|
|
|
#include <QString>
|
|
#include "vconstants.h"
|
|
|
|
class VNoteFile
|
|
{
|
|
public:
|
|
VNoteFile(const QString &path, const QString &name, const QString &content,
|
|
DocType docType, bool modifiable);
|
|
|
|
QString path;
|
|
QString name;
|
|
QString content;
|
|
DocType docType;
|
|
bool modifiable;
|
|
};
|
|
|
|
#endif // VNOTEFILE_H
|