Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

NameDialog Class Reference

#include <NameDialog.h>

List of all members.

Public Member Functions

QString getName ()
 NameDialog (QString name, QWidget *parent)
 ~NameDialog ()

Private Slots

void okButtonPressed ()

Private Member Functions

 NameDialog (const NameDialog &)
NameDialog operator= (const NameDialog &)

Private Attributes

QLineEdit * nameText


Detailed Description

Simple dialog used for gathering a name.

Definition at line 35 of file NameDialog.h.


Constructor & Destructor Documentation

NameDialog::NameDialog QString  name,
QWidget *  parent
 

Constructor.

Definition at line 41 of file NameDialog.cpp.

References nameText, and okButtonPressed().

NameDialog::~NameDialog  ) 
 

Destructor.

Definition at line 72 of file NameDialog.cpp.

NameDialog::NameDialog const NameDialog  )  [private]
 

Declare copy constructor private so it cannot be used inadvertently.


Member Function Documentation

QString NameDialog::getName  ) 
 

Returns the name that has been entered Checks that archive name is sensible and it is the right length These are the same checks as are run in Simulation Widget where the name is first set. Any changes there should be matched here.

Definition at line 87 of file NameDialog.cpp.

References nameText.

Referenced by LoadArchiveDialog::renameButtonPressed().

void NameDialog::okButtonPressed  )  [private, slot]
 

Slot for when ok button is pressed.

Definition at line 106 of file NameDialog.cpp.

Referenced by NameDialog().

NameDialog NameDialog::operator= const NameDialog  )  [private]
 

Declare assignment private so it cannot be used inadvertently.


Member Data Documentation

QLineEdit* NameDialog::nameText [private]
 

Definition at line 51 of file NameDialog.h.

Referenced by getName(), and NameDialog().


The documentation for this class was generated from the following files:
Generated on Mon Sep 3 22:29:05 2007 for SpikeStream Application by  doxygen 1.4.4