Skip to content

Windows Version Is Avaliable!

Latest

Choose a tag to compare

@TheUserWW TheUserWW released this 02 Apr 08:37
· 11 commits to main since this release
407e4b6

1. 程序概述

本程序是一个跨平台的桌面水印工具,主要功能是模拟 Windows 系统的未激活水印提示。程序特点包括:

  • 根据系统语言自动显示对应语言的激活提示
  • 支持多显示器环境
  • 完美复现 Windows 原生水印的视觉效果
  • 低资源占用,不影响其他程序操作

2. 系统要求

最低配置

  • 操作系统:Windows 7/10/11 或 Linux(需安装兼容字体)
  • 内存:100MB 可用
  • 磁盘空间:30MB

推荐配置

  • 操作系统:Windows 10 21H2 或更新版本
  • 屏幕分辨率:1920×1080 或更高
  • DPI 设置:100% 缩放

3. 安装说明

Windows 安装

  1. 下载压缩包并解压
  2. 运行 install.bat(可选,用于创建开始菜单快捷方式)
  3. 直接双击 WindowsWatermark.exe 运行

4. 使用指南

基本使用

直接运行程序即可在所有屏幕右下角显示水印

命令行参数

参数 说明 示例
--lang 强制指定语言代码 --lang=ja
--opacity 设置透明度(0-100) --opacity=70
--position 位置偏移(x,y) --position=50,80
--fontsize 字体大小(px) --fontsize=16

示例命令

WindowsWatermark --lang=fr --opacity=60

5. 功能说明

5.1 多语言支持

程序自动检测系统语言并显示对应提示,目前支持:

语言代码 语言 第一行文本 第二行文本
zh 中文 激活 Windows 转到"设置"以激活 Windows
en 英语 Activate Windows Go to Settings to activate Windows
ja 日语 Windows を有効化 設定に移動して Windows を有効化してください
... ... ... ...

5.2 多显示器支持

自动检测所有连接的显示器,并在每个屏幕的右下角显示水印

5.3 视觉定制

可通过修改 config.ini 文件调整:

[Appearance]
FontName=Microsoft YaHei
FontSize=14
TextColor=120,120,120
Opacity=160
PositionOffset=50,80

6. 技术细节

6.1 实现原理

  1. 使用 Qt 的透明窗口机制创建覆盖层
  2. 通过 QLocale::system() 获取系统语言
  3. 基于屏幕 API 计算水印位置
  4. 使用 GDI 抗锯齿文本渲染

6.2 文件结构

WindowsWatermark/
├── bin/                  # 可执行文件
├── res/                  # 资源文件
│   ├── fonts/            # 字体文件
│   └── translations.ini  # 语言映射文件
├── config.ini            # 用户配置
└── logs/                 # 运行日志

1. Program Overview

This program is a cross-platform desktop watermark tool designed to simulate the Windows system's unactivated watermark prompt. Key features include:

  • Automatically displays activation prompts in the system's language
  • Supports multi-monitor environments
  • Perfectly replicates the visual style of Windows' native watermark
  • Low resource usage, does not interfere with other applications

2. System Requirements

Minimum Requirements

  • OS: Windows 7/10/11 or Linux (requires compatible fonts)
  • RAM: 100MB available
  • Disk space: 30MB

Recommended Requirements

  • OS: Windows 10 21H2 or later
  • Screen resolution: 1920×1080 or higher
  • DPI setting: 100% scaling

3. Installation Instructions

Windows Installation

  1. Download and extract the compressed package
  2. Run install.bat (optional, creates Start Menu shortcut)
  3. Double-click WindowsWatermark.exe to launch

4. User Guide

Basic Usage

Run the program directly to display the watermark in the bottom-right corner of all screens.

Command-Line Arguments

Argument Description Example
--lang Force-set language code --lang=ja
--opacity Set opacity (0-100) --opacity=70
--position Position offset (x,y) --position=50,80
--fontsize Font size (px) --fontsize=16

Example Command

WindowsWatermark --lang=fr --opacity=60  

5. Feature Description

5.1 Multi-Language Support

The program automatically detects the system language and displays the corresponding prompt. Currently supported languages:

Language Code Language Line 1 Text Line 2 Text
zh Chinese 激活 Windows 转到"设置"以激活 Windows
en English Activate Windows Go to Settings to activate Windows
ja Japanese Windows を有効化 設定に移動して Windows を有効化してください
... ... ... ...

5.2 Multi-Monitor Support

Automatically detects all connected displays and shows the watermark in the bottom-right corner of each screen.

5.3 Visual Customization

Adjust settings via config.ini:

[Appearance]  
FontName=Microsoft YaHei  
FontSize=14  
TextColor=120,120,120  
Opacity=160  
PositionOffset=50,80  

6. Technical Details

6.1 Implementation

  1. Uses Qt's transparent window mechanism to create an overlay
  2. Detects system language via QLocale::system()
  3. Calculates watermark position based on screen API
  4. Renders anti-aliased text using GDI

6.2 File Structure

WindowsWatermark/  
├── bin/                  # Executables  
├── res/                  # Resource files  
│   ├── fonts/            # Font files  
│   └── translations.ini  # Language mappings  
├── config.ini            # User configuration  
└── logs/                 # Runtime logs