Ok, the no.2 problem was solved with QSignalMapper, but I still don't have any ideea how I can hide a QMainWindow::separator. Instead I changed its hover color to match the background color and I'll live with it...