Class: Cosmos::PryLineEdit
- Inherits:
-
Qt::LineEdit
- Object
- Qt::LineEdit
- Cosmos::PryLineEdit
- Defined in:
- lib/cosmos/gui/dialogs/pry_dialog.rb
Instance Attribute Summary collapse
-
#keyPressCallback ⇒ Object
Returns the value of attribute keyPressCallback.
Instance Method Summary collapse
Methods inherited from Qt::LineEdit
Instance Attribute Details
#keyPressCallback ⇒ Object
Returns the value of attribute keyPressCallback.
22 23 24 |
# File 'lib/cosmos/gui/dialogs/pry_dialog.rb', line 22 def keyPressCallback @keyPressCallback end |
Instance Method Details
#keyPressEvent(event) ⇒ Object
23 24 25 26 |
# File 'lib/cosmos/gui/dialogs/pry_dialog.rb', line 23 def keyPressEvent(event) call_super = @keyPressCallback.call(event) super(event) if call_super end |