diff --git a/GUI/Model/CatDevice/BackgroundItemCatalog.h b/GUI/Model/CatDevice/BackgroundItemCatalog.h index 6e4d54d95d33b4373831e32be6fa64a687b0074c..4a7e3cd92c958ac816f7fbacb82cb7438c0e12af 100644 --- a/GUI/Model/CatDevice/BackgroundItemCatalog.h +++ b/GUI/Model/CatDevice/BackgroundItemCatalog.h @@ -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. diff --git a/GUI/Model/CatDevice/DetectorItemCatalog.h b/GUI/Model/CatDevice/DetectorItemCatalog.h index 6d114b3e84c82d5c6575f4d3c76823beb31cb7b4..012e29d4bd045475d8f26f045dffef36487e1ba2 100644 --- a/GUI/Model/CatDevice/DetectorItemCatalog.h +++ b/GUI/Model/CatDevice/DetectorItemCatalog.h @@ -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. diff --git a/GUI/Model/CatDevice/DistributionItemCatalog.h b/GUI/Model/CatDevice/DistributionItemCatalog.h index 587d439babaef206dec2fcbb481be8d2b5dff802..e685977d3561ef0e8da251722015822afb4ff76d 100644 --- a/GUI/Model/CatDevice/DistributionItemCatalog.h +++ b/GUI/Model/CatDevice/DistributionItemCatalog.h @@ -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. diff --git a/GUI/Model/CatDevice/FootprintItemCatalog.h b/GUI/Model/CatDevice/FootprintItemCatalog.h index cb253eabb12e9989ce05e0b062d936d9df360f44..4e426100b26e1dc31725bde6b17a47917f621afc 100644 --- a/GUI/Model/CatDevice/FootprintItemCatalog.h +++ b/GUI/Model/CatDevice/FootprintItemCatalog.h @@ -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. diff --git a/GUI/Model/CatDevice/InstrumentItemCatalog.h b/GUI/Model/CatDevice/InstrumentItemCatalog.h index d7410893ccf57c8e367019c2b28f29412634c291..5ed3fe26a5c320534e28942f7b327de35c4008ff 100644 --- a/GUI/Model/CatDevice/InstrumentItemCatalog.h +++ b/GUI/Model/CatDevice/InstrumentItemCatalog.h @@ -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. diff --git a/GUI/Model/CatDevice/MaskItemCatalog.h b/GUI/Model/CatDevice/MaskItemCatalog.h index 13dda1ad72e669a44513b998658004ad99d69160..7192681b0183576f532cb8aed4179c3866ad1278 100644 --- a/GUI/Model/CatDevice/MaskItemCatalog.h +++ b/GUI/Model/CatDevice/MaskItemCatalog.h @@ -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. diff --git a/GUI/Model/CatDevice/ResolutionFunctionItemCatalog.h b/GUI/Model/CatDevice/ResolutionFunctionItemCatalog.h index e36eb22f9fb98dcf3d81cd02fda141ae4f0bae5f..b0d4e0bf8006ff7dc795b4a6615236dcb6709077 100644 --- a/GUI/Model/CatDevice/ResolutionFunctionItemCatalog.h +++ b/GUI/Model/CatDevice/ResolutionFunctionItemCatalog.h @@ -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. diff --git a/GUI/Model/CatSample/FormFactorItemCatalog.h b/GUI/Model/CatSample/FormFactorItemCatalog.h index 23f63fb95d80a0a9e2a518078953e989edfca796..2e5f45e72a6859da1645c046f74e50fda827ba49 100644 --- a/GUI/Model/CatSample/FormFactorItemCatalog.h +++ b/GUI/Model/CatSample/FormFactorItemCatalog.h @@ -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); diff --git a/GUI/Model/CatSample/InterferenceItemCatalog.h b/GUI/Model/CatSample/InterferenceItemCatalog.h index faa552cf81d2c52236951d61ff502c55c8a12921..ff1eee9a65bc625611f40f8fd0c3b43eb5be0fc7 100644 --- a/GUI/Model/CatSample/InterferenceItemCatalog.h +++ b/GUI/Model/CatSample/InterferenceItemCatalog.h @@ -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. diff --git a/GUI/Model/CatSample/ItemWithParticlesCatalog.h b/GUI/Model/CatSample/ItemWithParticlesCatalog.h index ee86c51d28d8aa7b439bd63292ad14473d634c24..798a191925d6b140be4d043b3ee0db5db88cdd22 100644 --- a/GUI/Model/CatSample/ItemWithParticlesCatalog.h +++ b/GUI/Model/CatSample/ItemWithParticlesCatalog.h @@ -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. diff --git a/GUI/Model/CatSample/RotationItemCatalog.h b/GUI/Model/CatSample/RotationItemCatalog.h index 4b7030809b90c48a1886befb498fc9aa2757c7c7..57e12c7705cdb61b9d8135ab0ae755c0c168e38a 100644 --- a/GUI/Model/CatSample/RotationItemCatalog.h +++ b/GUI/Model/CatSample/RotationItemCatalog.h @@ -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. diff --git a/GUI/Model/CatSample/RoughnessItemCatalog.h b/GUI/Model/CatSample/RoughnessItemCatalog.h index f50ac649d391af43f5610a067f94a69c9d6375b5..92f8076a52b1ae852155b5c45086b791497231b2 100644 --- a/GUI/Model/CatSample/RoughnessItemCatalog.h +++ b/GUI/Model/CatSample/RoughnessItemCatalog.h @@ -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.