| 
| 
  | 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) | 
|   | 
| 
  | CParameterTerminalBase (CParameterOperate *parent=nullptr, const QString &szPrefix=QString()) | 
|   | 
| QStringList  | GetCommands () const | 
|   | 
| void  | SetCommands (const QStringList &cmd) | 
|   | 
| 
  | 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) | 
|   | 
|   | 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 () | 
|   | Check whether the parameter is valid to decide whether to use or save the parameter.  
  | 
|   | 
 | 
| virtual int  | OnLoad (QSettings &set) override | 
|   | 
| virtual int  | OnSave (QSettings &set) override | 
|   | 
| QByteArray  | PasswordSum (const std::string &password, const std::string &key) | 
|   | 
| virtual bool  | OnCheckValidity () | 
|   | Check validity.  
  | 
|   | 
| int  | SetModified (bool bModified=true) | 
|   | When setting parameters, if there is a modification, it is called.  
  | 
|   | 
| bool  | GetModified () | 
|   | Whether the parameters have been modified.  
  | 
|   | 
Definition at line 8 of file ParameterSerialPort.h.
 
◆ GetBaudRate()
      
        
          | qint32 CParameterSerialPort::GetBaudRate  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ GetDataBits()
      
        
          | QSerialPort::DataBits CParameterSerialPort::GetDataBits  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ GetFlowControl()
      
        
          | QSerialPort::FlowControl CParameterSerialPort::GetFlowControl  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ GetParity()
      
        
          | QSerialPort::Parity CParameterSerialPort::GetParity  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ GetSerialPort()
      
        
          | int CParameterSerialPort::GetSerialPort  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ GetSerialPortName()
      
        
          | const QString CParameterSerialPort::GetSerialPortName  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ GetStopBits()
      
        
          | QSerialPort::StopBits CParameterSerialPort::GetStopBits  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ OnLoad()
  
  
      
        
          | int CParameterSerialPort::OnLoad  | 
          ( | 
          QSettings &  | 
          set | ) | 
           | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
 
◆ OnSave()
  
  
      
        
          | int CParameterSerialPort::OnSave  | 
          ( | 
          QSettings &  | 
          set | ) | 
           | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
 
◆ SetBaudRate()
      
        
          | void CParameterSerialPort::SetBaudRate  | 
          ( | 
          qint32  | 
          rate | ) | 
           | 
        
      
 
 
◆ SetDataBits()
      
        
          | void CParameterSerialPort::SetDataBits  | 
          ( | 
          const QSerialPort::DataBits &  | 
          newDataBits | ) | 
           | 
        
      
 
 
◆ SetFlowControl()
      
        
          | void CParameterSerialPort::SetFlowControl  | 
          ( | 
          const QSerialPort::FlowControl &  | 
          newFlowControl | ) | 
           | 
        
      
 
 
◆ SetParity()
      
        
          | void CParameterSerialPort::SetParity  | 
          ( | 
          const QSerialPort::Parity &  | 
          newParity | ) | 
           | 
        
      
 
 
◆ SetSerialPort()
      
        
          | void CParameterSerialPort::SetSerialPort  | 
          ( | 
          int  | 
          index | ) | 
           | 
        
      
 
 
◆ SetSerialPortName()
      
        
          | void CParameterSerialPort::SetSerialPortName  | 
          ( | 
          const QString &  | 
          szName | ) | 
           | 
        
      
 
 
◆ SetStopBits()
      
        
          | void CParameterSerialPort::SetStopBits  | 
          ( | 
          const QSerialPort::StopBits &  | 
          newStopBits | ) | 
           | 
        
      
 
 
◆ m_DataBits
  
  
      
        
          | QSerialPort::DataBits CParameterSerialPort::m_DataBits | 
         
       
   | 
  
private   | 
  
 
 
◆ m_FlowControl
  
  
      
        
          | QSerialPort::FlowControl CParameterSerialPort::m_FlowControl | 
         
       
   | 
  
private   | 
  
 
 
◆ m_nBaudRate
  
  
      
        
          | qint32 CParameterSerialPort::m_nBaudRate | 
         
       
   | 
  
private   | 
  
 
 
◆ m_nSerialPort
  
  
      
        
          | int CParameterSerialPort::m_nSerialPort | 
         
       
   | 
  
private   | 
  
 
 
◆ m_Parity
  
  
      
        
          | QSerialPort::Parity CParameterSerialPort::m_Parity | 
         
       
   | 
  
private   | 
  
 
 
◆ m_StopBits
  
  
      
        
          | QSerialPort::StopBits CParameterSerialPort::m_StopBits | 
         
       
   | 
  
private   | 
  
 
 
◆ m_szSerialPortName
  
  
      
        
          | QString CParameterSerialPort::m_szSerialPortName | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following files: