Reimplement "index" for model classes
Use QAction for connect/disconnect
Simplify main window layout