author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Wed, 18 Aug 2010 10:37:55 +0300 | |
changeset 33 | 3e2da88830cd |
parent 18 | 2f34d5167611 |
permissions | -rw-r--r-- |
0 | 1 |
/**************************************************************************** |
2 |
** |
|
18
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
3 |
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
0 | 4 |
** All rights reserved. |
5 |
** Contact: Nokia Corporation (qt-info@nokia.com) |
|
6 |
** |
|
7 |
** This file is part of the documentation of the Qt Toolkit. |
|
8 |
** |
|
33
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
9 |
** $QT_BEGIN_LICENSE:FDL$ |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
10 |
** Commercial Usage |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
11 |
** Licensees holding valid Qt Commercial licenses may use this file in |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
12 |
** accordance with the Qt Commercial License Agreement provided with the |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
13 |
** Software or, alternatively, in accordance with the terms contained in a |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
14 |
** written agreement between you and Nokia. |
0 | 15 |
** |
33
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
16 |
** GNU Free Documentation License |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
17 |
** Alternatively, this file may be used under the terms of the GNU Free |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
18 |
** Documentation License version 1.3 as published by the Free Software |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
19 |
** Foundation and appearing in the file included in the packaging of this |
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
20 |
** file. |
0 | 21 |
** |
22 |
** If you have questions regarding the use of this file, please contact |
|
23 |
** Nokia at qt-info@nokia.com. |
|
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 |
*/ |