Menu

[efa3d9]: / src / warningdialog.h  Maximize  Restore  History

Download this file

28 lines (21 with data), 590 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef WARNINGDIALOG_H
#define WARNINGDIALOG_H
#include "ui_warningdialog.h"
class WarningDialog : public QDialog {
Q_OBJECT
public:
WarningDialog(QWidget *parent = 0);
int exec();
public slots:
virtual void showCancelButton(bool b);
virtual void setShowAgainName(const QString &s);
virtual void setText(const QString &s);
virtual void setCaption(const QString &s);
virtual void setAcceptedText(const QString &s);
private:
void init();
bool useShowAgain;
QString showAgainName;
Ui::WarningDialog ui;
};
#endif // WARNINGDIALOG_H
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.