[Psi-devel] Patch: display adhoc command note

Roelof Naude roelof.naude at epiuse.com
Wed Feb 28 03:27:15 PST 2007


hi

here are patches to display <note> from adhoc commands:

1. psi.add_note_info_ahcommand.h.patch - add noteText_ & noteType_ to
ahcommand.h
2. psi.init_ahc_note.ahcommand.cpp.patch - initialize noteText_/Type_
from xml.
3. psi.display_ahc_note.patch - creates a QLabel for note display
purposes. i've concatenated the note type (info/warning/error) with the
note text. displaying an icon might be better?

i've also noticed that errors (e.g. bad command data, auth failures)
returned by command processor is not displayed. there is a AHCError
class, but seems to be not used. what should be the correct behaviour?

regards
roelof.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: psi.add_note_info_ahcommand.h.patch
Type: text/x-patch
Size: 609 bytes
Desc: not available
Url : http://lists.affinix.com/pipermail/psi-devel-affinix.com/attachments/20070228/cb44f512/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: psi.display_ahc_note.patch
Type: text/x-patch
Size: 498 bytes
Desc: not available
Url : http://lists.affinix.com/pipermail/psi-devel-affinix.com/attachments/20070228/cb44f512/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: psi.init_ahc_note.ahcommand.cpp.patch
Type: text/x-patch
Size: 1378 bytes
Desc: not available
Url : http://lists.affinix.com/pipermail/psi-devel-affinix.com/attachments/20070228/cb44f512/attachment-0002.bin 


More information about the psi-devel mailing list