00001 /********************************************************************** 00002 ** Copyright (C) 2002-2004 Michael 'Mickey' Lauer. All rights reserved. 00003 ** 00004 ** This file is part of Wellenreiter II. 00005 ** 00006 ** This file may be distributed and/or modified under the terms of the 00007 ** GNU General Public License version 2 as published by the Free Software 00008 ** Foundation and appearing in the file LICENSE.GPL included in the 00009 ** packaging of this file. 00010 ** 00011 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00012 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00013 ** 00014 **********************************************************************/ 00015 00016 #ifndef WELLENREITERBASE_H 00017 #define WELLENREITERBASE_H 00018 00019 #include <qvariant.h> 00020 #include <qwidget.h> 00021 class QVBoxLayout; 00022 class QHBoxLayout; 00023 class QGridLayout; 00024 class QLabel; 00025 class MScanListView; 00026 class MScanListItem; 00027 class QPushButton; 00028 class MLogWindow; 00029 class MStatWindow; 00030 class MGraphWindow; 00031 class PacketView; 00032 00033 #ifdef QWS 00034 #include <opie2/otabwidget.h> 00035 using namespace Opie; 00036 #else 00037 class QTabWidget; 00038 #endif 00039 00040 class WellenreiterBase : public QWidget 00041 { 00042 Q_OBJECT 00043 00044 public: 00045 WellenreiterBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); 00046 ~WellenreiterBase(); 00047 00048 #ifdef QWS 00049 Opie::Ui::OTabWidget* TabWidget; 00050 #else 00051 QTabWidget* TabWidget; 00052 #endif 00053 QWidget* ap; 00054 MScanListView* netview; 00055 MLogWindow* logwindow; 00056 PacketView* hexwindow; 00057 MStatWindow* statwindow; 00058 MGraphWindow* graphwindow; 00059 QWidget* about; 00060 QLabel* PixmapLabel1_3_2; 00061 QLabel* TextLabel1_4_2; 00062 00063 protected: 00064 QVBoxLayout* WellenreiterBaseLayout; 00065 QVBoxLayout* apLayout; 00066 QGridLayout* aboutLayout; 00067 bool event( QEvent* ); 00068 00069 QPixmap* ani1; 00070 QPixmap* ani2; 00071 QPixmap* ani3; 00072 QPixmap* ani4; 00073 00074 private slots: 00075 virtual void slotTabChanged( QWidget* ) = 0; 00076 00077 }; 00078 00079 #endif // WELLENREITERBASE_H
1.4.2