HACK: 1. try to match RowsetProperties
[wireshark-wip.git] / ui / qt / splash_overlay.h
blob5c55b9e8d8966fd87d8adb7a6a7701878bab9d79
1 /* splash_overlay.h
3 * $Id$
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 #ifndef SPLASH_OVERLAY_H
25 #define SPLASH_OVERLAY_H
27 #include "config.h"
29 #include <glib.h>
31 #include "register.h"
33 #include <QWidget>
34 #include <QTime>
36 void splash_update(register_action_e action, const char *message, void *dummy);
38 namespace Ui {
39 class SplashOverlay;
42 class SplashOverlay : public QWidget
44 Q_OBJECT
46 public:
47 explicit SplashOverlay(QWidget *parent = 0);
48 ~SplashOverlay();
50 protected:
51 void paintEvent(QPaintEvent *event);
53 private:
54 Ui::SplashOverlay *so_ui_;
55 bool blurred_;
56 register_action_e last_action_;
57 int register_cur_;
58 QTime time_;
60 private slots:
61 void splashUpdate(register_action_e action, const char *message);
64 #endif // SPLASH_OVERLAY_H
67 * Editor modelines
69 * Local Variables:
70 * c-basic-offset: 4
71 * tab-width: 8
72 * indent-tabs-mode: nil
73 * End:
75 * ex: set shiftwidth=4 tabstop=8 expandtab:
76 * :indentSize=4:tabSize=8:noTabs=true: