当前位置: 首页 > news >正文

无锡网络公司可以制作网站甘肃兰州大学

无锡网络公司可以制作网站,甘肃兰州大学,网站开发方案目录,模块化网站建设qt-C笔记之组件-分组框QGroupBox code review! 文章目录 qt-C笔记之组件-分组框QGroupBox1.《Qt 6 C开发指南》p752.《Qt 官方文档》3.《Qt 5.12实战》——5.9 分组框控件 1.《Qt 6 C开发指南》p75 2.《Qt 官方文档》 中间段落翻译#xff1a; 我把示例补充完整#xff1a; …qt-C笔记之组件-分组框QGroupBox code review! 文章目录 qt-C笔记之组件-分组框QGroupBox1.《Qt 6 C开发指南》p752.《Qt 官方文档》3.《Qt 5.12实战》——5.9 分组框控件 1.《Qt 6 C开发指南》p75 2.《Qt 官方文档》 中间段落翻译 我把示例补充完整 #include QApplication #include QWidget #include QGroupBox #include QRadioButton #include QVBoxLayoutint main(int argc, char *argv[]) {QApplication app(argc, argv);QWidget window;window.setWindowTitle(Radio Buttons Example);QGroupBox *groupBox new QGroupBox(QObject::tr(Exclusive Radio Buttons), window);QRadioButton *radio1 new QRadioButton(QObject::tr(Radio button 1), window);QRadioButton *radio2 new QRadioButton(QObject::tr(Radio button 2), window);QRadioButton *radio3 new QRadioButton(QObject::tr(Radio button 3), window);radio1-setChecked(true);QVBoxLayout *vbox new QVBoxLayout;vbox-addWidget(radio1);vbox-addWidget(radio2);vbox-addWidget(radio3);vbox-addStretch(1);groupBox-setLayout(vbox);QVBoxLayout *layout new QVBoxLayout(window);layout-addWidget(groupBox);window.setLayout(layout);window.show();return app.exec(); }组件关系 ------------------------------------------------------- | QWidget (window) | | | | ----------------------------------------------- | | | QVBoxLayout (layout) | | | | | | | | --------------------------------------- | | | | | QGroupBox (groupBox) | | | | | | | | | | | | ------------------------------- | | | | | | | QVBoxLayout (vbox) | | | | | | | | | | | | | | | | | ---------------- | | | | | | | | | | QRadioButton | | | | | | | | | | | (radio1) | | | | | | | | | | ---------------- | | | | | | | | | ---------------- | | | | | | | | | | QRadioButton | | | | | | | | | | | (radio2) | | | | | | | | | | ---------------- | | | | | | | | | ---------------- | | | | | | | | | | QRadioButton | | | | | | | | | | | (radio3) | | | | | | | | | | ---------------- | | | | | | | | | | | | | | | | | | addStretch(1) | | | | | | | | ------------------------------- | | | | | | | | | | ----------------------------------------------- | | | -------------------------------------------------------3.《Qt 5.12实战》——5.9 分组框控件
http://www.zqtcl.cn/news/862072/

相关文章:

  • 有哪些做壁纸的网站好ftp如何备份网站
  • 网站如何推广出去wordpress foopen
  • 网站空格键代码台州椒江网站建设公司
  • node 网站开发 视频教程汉阳网站推广
  • 广西新农村建设工作专题网站怎样创建公司网站
  • 中国十大招商平台谷歌优化软件
  • 做任务领黄钻的网站中国采购网招标公告
  • 网站建设三层架构实训报告德阳市网站建设
  • 有免费建网站opencms wordpress
  • 行业网站做的好的wordpress要有数据库
  • 重庆智能网站建设哪里好怎么在微信做企业网站
  • 甘肃建设局网站丰都网站建设公司
  • 四川建设设计公司网站网站建设好的图片
  • 建设旅游网站的总结做网站链接怎么做
  • 深圳网站建设建设wordpress cms 布局
  • 企业网站的建立必要性公司建网站哪家
  • 自己做的旅游网站 介绍免费的网站推广在线推广
  • 阿里巴巴 网站设计龙华建设网站公司
  • 番禺网站优化手机商城是什么意思
  • 如何做网站关键词wordpress安装卡死
  • word模板免费下载网站山东定制网站建设公司
  • 郑州网站推广排名公司win7上怎样卸载wordpress
  • 科技网站有哪些wordpress代码编辑器件
  • 做英文企业网站多钱钱wordpress调用外链图片
  • 自学网站查分数西双版纳傣族自治州天气
  • 网站建设一个多少钱wordpress朗读句子插件
  • 网站关键词怎么填写找代理商的渠道有哪些
  • 网站开发销售简历范文新建网站网络空间
  • 舟山外贸建站公司制作公司简介
  • 菜鸟是什么网站威海网站建设费用