Class: RubyQt6::QtGui::QDoubleValidator
- Inherits:
-
QValidator
- Object
- RubyQt6::QtCore::QObject
- QValidator
- RubyQt6::QtGui::QDoubleValidator
- Defined in:
- lib/qt6/qtgui/qdoublevalidator.rb
Overview
Defined Under Namespace
Classes: Notation
Constant Summary collapse
- INITIALIZE_ARG_ERROR_MESSAGE =
"Could not resolve method call for #{name}#initialize\n" \ " 2 overload(s) were evaluated based on the types of Ruby parameters provided:\n" \ " initialize(QObject)\n" \ " initialize(Float, Float, Integer, QObject)\n"
Instance Method Summary collapse
- #initialize(*args) ⇒ QDoubleValidator constructor
Constructor Details
#initialize(parent = nil) ⇒ QDoubleValidator #initialize(bottom, top, decimals, parent = nil) ⇒ QDoubleValidator
37 38 39 40 41 42 43 44 45 |
# File 'lib/qt6/qtgui/qdoublevalidator.rb', line 37 def initialize(*args) parent = T.args_nth_delete_qobject(args, -1) case args.size when 0 then _initialize(parent) when 3 then _initialize_p(args[-3], args[-2], args[-1], parent) else raise ArgumentError, INITIALIZE_ARG_ERROR_MESSAGE end _take_ownership_from_ruby(self) end |