File tree 3 files changed +25
-4
lines changed
3 files changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -329,3 +329,4 @@ DOT_MULTI_TARGETS = NO
329
329
GENERATE_LEGEND = YES
330
330
DOT_CLEANUP = NO
331
331
DOT_MAX_FOLD = 17
332
+ DOT_UML_DETAILS = NO
Original file line number Diff line number Diff line change @@ -3665,6 +3665,14 @@ remove the intermediate dot files that are used to generate the various graphs.
3665
3665
<docs >
3666
3666
<![CDATA[
3667
3667
The \c DOT_MAX_FOLD tag can be used to set the length to fold text of dot graphs.
3668
+ ]]>
3669
+ </docs >
3670
+ </option >
3671
+ <option type =' bool' id =' DOT_UML_DETAILS' defval =' 0' depends =' HAVE_DOT' >
3672
+ <docs >
3673
+ <![CDATA[
3674
+ If the \c DOT_UML_DETAILS tag is set to \c YES, doxygen will
3675
+ add details in the uml graphs.
3668
3676
]]>
3669
3677
</docs >
3670
3678
</option >
Original file line number Diff line number Diff line change @@ -148,11 +148,23 @@ static void writeBoxMemberList(FTextStream &t,
148
148
else
149
149
{
150
150
t << prot << " " ;
151
- t << DotNode::convertLabel (mma->typeString ());
152
- t << " " ;
151
+ if (Config_getBool (DOT_UML_DETAILS))
152
+ {
153
+ t << DotNode::convertLabel (mma->typeString ());
154
+ t << " " ;
155
+ }
153
156
t << DotNode::convertLabel (mma->name ());
154
- if (!mma->isObjCMethod () &&
155
- (mma->isFunction () || mma->isSlot () || mma->isSignal ())) t << DotNode::convertLabel (mma->argsString ());
157
+ if (!mma->isObjCMethod () && (mma->isFunction () || mma->isSlot () || mma->isSignal ()))
158
+ {
159
+ if (Config_getBool (DOT_UML_DETAILS))
160
+ {
161
+ t << DotNode::convertLabel (mma->argsString ());
162
+ }
163
+ else
164
+ {
165
+ t << " ()" ;
166
+ }
167
+ }
156
168
t << " \\ l" ;
157
169
count++;
158
170
}
You can’t perform that action at this time.
0 commit comments