27 Commits

Author SHA1 Message Date
Le Tan
edca922f5e support avatar
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-10 11:21:08 +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
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
7c69f80f17 split setupUI() in VMainWindow
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-24 22:23:50 +08:00
Le Tan
0298b8bfe1 change the look of the notebook combobox
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-20 16:15:27 +08:00
Le Tan
3ae3462597 save/restore window state and geometry
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-20 11:12:15 +08:00
Le Tan
c7259c307e add delete note button in tool bar
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-15 22:17:15 +08:00
Le Tan
a6c2416cc8 add note info button in tool bar
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-15 14:48:16 +08:00
Le Tan
5e97ca8060 display current file in window title
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-13 16:15:13 +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
ab91f755c0 add dock widget to display outline
1. Support displaying outline of Markdown in read mode;
2. Support navigating by outline using Marked;

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-07 21:53:33 +08:00
Le Tan
915c25e1a5 support spliting edit windows
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-06 13:03:16 +08:00
Le Tan
1bc95bcea0 disable newNoteAct if FileList's directory is not set
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-03 21:39:46 +08:00
Le Tan
a6647bb113 add toolbuttons for changing view
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-03 21:21:02 +08:00
Le Tan
ec7850685e update a more friendly toolbar
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-30 22:43:30 +08:00
Le Tan
49020d9fb2 do not inherit QListWidget in VFileList
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-30 17:44:21 +08:00
Le Tan
53bce98db6 support changing rendering background color
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-28 21:06:26 +08:00
Le Tan
0c3fc3b006 support changing background color of editor
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-27 22:41:41 +08:00
Le Tan
8960358feb expand tab to spaces
Add configuration "tab_stop_width" and "is_expand_tab". Expand tab to
tab_stop_width spaces if is_expand_tab is true.

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