关于窗体透明,经常遇到,网上的资料倒不少,也不知道写的时候是否验证过,很多都不正确。。。今天就在此一一阐述! 以下各效果是利用以前写过的一个小程序作为示例进行讲解!(代码过多,贴主要部分) 正常状态 效果如下: 这部分代码就不贴了(主要讨论透明效果)。 一、全透明 setWindowOpacity( Read More
posted @ 2016-10-29 00:06 findumars Views(34674) Comments(0) Diggs(1)
经常使用命令行来查看一些计算机的配置信息。 1.首先按住键盘上的“开始键+R键”,然后在弹出的对话框中输入“CMD”,回车 另外,还可以依次点击 开始>所有程序>附件>命令提示符 2.接下来在弹出的命令提示符窗口中输入“ipconfig /all”并按键盘上的回车,(注:ipconfig 命令为查看 Read More
posted @ 2016-10-28 23:42 findumars Views(8794) Comments(0) Diggs(0)
源码 通过函数setCompositionMode()的参数传递QPainter::CompositionMode_DestinationOver常量值,目标(Destination)的Alpha值被标记到源(Source)像素。 http://blog.csdn.net/u011012932/ar Read More
posted @ 2016-10-28 22:33 findumars Views(754) Comments(0) Diggs(0)
http://blog.csdn.net/u011012932/article/details/51614868 Read More
posted @ 2016-10-28 22:31 findumars Views(2411) Comments(0) Diggs(0)
http://blog.csdn.net/u011012932/article/details/52943811 Read More
posted @ 2016-10-28 22:16 findumars Views(950) Comments(0) Diggs(0)