Isis 3.0
Back | Home
Isis::ImageFileListWidget Class Reference

A colored, grouped cube list. More...

#include <ImageFileListWidget.h>

Inherits QWidget.

Public Slots

void addImages (ImageList *images)
 This method adds the new images to the tree. More...
 

Public Member Functions

 ImageFileListWidget (Directory *directory=0, QWidget *parent=0)
 Constructor. More...
 
virtual ~ImageFileListWidget ()
 Destructor. More...
 
QProgressBargetProgress ()
 This method returns the progress bar. More...
 
void fromPvl (PvlObject &pvl)
 This method loads the state of this class from the pvl. More...
 
PvlObject toPvl () const
 This method writes the state of this class to a pvl. More...
 
void load (XmlStackedHandlerReader *xmlReader)
 This method pushes a new XmlHandler into the parser stack. More...
 
void save (QXmlStreamWriter &stream, Project *project, FileName newProjectRoot) const
 This method saves the FootprintColumns in the project and the settings associated with every column. More...
 
QList< QAction * > actions ()
 This method calls ImageTreeWidget::actions() which sets up a QAction that sets a default for the file list columns and returns a QList of QPointers that point to the QAction. More...
 
QList< QAction * > getViewActions ()
 This method calls ImageTreeWidget::getViewActions() which returns a list of FootprintColumns. More...
 
QList< QAction * > getExportActions ()
 This method creates a new QAction which is connected and when triggered will save the cube list. More...
 

Static Public Member Functions

static QWidgetgetLongHelp (QWidget *fileListContainer=NULL)
 This method creates a QWidget that displays a long help message explaining the tool. More...
 

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *event)
 This method takes an event and gets all of the FootprintColumns, adds them to the menu, then it pops up the menu at the location of event. More...
 

Detailed Description

A colored, grouped cube list.

Author
2011-07-29 Steven Lambright

Constructor & Destructor Documentation

Isis::ImageFileListWidget::ImageFileListWidget ( Directory directory = 0,
QWidget parent = 0 
)

Constructor.

This method sets up the QWidget to show the ImageTreeWidget that is created using directory.

Parameters
directoryThe directory where you want the ImageTreeWidget to be made
parentThe QWidget parent

Referenced by getLongHelp().

Isis::ImageFileListWidget::~ImageFileListWidget ( )
virtual

Destructor.

Member Function Documentation

QList< QAction * > Isis::ImageFileListWidget::actions ( )

This method calls ImageTreeWidget::actions() which sets up a QAction that sets a default for the file list columns and returns a QList of QPointers that point to the QAction.

Returns
QList<QAction *> The QList of QPointers that point to the QAction set up by ImageTreeWidget::actions().

References Isis::ImageTreeWidget::actions().

Referenced by contextMenuEvent().

void Isis::ImageFileListWidget::contextMenuEvent ( QContextMenuEvent *  event)
protected

This method takes an event and gets all of the FootprintColumns, adds them to the menu, then it pops up the menu at the location of event.

Parameters
eventA QContextMenuEvent that is used to find the position of the mouse.

References actions(), and Isis::ImageTreeWidget::getViewActions().

void Isis::ImageFileListWidget::fromPvl ( PvlObject pvl)
QList< QAction * > Isis::ImageFileListWidget::getExportActions ( )

This method creates a new QAction which is connected and when triggered will save the cube list.

Returns
QList<QAction *> The QList of the new QAction.
QWidget * Isis::ImageFileListWidget::getLongHelp ( QWidget fileListContainer = NULL)
static

This method creates a QWidget that displays a long help message explaining the tool.

Returns
QWidget Returns the message QWidget that was made.

References ImageFileListWidget().

QProgressBar * Isis::ImageFileListWidget::getProgress ( )

This method returns the progress bar.

Returns
QProgressBar * Returns the ProgressBar
QList< QAction * > Isis::ImageFileListWidget::getViewActions ( )

This method calls ImageTreeWidget::getViewActions() which returns a list of FootprintColumns.

Returns
QList<QAction *> The QList of FootprintColumns.

References Isis::ImageTreeWidget::getViewActions().

void Isis::ImageFileListWidget::load ( XmlStackedHandlerReader xmlReader)

This method pushes a new XmlHandler into the parser stack.

Parameters
xmlReaderThis is the parser stack.

References Isis::XmlStackedHandlerReader::pushContentHandler().

void Isis::ImageFileListWidget::save ( QXmlStreamWriter &  stream,
Project project,
FileName  newProjectRoot 
) const

This method saves the FootprintColumns in the project and the settings associated with every column.

Parameters
streamThe QXmlStreamWriter that saves the FootprintColumns.
projectThe current project being saved.
newProjectRootThis is not used.

References Isis::ImageTreeWidgetItem::BlankColumn, Isis::ImageTreeWidgetItem::FootprintColumn, and Isis::ImageTreeWidgetItem::treeColumnToString().

Referenced by Isis::Directory::save().


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

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:38:49