玉兔远程控制 0.1.0-bate8
载入中...
搜索中...
未找到
Public 类型 | 信号 | Public 成员函数 | 静态 Public 成员函数 | Private 属性 | 所有成员列表
CSecurityLevel类 参考

安全级别 更多...

#include <Stats.h>

类 CSecurityLevel 继承关系图:
Inheritance graph
[图例]
CSecurityLevel 的协作图:
Collaboration graph
[图例]

Public 类型

enum  Level {
  No = 0x8000 , Risk = 0x00 , Authentication = 0x01 , SecureChannel = 0x02 ,
  Proxy = 0x04 , Gateway = 0x08 , Redirect = 0x010 , SecureMask = Authentication | SecureChannel ,
  NormalMask = Proxy | Gateway | Redirect , RiskyMask = ~SecureMask
}
 

信号

void sigSecurityLevel (Levels level)
 当安全级别改变时触发
 

Public 成员函数

 CSecurityLevel (Levels level=Level::No, QObject *parent=nullptr)
 
virtual Levels GetLevel () const
 
virtual QString GetString () const
 
virtual QColor GetColor () const
 
virtual QString GetUnicodeIcon () const
 
virtual QIcon GetIcon () const
 

静态 Public 成员函数

static QString GetString (const Levels &level)
 
static QString GetUnicodeIcon (const Levels &level)
 COperate::GetSecurityLevelUnicodeIcon
 
static QIcon GetIcon (const Levels &level)
 
static QColor GetColor (const Levels &level)
 

Private 属性

Levels m_Level
 

详细描述

安全级别

在文件 Stats.h79 行定义.

成员枚举类型说明

◆ Level

enum CSecurityLevel::Level

在文件 Stats.h83 行定义.

构造及析构函数说明

◆ CSecurityLevel()

CSecurityLevel::CSecurityLevel ( Levels  level = Level::No,
QObject *  parent = nullptr 
)

在文件 Stats.cpp125 行定义.

◆ ~CSecurityLevel()

CSecurityLevel::~CSecurityLevel ( )

在文件 Stats.cpp131 行定义.

成员函数说明

◆ GetColor() [1/2]

QColor CSecurityLevel::GetColor ( ) const
virtual

在文件 Stats.cpp144 行定义.

◆ GetColor() [2/2]

QColor CSecurityLevel::GetColor ( const Levels &  level)
static

在文件 Stats.cpp240 行定义.

◆ GetIcon() [1/2]

QIcon CSecurityLevel::GetIcon ( ) const
virtual

在文件 Stats.cpp154 行定义.

◆ GetIcon() [2/2]

QIcon CSecurityLevel::GetIcon ( const Levels &  level)
static

在文件 Stats.cpp251 行定义.

◆ GetLevel()

CSecurityLevel::Levels CSecurityLevel::GetLevel ( ) const
virtual

在文件 Stats.cpp134 行定义.

◆ GetString() [1/2]

QString CSecurityLevel::GetString ( ) const
virtual

在文件 Stats.cpp139 行定义.

◆ GetString() [2/2]

QString CSecurityLevel::GetString ( const Levels &  level)
static

在文件 Stats.cpp159 行定义.

◆ GetUnicodeIcon() [1/2]

QString CSecurityLevel::GetUnicodeIcon ( ) const
virtual

在文件 Stats.cpp149 行定义.

◆ GetUnicodeIcon() [2/2]

QString CSecurityLevel::GetUnicodeIcon ( const Levels &  level)
static

COperate::GetSecurityLevelUnicodeIcon

参数
level
返回
符号  Unicode 编码 说明 含义
🔓 U+1F513 开锁 未加密、无保护
🔐 U+1F510 带钥匙的锁(关闭) 安全(有保护)
🔒 U+1F512 闭锁 安全(已锁定)
🔏 U+1F50F 带笔的锁 隐私模式
U+26A0 警告 不安全警告
U+274C 红叉 错误、不安全
🛡 U+1F6E1 盾牌 有保护(安全)
🔴 U+1F534 红圈 危险、警告
🟡 U+1F7E1 黄圈 注意、谨慎
🟢 U+1F7E2 绿圈 安全

在文件 Stats.cpp223 行定义.

类成员变量说明

◆ m_Level

Levels CSecurityLevel::m_Level
private

在文件 Stats.h121 行定义.


该类的文档由以下文件生成: