mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-10 00:05:33 -06:00
Removes QIntValidator and uses setRange
Replaces the usage of `QIntValidator` with the `setRange` function available in the PDM framework for limiting integer input in UI fields. This approach provides a more direct and maintainable way to specify value ranges for UI elements. This change simplifies the code and reduces dependencies.
This commit is contained in:
1 parent
4488a7215d
commit
405a32e2da
16 files changed
+42
-143
No files matched your search
@@ -84,7 +84,6 @@ public:
|
||||
private:
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||
caf::PdmFieldHandle* objectToggleField() override;
|
||||
void defineEditorAttribute( const caf::PdmFieldHandle* field, QString uiConfigName, caf::PdmUiEditorAttribute* attribute ) override;
|
||||
|
||||
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||
void defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiTreeOrdering, QString uiConfigName = "" ) override;
|
||||
|
||||
Reference in new issue
Block a user