GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - FlyWM/ShadowWidget: 基于Qt5的去掉标题栏之后添加边框阴影的解决方案

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
samples
samples
 
 
.gitattributes
.gitattributes
 
 
DrawBorderPixmapWidget.cpp
DrawBorderPixmapWidget.cpp
 
 
DrawBorderPixmapWidget.h
DrawBorderPixmapWidget.h
 
 
MakePixmapWidget.cpp
MakePixmapWidget.cpp
 
 
MakePixmapWidget.h
MakePixmapWidget.h
 
 
NoShadowWidget.cpp
NoShadowWidget.cpp
 
 
NoShadowWidget.h
NoShadowWidget.h
 
 
README.md
README.md
 
 
ShadowEffectWidget.cpp
ShadowEffectWidget.cpp
 
 
ShadowEffectWidget.h
ShadowEffectWidget.h
 
 
ShadowWidget.pro
ShadowWidget.pro
 
 
ShadowWidget.pro.user
ShadowWidget.pro.user
 
 
ShadowWidget.pro.user.4.8-pre1
ShadowWidget.pro.user.4.8-pre1
 
 
WinAPIShadowWidget.cpp
WinAPIShadowWidget.cpp
 
 
WinAPIShadowWidget.h
WinAPIShadowWidget.h
 
 
WindWMAPI.cpp
WindWMAPI.cpp
 
 
WindWMAPI.h
WindWMAPI.h
 
 
client-shadow.png
client-shadow.png
 
 
img.qrc
img.qrc
 
 
main.cpp
main.cpp
 
 

Repository files navigation

ShadowWidget

基于Qt5的去掉标题栏之后添加边框阴影的解决方案

调用Windows相关API

image

使用Qt的QGraphicsDropShadowEffect类来实现

image

使用Qt的qDrawBorderPixmap函数来实现

image

构造出边框阴影QImage并绘制

image

About

基于Qt5的去掉标题栏之后添加边框阴影的解决方案

Resources

Readme
Activity

Stars

50 stars

Watchers

2 watching

Forks

10 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.