Skip to content

Commit

Permalink
refactor: Reorganise CIF Import GUI, Molecular Supercell Generation &…
Browse files Browse the repository at this point in the history
… Configuration Outputs (#1679)

Co-authored-by: Tristan Youngs <[email protected]>
  • Loading branch information
2 people authored and rprospero committed Mar 11, 2024
1 parent c704533 commit 9b69a53
Show file tree
Hide file tree
Showing 9 changed files with 1,041 additions and 1,001 deletions.
6 changes: 4 additions & 2 deletions src/gui/importCIFDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class ImportCIFDialog : public WizardDialog
CIFHandler cifHandler_;
// Flags
Flags<CIFHandler::UpdateFlags> updateFlags_;
Flags<CIFHandler::OutputFlags> outputFlags_;

private:
// Apply CIF bond definitions within specified species
Expand All @@ -58,8 +59,7 @@ class ImportCIFDialog : public WizardDialog
CIFInfoPage, /* Basic CIF info page to check parsing */
StructurePage, /* Structure page */
CleanedPage, /* Cleaned structure page */
SupercellPage, /* Options to create supercell */
OutputSpeciesPage /* Output Species page */
OutputSpeciesPage, /* Output Species page */
};

protected:
Expand Down Expand Up @@ -146,6 +146,8 @@ class ImportCIFDialog : public WizardDialog
Configuration *partitioningConfiguration_;

private slots:
void on_OutputMolecularRadio_clicked(bool checked);
void on_OutputFrameworkRadio_clicked(bool checked);
void on_OutputSupermoleculeRadio_clicked(bool checked);
void on_OutputConfigurationCheck_clicked(bool checked);
};
Loading

0 comments on commit 9b69a53

Please sign in to comment.