I'm creating a form that has a date field. I'm using QDate Edit for the field. But I want the user to be able to set the date using the datepicker widget that was mentioned a few days ago. The date picker should only pop-up when I click a tool button widget next to the QDate Edit widget. I can make all of this work in designer, but I cannot set the date picker widget to be hidden from designer. So, should pop up widgets be handled in designer and when the form is created the widget is hidden? Or should the widget be created and destroyed in code? Can a widget be instantiated without being part of a dialog or form?

Thanks.