digiKam
tooltipdialog.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 : 2010-05-28
7  * Description : a dialog for showing the advancedrename tooltip
8  *
9  * Copyright (C) 2010-2012 by Andi Clemens <andi dot clemens at gmail dot com>
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_TOOL_TIP_DIALOG_H
25 #define DIGIKAM_TOOL_TIP_DIALOG_H
26 
27 // Qt includes
28 
29 #include <QDialog>
30 
31 namespace Digikam
32 {
33 
34 class TooltipDialog : public QDialog
35 {
36  Q_OBJECT
37 
38 public:
39 
40  explicit TooltipDialog(QWidget* const parent);
41  ~TooltipDialog() override;
42 
43  void setTooltip(const QString& tooltip);
44  void clearTooltip();
45 
46 private:
47 
48  // Disable
49  TooltipDialog(const TooltipDialog&) = delete;
50  TooltipDialog& operator=(const TooltipDialog&) = delete;
51 
52 private:
53 
54  class Private;
55  Private* const d;
56 };
57 
58 } // namespace Digikam
59 
60 #endif // DIGIKAM_TOOL_TIP_DIALOG_H
Definition: tooltipdialog.h:35
void clearTooltip()
Definition: tooltipdialog.cpp:98
void setTooltip(const QString &tooltip)
Definition: tooltipdialog.cpp:86
~TooltipDialog() override
Definition: tooltipdialog.cpp:81
TooltipDialog(QWidget *const parent)
Definition: tooltipdialog.cpp:58
Definition: datefolderview.cpp:43