7 Commits

Author SHA1 Message Date
Le Tan
c7e631fa02 update forcely in VFileList to repaint
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-21 21:24:29 +08:00
Le Tan
6b59886847 handle note deletion and creation friendly
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-21 14:41:35 +08:00
Le Tan
a73090b6d7 support importing notes from files
Add menu action importNoteAct to import notes from files. Currently only
HTML and Markdown files are supported. Importing other files (such as
txt) may not work correctly.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-17 22:53:26 +08:00
Le Tan
4d9946bfe1 support creating new notebook
Thanks to [benjsperry](https://github.com/driftyco/ionicons) for the
icons.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-17 11:28:37 +08:00
Le Tan
b55ebe8f91 use itemClicked signal instead of currentItemChanged to trigger opening a file
This will handle the corner case: when user open file "f" and close it,
this file is still current item, so if user want to re-open it by
clicking on it, it won't work.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-07 11:07:43 +08:00
Le Tan
b47c9f3368 bug-fix: currentItemChanged() may have NULL pointer
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-06 13:30:42 +08:00
Le Tan
9dd22760fc add VFileList to browse the files in current directory
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-06 12:55:00 +08:00