76 Commits

Author SHA1 Message Date
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