摘要: 一、简介 anchors 提供了一种方式,让你可以通过指定一个元素与其他元素的关系来确定元素在界面中的位置,即锚布局。 你可以想象一下,每个 Item 都有 7 条不可见的辅线:左(left)、水平中心(horizontalCenter)、 上(top)、下(bottom)、右(right)、垂直中 阅读全文
posted @ 2020-08-18 18:01 fengMisaka 阅读(2513) 评论(0) 推荐(1) 编辑
摘要: 一、简介 Button 是很常见的控件,Qt 助手的说明如下(参考 Button QML Type): Button QML Type Push-button that can be clicked to perform a command or answer a question. More... 阅读全文
posted @ 2020-08-18 16:26 fengMisaka 阅读(10746) 评论(2) 推荐(1) 编辑