1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : a widget to host settings as expander box in exclusive mode
9
* Copyright (C) 2008-2010 by Gilles Caulier <caulier dot gilles at gmail dot com>
10
* Copyright (C) 2008-2010 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
11
* Copyright (C) 2010 by Manuel Viet <contact at 13zenrv dot fr>
13
* This program is free software; you can redistribute it
14
* and/or modify it under the terms of the GNU General
15
* Public License as published by the Free Software Foundation;
16
* either version 2, or (at your option)
19
* This program is distributed in the hope that it will be useful,
20
* but WITHOUT ANY WARRANTY; without even the implied warranty of
21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
* GNU General Public License for more details.
24
* ============================================================ */
26
#ifndef REXPANDERBOXEXCLUSIVE_H
27
#define REXPANDERBOXEXCLUSIVE_H
31
#include <QtCore/QObject>
35
#include <libkdcraw/rexpanderbox.h>
39
#include "digikam_export.h"
44
class DIGIKAM_EXPORT RExpanderBoxExclusive : public KDcrawIface::RExpanderBox
50
RExpanderBoxExclusive(QWidget* parent = 0);
51
~RExpanderBoxExclusive();
53
/** Show one expander open at most */
54
void setIsToolBox(bool b);
55
bool isToolBox() const;
59
void slotItemExpanded(bool b);
66
} // namespace Digikam
68
#endif // REXPANDERBOXEXCLUSIVE_H