messagebox.h
1 /***************************************************************************
2  Copyright (C) 2002-2014 Kentaro Kitagawa
3  kitagawa@phys.s.u-tokyo.ac.jp
4 
5  This program is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  You should have received a copy of the GNU Library General
11  Public License and a list of authors along with this program;
12  see the files COPYING and AUTHORS.
13  ***************************************************************************/
14 
15 #ifndef MESSAGEBOX_H
16 #define MESSAGEBOX_H
17 
18 #include "support.h"
19 #include <QObject>
20 
21 class QIcon;
22 class QWidget;
23 
24 class XMessageBox : public QObject {
25  Q_OBJECT
26 public:
27  XMessageBox(QWidget *parent);
28  static QWidget *form();
29  static void post(XString msg, const QIcon &icon, bool popup = false, int duration_ms = -1, XString tooltip = XString());
30 protected slots:
31  void hide();
32 private:
33 };
34 
35 #endif // MESSAGEBOX_H

Generated for KAME4 by  doxygen 1.8.3