41 Commits

Author SHA1 Message Date
Le Tan
7a0a2c552b add shortcuts for note and folder management 2017-09-05 20:54:15 +08:00
Le Tan
73630448a6 move vconfig to a local variable 2017-08-29 09:40:28 +08:00
Le Tan
91d33c3f5c make name of notebook/folder/note case-insensitive 2017-08-08 20:11:44 +08:00
Le Tan
5ad99ee9b8 bug-fix: * will recursively expand the directory tree causing crash
We build the complete subtree before expanding to avoid crash.
2017-07-14 19:34:29 +08:00
Le Tan
a87048cac2 bug-fix: compare two paths with case convertion on Windows
On Windows, case difference in file name is ignored.
2017-07-03 19:09:50 +08:00
Le Tan
c54bc9c680 refine Chinese translations 2017-05-25 22:24:58 +08:00
Le Tan
c8ec95eb3d refine English names of notebooks, folders 2017-05-24 22:15:35 +08:00
Le Tan
9bf3f9394f support custom image folder for both global scope and notebook scope 2017-05-24 19:54:58 +08:00
Le Tan
03c0fdc49d add Open File Location in directory tree and file list 2017-05-23 19:59:05 +08:00
Le Tan
c2c70368da restore last active item in directory tree after switching notebook 2017-05-22 22:47:43 +08:00
Le Tan
d0e43db5ad more user friendly messages 2017-05-03 21:39:18 +08:00
Le Tan
5486929a8d change statusTip to toolTip 2017-04-09 12:20:58 +08:00
Le Tan
ab824946e8 register VEditArea and VOutline for Navigation Mode
1. Register VEditArea and VOutline for Navigation mode;
2. Support Ctrl+J and Ctrl+K navigation in VOutline;
2017-04-06 19:39:52 +08:00
Le Tan
611a695cb1 register VFileList for Navigation Mode
Support Ctrl+J and Ctrl+K navigation in VFileList.
2017-04-05 23:36:16 +08:00
Le Tan
3ca968169f enable Ctrl+J and Ctrl+K navigation in VDirectoryTree 2017-04-04 23:01:10 +08:00
Le Tan
6e0f1d38b4 register VDirectoryTree for Navigation Mode 2017-04-04 22:40:44 +08:00
Le Tan
4c0f376190 bugfix: update tooltip after renaming directory 2017-03-27 21:45:13 +08:00
Le Tan
e7381bdd04 warn users when copying files failed 2017-03-04 14:39:52 +08:00
Le Tan
f46b023d1b refine more messages to use tr() 2017-03-04 14:28:09 +08:00
Le Tan
38b18af4ab refine Chinese translations 2017-03-04 13:49:22 +08:00
Le Tan
238983ed0d refine all messages 2017-02-27 22:30:35 +08:00
Le Tan
65b149e182 add tooltip for items in directory tree and file list panels 2017-02-12 20:55:22 +08:00
Le Tan
bc9ed31db6 locate to the new directory after creation
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-21 09:43:48 +08:00
Le Tan
3feec565f6 restore the expansion state of the directory tree after creating or pasting
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-13 23:16:35 +08:00
Le Tan
d416cf6eda refactor messages
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-01 17:00:38 +08:00
Le Tan
1aa264adc8 support locating current note
Support locating the notebook and directory of current note.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-24 13:09:19 +08:00
Le Tan
d4fe99b8bb preserve the expand/collapse state while switching notebook
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-23 22:12:17 +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
46c8025215 enable multiple selection in file list
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-03 17:42:09 +08:00
Le Tan
02d5300821 support copy and paste directory
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-03 11:42:11 +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
8e8d69c85f refactor: VNote and VNotebook
regression: notebook renaming logics does not work for now

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-26 12:45:29 +08:00
Le Tan
e77c10df36 add icon for notebook and directory items
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-20 13:22:35 +08:00
Le Tan
550a3707a5 remove buttons in directory tree
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-10 23:02:09 +08:00
Le Tan
a6774fdf49 handle nokebook renaming correctly
We do not allow modifying the path of an existing notebook.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-30 18:02:41 +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
30766f5738 remove "name" parameter in directory config file
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-23 19:49:21 +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
b85bf8bdc7 add menus and toolbars
1. Add menu item "Converter" to choose markdown converter;
2. Add menu item "About" and "About Qt";
3. Change all QMessageBox's parent to "this";

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-23 13:12:32 +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