23 Commits

Author SHA1 Message Date
Hiroshi Miura
d78e892d5c Include missing header files (#607)
- Explicitly include headers which is automaticaly
  QMake handle.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-02-13 19:47:38 +08:00
Le Tan
2298338094 VNotebook: refine logics of building notebook from existing file structures 2018-08-05 22:41:42 +08:00
Xinjun Ma
09c610e3a9 recursive import external folders (#332)
* recursive import external folders

* rollback translation

* fix when path does not exist

* add blank line
2018-08-05 18:15:26 +08:00
Le Tan
2ff9c607dd explorer: support exploring system's files 2018-05-26 13:26:59 +08:00
Le Tan
89677c8261 notebook: support relative path (to app's directory) 2018-05-23 20:09:14 +08:00
Le Tan
86b9a2e93f notebook: prompt for new root folder path when it is missing 2018-04-03 19:38:29 +08:00
Le Tan
8ff520d0fd refactor export 2018-02-13 22:10:48 +08:00
Le Tan
f1f6980921 refactor VNotebookSelector 2017-10-14 15:30:36 +08:00
Le Tan
01788a5301 support attachments
Support attachments to internal note file.

- Add/Delete/Clear/Sort;
- Support custom attachment folder for each notebook (read-only);
- Support renaming attachment;
2017-09-22 23:30:49 +08:00
Le Tan
35fa0a46f6 add recycle bin to each notebook 2017-09-16 14:55:42 +08:00
Le Tan
d6ca4245d9 minor-fix: VFileList and VNotebookSelector
1. Bug fix: after deleting last folder, the file list won't be cleared;
2. Move cursor one line down after inserting title automatically;
3. Prompt user to create a root folder after creating a notebook;
4. Autocomplete the folder name from the chosen path when creating a
notebook;
5. Add "Open Notebook Location" action in the context menu of
VNotebookSelector;
2017-09-08 21:40:11 +08:00
Le Tan
707814909a refactor logics about adding notebook 2017-06-22 19:07:01 +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
882faeb5eb bugfix
1. Do not add additional actions if QTextEdit has selection;
2. Add Q_DECL_OVERRIDE to supress the warnings.
3. Fix getTemplateCssUrl().
2017-04-24 22:34:02 +08:00
Le Tan
4bd05739c0 enable Ctrl+J and Ctrl+K navigation in VNotebookSelector 2017-04-04 18:54:47 +08:00
Le Tan
6a5fecf8ef Add Navigation Mode to Captain Mode
In Captain Mode, W will trigger the Navigation Mode. In this mode,
registered widgets will display some characters for hints and after user
pressing the the keys, corresponding widget will take action as response.

For now, only VNotebookSelector registers in the Navigation Mode.
2017-04-04 18:02:47 +08:00
Le Tan
ee4bfb171a try to adjust VNotebookSelector's popup's width to the content 2017-03-31 20:43:38 +08:00
Le Tan
1b52cd3362 support not deleting files from disk when deleting notebook 2017-03-19 11:42:43 +08:00
Le Tan
6c95b2df8b create notebook instead of pop up a list
When there is no notebook and user clicks the VNotebookSelector
combobox, just create a notebook instead of pop up a list.
2017-03-18 19:48:09 +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
b0ec4c312a support import existing notebook
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-10 15:41:46 +08:00
Le Tan
e32ee1fa90 refactor: VNotebookSelector
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-07 13:08:06 +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