1 Star 1 Fork 1

toby20130333 / QMLTipSView

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
DDuiShadowBg.qml 902 Bytes
一键复制 编辑 原始数据 按行查看 历史
toby20130333 提交于 2015-07-27 11:34 . add new qml
import QtQuick 2.0
import QtGraphicalEffects 1.0
Rectangle {
//鏈€搴曞眰閫忔槑鍥惧眰
width: 480;
height: 680;
color: "transparent"
property int listViewActive: 0
Item {
//涓讳綋绐楀彛
id: container;
anchors.centerIn: parent;
width: parent.width;
height: parent.height;
Rectangle {
id: mainRect
width: container.width-(2*rectShadow.radius);
height: container.height - (2*rectShadow.radius);
anchors.centerIn: parent;
//浠ヤ笅鐪佺暐
}
}
DropShadow {//缁樺埗闃村奖
id: rectShadow;
anchors.fill: source
cached: true;
horizontalOffset: 0;
verticalOffset: 3;
radius: 8.0;
samples: 16;
color: "#80000000";
smooth: true;
source: container;
}
}
C++
1
https://gitee.com/duoduozhijiao/QMLTipSView.git
git@gitee.com:duoduozhijiao/QMLTipSView.git
duoduozhijiao
QMLTipSView
QMLTipSView
master

搜索帮助