Reference documentation for deal.II version 8.4.2
contrib
parameter_gui
info_message.h
1
// ---------------------------------------------------------------------
2
//
3
// Copyright (C) 2010 - 2013 by Martin Steigemann and Wolfgang Bangerth
4
//
5
// This file is part of the deal.II library.
6
//
7
// The deal.II library is free software; you can use it, redistribute
8
// it, and/or modify it under the terms of the GNU Lesser General
9
// Public License as published by the Free Software Foundation; either
10
// version 2.1 of the License, or (at your option) any later version.
11
// The full text of the license can be found in the file LICENSE at
12
// the top level of the deal.II distribution.
13
//
14
// ---------------------------------------------------------------------
15
16
17
#ifndef INFOMESSAGE_H
18
#define INFOMESSAGE_H
19
20
#include <QDialog>
21
#include <QSettings>
22
#include <QCheckBox>
23
#include <QTextEdit>
24
#include <QLabel>
25
26
27
namespace
dealii
28
{
32
namespace
ParameterGui
33
{
49
class
InfoMessage
:
public
QDialog
50
{
51
Q_OBJECT
52
53
public
:
57
InfoMessage
(QWidget *parent = 0);
62
void
setInfoMessage
(
const
QString &
message
);
63
64
public
slots:
68
void
showMessage
();
69
70
protected
:
74
void
done
(
int
r);
75
76
private
:
80
bool
show_again
;
84
QPushButton *
ok
;
88
QCheckBox *
again
;
92
QTextEdit *
message
;
96
QLabel *
icon
;
97
#ifdef QT_SOFTKEYS_ENABLED
98
101
QAction * ok_action;
102
#endif
103
106
QSettings *
settings
;
107
};
108
}
110
}
111
112
113
#endif
dealii::ParameterGui::InfoMessage::done
void done(int r)
Definition:
info_message.cpp:91
dealii::ParameterGui::InfoMessage::show_again
bool show_again
Definition:
info_message.h:80
dealii::ParameterGui::InfoMessage::showMessage
void showMessage()
Definition:
info_message.cpp:83
dealii::ParameterGui::InfoMessage::InfoMessage
InfoMessage(QWidget *parent=0)
Definition:
info_message.cpp:26
dealii::ParameterGui::InfoMessage
Definition:
info_message.h:49
dealii::ParameterGui::InfoMessage::again
QCheckBox * again
Definition:
info_message.h:88
dealii::ParameterGui::InfoMessage::ok
QPushButton * ok
Definition:
info_message.h:84
dealii::ParameterGui::InfoMessage::setInfoMessage
void setInfoMessage(const QString &message)
Definition:
info_message.cpp:76
dealii::ParameterGui::InfoMessage::settings
QSettings * settings
Definition:
info_message.h:106
dealii
Definition:
namespace_dealii.h:25
dealii::ParameterGui::InfoMessage::message
QTextEdit * message
Definition:
info_message.h:92
dealii::ParameterGui::InfoMessage::icon
QLabel * icon
Definition:
info_message.h:96
Generated by
1.8.12