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>
10 lines
266 B
C++
10 lines
266 B
C++
#include "vnotefile.h"
|
|
|
|
VNoteFile::VNoteFile(const QString &path, const QString &name,
|
|
const QString &content, DocType docType, bool modifiable)
|
|
: path(path), name(name), content(content), docType(docType),
|
|
modifiable(modifiable)
|
|
{
|
|
|
|
}
|