2011年11月9日 星期三

QSSearchObjectView的兩個doCommandBySelector:

我突然懂了為什麼QSSearchObjectView同時需要
doCommandBySelector:

textView:doCommandBySelector:
了!
前者是一般用途,而後者是在pane1或pane3進入文字編輯模式時使用的。
例如打一些字->large type,
或者google taiwan->search->打一些字
這種時候會用到後者。

沒有留言:

張貼留言