【问题标题】:What type of qWidget is the qtcreator design mode?qtcreator设计模式是什么类型的qWidget?
【发布时间】:2019-02-22 12:44:55
【问题描述】:

我在 Qt 中看到过 toolBox 小部件,但我正在寻找类似于 qtCreator 设计模式(下图)的东西,它具有过滤器(按名称搜索)和打开/关闭部分。是否有任何类似的小部件或者它是自定义/继承的小部件?

【问题讨论】:

  • 您需要“升级”工具箱。例如,将 qlineedit 用于过滤器并对其进行编程(连接信号等...)
  • 你可以看一下qtcreator源码git clone --recursive https://code.qt.io/qt-creator/qt-creator.git

标签: qt qt-creator qwidget


【解决方案1】:

这是 WidgetBoxWidgetBoxTreeWidget,可在 qttools 存储库的 Designer 源代码中找到:

https://github.com/qt/qttools/tree/dev/src/designer/src/components/widgetbox

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-07-11
    • 2011-03-01
    • 2010-09-27
    • 1970-01-01
    相关资源
    最近更新 更多