Class: Ruber::NewProjectDialog
- Inherits:
-
KDE::Dialog
- Object
- KDE::Dialog
- Ruber::NewProjectDialog
- Defined in:
- lib/ruber/main_window/main_window_actions.rb,
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)
-
- (NewProjectDialog) initialize(parent = Ruber[:main_window])
constructor
A new instance of NewProjectDialog.
-
- (String) project_file
The path of the project file.
-
- (String) project_name
The name chosen by the user for the project.
Constructor Details
- (NewProjectDialog) initialize(parent = Ruber[:main_window])
A new instance of NewProjectDialog
867 868 869 870 871 872 873 874 |
# File 'lib/ruber/main_window/main_window_actions.rb', line 867 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
- (String) project_file
The path of the project file
879 880 881 |
# File 'lib/ruber/main_window/main_window_actions.rb', line 879 def project_file .project_file end |
- (String) project_name
The name chosen by the user for the project
886 887 888 |
# File 'lib/ruber/main_window/main_window_actions.rb', line 886 def project_name .project_name end |