MyControlPanel
::MyControlPanel(QWidget *parent
) :{
setWindowTitle("Web SDK Simulator");
setupUi(this);
MySettings::instance()->setParent(this,Qt::Window | Qt::WindowSystemMenuHint);
}
MyControlPanel::MyControlPanel(QWidget *parent) :
QFrame(parent, Qt::Window)
{
setWindowTitle("Web SDK Simulator");
setupUi(this);
MySettings::instance()->setParent(this,Qt::Window | Qt::WindowSystemMenuHint);
}
To copy to clipboard, switch view to plain text mode
I have code like this where I am creating a widget Setting which is child of Control Panel (type QFrame).
The setting widget not showing any button on Mac while its display close button on title bar rightly.
I have tried many options of window flags but to no avail.
Pls menation if I am missing something or any work around to achoieve this.
Ton of thanks,
-netmat
Bookmarks