Reference documentation for deal.II version 8.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
contrib
parameter_gui
info_message.h
1
// ---------------------------------------------------------------------
2
// @f$Id: info_message.h 31527 2013-11-03 09:58:45Z maier @f$
3
//
4
// Copyright (C) 2010 - 2013 by Martin Steigemann and Wolfgang Bangerth
5
//
6
// This file is part of the deal.II library.
7
//
8
// The deal.II library is free software; you can use it, redistribute
9
// it, and/or modify it under the terms of the GNU Lesser General
10
// Public License as published by the Free Software Foundation; either
11
// version 2.1 of the License, or (at your option) any later version.
12
// The full text of the license can be found in the file LICENSE at
13
// the top level of the deal.II distribution.
14
//
15
// ---------------------------------------------------------------------
16
17
18
#ifndef INFOMESSAGE_H
19
#define INFOMESSAGE_H
20
21
#include <QDialog>
22
#include <QSettings>
23
#include <QCheckBox>
24
#include <QTextEdit>
25
#include <QLabel>
26
27
28
namespace
dealii
29
{
33
namespace
ParameterGui
34
{
50
class
InfoMessage
:
public
QDialog
51
{
52
Q_OBJECT
53
54
public
:
58
InfoMessage
(QWidget *parent = 0);
63
void
setInfoMessage
(
const
QString &
message
);
64
65
public
slots:
69
void
showMessage
();
70
71
protected
:
75
void
done
(
int
r);
76
77
private
:
81
bool
show_again
;
85
QPushButton *
ok
;
89
QCheckBox *
again
;
93
QTextEdit *
message
;
97
QLabel *
icon
;
98
#ifdef QT_SOFTKEYS_ENABLED
99
102
QAction * ok_action;
103
#endif
104
107
QSettings *
settings
;
108
};
109
}
111
}
112
113
114
#endif
dealii::ParameterGui::InfoMessage::done
void done(int r)
dealii::ParameterGui::InfoMessage::show_again
bool show_again
Definition:
info_message.h:81
dealii::ParameterGui::InfoMessage::showMessage
void showMessage()
QDialog
dealii::ParameterGui::InfoMessage::InfoMessage
InfoMessage(QWidget *parent=0)
dealii::ParameterGui::InfoMessage
Definition:
info_message.h:50
dealii::ParameterGui::InfoMessage::again
QCheckBox * again
Definition:
info_message.h:89
dealii::ParameterGui::InfoMessage::ok
QPushButton * ok
Definition:
info_message.h:85
dealii::ParameterGui::InfoMessage::setInfoMessage
void setInfoMessage(const QString &message)
dealii::ParameterGui::InfoMessage::settings
QSettings * settings
Definition:
info_message.h:107
dealii::ParameterGui::InfoMessage::message
QTextEdit * message
Definition:
info_message.h:93
dealii::ParameterGui::InfoMessage::icon
QLabel * icon
Definition:
info_message.h:97
Generated on Sun Apr 20 2014 20:00:02 for The deal.II Library by
1.8.6