digiKam
digikamitemdelegate.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2009-04-19
7  * Description : Qt model-view for items - the delegate
8  *
9  * Copyright (C) 2009-2011 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_DIGIKAMITEM_DELEGATE_H
25 #define DIGIKAM_DIGIKAMITEM_DELEGATE_H
26 
27 // Local includes
28 
29 #include "itemdelegate.h"
30 
31 namespace Digikam
32 {
33 
34 class ItemCategoryDrawer;
35 class DigikamItemDelegatePrivate;
36 
38 {
39  Q_OBJECT
40 
41 public:
42 
43  explicit DigikamItemDelegate(ItemCategorizedView* parent);
44  ~DigikamItemDelegate() override;
45 
46 protected:
47 
48  void updateRects() override;
49 
51 
52 private:
53 
54  // Disable
55  DigikamItemDelegate(QObject*) = delete;
56 
57 private:
58 
59  Q_DECLARE_PRIVATE(DigikamItemDelegate)
60 };
61 
62 } // namespace Digikam
63 
64 #endif // DIGIKAM_DIGIKAMITEM_DELEGATE_H
Definition: digikamitemdelegate_p.h:42
Definition: digikamitemdelegate.h:38
void updateRects() override
Definition: digikamitemdelegate.cpp:76
~DigikamItemDelegate() override
Definition: digikamitemdelegate.cpp:72
DigikamItemDelegate(ItemCategorizedView *parent)
Definition: digikamitemdelegate.cpp:58
Definition: itemcategorizedview.h:49
Definition: itemdelegate.h:44
Definition: datefolderview.cpp:43