Skip to content
Snippets Groups Projects
Commit 0d5c8990 authored by Mikhail Svechnikov's avatar Mikhail Svechnikov Committed by Mikhail Svechnikov
Browse files

unify method descriptions in catalogs

parent f1c2b0f9
No related branches found
No related tags found
1 merge request!1226GUI: minor improvements from i373
Showing with 12 additions and 53 deletions
......@@ -35,10 +35,7 @@ public:
//! Creates the item of the given type.
static BackgroundItem* create(Type type);
//! Available types of items.
//!
//! Contains also type "None".
//! This list is sorted as expected in the UI (e.g. in combo box)
//! List of available types, sorted as expected in the UI.
static QVector<Type> types();
//! UiInfo on the given type.
......
......@@ -35,9 +35,7 @@ public:
//! Creates the item of the given type.
static DetectorItem* create(Type type);
//! Available types of items.
//!
//! This list is sorted as expected in the UI (e.g. in combo box)
//! List of available types, sorted as expected in the UI.
static QVector<Type> types();
//! UiInfo on the given type.
......
......@@ -44,16 +44,9 @@ public:
//! Creates the item of the given type.
static DistributionItem* create(Type type);
//! Available types of items.
//!
//! Contains also type "None".
//! This list is sorted as expected in the UI (e.g. in combo box)
//! List of available types, sorted as expected in the UI.
static QVector<Type> types();
//! Types of symmetric distributions
//!
//! Contains also type "None".
//! This list is sorted as expected in the UI (e.g. in combo box)
static QVector<Type> symmetricTypes();
//! UiInfo on the given type.
......
......@@ -35,10 +35,7 @@ public:
//! Creates the item of the given type.
static FootprintItem* create(Type type);
//! Available types of items.
//!
//! Contains also type "None".
//! This list is sorted as expected in the UI (e.g. in combo box)
//! List of available types, sorted as expected in the UI.
static QVector<Type> types();
//! UiInfo on the given type.
......
......@@ -35,7 +35,7 @@ public:
//! Creates the item of the given type.
static InstrumentItem* create(Type type);
//! Available types of items.
//! List of available types, sorted as expected in the UI.
static QVector<Type> types();
//! UiInfo on the given type.
......
......@@ -43,7 +43,7 @@ public:
//! Creates the item of the given type.
static MaskItem* create(Type type);
//! Available types of items.
//! List of available types, sorted as expected in the UI.
static QVector<Type> types();
//! UiInfo on the given type.
......
......@@ -38,9 +38,7 @@ public:
static ResolutionFunctionItem* create(Type type,
const std::variant<QString, Unit>& unit = Unit::unitless);
//! Available types of items.
//!
//! This list is sorted as expected in the UI (e.g. in combo box)
//! List of available types, sorted as expected in the UI.
static QVector<Type> types();
//! UiInfo on the given type.
......
......@@ -67,20 +67,14 @@ public:
//! Creates the item of the given type.
//!
//! If type is "None", a nullptr is returned.
static FormFactorItem* create(Type type);
//! Available types of interference items.
//!
//! Contains also type "None".
//! This list is sorted as expected in the UI (e.g. in combo box)
//! List of available types, sorted as expected in the UI.
static QVector<Type> types();
static QVector<Type> hardParticleTypes();
static QVector<Type> rippleTypes();
//! UiInfo on the given type.
static UiInfo uiInfo(Type t);
......
......@@ -43,14 +43,9 @@ public:
//! Creates the item of the given type.
//!
//! If type is "None", a nullptr is returned.
static InterferenceItem* create(Type type);
//! Available types of interference items.
//!
//! Contains also type "None".
//! This list is sorted as expected in the UI (e.g. in combo box)
//! List of available types, sorted as expected in the UI.
static QVector<Type> types();
//! UiInfo on the given type.
......
......@@ -35,14 +35,11 @@ public:
};
//! Creates the item of the given type.
//!
//! If type is "None", a nullptr is returned.
static ItemWithParticles* create(Type type, const MaterialModel* materials);
//! Available types of items, sorted as expected in the UI (e.g. in combo box)
//! List of available types, sorted as expected in the UI.
static QVector<Type> types();
//! Available types of assembly items, sorted as expected in the UI (e.g. in combo box)
static QVector<Type> assemblyTypes();
//! UiInfo on the given type.
......
......@@ -40,14 +40,9 @@ public:
};
//! Creates the item of the given type.
//!
//! If type is "None", a nullptr is returned.
static RotationItem* create(Type type);
//! Available types of interference items.
//!
//! Contains also type "None".
//! This list is sorted as expected in the UI (e.g. in combo box)
//! List of available types, sorted as expected in the UI.
static QVector<Type> types();
//! UiInfo on the given type.
......
......@@ -34,14 +34,9 @@ public:
};
//! Creates the item of the given type.
//!
//! If type is "None", a nullptr is returned.
static RoughnessItem* create(Type type);
//! Available types of interference items.
//!
//! Contains also type "None".
//! This list is sorted as expected in the UI (e.g. in combo box)
//! List of available types, sorted as expected in the UI.
static QVector<Type> types();
//! UiInfo on the given type.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment