1/**************************************************************************** 2** 3** Copyright (C) 2015 The Qt Company Ltd. 4** Contact: http://www.qt.io/licensing/ 5** 6** This file is part of the documentation of the Qt Toolkit. 7** 8** $QT_BEGIN_LICENSE:FDL$ 9** Commercial License Usage 10** Licensees holding valid commercial Qt licenses may use this file in 11** accordance with the commercial license agreement provided with the 12** Software or, alternatively, in accordance with the terms contained in 13** a written agreement between you and The Qt Company. For licensing terms 14** and conditions see http://www.qt.io/terms-conditions. For further 15** information use the contact form at http://www.qt.io/contact-us. 16** 17** GNU Free Documentation License Usage 18** Alternatively, this file may be used under the terms of the GNU Free 19** Documentation License version 1.3 as published by the Free Software 20** Foundation and appearing in the file included in the packaging of 21** this file. Please review the following information to ensure 22** the GNU Free Documentation License version 1.3 requirements 23** will be met: http://www.gnu.org/copyleft/fdl.html. 24** $QT_END_LICENSE$ 25** 26****************************************************************************/ 27 28/*! 29 \class QDesignerDynamicPropertySheetExtension 30 31 \brief The QDesignerDynamicPropertySheetExtension class allows you to 32 manipulate a widget's dynamic properties in Qt Designer's property editor. 33 34 \sa QDesignerPropertySheetExtension, {QObject#Dynamic Properties}{Dynamic Properties} 35 36 \inmodule QtDesigner 37 \since 4.3 38*/ 39 40/*! 41 \fn QDesignerDynamicPropertySheetExtension::~QDesignerDynamicPropertySheetExtension() 42 43 Destroys the dynamic property sheet extension. 44*/ 45 46/*! 47 \fn bool QDesignerDynamicPropertySheetExtension::dynamicPropertiesAllowed() const 48 49 Returns true if the widget supports dynamic properties; otherwise returns false. 50*/ 51 52/*! 53 \fn int QDesignerDynamicPropertySheetExtension::addDynamicProperty(const QString &propertyName, const QVariant &value) 54 55 Adds a dynamic property named \a propertyName and sets its value to \a value. 56 Returns the index of the property if it was added successfully; otherwise returns -1 to 57 indicate failure. 58*/ 59 60/*! 61 \fn bool QDesignerDynamicPropertySheetExtension::removeDynamicProperty(int index) 62 63 Removes the dynamic property at the given \a index. 64 Returns true if the operation succeeds; otherwise returns false. 65*/ 66 67/*! 68 \fn bool QDesignerDynamicPropertySheetExtension::isDynamicProperty(int index) const 69 70 Returns true if the property at the given \a index is a dynamic property; otherwise 71 returns false. 72*/ 73 74/*! 75 \fn bool QDesignerDynamicPropertySheetExtension::canAddDynamicProperty(const QString &propertyName) const 76 77 Returns true if \a propertyName is a valid, unique name for a dynamic 78 property; otherwise returns false. 79 80*/ 81