Le Tan
f31272966e
support deleting notebook
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-17 21:17:52 +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
8d9278f491
use VConfigManager to hanlde configurations
...
Move config related stuff to VConfigManager. For a config value,
VConfigManager will first try to look it up in the user-scoped vnote.ini
config file, if it is empty, then try to look it up in the default
vnote.ini.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-16 14:47:57 +08:00
Le Tan
d22f0124d3
add VStyleParser as a wrapper of pmh_styleparser
...
Use VStyleParser to read .mdhl style file for markdown highlighting.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-13 17:08:39 +08:00
Le Tan
321289c8e0
add VNote::editorAndBrowserFont for setting font in QTextEdit and QTextBrowser
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-09 22:37:45 +08:00
Le Tan
5ff4382f90
support for local image in markdown
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-09 22:06:55 +08:00
Le Tan
7bce2cb298
use QWebEngineView to display markdown files
...
Thanks to [marked JavaScript library](https://github.com/chjj/marked ) by
Christopher Jeffrey. The
[style sheet](http://kevinburke.bitbucket.org/markdowncss/markdown.css )
was created by Kevin Burke.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-09 20:47:20 +08:00
Le Tan
504e3323cf
display selected file in a QTabWidget
...
Add VTabWidget and VEdit to display content of files.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-06 22:33:55 +08:00
Le Tan
0f7f433833
move config logics to VConfigManager
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-05 17:13:40 +08:00
Le Tan
09f6415536
implement VDirectoryTree logics
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-05 14:28:48 +08:00
Le Tan
d8c5114c1b
read/write the info about notebooks
...
Use QSettings to store notebooks info in INI format.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-02 13:38:05 +08:00