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 MAINWINDOW_H 00017 #define MAINWINDOW_H 00018 00019 #include <qmainwindow.h> 00020 00021 class Wellenreiter; 00022 class WellenreiterConfigWindow; 00023 class QIconSet; 00024 class QToolButton; 00025 00026 class WellenreiterMainWindow: public QMainWindow 00027 { 00028 Q_OBJECT 00029 00030 public: 00031 WellenreiterMainWindow( QWidget * parent = 0, const char * name = "mainwindow", WFlags f = 0 ); 00032 ~WellenreiterMainWindow(); 00033 QString getFileName( bool save ); 00034 00035 protected: 00036 Wellenreiter* mw; 00037 WellenreiterConfigWindow* cw; 00038 00039 QToolButton* startButton; 00040 QToolButton* stopButton; 00041 QToolButton* uploadButton; 00042 int startID; 00043 int stopID; 00044 int uploadID; 00045 00046 protected: 00047 virtual void closeEvent( QCloseEvent* ); 00048 void updateToolButtonState(); 00049 00050 public slots: 00051 void showConfigure(); 00052 void demoAddStations(); 00053 void demoReadFromGps(); 00054 void fileSaveLog(); 00055 void fileSaveHex(); 00056 void fileSaveSession(); 00057 void fileLoadSession(); 00058 void fileNew(); 00059 void uploadSession(); 00060 void changedSniffingState(); 00061 00062 void viewExpandAll(); 00063 void viewCollapseAll(); 00064 }; 00065 00066 #endif
1.4.2