FactDev  0.1
messagebox.h
1 #ifndef MESSAGEBOX_H
2 #define MESSAGEBOX_H
3 
4 #include <QDialog>
5 
6 namespace Ui {
7 class MessageBox;
8 }
9 namespace Gui {
10 namespace Dialogs {
15 class MessageBox : public QDialog
16 {
17  Q_OBJECT
18 
19 public:
24  explicit MessageBox(QWidget *parent = 0);
25  ~MessageBox();
26 
30  void static showAboutFact();
31 
35  void static showAboutFactDev();
36 
41  void static showAboutIcons();
42 
46  void aboutFact();
47 
51  void aboutFactDev();
52 
56  void aboutIcons();
57 
64  void setImage(QString img, int width = 128, int height = 128);
65 
70  void setText(QString txt);
71 
72 private:
73  Ui::MessageBox *ui;
74 };
75 }
76 }
77 #endif // MESSAGEBOX_H
static void showAboutFactDev()
MessageBox::showAboutFactDev Shows window about FactDev software.
Definition: messagebox.cpp:24
void aboutFactDev()
MessageBox::aboutFactDev Defines FactDev software information.
Definition: messagebox.cpp:56
The MessageBox class Information window with message.
Definition: messagebox.h:15
void aboutFact()
MessageBox::aboutFact Defines FACT team information.
Definition: messagebox.cpp:38
void aboutIcons()
MessageBox::aboutIcons Defines icons theme information.
Definition: messagebox.cpp:71
void setImage(QString img, int width=128, int height=128)
MessageBox::setImage Add the icon img to the current window.
Definition: messagebox.cpp:80
static void showAboutIcons()
MessageBox::showAboutIcons Shows about icons theme of FactDev software.
Definition: messagebox.cpp:31
void setText(QString txt)
MessageBox::setText Add the text txt to the current window.
Definition: messagebox.cpp:88
static void showAboutFact()
MessageBox::showAboutFact Shows window about FACT team.
Definition: messagebox.cpp:17
MessageBox(QWidget *parent=0)
MessageBox::MessageBox Construt a MessageBox
Definition: messagebox.cpp:6