On 09/05/2011 01:10 PM, Wim Dumon wrote: > I would use WDialog::titleBar() and add an icon to it with a clicked() > handler that closes the dialog. > > BR, > Wim.
Thanks for your advise. Maybe, even better, it would be to use the close icon as the icon of a standard button: using the icon directly is actually not sufficient to give the idea of a clickable thing (when passing over the title bar, the pointer of my linux google chrome becomes a dragging hand). I second Boris proposal, it would be great if there were a standard way to have that button (ext dialogs have it already, but I'd rather not introduce such a dependency). Thanks, Antonio ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
