QXRD  0.11.16
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
QcepNewImageDialog Class Reference

#include <qcepnewimagedialog.h>

Inheritance diagram for QcepNewImageDialog:
Inheritance graph
[legend]
Collaboration diagram for QcepNewImageDialog:
Collaboration graph
[legend]

Public Member Functions

 QcepNewImageDialog (QcepDataObject *obj, QWidget *parent=0)
 
 ~QcepNewImageDialog ()
 

Protected Member Functions

void changeEvent (QEvent *e)
 

Private Attributes

QcepDataObjectm_Object
 

Detailed Description

Definition at line 9 of file qcepnewimagedialog.h.

Constructor & Destructor Documentation

QcepNewImageDialog::QcepNewImageDialog ( QcepDataObject obj,
QWidget *  parent = 0 
)
explicit

Definition at line 5 of file qcepnewimagedialog.cpp.

References QcepDataObject::pathName().

5  :
6  QDialog(parent),
7  m_Object(obj)
8 {
9  setupUi(this);
10 
11  if (obj) {
12  setWindowTitle(tr("Create new 2-D image in %1").arg(obj->pathName()));
13  }
14 }
QString pathName() const
QcepDataObject * m_Object

Here is the call graph for this function:

QcepNewImageDialog::~QcepNewImageDialog ( )

Definition at line 16 of file qcepnewimagedialog.cpp.

17 {
18 }

Member Function Documentation

void QcepNewImageDialog::changeEvent ( QEvent *  e)
protected

Definition at line 20 of file qcepnewimagedialog.cpp.

21 {
22  QDialog::changeEvent(e);
23  switch (e->type()) {
24  case QEvent::LanguageChange:
25  retranslateUi(this);
26  break;
27  default:
28  break;
29  }
30 }

Member Data Documentation

QcepDataObject* QcepNewImageDialog::m_Object
private

Definition at line 21 of file qcepnewimagedialog.h.


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