You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed enum eXmlMode and added XmlAutoFormatting flag anc XmlCompressionEnabled flag to eConfigFlags. Added support for XML compression for the XML generated by the store function. If enabled then XML the generated XML is not human readable anymore but it needs less space when storing into settings file
Copy file name to clipboardExpand all lines: src/DockManager.h
+7-9Lines changed: 7 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,9 @@ struct DockWidgetTabPrivate;
51
51
structDockAreaWidgetPrivate;
52
52
53
53
/**
54
-
* The central dock manager that maintains the complete docking system
54
+
* The central dock manager that maintains the complete docking system.
55
+
* With the configuration flags you can globally control the functionality
56
+
* of the docking system.
55
57
**/
56
58
classADS_EXPORT CDockManager : public CDockContainerWidget
57
59
{
@@ -108,12 +110,6 @@ class ADS_EXPORT CDockManager : public CDockContainerWidget
108
110
MenuAlphabeticallySorted
109
111
};
110
112
111
-
enum eXmlMode
112
-
{
113
-
XmlAutoFormattingDisabled,
114
-
XmlAutoFormattingEnabled
115
-
};
116
-
117
113
/**
118
114
* These global configuration flags configure some global dock manager
119
115
* settings.
@@ -124,7 +120,9 @@ class ADS_EXPORT CDockManager : public CDockContainerWidget
124
120
DockAreaHasCloseButton = 0x02, //!< If the flag is set each dock area has a close button
125
121
DockAreaCloseButtonClosesTab = 0x04,//!< If the flag is set, the dock area close button closes the active tab, if not set, it closes the complete cock area
126
122
OpaqueSplitterResize = 0x08, //!< See QSplitter::setOpaqueResize() documentation
XmlAutoFormattingEnabled = 0x10,//!< If enabled, the XML writer automatically adds line-breaks and indentation to empty sections between elements (ignorable whitespace).
124
+
XmlCompressionEnabled = 0x20,//!< If enabled, the XML output will be compressed and is not human readable anymore
0 commit comments