首页 > 其他 > 详细

How to use Qt Designed Ui file

时间:2018-04-07 17:13:16      阅读:180      评论:0      收藏:0      [点我收藏+]

Ui Designed file

  1. In Working, we can use Qt Designer to designe UI;
  2. Then, use uic -o head.h designe.ui to create ui_header.h file;
  3. When use this Ui, First, include head file, then
namespace Ui {
    class Edit: public Ui_Form {};
} // namespace Ui
    QWidget* wgt = new QWidget(this);
    Ui::Edit* it = new Ui::Edit;
    it->setupUi(wgt);

How to use Qt Designed Ui file

原文:https://www.cnblogs.com/zi-xing/p/8597481.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!