Main Qt Application, handles the creation of main window, window title, etc.
Show the main application window
[Source]
# File ui/qt/gui.rb, line 51 def run self.exec end
Internal setup of the interface elements. Main application calls this method to instantiate the command parser, window title, etc.
# File ui/qt/gui.rb, line 43 def setup(new_controller) @w = Ui::Qt4::DradisWindow.new @w.windowTitle = 'dradis' @w.controller = new_controller @w.show end
# File ui/qt/gui.rb, line 55 def teardown self.quit() end
[Validate]