Security level.
More...
#include <Stats.h>
|
| 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) |
| | Triggered when the security level changes.
|
| |
|
| 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) |
| |
Security level.
Definition at line 79 of file Stats.h.
◆ Level
| enum CSecurityLevel::Level |
◆ CSecurityLevel()
| CSecurityLevel::CSecurityLevel |
( |
Levels |
level = Level::No, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
◆ ~CSecurityLevel()
| CSecurityLevel::~CSecurityLevel |
( |
| ) |
|
◆ GetColor() [1/2]
| QColor CSecurityLevel::GetColor |
( |
| ) |
const |
|
virtual |
◆ GetColor() [2/2]
| QColor CSecurityLevel::GetColor |
( |
const Levels & |
level | ) |
|
|
static |
◆ GetIcon() [1/2]
| QIcon CSecurityLevel::GetIcon |
( |
| ) |
const |
|
virtual |
◆ GetIcon() [2/2]
| QIcon CSecurityLevel::GetIcon |
( |
const Levels & |
level | ) |
|
|
static |
◆ GetLevel()
| CSecurityLevel::Levels CSecurityLevel::GetLevel |
( |
| ) |
const |
|
virtual |
◆ GetString() [1/2]
| QString CSecurityLevel::GetString |
( |
| ) |
const |
|
virtual |
◆ GetString() [2/2]
| QString CSecurityLevel::GetString |
( |
const Levels & |
level | ) |
|
|
static |
◆ GetUnicodeIcon() [1/2]
| QString CSecurityLevel::GetUnicodeIcon |
( |
| ) |
const |
|
virtual |
◆ GetUnicodeIcon() [2/2]
| QString CSecurityLevel::GetUnicodeIcon |
( |
const Levels & |
level | ) |
|
|
static |
COperate::GetSecurityLevelUnicodeIcon.
- Parameters
-
- Returns
| 符号 | Unicode 编码 | 说明 | 含义 |
| 🔓 | U+1F513 | 开锁 | 未加密、无保护 |
| 🔐 | U+1F510 | 带钥匙的锁(关闭) | 安全(有保护) |
| 🔒 | U+1F512 | 闭锁 | 安全(已锁定) |
| 🔏 | U+1F50F | 带笔的锁 | 隐私模式 |
| ⚠ | U+26A0 | 警告 | 不安全警告 |
| ❌ | U+274C | 红叉 | 错误、不安全 |
| 🛡 | U+1F6E1 | 盾牌 | 有保护(安全) |
| 🔴 | U+1F534 | 红圈 | 危险、警告 |
| 🟡 | U+1F7E1 | 黄圈 | 注意、谨慎 |
| 🟢 | U+1F7E2 | 绿圈 | 安全 |
Definition at line 223 of file Stats.cpp.
◆ m_Level
| Levels CSecurityLevel::m_Level |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Src/ParameterCompone/Stats.h
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Src/ParameterCompone/Stats.cpp