instType == Sources ? sizeSourcesTotal :
sizeSrcBuildTotal;
}
- // gets temporary disk space required
- long getTempSize( InstallationType instType ) const
- {
- return ( instType == Binaries ? 0 : instType == Sources ? 0 : sizeTemp );
- }
// gets product's version
QString getVersion() const { return version; }
// gets product's description
// constructor
SALOME_InstallWizard( const QString& aXmlFileName = QString::null,
const QString& aTargetDir = QString::null,
- const QString& aTmpDir = QString::null,
const bool aForceSrc = false,
const bool aSingleDir = false );
// destructor
QString getCopyright() { return myCopyright; }
// get license
QString getLicense() { return myLicense; }
- // get platform
- QString getPlatform() { return !refPlatform.isEmpty() ? refPlatform : curPlatform; }
- // get corresponding XML file
- QString getXmlFile( const QString& platform ) {
- return (platformsMap.find( platform ) != platformsMap.end() ) ?
- platformsMap[ platform ] :
- QString("");
- }
// get InstallWizard's name
QString getIWName() { return myIWName; }
// validates page when <Next> button is clicked
bool acceptData( const QString& );
// calculates disk space required for the installation, returns true if any product selected to be installed (src, bin or native)
- bool checkSize( long* totSize = 0, long* tempSize = 0 );
+ bool checkSize( long* totSize = 0 );
// checks products page validity (directories and products selection)
void checkProductPage();
// sets the product and all products this one depends on to be checked
private slots:
// called when user moves from page to page
void pageChanged( const QString & mytitle);
- // called when user selected either installation type or installation platform
- void onButtonGroup( int index );
// invokes Help window
void helpClicked();
// invokes directory selection dialog box