[Ktechlab-devel] Rotary Switch

John Myers electronerd at electronerdia.net
Sun Dec 18 21:13:12 UTC 2005


Here is some preliminary code for a rotary switch. It mostly works, but still 
has a couple of problems, such as that changing the number of positions 
causes all the connections to be dropped.

Attached:
src/electronics/components/rotoswitch.cpp
src/electronics/components/rotoswitch.h

-- 
# 
# electronerd, the electronerdian from electronerdia
#
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rotoswitch.cpp
Type: text/x-c++src
Size: 8448 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/ktechlab-devel/attachments/20051218/f2c2655b/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rotoswitch.h
Type: text/x-c++hdr
Size: 1580 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/ktechlab-devel/attachments/20051218/f2c2655b/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/ktechlab-devel/attachments/20051218/f2c2655b/attachment.sig>


More information about the Ktechlab-devel mailing list