interface.h

来自「This a framework to test new ideas in tr」· C头文件 代码 · 共 75 行

H
75
字号
/*******************************************************************************//*  Project:        SOFTWARE RADIO - LCM Laboratoire de Communications Mobiles *//*  -------------------------------------------------------------------------- *//*  Filename:       interface.h                                                *//*  Description:    Subclass of QMainWindow. It implements the main interface  *//*                  of the Software Radio GUI.                                 *//*  -------------------------------------------------------------------------- *//*  Date:           April 7 2003                                               *//*  Version:        v1.0                                                       *//*  Authors:        Braure Jerome, Ferreiro Jose                               *//*                  Communication Systems (9th semester) - EPFL                *//*  Extended by:    Porchet Vincent                                            *//*                  Computer Science (6th semester) - EPFL                     *//*******************************************************************************//*******************************************************************************//*  This program is free software; you can redistribute it and/or modify it    *//*  under the terms of the GNU General Public License as published by the Free *//*  Software Foundation; either version 2 of the License, or (at your option)  *//*  any later version.                                                         *//*******************************************************************************/#ifndef INTERFACE_H#define INTERFACE_H#include <qmainwindow.h>#include "module.h"#include "fifocmd.h"class RadioView;class Interface : public QMainWindow {  Q_OBJECTpublic:  Interface();public slots:  void slotXY_selected();  void slotYt_selected();  void slotModuleSelected(Module* module);  void slotAddingCurve(bool adding);  void changedRadioView( FifoCmd *c );  void switchDebug();  void switchProfiling();signals:  void moduleSelected (Module*);  void showDebug( bool );  void showProfiling( bool );private:  FifoCmd *active_radio;  int desktopWidth;  int desktopHeight;  int windowX;  int windowY;  bool isAddCurve;  QMenuBar   *menuBar;  QPopupMenu *fileMenu;  QPopupMenu *helpMenu;  int showDebugID;  int showProfilingID;  RadioView *firstView;private slots:  void slotAbout();};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?