哈哈,写了一个全新的导航布局,具体内容还没有完成,现在先把整个布局的屏幕划分分享出来

先看效果图

身下也没有好说的,看代码

/*
作者:张建伟
时间:2018年4月3日
简述:该文件为下显主窗口布局文件
*/
importQtQuick2.9
importQtQuick.Window2.2
importCore1.0
Window{
visible:true
width:2560
height:1024
color:"#000000"
title:qsTr("HelloWorld")

DownDisPlay
{
id:m_Core

onSignal_Text_Color:
{
switch(fid)
{
case0:
m_Title_Rect.color=data
break;
case2:
m_Main_Center_Rect.color=data
break;
case3:
m_Left_Second_Rect.color=data
break;
case4:
m_Right_Second_Rect.color=data
break;
case5:
m_Left_Child_Rect_1.color=data
break;
case6:
m_Left_Child_Rect_2.color=data
break;
case7:
m_Right_Child_Rect_1.color=data
break;
case8:
m_Right_Child_Rect_2.color=data
break;
case9:

break;
}


}

}



Rectangle//状态栏显示区域
{
id:m_Title_Rect
width:2560
height:128
color:"#FF0000"

Text{
font.pixelSize:25
font.family:"微软雅黑"
anchors.centerIn:parent
text:qsTr("状态栏")
}

MouseArea
{
anchors.fill:parent
onClicked:{
m_Core.slot_Start_timer()
}
}

}

Rectangle//主显示窗口
{
id:m_Main_Center_Rect
width:1280
height:896
color:"#FFFFFF"
anchors.horizontalCenter:parent.horizontalCenter
anchors.bottom:parent.bottom

Text{
font.pixelSize:25
font.family:"微软雅黑"
anchors.centerIn:parent
text:qsTr("中心显示区域")
}
}

Rectangle//左侧次显示区域
{
id:m_Left_Second_Rect
width:640
height:640
anchors.left:parent.left
anchors.top:m_Title_Rect.bottom

Text{
font.pixelSize:25
font.family:"微软雅黑"
anchors.centerIn:parent
text:qsTr("左侧次显示区域")
}

}


Rectangle//右侧次显示区域
{
id:m_Right_Second_Rect
width:640
height:640
anchors.right:parent.right
anchors.top:m_Title_Rect.bottom
Text{
font.pixelSize:25
font.family:"微软雅黑"
anchors.centerIn:parent
text:qsTr("右侧次显示区域")
}
}

Row{

anchors.left:parent.left
anchors.bottom:parent.bottom
spacing:0
Rectangle
{
id:m_Left_Child_Rect_1
width:320
height:256
Text{
font.pixelSize:25
font.family:"微软雅黑"
anchors.centerIn:parent
text:qsTr("子左一")
}
}
Rectangle
{
id:m_Left_Child_Rect_2
width:320
height:256
Text{
font.pixelSize:25
font.family:"微软雅黑"
anchors.centerIn:parent
text:qsTr("子左二")
}
}
}
Row{

anchors.right:parent.right
anchors.bottom:parent.bottom
spacing:0
Rectangle
{
id:m_Right_Child_Rect_1
width:320
height:256
Text{
font.pixelSize:25
font.family:"微软雅黑"
anchors.centerIn:parent
text:qsTr("子右一")
}
}
Rectangle
{
id:m_Right_Child_Rect_2
width:320
height:256
Text{
font.pixelSize:25
font.family:"微软雅黑"
anchors.centerIn:parent
text:qsTr("子右二")
}
}
}






}

最新文章

  1. 提高(Android)开发效率的工具与网站
  2. 更改MyEclipse 之 jsp、js、java、xml文件字体大小设置
  3. 设置JSP不做浏览器缓存
  4. ruby 字符串学习笔记1
  5. div滚动到页面顶端后固定住
  6. Struts2接收checkbox的值
  7. [转]Android 使用Scroller实现绚丽的ListView左右滑动删除Item效果
  8. PHP连接Microsoft SQL Server 2005/2008
  9. 进入MFC讲坛的前言(五)
  10. java_tomcat_the_APR based Apache Tomcat 小喵咪死活启动报错_临时方案
  11. 关于react-redux中的connect函数
  12. VxWorks 引导程序
  13. DDD实战进阶第一波(一):开发一般业务的大健康行业直销系统(概述)
  14. css过渡
  15. 开源搜素引擎:Lucene、Solr、Elasticsearch、Sphinx优劣势比较
  16. jenkins配置QQ邮箱自动发送RF测试构建结果通知邮件
  17. 树和二叉树->基础知识
  18. 【Ansible 文档】配置
  19. Docker K8s基本概念入门
  20. oracle改变表中列的编码

热门文章

  1. CSU - 2031 Barareh on Fire (两层bfs)
  2. HDU 1275 两车追及或相遇问题(相遇和追及公式)
  3. 流Stream 文件File 流IO
  4. GoBelieve,IMSDK android版开发环境问题
  5. ObjC之RunTime(下)
  6. Epub 阅读器 - iOS
  7. SQLMAP注入常见用法
  8. ORA-00911: 无效字符 问题和解决
  9. 04JavaScript语法
  10. CASE WHEN 批量更新