Class Ui::Qt4::DradisGui
In: ui/qt/gui.rb
Parent: Qt::Application

Main Qt Application, handles the creation of main window, window title, etc.

Methods

run   setup   teardown  

Included Modules

Core::ViewInterface

Public Instance methods

Show the main application window

[Source]

    # File ui/qt/gui.rb, line 63
63:       def run
64:         self.exec
65:       end

Internal setup of the interface elements. Main application calls this method to instantiate the command parser, window title, etc.

[Source]

    # File ui/qt/gui.rb, line 55
55:       def setup(new_controller)
56:         @w = Ui::Qt4::DradisWindow.new
57:         @w.windowTitle = 'dradis'
58:         @w.controller = new_controller
59:         @w.show
60:       end

[Source]

    # File ui/qt/gui.rb, line 67
67:       def teardown
68:         self.quit()
69:       end

[Validate]