In linux everything works, in windows not.
I am wondering if Qt is a real cross-platform library...
Anyway, I have the following code:
Qt Code:
  1. void MyPlot::gridset()
  2. {
  3. gridSettings->setVisible(true);
  4. gridSettings->raise();
  5. }
To copy to clipboard, switch view to plain text mode 

which is called after a context menu action. In linux I get the dialog gridSettings (created by the designer), and I can user its controls and I can close it.
In windows, it appears, blocks, and stary there forever....