On Monday 19 May 2003 13:07, Stefan Jonasson wrote: > Hi.. > > I just made a miranda like userlist typeahead patch for the QT plugin.. > I saw the functioality in the miranda icq clone and thought that was a neat > function, so I made one for licq.. > It was intended for my personal use but you may be intersted in the patch > too. > > I only made changes in userbox.cpp/h ( mainly the > keyPressEvent method) and userbox.h > If you apply the patch take a look in the > CUserViewItem::paintCell functon where i used kind of a addhoc style > solution that may get unexpected sideeffects. It dosent take care of text > alignment for example. > It is fresh made form the current cvs tree (2 secs before sending this > mail)
Without looking at the code, there are a few things that i don't like: - The color "yellow" seems to be hardcoded. What happens if the normal text color is yellow as well? - when typing the "space" character the system menu pops up (which is ok IMO) - group-names are captured as well (i have multiple groups and use thread group view - the text of the currently selected item in the list gets moved by 1 pixel - when i type the full nickname and then one more character the selection jumps to the next user beginning with the last pressed key - typeahead does only seem to work when the userbox has the focus (which means i have to click into the userlist and select a user first) But nevertheless i really like the idea and if these issues are not very critical. i'd like to have a look into this after the next release :) thomas -- email: [EMAIL PROTECTED] IRC: DreamForce on #licq UIN: 75450207 (urgent messages only)
pgp00000.pgp
Description: signature