2010年8月16日星期一

The stronger lineedit

I haven't update my blog for a long time.One reason is I am waiting impatiently for the time when Qt 4.7 release to rewrite qDou(qDou is programmed with Qt 4.6,at that time Qml is on the way.In the latter days,it changes a lot. here,QML on the Road to Release).Meanwhile I finished my under graduation last month.It's days of fun and good feelings and memories.There are the days when I stay up for the world cup and so amazing about spanish team work and Paul (The Octopus )'performance.The other Reason is looking forward to doing something useful software on the desktop,Just like Krunner or omnibox

                                   

Give all you need to the LineEdit,let it give you answers.
such as what's the weather like in chengdu?



but the first things I need to consider in programming is the result ranking
two factors for the result ranking
1.DateTime.the later the Matching words putted in the historyList,the more frontly will be it shows.
2.Frequence.the More times that you queryed for a same word ,The more frontly ........

btw,I really indebted to Arora(is opensource webkit based browser)'writer for his work.With his clear contributed code, it makes me benefit from it,especially how to re-construct QCompleter supporting filter and sorting with matching algorithm in post-facto.Actually what attracted me most in Arora's feature is Adblock.Althought it's not perfect,it's a really interesting way to block ads.