[Digikam-devel] extragear/graphics/digikam/digikam
Renchi Raju
renchi.raju at gmail.com
Sun Aug 28 16:54:43 BST 2005
Tom Albers wrote:
> + KConfig* config=kapp->config();
> + config->setGroup("AdvancedSearch Settings");
> + int w = config->readNumEntry("Width", 500);
> + int h = config->readNumEntry("Height", 500);
> + resize(w,h);
> +
> // two columns, one for the rules, one for the preview.
> QHBoxLayout* hbox = new QHBoxLayout( page );
> hbox->setSpacing( spacingHint() );
> @@ -150,6 +158,12 @@
>
> SearchAdvancedDialog::~SearchAdvancedDialog()
> {
> + KConfig* config=kapp->config();
> + config->setGroup("AdvancedSearch Settings");
> + config->writeEntry("Width", width());
you can just use:
resize(configDialogSize("AdvancedSearch Dialog"));
and
saveDialogSize("AdvancedSearch Dialog"));
renchi
More information about the Digikam-devel
mailing list