File indexing completed on 2024-10-06 04:26:02
0001 /* 0002 0003 SPDX-FileCopyrightText: 1998-2008 Sebastian Trueg <trueg@k3b.org> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 0009 #ifndef K3BSPLASH_H 0010 #define K3BSPLASH_H 0011 0012 #include <QWidget> 0013 0014 class QLabel; 0015 class QMouseEvent; 0016 class QPaintEvent; 0017 class QString; 0018 0019 0020 namespace K3b { 0021 class Splash : public QWidget 0022 { 0023 Q_OBJECT 0024 0025 public: 0026 explicit Splash( QWidget* parent = 0 ); 0027 ~Splash() override; 0028 0029 public Q_SLOTS: 0030 void show(); 0031 void hide(); 0032 void addInfo( const QString& ); 0033 0034 protected: 0035 void mousePressEvent( QMouseEvent* ) override; 0036 // void paintEvent( QPaintEvent* ); 0037 0038 private: 0039 QLabel* m_infoBox; 0040 }; 0041 } 0042 0043 #endif