VAPOR3 3.9.4
BannerGUI.h
Go to the documentation of this file.
1#ifndef BANNERGUI_H
2#define BANNERGUI_H
3
4#include <qmainwindow.h>
5#include <qlabel.h>
6#include <qboxlayout.h>
7#include <qpushbutton.h>
8
9class BannerGUI : QMainWindow {
10 Q_OBJECT
11public:
12 BannerGUI(QWidget *parent, std::string imagefile, int maxwait = 0, bool center = false, QString text = "", QString url = "");
13
15
16private:
17 QWidget * central;
18 QVBoxLayout *mainLayout;
19 QLabel * textLabel;
20 QLabel * imageLabel;
21 QHBoxLayout *buttonLayout;
22 QPushButton *closeButton;
23 QPushButton *infoButton;
24 QString url;
25 QWidget * _parent;
26
27private slots:
28 void on_timer_end();
29 void infoButton_action();
30 void closeButton_action();
31};
32
33#endif // BANNERGUI_H
void request_close()
BannerGUI(QWidget *parent, std::string imagefile, int maxwait=0, bool center=false, QString text="", QString url="")