digiKam
tableview_column_configuration_dialog.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 : 2013-03-02
7  * Description : Table view: Column cpp dialog
8  *
9  * Copyright (C) 2017-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2013 by Michael G. Hansen <mike at mghansen dot de>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option) 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_TABLE_VIEW_COLUMN_CONFIGURATION_DIALOG_H
25 #define DIGIKAM_TABLE_VIEW_COLUMN_CONFIGURATION_DIALOG_H
26 
27 // KDE includes
28 
29 #include <QDialog>
30 
31 // Local includes
32 
34 #include "tableview_shared.h"
35 
36 class QMenu;
37 class QContextMenuEvent;
38 
39 namespace Digikam
40 {
41 
42 class TableViewConfigurationDialog : public QDialog
43 {
44  Q_OBJECT
45 
46 public:
47 
48  explicit TableViewConfigurationDialog(TableViewShared* const sharedObject,
49  const int columnIndex,
50  QWidget* const parentWidget);
52 
54 
55 private:
56 
57  class Private;
58 
59  const QScopedPointer<Private> d;
60  TableViewShared* const s;
61 };
62 
63 } // namespace Digikam
64 
65 #endif // DIGIKAM_TABLE_VIEW_COLUMN_CONFIGURATION_DIALOG_H
Definition: tableview_columnfactory.h:50
Definition: tableview_column_configuration_dialog.h:43
~TableViewConfigurationDialog() override
Definition: tableview_column_configuration_dialog.cpp:105
TableViewColumnConfiguration getNewConfiguration() const
Definition: tableview_column_configuration_dialog.cpp:109
TableViewConfigurationDialog(TableViewShared *const sharedObject, const int columnIndex, QWidget *const parentWidget)
Definition: tableview_column_configuration_dialog.cpp:70
Definition: tableview_shared.h:44
Definition: datefolderview.cpp:43