about: initialize from parent object in constructor.
This commit is contained in:
parent
bb46e58c4b
commit
79e4cf6dd1
1 changed files with 4 additions and 1 deletions
|
@ -4,9 +4,12 @@ require 'qasim/ui/about_ui'
|
||||||
module Qasim ; module Ui
|
module Qasim ; module Ui
|
||||||
class About < Qt::Dialog
|
class About < Qt::Dialog
|
||||||
def initialize
|
def initialize
|
||||||
|
super
|
||||||
u = Ui_About.new
|
u = Ui_About.new
|
||||||
u.setup_ui(self)
|
u.setup_ui(self)
|
||||||
|
|
||||||
|
#FIXME: attach events to close
|
||||||
|
#FIXME: set first tab
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end ; end
|
end ; end
|
||||||
|
|
Loading…
Reference in a new issue