Method: Ruber::ChoosePluginsDlg#initialize
- Defined in:
- lib/ruber/main_window/choose_plugins_dlg.rb
#initialize(parent = nil) ⇒ ChoosePluginsDlg
Creates a new ChoosePluginsDlg and initializes it using both the settings in the configuration file and the loaded plugins.
40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/ruber/main_window/choose_plugins_dlg.rb', line 40 def initialize parent = nil super self.caption = "Choose plugins" self. = Ok | Cancel | Apply | Default | Reset self. = ChoosePluginsWidget.new false .connect(SIGNAL('plugins_changed()')){ true} .connect(SIGNAL('directories_changed()')){ true} connect self, SIGNAL(:applyClicked), self, SLOT(:write_settings) connect self, SIGNAL(:okClicked), self, SLOT(:write_settings) connect self, SIGNAL(:defaultClicked), , SLOT(:apply_defaults) end |