Class: Ruber::NewProjectDialog
- Defined in:
- lib/ruber/main_window/main_window_actions.rb
Overview
Dialog where the user enters the parameters to create a new project
Defined Under Namespace
Classes: NewProjectWidget
Instance Method Summary collapse
-
#initialize(parent = ) ⇒ NewProjectDialog
constructor
A new instance of NewProjectDialog.
-
#project_file ⇒ String
The path of the project file.
-
#project_name ⇒ String
The name chosen by the user for the project.
Constructor Details
#initialize(parent = ) ⇒ NewProjectDialog
Returns a new instance of NewProjectDialog.
870 871 872 873 874 875 876 877 |
# File 'lib/ruber/main_window/main_window_actions.rb', line 870 def initialize parent = Ruber[:main_window] super self. = 'New Project' self. = NewProjectWidget.new self enableButtonOk false self..set_focus connect , SIGNAL('complete_status_changed(bool)'), self, SLOT('enableButtonOk(bool)') end |
Instance Method Details
#project_file ⇒ String
Returns the path of the project file.
882 883 884 |
# File 'lib/ruber/main_window/main_window_actions.rb', line 882 def project_file .project_file end |
#project_name ⇒ String
Returns the name chosen by the user for the project.
889 890 891 |
# File 'lib/ruber/main_window/main_window_actions.rb', line 889 def project_name .project_name end |