24 #ifndef DIGIKAM_DMESSAGE_BOX_H
25 #define DIGIKAM_DMESSAGE_BOX_H
31 #include <QMessageBox>
32 #include <QListWidget>
39 class QDialogButtonBox;
54 static bool readMsgBoxShouldBeShown(
const QString& dontShowAgainName);
62 static void saveMsgBoxShouldBeShown(
const QString& dontShowAgainName,
bool value);
69 static void showInformationList(QMessageBox::Icon icon,
70 QWidget*
const parent,
71 const QString& caption,
73 const QStringList& items,
74 const QString& dontShowAgainName = QString());
79 static void showInformationWidget(QMessageBox::Icon icon,
80 QWidget*
const parent,
81 const QString& caption,
83 QWidget*
const listWidget,
84 const QString& dontShowAgainName);
92 static int showContinueCancel(QMessageBox::Icon icon,
93 QWidget*
const parent,
94 const QString& caption,
96 const QString& dontAskAgainName = QString());
103 static int showContinueCancelList(QMessageBox::Icon icon,
104 QWidget*
const parent,
105 const QString& caption,
107 const QStringList& items,
108 const QString& dontAskAgainName = QString());
115 static int showContinueCancelWidget(QMessageBox::Icon icon,
116 QWidget*
const parent,
117 const QString& caption,
119 QWidget*
const listWidget,
120 const QString& dontAskAgainName);
128 static int showYesNo(QMessageBox::Icon icon,
129 QWidget*
const parent,
130 const QString& caption,
132 const QString& dontAskAgainName = QString());
139 static int showYesNoList(QMessageBox::Icon icon,
140 QWidget*
const parent,
141 const QString& caption,
143 const QStringList& items,
144 const QString& dontAskAgainName = QString());
151 static int showYesNoWidget(QMessageBox::Icon icon,
152 QWidget*
const parent,
153 const QString& caption,
155 QWidget*
const listWidget,
156 const QString& dontAskAgainName = QString());
160 static int createMessageBox(QDialog*
const dialog,
161 QDialogButtonBox*
const buttons,
164 QWidget*
const listWidget,
166 bool* checkboxReturn);
168 static QIcon createIcon(QMessageBox::Icon icon);
170 static QListWidget* createWidgetList(
const QStringList& items);
Definition: dmessagebox.h:45
qulonglong value
Definition: itemviewutilities.cpp:592
Definition: datefolderview.cpp:43