📄 plotwin.h
字号:
/*******************************************************************************//* Project: SOFTWARE RADIO - LCM Laboratoire de Communications Mobiles *//* -------------------------------------------------------------------------- *//* Filename: plotwin.h *//* Description: Subclass of QMainWindow. It implements the multi-plot *//* window for XY and Y(t) plot. *//* -------------------------------------------------------------------------- *//* Date: April 7 2003 *//* Version: v1.0 *//* Authors: 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 PLOTWIN_H#define PLOTWIN_H#include <qobject.h>#include <qtimer.h>#include <qmainwindow.h>#include <qstring.h>#include "module.h"#include "plot.h"#include "show.h"#include "mainsub.h"#include "fifocmd.h"class PlotWin : public QObject { Q_OBJECTpublic: PlotWin( FifoCmd *c, bool do_xy );public slots: void slotSelectedModule(Module* module);signals: void isAddingCurve(bool);private: int getStats( int id, QString &name, int &type ); FifoCmd *radio; Plot* plot; Show* graph; bool isAddCurve; bool xy; QTimer *plotTimer; long int time; int plotTimerVal; int id_module1, id_module2; int id_stats1, id_stats2; int type1, type2; QString stats_name1, stats_name2; int list_id; MainSub *frame; void addCurveContinuous();private slots: void slotAddCurve(); void updateGraph(); void slotClearTimer();};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -