Class: Qt::ListWidget
- Includes:
- ListLike
- Defined in:
- lib/rui/toolkits/qtbase/qt.rb
Defined Under Namespace
Classes: Item
Constant Summary collapse
- FROM_A_DATA_ROLE =
Qt::UserRole
Instance Method Summary collapse
Methods included from ListLike
included, #reset_from_a, #select_item
Instance Method Details
#create_item(text, data) ⇒ Object
438 439 440 |
# File 'lib/rui/toolkits/qtbase/qt.rb', line 438 def create_item(text, data) Item.new(text, self, data) end |
#current_index=(i) ⇒ Object
434 435 436 |
# File 'lib/rui/toolkits/qtbase/qt.rb', line 434 def current_index=(i) self.current_row = i end |