forked from aehlke/manabi-dict
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes
46 lines (29 loc) · 1.07 KB
/
notes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Notes
Better mac splitter: http://www.davidpires.com/blog/archives/custom-qsplitter
rich text inside qlistview in C++ using paint
http://www.replicator.org/node/2
How can I display rich text in a QTable? Simply use QSimpleRichText to draw the text in a reimplemented QTableItem::paint().
http://qt.nokia.com/developer/faqs/12
OS X URL handler to open links to local files
http://hublog.hubmed.org/archives/001154.html
--------
history management
times to push to history:
- search result clicked & current item changes
- link clicked which loads a new entry
- search result list changes after it had received focus on an entry.
push the last entry that was highlighted, if it wasn't already pushed.
- back is pushed, when results list had input focus
self.staged_back
- up/down
- first enter = enter which highlights a result
- clicked, i guess
when to push staged_back:
- search changes
when link is clicked:
- push current entry
have to handle hash changes in history, not just entries
up/down changes results list
page up/page down scrolls entry view
genius ng
U+014B