21 #include "ui_vcadialog.h" 30 VCADialog::VCADialog(QWidget *parent, QSharedPointer<VespucciWorkspace> ws, QSharedPointer<AbstractDataAnalyzer> analyzer) :
47 void VCADialog::on_buttonBox_accepted()
50 QString name = ui->nameLineEdit->text();
51 if (name.isEmpty()) name =
"VCA";
52 endmembers = ui->endmembersSpinBox->value();
54 if (!analyzer_.isNull()){
56 analyzer_->VertexComponents(name, endmembers);
57 }
catch(std::exception e){
58 workspace_->main_window()->DisplayExceptionWarning(e);
69 void VCADialog::on_buttonBox_rejected()
VCADialog(QWidget *parent, QSharedPointer< VespucciWorkspace > ws, QSharedPointer< AbstractDataAnalyzer > analyzer)
VCADialog::VCADialog.
The VCADialog class A dialog that allows the user to perform vertex components analysis.