I'm just using the standard calibre.devices.usbms.deviceconfig.DeviceConfig dialog, the same one the mainline Kobo driver uses, which looks like it uses a calibre.gui2.device_drivers.configwidget.ConfigWid get instance. It's late for me so I'll take a look tomorrow evening sometime. I'm basically starting from asking Google for "how-to PyQT" and looking at the files under calibre.gui2.preferences so any resources or other calibre classes you recommend looking at would be appreciated