1 #include "PaletteWindow.h"
14 parent->installEventFilter(
this);
47 QString instanceName = this->windowTitle();
49 QSettings settings(config.
expanded(), QSettings::NativeFormat);
50 QPoint pos = settings.value(
"pos", QPoint(300, 100)).toPoint();
51 QSize size = settings.value(
"size", QSize(900, 500)).toSize();
66 if(!this->isVisible())
return;
68 QString instanceName = this->windowTitle();
70 QSettings settings(config.
expanded(), QSettings::NativeFormat);
71 settings.setValue(
"pos", pos());
72 settings.setValue(
"size", size());