Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LightApp_NameDlg Class Reference

#include <LightApp_NameDlg.h>

Inheritance diagram for LightApp_NameDlg:
Inheritance graph

Public Member Functions

 LightApp_NameDlg (QWidget *parent=0)
 
 ~LightApp_NameDlg ()
 
void setName (const QString &name)
 
QString name ()
 

Static Public Member Functions

static QString getName (QWidget *parent=0, const QString &oldName=QString())
 

Protected Slots

void accept ()
 

Private Attributes

QPushButton * myButtonOk
 
QPushButton * myButtonCancel
 
QLineEditmyLineEdit
 

Detailed Description

Common <Rename> dialog box class

Constructor & Destructor Documentation

LightApp_NameDlg::LightApp_NameDlg ( QWidget parent = 0)
LightApp_NameDlg::~LightApp_NameDlg ( )

Destructor

Member Function Documentation

void LightApp_NameDlg::accept ( )
protectedslot

Accepts if name isn't empty

References name().

QString LightApp_NameDlg::getName ( QWidget parent = 0,
const QString &  oldName = QString() 
)
static

Creates modal <Rename> dialog and returns name entered [ static ]

References LightApp_NameDlg(), name(), and setName().

QString LightApp_NameDlg::name ( )

Returns name entered by user

References myLineEdit.

void LightApp_NameDlg::setName ( const QString &  name)

Sets name

References myLineEdit.

Member Data Documentation

QPushButton* LightApp_NameDlg::myButtonCancel
private
QPushButton* LightApp_NameDlg::myButtonOk
private
QLineEdit* LightApp_NameDlg::myLineEdit
private

The documentation for this class was generated from the following files: