29 Commits

Author SHA1 Message Date
Le Tan
1f845d5ba8 add config setting for Web zoom factor 2017-03-30 20:00:27 +08:00
Le Tan
f6d14c9aa4 bugfix: setTabOrder() after setting the layout 2017-03-28 21:00:00 +08:00
Le Tan
7f12efe1ea bugfix: refine tab order in VFindReplaceDialog 2017-03-27 22:22:03 +08:00
Le Tan
ee6fc69bb1 pop up a menu when inserting image or URL 2017-03-20 20:40:52 +08:00
Le Tan
1b52cd3362 support not deleting files from disk when deleting notebook 2017-03-19 11:42:43 +08:00
Le Tan
29b27b1ecd add .md suffix when creating new note 2017-03-18 20:25:40 +08:00
Le Tan
f46b023d1b refine more messages to use tr() 2017-03-04 14:28:09 +08:00
Le Tan
238983ed0d refine all messages 2017-02-27 22:30:35 +08:00
Le Tan
b879b2c208 change file format from dos to unix 2017-02-26 20:01:29 +08:00
Le Tan
517d1ed139 refine dialogs
Use QDialogButtonBox in all dialogs.
2017-02-26 19:59:42 +08:00
Le Tan
c83fcf6ce9 add settings dialog and language setting
Add VSettingsDialog to show a settings dialog.
For now, VNote supports setting of language.
Add imcomplete Chinese support.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-02-26 17:13:52 +08:00
Le Tan
59611872d4 use "image" as the default image title
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-14 09:26:48 +08:00
Le Tan
3769ac5311 support search wrap
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-10 23:52:54 +08:00
Le Tan
3005d9bf5c implement Find/Replace logics
Supports Find/Replace in both edit and preview modes.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-08 21:09:00 +08:00
Le Tan
9b6afa013d refine the layout of dialogs
Use gridlayout and formlayout to make a more beautiful dialog.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-01 16:52:56 +08:00
Le Tan
eaab820d8b add find and replace dialog
Logic is not implemented yet.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-01 14:43:28 +08:00
Le Tan
5ff46d6237 implement insert image menu action
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-12 23:14:53 +08:00
Le Tan
b0ec4c312a support import existing notebook
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-10 15:41:46 +08:00
Le Tan
9a197b5087 refactor: add VNotebookSelector for notebook management
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-04 22:26:48 +08:00
Le Tan
e7c42ba5be refactor: add VFile and VDirectory
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-30 22:58:00 +08:00
Le Tan
f37d1f57a8 fix regular expression in image-insert dialog
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-23 21:39:20 +08:00
Le Tan
1ed324fd20 regexp to validate image title and image name
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-20 23:16:10 +08:00
Le Tan
435d47bb74 support downloading image from URL
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-01 22:58:19 +08:00
Le Tan
047c26b598 support pasting image in markdown
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-31 22:43:59 +08:00
Le Tan
1f80fb8583 add VFileListPanel as a wrapper of VFileList
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-26 18:09:07 +08:00
Le Tan
5409ce9769 refactor directory and file related logics
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-25 22:25:34 +08:00
Le Tan
6a3fdf63a2 implement dirInfoBtn logics
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-23 22:11:17 +08:00
Le Tan
be625f561c implement notebookInfoBtn logics
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-23 18:07:05 +08:00
Le Tan
5fa07864a1 move source stuff into src subdir
Make it convenient to add third-party libraries.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-22 14:11:33 +08:00