// Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
// Project : SALOME
// Module : Installation Wizard
-// Copyright : 2002-2007 CEA
+// Copyright : 2002-2009 CEA
#ifndef __SALOME_ProgressView
#define __SALOME_ProgressView
// constructor
ProgressViewItem( ProgressView* parent,
QString productName,
- const QString installType,
const QString scriptName,
Status status = Waiting );
QString getProduct() const { return text( 0 ); }
// gets product script
QString getScript() const { return myScript; }
- // gets type of the installation: 'binaries', 'source', 'native' or 'not install'
- QString getInstallType() const { return text( 1 ); }
protected:
// paints cell of the item
QColor getCompletedColor() { return myCompletedColor; }
// adds product item
- void addProduct( const QString smbName, const QString type, const QString product );
+ ProgressViewItem* addProduct( const QString smbName, const QString product );
// finds the first item with given status
QString findStatus( Status status );
// sets new status for the product item
void ensureVisible( const QString product );
// gets the product script
QString getScript( const QString product );
+ // gets the item's visibility status
+ bool isVisible( const QString product );
protected:
// finds the item by the product name