X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSALOME_ProgressView.hxx;h=5c99f63defb70e7689816afa46b74258d8140f20;hb=260bf6b42efe9e30501c4e6e99b013da3fe34f77;hp=cf35f5f570972ffbd7a9360d9bd2c74c2aad2ed9;hpb=e248ae8e6480f161e70bd6d50c2351cf1d64c4e1;p=tools%2Finstall.git diff --git a/src/SALOME_ProgressView.hxx b/src/SALOME_ProgressView.hxx index cf35f5f..5c99f63 100644 --- a/src/SALOME_ProgressView.hxx +++ b/src/SALOME_ProgressView.hxx @@ -1,10 +1,9 @@ // File : SALOME_ProgressView.hxx // Created : Thu Dec 18 12:01:00 2002 -// Author : Vadim SANDLER -// Project : PAL/SALOME -// Module : InstallWizard -// Copyright : 2004 CEA -// $Header$ +// Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) +// Project : SALOME +// Module : Installation Wizard +// Copyright : 2002-2010 CEA #ifndef __SALOME_ProgressView #define __SALOME_ProgressView @@ -22,7 +21,6 @@ public: // constructor ProgressViewItem( ProgressView* parent, QString productName, - const QString installType, const QString scriptName, Status status = Waiting ); @@ -34,8 +32,6 @@ public: 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 @@ -62,7 +58,7 @@ public: 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 @@ -71,6 +67,8 @@ public: 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