Class: Ruber::ChoosePluginsDlg
- Defined in:
- lib/ruber/main_window/choose_plugins_dlg.rb
Overview
Dialog where the user can choose the plugins to load and the directories where to look for plugins.
The main functionality is provided by the main widget, of class ChoosePluginsWidget.
Instance Method Summary collapse
-
#initialize(parent = nil) ⇒ ChoosePluginsDlg
constructor
Creates a new
ChoosePluginsDlg
and initializes it using both the settings in the configuration file and the loaded plugins. -
#plugins ⇒ Object
See ChoosePluginsWidget#plugins.
Constructor Details
#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. = "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 |
Instance Method Details
#plugins ⇒ Object
See ChoosePluginsWidget#plugins
54 55 56 |
# File 'lib/ruber/main_window/choose_plugins_dlg.rb', line 54 def plugins .plugins end |