Utils::DetailsWidget Class
class Utils::DetailsWidgetDetailsWidget 类实现了一个用于展开“详细信息”区域的按钮。更多内容...
| Header: | #include <DetailsWidget> |
公共函数
| QString | additionalSummaryText() const |
| bool | isChecked() const |
| void | setAdditionalSummaryText(const QString &text) |
| void | setChecked(bool b) |
| void | setState(Utils::DetailsWidget::State state) |
| void | setSummaryText(const QString &text) |
| void | setUseCheckBox(bool b) |
| Utils::DetailsWidget::State | state() const |
| QString | summaryText() const |
| bool | useCheckBox() |
详细说明
此控件采用网格布局,并按以下方式排列项目:
+------------+-------------------------+---------------+ +summaryLabel| toolwidget | detailsButton | +------------+-------------------------+---------------+ + additional summary | +------------+-------------------------+---------------+ | widget | +------------+-------------------------+---------------+
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.