Class: Qt::LineEdit

Inherits:
Object show all
Defined in:
lib/cosmos/gui/qt.rb

Instance Method Summary collapse

Instance Method Details

#setColors(foreground, background) ⇒ Object



453
454
455
# File 'lib/cosmos/gui/qt.rb', line 453

def setColors(foreground, background)
  setPalette(Cosmos.getPalette(foreground, background))
end

#text=(value) ⇒ Object



457
458
459
# File 'lib/cosmos/gui/qt.rb', line 457

def text=(value)
  setText(value)
end