Class: Ruber::OutputWidget::TableView
- Defined in:
- lib/ruber/output_widget.rb
Overview
Convenience class to be used instead of Qt::TableView
in an OutputWidget.
The only difference from Qt::TableVew is that it defines a context_menu_requested(QPoint)
signal and emits it from its contextMenuEvent
method
Instance Method Summary collapse
-
#contextMenuEvent(e) ⇒ Object
Works as in the superclass but also emits the
context_menu_requested(QPoint)
signal.
Instance Method Details
#contextMenuEvent(e) ⇒ Object
Works as in the superclass but also emits the context_menu_requested(QPoint)
signal
1019 1020 1021 1022 |
# File 'lib/ruber/output_widget.rb', line 1019 def contextMenuEvent e super e emit (e.global_pos) end |