Back to index

fet  5.18.0
longtextmessagebox.h
Go to the documentation of this file.
00001 /*
00002 File longtextmessagebox.h
00003 */
00004 
00005 /***************************************************************************
00006                           longtextmessagebox.cpp  -  description
00007                              -------------------
00008     begin                : 27 June 2009
00009     copyright            : (C) 2009 by Lalescu Liviu
00010     email                : Please see http://lalescu.ro/liviu/ for details about contacting Liviu Lalescu (in particular, you can find here the e-mail address)
00011  ***************************************************************************/
00012 
00013 /***************************************************************************
00014  *                                                                         *
00015  *   This program is free software; you can redistribute it and/or modify  *
00016  *   it under the terms of the GNU General Public License as published by  *
00017  *   the Free Software Foundation; either version 2 of the License, or     *
00018  *   (at your option) any later version.                                   *
00019  *                                                                         *
00020  ***************************************************************************/
00021 
00022 #ifndef LONGTEXTMESSAGEBOX_H
00023 #define LONGTEXTMESSAGEBOX_H
00024 
00025 #include <QObject>
00026 
00027 class QString;
00028 class QWidget;
00029 
00030 
00031 class LongTextMessageBox: public QObject
00032 {
00033        Q_OBJECT
00034        
00035 public:
00036        static int confirmation
00037         ( QWidget * parent, const QString & title, const QString & text,
00038         const QString& button0Text, const QString& button1Text, const QString& button2Text,
00039         int defaultButton, int escapeButton );
00040 
00041        static int largeConfirmation
00042         ( QWidget * parent, const QString & title, const QString & text,
00043         const QString& button0Text, const QString& button1Text, const QString& button2Text,
00044         int defaultButton, int escapeButton );
00045 
00046        static int mediumConfirmation
00047         ( QWidget * parent, const QString & title, const QString & text,
00048         const QString& button0Text, const QString& button1Text, const QString& button2Text,
00049         int defaultButton, int escapeButton );
00050 
00051        static void information
00052         ( QWidget * parent, const QString & title, const QString & text);
00053 
00054        static void largeInformation
00055         ( QWidget * parent, const QString & title, const QString & text);
00056 
00057        static void mediumInformation
00058         ( QWidget * parent, const QString & title, const QString & text);
00059 
00060        static int confirmationWithDimensions
00061         ( QWidget * parent, const QString & title, const QString & text,
00062         const QString& button0Text, const QString& button1Text, const QString& button2Text,
00063         int defaultButton, int escapeButton, int MINW, int MAXW, int MINH, int MAXH );
00064 
00065        static void informationWithDimensions
00066         ( QWidget * parent, const QString & title, const QString & text, int MINW, int MAXW, int MINH, int MAXH);
00067 };
00068 
00069 #endif