Sur cette page

Utils::DetailsWidget Class

class Utils::DetailsWidget

La classe DetailsWidget implémente un bouton permettant de développer la zone « Détails ». En savoir plus…

Header: #include <DetailsWidget>

Fonctions publiques

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()

Description détaillée

Ce widget utilise une disposition en grille et place les éléments de la manière suivante :

+------------+-------------------------+---------------+
+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.