i think i'm doing option 2, i.e i have property in deviceinterface and making this property as outlet to ToggleButton widget, and i'm assigning userdefined slot to OnSwitchOn , in that slot i'm switching the screen, but it works in simulation mode but when i interface with my hardware pin it is not switching to other screen, am i missing anything?