Adapt the visibility settings for all properties

This commit is contained in:
Alexander Bock
2023-04-15 09:33:31 +02:00
committed by GitHub
parent 1ef6cb0c02
commit ca916877b2
152 changed files with 2098 additions and 894 deletions
+8 -4
View File
@@ -55,26 +55,30 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo EnabledInfo = {
"Enabled",
"Is Enabled",
"This setting determines whether this object will be visible or not"
"This setting determines whether this object will be visible or not",
openspace::properties::Property::Visibility::Developer
};
constexpr openspace::properties::Property::PropertyInfo CollapsedInfo = {
"Collapsed",
"Is Collapsed",
"This setting determines whether this window is collapsed or not"
"This setting determines whether this window is collapsed or not",
openspace::properties::Property::Visibility::Developer
};
constexpr openspace::properties::Property::PropertyInfo ShowHelpInfo = {
"ShowHelpText",
"Show tooltip help",
"If this value is enabled these kinds of tooltips are shown for most properties "
"explaining what impact they have on the visuals"
"explaining what impact they have on the visuals",
openspace::properties::Property::Visibility::Developer
};
constexpr openspace::properties::Property::PropertyInfo HelpTextDelayInfo = {
"HelpTextDelay",
"Tooltip Delay (in s)",
"This value determines the delay in seconds after which the tooltip is shown"
"This value determines the delay in seconds after which the tooltip is shown",
openspace::properties::Property::Visibility::Developer
};
} // namespace
+6 -2
View File
@@ -28,13 +28,17 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo EnabledInfo = {
"Enabled",
"Is Enabled",
"This setting determines whether this object will be visible or not"
"This setting determines whether this object will be visible or not",
// @VISIBILITY(3.4)
openspace::properties::Property::Visibility::AdvancedUser
};
constexpr openspace::properties::Property::PropertyInfo CollapsedInfo = {
"Collapsed",
"Is Collapsed",
"This setting determines whether this window is collapsed or not"
"This setting determines whether this window is collapsed or not",
// @VISIBILITY(3.4)
openspace::properties::Property::Visibility::AdvancedUser
};
} // namespace
+6 -2
View File
@@ -42,7 +42,9 @@ namespace {
"Use Tree Layout",
"If this value is checked, this component will display the properties using a "
"tree layout, rather than using a flat map. This value should only be set on "
"property windows that display SceneGraphNodes, or the application might crash"
"property windows that display SceneGraphNodes, or the application might crash",
// @VISIBILITY(3.67)
openspace::properties::Property::Visibility::AdvancedUser
};
constexpr openspace::properties::Property::PropertyInfo OrderingInfo = {
@@ -50,7 +52,9 @@ namespace {
"Tree Ordering",
"This list determines the order of the first tree layer if it is used. Elements "
"present in this list will be shown first, with an alphabetical ordering for "
"elements not listed"
"elements not listed",
// @VISIBILITY(3.67)
openspace::properties::Property::Visibility::AdvancedUser
};
int nVisibleProperties(const std::vector<openspace::properties::Property*>& props)