PDA

View Full Version : QDialog not showing close button on Mac



manojmka
17th September 2008, 12:02
Qt4.4.1
I am facing a problem of missing close button on QDialog on Mac. Buttons are visible and working on windows but not on Mac.

I am creating a QDialog as follows:


FormHtmlDisplay newFeatures(this);
newFeatures.setFixedSize(200,50);
newFeatures.exec();


Constructor for FormHtmlDisplay is as follows:


FormHtmlDisplay::FormHtmlDisplay(QWidget *parent):QDialog(parent)
{
init();
}


I have not changed any properties in designer for QDialog in designer for FormHtmlDisplay class. Can some body help me why it is not showing close button on top left on Mac?

santhoshv84
17th September 2008, 12:25
Hi,

Did you changed the WindowFlags?

Regards,
Santhosh

manojmka
17th September 2008, 12:56
No, I did not change any window flags!