USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::QnetNewPointDialog Class Reference

#include <QnetNewPointDialog.h>

Inheritance diagram for Isis::QnetNewPointDialog:
Inheritance graph
Collaboration diagram for Isis::QnetNewPointDialog:
Collaboration graph

Public Member Functions

 QnetNewPointDialog (QnetTool *qnetTool, QString defaultPointId, QWidget *parent=0)
 QnetNewPointDialog constructor.
 
QString pointId () const
 
QStringList selectedFiles () const
 
void setFiles (QStringList pointFiles)
 

Private Slots

void enableOkButton (const QString &text)
 

Private Attributes

QLabel * m_ptIdLabel
 
QPushButton * m_okButton
 
QLineEdit * m_ptIdEdit
 
QListWidget * m_fileList
 
QStringListm_pointFiles
 
QnetToolm_qnetTool
 

Detailed Description

Author
????-??-?? Unknown
History:

2008-11-26 Jeannie Walldren - Added functionality to show the last Point ID entered into a new point dialog box.

2010-06-03 Jeannie Walldren - Initialized pointers in constructor. Removed "std::" in header and .cpp files.

2010-12-03 Eric Hyer - Selected points now go to the top!

Definition at line 27 of file QnetNewPointDialog.h.

Constructor & Destructor Documentation

Isis::QnetNewPointDialog::QnetNewPointDialog ( QnetTool qnetTool,
QString  defaultPointId,
QWidget parent = 0 
)

QnetNewPointDialog constructor.

Parameters
parentThe parent widget for the cube points filter
History:

2008-11-26 Jeannie Walldren - Set lastPointIdValue

2010-06-03 Jeannie Walldren - Initialized pointers to null.

2011-03-08 Tracie Sucharski - If there is a saved ID and there is no point in the network with that id, do not disable "ok" button. This allows user to use the same id from a previous point creation if the point was never saved.

Definition at line 28 of file QnetNewPointDialog.cpp.

References enableOkButton().

Member Function Documentation

void Isis::QnetNewPointDialog::enableOkButton ( const QString &  text)
privateslot
History:
2008-11-26 Jeannie Walldren - Set lastPointIdValue to the ptIdValue

Definition at line 136 of file QnetNewPointDialog.cpp.

References Isis::ControlNet::ContainsPoint().

Referenced by QnetNewPointDialog().

void Isis::QnetNewPointDialog::setFiles ( QStringList  pointFiles)
History:

2010-06-03 Jeannie Walldren - Removed "std::" since "using namespace std"

2010-10-29 Tracie Sucharski - Changed std::vector<std::string> to QSringList

Definition at line 104 of file QnetNewPointDialog.cpp.

References Isis::SerialNumberList::FileName(), and Isis::SerialNumberList::Size().

Referenced by Isis::QnetTool::createPoint().


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