📄 config.h
字号:
/*************************************************************************** config.h - The definition for the configuration ------------------- begin : 2003 authors : Vincent Porchet emails : vincnet.porchet@epfl.ch ***************************************************************************//*************************************************************************** * * * 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 CONFIG_H__#define CONFIG_H__#include <qobject.h>#include <qwidget.h>#include <qstring.h>#include <qfile.h>#include "defines.h"#include "block.h"#include "fifocmd.h"#include "global.h"#include "parameters.h"/** * @short Holds the definition of a config */class Config : public QObject { Q_OBJECTpublic: Config( FifoCmd *c, int m_i, int i ); int getConfigType() { return type; }; QString getValue() { return value; }; QString getName() { return name; }; unsigned long getFlags() { return flags; }; bool isShown(){ return VALUE_SHOW( flags ); }public slots: void slotValueChanged(int v); void slotTextChanged(const QString &v);private: FifoCmd *radio; QString name; int module_id; int id; int type; unsigned long flags; QString value;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -