Skip to content

Latest commit

 

History

History
63 lines (53 loc) · 3.44 KB

README_EN.md

File metadata and controls

63 lines (53 loc) · 3.44 KB

FancyUi - Qt Widget

English | 简体中文

Important Notes

  • Only supports Windows systems
  • Only supports compilation with MSVC compiler
  • Only supports Qt 6
  • MinGW compiler has very poor support for Windows API. Theoretically, it can be used for compilation, but it is highly discouraged.
  • Some code does not use Windows API, supports cross-platform, and some code supports Qt 5. Please test in detail.
  • Future development and updates will be exclusively for Windows systems, with no further consideration for cross-platform support, Python language support, or Qt 5 compatibility.
  • In the future, parts of the code currently using the GPL-3.0 license will be re-implemented. Once completed, this repository will switch to the MIT license.

OpenCV Environment Configuration

Some widgets use the OpenCV library, so you need to configure OpenCV. Detailed steps:

  • Download the OpenCV package (this repository uses the Windows 64-bit version 4.10), and open it as a compressed package (or install it).
  • Copy the include folder from ....package path (or installation path)\opencv\build\ to ....\QtWidget-FancyUI\src\utils\image_utils\OpenCV\.
  • Copy the lib and bin folders from ....package path (or installation path)\opencv\build\x64\vc16\ to ....\QtWidget-FancyUI\src\utils\image_utils\OpenCV\.
  • Add ....\QtWidget-FancyUI\src\utils\image_utils\OpenCV\bin to the system environment variables. If already installed and added, skip this step.

If using the MinGW compiler, you need to compile the OpenCV source code yourself. (Not recommended, too cumbersome)

Features Implemented (see the example folder for details)

  • Light and Dark Theme Switching - Supports automatic switching based on system theme, as well as manual switching
  • Frameless Windows
    • Basic Frameless Window - Only has a close button
    • Simple Frameless Window - Has minimize, maximize, and close buttons
    • Standard Frameless Window - Common window style: icon, window title, minimize, maximize, and close buttons
    • Frosted Glass Window
    • Fully Transparent Window
    • System Color Follow Window
    • Mica Window - Only supports Windows 11
    • Mica Alt Window - Only supports Windows 11
    • Acrylic Window - Only supports Windows 11
    • Microsoft Store Style Window
    • NT-QQ Style Window
    • Adaptive Layout Window - Dynamically adjusts sidebar width based on window size
  • Buttons
    • Fill Animation Button
  • Labels
    • Circular Image Label - High quality without jaggies, circular image display, supports Gaussian blur (requires OpenCV configuration)
  • Material Filters
    • Gaussian Blur Filter - Default effect is acrylic material (requires OpenCV configuration)