Using uic.loadUi rather than import canacondamainwindow and setupUi().