Class: KDE::Dialog

Inherits:
Object show all
Includes:
Layoutable
Defined in:
lib/rui/toolkits/kde/kde.rb

Instance Attribute Summary

Attributes included from Layoutable

#main_layout, #owner

Instance Method Summary collapse

Methods included from Layoutable

#add_accessor, #add_layout, #add_widget, #buddies

Instance Method Details

#setGUI(gui) ⇒ Object



18
19
20
21
22
23
24
# File 'lib/rui/toolkits/kde/kde.rb', line 18

def setGUI(gui)
  self.caption = gui.opts[:caption]
  widget = Qt::Widget.new(self)
  widget.owner = self
  widget.setGUI(gui)
  self.main_widget = widget
end