Class: MetaBuilder::ParameterTypes::IntegerParameter
- Inherits:
-
MetaBuilder::ParameterType
- Object
- MetaBuilder::ParameterType
- MetaBuilder::ParameterTypes::IntegerParameter
- Defined in:
- lib/MetaBuilder/Parameters/numbers.rb,
lib/MetaBuilder/Qt4/Parameters/numbers.rb
Overview
An integer
Instance Method Summary collapse
- #qt4_create_input_widget(parent = nil, target = nil, style = nil) ⇒ Object
- #string_to_type_internal(str) ⇒ Object
Methods inherited from MetaBuilder::ParameterType
#default_value, from_string, get_param_type, get_type, #initialize, #lookup_const, #option_parser_long_option, #option_parser_option, #option_parser_raw, #qt4_get, #string_to_type, #stt_run_hook, type_name, #type_name, #type_to_string, #type_to_string_internal, #type_to_variant, #variant_to_type
Constructor Details
This class inherits a constructor from MetaBuilder::ParameterType
Instance Method Details
#qt4_create_input_widget(parent = nil, target = nil, style = nil) ⇒ Object
28 29 30 |
# File 'lib/MetaBuilder/Qt4/Parameters/numbers.rb', line 28 def (parent = nil, target = nil, style = nil) return Qt4MB::IntegerInputWidget.new(parent, self) end |
#string_to_type_internal(str) ⇒ Object
30 31 32 |
# File 'lib/MetaBuilder/Parameters/numbers.rb', line 30 def string_to_type_internal(str) return Integer(str) end |