上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: 1 、setContentsMargins 该函数用于设置窗口客户区中,四周空白边框的尺寸 , 类似于 word 中的 页边距设置2、canonical Path 返回文件路径的规范路径 , 也就是不包含 .. 和 . 等相对引用符号的绝对路径 阅读全文
posted @ 2013-07-07 10:55 wowk 阅读(530) 评论(0) 推荐(0) 编辑
摘要: http://cxxsoft.blog.51cto.com/1350418/1241251 阅读全文
posted @ 2013-07-07 10:28 wowk 阅读(191) 评论(0) 推荐(0) 编辑
摘要: http://devbean.blog.51cto.com/448512/238168/ 阅读全文
posted @ 2013-07-05 22:53 wowk 阅读(594) 评论(0) 推荐(0) 编辑
摘要: http://zh.wikipedia.org/wiki/Wayland 阅读全文
posted @ 2013-07-05 22:50 wowk 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 在Qt程序中获取窗口位置的函数有 geometry() , frameGeometry() , pos() ,x() , y()等下面来看看这些函数的区别还有另外两个函数 size() 和 rect() , 这俩函数和 geometry() 一样,都是返回的 窗口 客户区 的 位置信息注意 : 当窗口时是无边框窗口的时候 , frameGeometry() 和 geometry() 返回相同的值 阅读全文
posted @ 2013-07-05 20:13 wowk 阅读(1391) 评论(0) 推荐(0) 编辑
摘要: 在Qt中,设置窗口背景色有多种方法,如通过setStyleSheet 和 调色板 setPalette 等下面是setPalette 方法1 QPalette pale = palette();2 pale.setColor(QPalette::Window,color);3 setPalette(pale);另外 , 设置QLabel 的窗口背景色的时候,要设置setAutoFillBackground(true);设置窗口部件的字体颜色时,可以使用 如下方法QPalette palette = palette();palette.setColor(QPalette::WindowT... 阅读全文
posted @ 2013-07-05 19:46 wowk 阅读(3207) 评论(0) 推荐(0) 编辑
摘要: http://davidzhao.blog.51cto.com/4548102/1225732 阅读全文
posted @ 2013-07-03 15:45 wowk 阅读(197) 评论(0) 推荐(0) 编辑
摘要: http://developer.51cto.com/art/201208/354658.htm 阅读全文
posted @ 2013-07-03 15:42 wowk 阅读(162) 评论(0) 推荐(0) 编辑
摘要: http://developer.51cto.com/art/201209/355511.htm 阅读全文
posted @ 2013-07-03 15:41 wowk 阅读(180) 评论(0) 推荐(0) 编辑
摘要: http://developer.51cto.com/art/201209/355475.htm 阅读全文
posted @ 2013-07-03 15:39 wowk 阅读(146) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页