| 
    玉兔远程控制 0.1.0-bate4
    
   | 
 


Public 成员函数 | |
| CParameterSerialPort (CParameterOperate *parent=nullptr, const QString &szPrefix=QString()) | |
| int | GetSerialPort () const | 
| void | SetSerialPort (int index) | 
| const QString | GetSerialPortName () const | 
| void | SetSerialPortName (const QString &szName) | 
| qint32 | GetBaudRate () const | 
| void | SetBaudRate (qint32 rate) | 
| QSerialPort::Parity | GetParity () const | 
| void | SetParity (const QSerialPort::Parity &newParity) | 
| QSerialPort::DataBits | GetDataBits () const | 
| void | SetDataBits (const QSerialPort::DataBits &newDataBits) | 
| QSerialPort::StopBits | GetStopBits () const | 
| void | SetStopBits (const QSerialPort::StopBits &newStopBits) | 
| QSerialPort::FlowControl | GetFlowControl () const | 
| void | SetFlowControl (const QSerialPort::FlowControl &newFlowControl) | 
  Public 成员函数 继承自 CParameterTerminalBase | |
| CParameterTerminalBase (CParameterOperate *parent=nullptr, const QString &szPrefix=QString()) | |
| QStringList | GetCommands () const | 
| void | SetCommands (const QStringList &cmd) | 
  Public 成员函数 继承自 CParameterOperate | |
| CParameterOperate (QObject *parent=nullptr, const QString &szPrefix=QString()) | |
| CParameterPlugin * | GetGlobalParameters () | 
| Get CParameterPlugin   | |
| int | SetGlobalParameters (CParameterPlugin *p) | 
| const QString | GetName () const | 
| void | SetName (const QString &szName) | 
| int | LoadPassword (const QString &szTitle, const QString &szKey, QString &password, QSettings &set) | 
| int | SavePassword (const QString &szKey, const QString &password, QSettings &set, bool bSave=false) | 
  Public 成员函数 继承自 CParameter | |
| CParameter (QObject *parent=nullptr, const QString &szPrefix=QString()) | |
| virtual int | Load (QString szFile=QString()) | 
| Load from file   | |
| virtual int | Save (QString szFile=QString(), bool bForce=true) | 
| Save to file   | |
| virtual int | Load (QSettings &set) | 
| Load from QSettings   | |
| virtual int | Save (QSettings &set, bool bForce=true) | 
| Save to QSettings   | |
| virtual bool | CheckValidity () | 
| 检查参数是否有效,以决定是否使用或者保存参数。 派生类一般只要重载 OnCheckValidity() ,用于检查参数。   | |
Protected 成员函数 | |
| virtual int | OnLoad (QSettings &set) override | 
| virtual int | OnSave (QSettings &set) override | 
  Protected 成员函数 继承自 CParameterOperate | |
| QByteArray | PasswordSum (const std::string &password, const std::string &key) | 
  Protected 成员函数 继承自 CParameter | |
| virtual bool | OnCheckValidity () | 
| 检查参数是否有效   | |
| int | SetModified (bool bModified=true) | 
| 在设置参数时,如果有修改,则调用。   | |
| bool | GetModified () | 
| 参数是否有修改   | |
Private 属性 | |
| int | m_nSerialPort | 
| QString | m_szSerialPortName | 
| qint32 | m_nBaudRate | 
| QSerialPort::Parity | m_Parity | 
| QSerialPort::DataBits | m_DataBits | 
| QSerialPort::StopBits | m_StopBits | 
| QSerialPort::FlowControl | m_FlowControl | 
额外继承的成员函数 | |
  信号 继承自 CParameterOperate | |
| void | sigSetGlobalParameters () | 
| 仅由此类使用   | |
| void | sigNameChanged (const QString &name=QString()) | 
  信号 继承自 CParameter | |
| void | sigChanged () | 
| 当参数改变时,触发 通常如果需要,则相应的参数会对应一个改变事件。  | |
  Public 属性 继承自 CParameterTerminalBase | |
| CParameterTerminal | m_Terminal | 
  Protected 槽 继承自 CParameterTerminalBase | |
| virtual void | slotSetGlobalParameters () override | 
  Protected 槽 继承自 CParameterOperate | |
| virtual void | slotSetGlobalParameters () | 
| 设置 CParameterPlugin 后调用,用于初始化与 CParameterPlugin 有关的操作。   | |
  属性 继承自 CParameter | |
| bool | Modified | 
在文件 ParameterSerialPort.h 第 8 行定义.
| qint32 CParameterSerialPort::GetBaudRate | ( | ) | const | 
在文件 ParameterSerialPort.cpp 第 74 行定义.
| QSerialPort::DataBits CParameterSerialPort::GetDataBits | ( | ) | const | 
在文件 ParameterSerialPort.cpp 第 100 行定义.
| QSerialPort::FlowControl CParameterSerialPort::GetFlowControl | ( | ) | const | 
在文件 ParameterSerialPort.cpp 第 126 行定义.
| QSerialPort::Parity CParameterSerialPort::GetParity | ( | ) | const | 
在文件 ParameterSerialPort.cpp 第 87 行定义.
| int CParameterSerialPort::GetSerialPort | ( | ) | const | 
在文件 ParameterSerialPort.cpp 第 48 行定义.
| const QString CParameterSerialPort::GetSerialPortName | ( | ) | const | 
在文件 ParameterSerialPort.cpp 第 61 行定义.
| QSerialPort::StopBits CParameterSerialPort::GetStopBits | ( | ) | const | 
在文件 ParameterSerialPort.cpp 第 113 行定义.
      
  | 
  overrideprotectedvirtual | 
在文件 ParameterSerialPort.cpp 第 20 行定义.
      
  | 
  overrideprotectedvirtual | 
在文件 ParameterSerialPort.cpp 第 34 行定义.
| void CParameterSerialPort::SetBaudRate | ( | qint32 | rate | ) | 
在文件 ParameterSerialPort.cpp 第 79 行定义.
| void CParameterSerialPort::SetDataBits | ( | const QSerialPort::DataBits & | newDataBits | ) | 
在文件 ParameterSerialPort.cpp 第 105 行定义.
| void CParameterSerialPort::SetFlowControl | ( | const QSerialPort::FlowControl & | newFlowControl | ) | 
在文件 ParameterSerialPort.cpp 第 131 行定义.
| void CParameterSerialPort::SetParity | ( | const QSerialPort::Parity & | newParity | ) | 
在文件 ParameterSerialPort.cpp 第 92 行定义.
| void CParameterSerialPort::SetSerialPort | ( | int | index | ) | 
在文件 ParameterSerialPort.cpp 第 53 行定义.
| void CParameterSerialPort::SetSerialPortName | ( | const QString & | szName | ) | 
在文件 ParameterSerialPort.cpp 第 66 行定义.
| void CParameterSerialPort::SetStopBits | ( | const QSerialPort::StopBits & | newStopBits | ) | 
在文件 ParameterSerialPort.cpp 第 118 行定义.
      
  | 
  private | 
在文件 ParameterSerialPort.h 第 40 行定义.
      
  | 
  private | 
在文件 ParameterSerialPort.h 第 42 行定义.
      
  | 
  private | 
在文件 ParameterSerialPort.h 第 38 行定义.
      
  | 
  private | 
在文件 ParameterSerialPort.h 第 36 行定义.
      
  | 
  private | 
在文件 ParameterSerialPort.h 第 39 行定义.
      
  | 
  private | 
在文件 ParameterSerialPort.h 第 41 行定义.
      
  | 
  private | 
在文件 ParameterSerialPort.h 第 37 行定义.