comparison moreinformationdialog.h @ 275:1244dc3107cb more_information_dialog

* Some work on separating out the "more information" component from dialog messages. Will need work on layouts
author Chris Cannam
date Mon, 31 Jan 2011 17:23:10 +0000
parents
children c0c254f67346
comparison
equal deleted inserted replaced
273:cc95394e2392 275:1244dc3107cb
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
2
3 /*
4 EasyMercurial
5
6 Based on hgExplorer by Jari Korhonen
7 Copyright (c) 2010 Jari Korhonen
8 Copyright (c) 2011 Chris Cannam
9 Copyright (c) 2011 Queen Mary, University of London
10
11 This program is free software; you can redistribute it and/or
12 modify it under the terms of the GNU General Public License as
13 published by the Free Software Foundation; either version 2 of the
14 License, or (at your option) any later version. See the file
15 COPYING included with this distribution for more information.
16 */
17
18 #ifndef MORE_INFORMATION_DIALOG_H
19 #define MORE_INFORMATION_DIALOG_H
20
21 #include <QString>
22
23 class QWidget;
24
25 /**
26 * Provide methods like the QMessageBox static methods, to call up
27 * dialogs with "More information" buttons in them
28 */
29
30 class MoreInformationDialog
31 {
32 public:
33 static void critical(QWidget *parent, QString title, QString text, QString more);
34 static void information(QWidget *parent, QString title, QString text, QString more);
35 static void warning(QWidget *parent, QString title, QString text, QString more);
36 };
37
38 #endif