$LOAD_PATH << File.expand_path('~/ruby/prodec') require 'test/EntryForm' class StudentEntryForm < EntryForm @@form_desc = { :name => "Name:", :class => "Class Of:", :major => "Major:" } def initialize(parent) super(parent) end # def draw() # @formLayout = Qt::FormLayout # @@form_desc.each { |field, description| # @widgets[field] = Qt::LineEdit.new # @formLayout.addWidget(description, @widgets[field]) # } # self.layout = @formLayout # end end