Class: GemListTable::Item
- Defined in:
- lib/installedwin.rb
Instance Method Summary collapse
- #gem ⇒ Object
-
#initialize(text) ⇒ Item
constructor
A new instance of Item.
Constructor Details
#initialize(text) ⇒ Item
Returns a new instance of Item.
22 23 24 25 |
# File 'lib/installedwin.rb', line 22 def initialize(text) super(text) self.flags = Qt::ItemIsSelectable | Qt::ItemIsEnabled end |
Instance Method Details
#gem ⇒ Object
27 28 29 |
# File 'lib/installedwin.rb', line 27 def gem tableWidget.gem(self) end |