-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add layer of abstraction in
Panel
classes (#945)
This PR adds a layer of abstraction for settings panels though the new ConfigurationSettingsPanel and ResourceSettingsPanel classes and their respective Model classes. The rest of the codebase has been renamed for clarity.
- Loading branch information
1 parent
a5d670e
commit 92b8299
Showing
67 changed files
with
386 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from .advanced import AdvancedSettings | ||
from .model import AdvancedModel | ||
from .advanced import AdvancedConfigurationSettingsPanel | ||
from .model import AdvancedConfigurationSettingsModel | ||
|
||
__all__ = [ | ||
"AdvancedModel", | ||
"AdvancedSettings", | ||
"AdvancedConfigurationSettingsModel", | ||
"AdvancedConfigurationSettingsPanel", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
src/aiidalab_qe/app/configuration/advanced/hubbard/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from .hubbard import HubbardSettings | ||
from .model import HubbardModel | ||
from .hubbard import HubbardConfigurationSettingsPanel | ||
from .model import HubbardConfigurationSettingsModel | ||
|
||
__all__ = [ | ||
"HubbardSettings", | ||
"HubbardModel", | ||
"HubbardConfigurationSettingsModel", | ||
"HubbardConfigurationSettingsPanel", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
src/aiidalab_qe/app/configuration/advanced/magnetization/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from .magnetization import MagnetizationSettings | ||
from .model import MagnetizationModel | ||
from .magnetization import MagnetizationConfigurationSettingsPanel | ||
from .model import MagnetizationConfigurationSettingsModel | ||
|
||
__all__ = [ | ||
"MagnetizationModel", | ||
"MagnetizationSettings", | ||
"MagnetizationConfigurationSettingsModel", | ||
"MagnetizationConfigurationSettingsPanel", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.