[Psi-Devel] Tab Position & interceptMessage

C. H. ptitkov at gmail.com
Fri Nov 2 05:28:40 PDT 2007


Hello!
I created patch that can:
1. Change tab position (Top, Bottom, Left, Right).
2.Select tab position from Menu - Options - Advanced - Tab Position
http://www.nuos.edu.ua/~pavel/psi/psi-options.PNG

vertical tabs with vertical text:
http://www.nuos.edu.ua/~pavel/psi/psi-win1.PNG

vertical tabs with horizontal text:
http://www.nuos.edu.ua/~pavel/psi/psi1.jpg
http://www.nuos.edu.ua/~pavel/psi/psi-win2.PNG

And if you prefer to have vertical tab position with horizontal text like
Pidgin-Gaim ( psi1.pngpsi-win2.png)
you have to patch Qt lib
qt4-patch.tar.gz  for  qt-x11-opensource-src-4.3.2

You have to patch 3 files:
/src/gui/styles/qcommonstyle.cpp
/src/gui/widgets/qtabbar.cpp
/src/gui/widgets/qtabwidget.cpp

--------------------------

Also I added function interceptMessage for plugin system that invokes
interceptor on the specific message. The interceptor can modify message.
interceptMessage calls each time when user sends a message.
I am working on Plugin that has a table, in the first column - short
messages, in the second one — long message.
For example:
hl    - Hello
brb - Be right back
hau - How are you?
.....
and etc.

User types just "hl" or "brb" and Psi should send "Hello" or "Be right
back".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.affinix.com/pipermail/psi-devel-affinix.com/attachments/20071102/7e9e1996/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tabposition.patch.gz
Type: application/x-gzip
Size: 4989 bytes
Desc: not available
Url : http://lists.affinix.com/pipermail/psi-devel-affinix.com/attachments/20071102/7e9e1996/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt4-patch.tar.gz
Type: application/x-gzip
Size: 2629 bytes
Desc: not available
Url : http://lists.affinix.com/pipermail/psi-devel-affinix.com/attachments/20071102/7e9e1996/attachment-0001.bin 


More information about the Psi-Devel mailing list