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::Interfaces::View

Public Instance methods

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.

[Source]

# 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

[Source]

# File ui/qt/gui.rb, line 55
      def teardown
        self.quit()
      end

[Validate]