Thanks. I took some programming programs at night school years ago (BASIC, TurboPascal, C++, even a separate one for pointers) but never used it and, obviously, forgot most of it. Never even considered the default value - duh. So if I wanted to instantiate but with a parent I would do something like:
Qt Code:
FindDialog *dialog = new FindDialog(<pointer to parent widget>);To copy to clipboard, switch view to plain text mode
And, because this widget is to be the 'window' I can basically ignore the FindDialog parameter (so it gets the default of no parent)?
Bookmarks