/* ============================================================
 *
 * This file is a part of kipi-plugins project
 * http://www.digikam.org
 *
 * Date        : 2008-10-31
 * Description : a widget to display advanced settings
 *
 * Copyright (C) 2008-2009 by Andi Clemens <andi dot clemens at googlemail dot com>
 *
 * This program is free software; you can redistribute it
 * and/or modify it under the terms of the GNU General
 * Public License as published by the Free Software Foundation;
 * either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * ============================================================ */

#ifndef ADVANCEDSETTINGS_H
#define ADVANCEDSETTINGS_H

// Qt includes

#include <QWidget>

namespace KIPIRemoveRedEyesPlugin
{

class HaarSettings;

class AdvancedSettings : public QWidget
{
    Q_OBJECT

public:

    AdvancedSettings(QWidget* const parent = 0);
    ~AdvancedSettings();

    void         loadSettings(HaarSettings&);
    HaarSettings readSettings();

Q_SIGNALS:

    void settingsChanged();

private Q_SLOTS:

    void prepareSettings();

private:

    void applySettings();

private:

    class Private;
    Private* const d;
};

} // namespace KIPIRemoveRedEyesPlugin

#endif /* ADVANCEDSETTINGS_H */
