#include <projectdlgs.h>
Public Slots | |
| void | locationChanged (const QString &) |
Public Member Functions | |
| NewProjectDlg (QWidget *parent) | |
| void | reject () |
| void | accept () |
| bool | accepted () const |
| QString | projectName () const |
| QString | projectLocation () const |
| QString | location () const |
Protected Attributes | |
| NewProjectWidget * | m_pWidget |
| bool | m_bAccepted |
| QString | m_projectName |
| QString | m_projectLocation |
| QString | m_location |
A standard dialog for getting project details from the user for a new project
Definition at line 30 of file projectdlgs.h.
| void NewProjectDlg::reject | ( | ) |
Called when the 'Cancel' button is pressed.
Definition at line 60 of file projectdlgs.cpp.
References m_bAccepted.
| void NewProjectDlg::accept | ( | ) |
Called when the 'OK' button is pressed. User entered values are read in
Definition at line 50 of file projectdlgs.cpp.
References m_bAccepted, m_projectLocation, m_projectName, and m_pWidget.
| void NewProjectDlg::locationChanged | ( | const QString & | ) | [slot] |
Called when the projectName or projectLocation edit boxes are edited. Checks whether the resultant location combination is a valid path - if so, enabels the OK button; otherwise disables it.
Definition at line 65 of file projectdlgs.cpp.
References m_location, and m_pWidget.
Referenced by NewProjectDlg().
1.5.1