NewProjectDlg Class Reference

Dialog for new project details. More...

#include <projectdlgs.h>

List of all members.

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


Detailed Description

Dialog for new project details.

A standard dialog for getting project details from the user for a new project

Author:
David Saxton

Definition at line 30 of file projectdlgs.h.


Member Function Documentation

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().


The documentation for this class was generated from the following files:
Generated on Tue May 8 17:05:49 2007 for KTechLab by  doxygen 1.5.1