porting of qucs-lib, part 3 (displaydialog.cpp)