Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
2960e7ad
Commit
2960e7ad
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
privatize
parent
675bcc91
No related branches found
Branches containing commit
No related tags found
1 merge request
!2005
rm unfinished undo/redo engine (#757)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GUI/View/SampleDesigner/SampleEditorController.h
+5
-4
5 additions, 4 deletions
GUI/View/SampleDesigner/SampleEditorController.h
with
5 additions
and
4 deletions
GUI/View/SampleDesigner/SampleEditorController.h
+
5
−
4
View file @
2960e7ad
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
#include
"GUI/Model/Sample/FormFactorItemCatalog.h"
#include
"GUI/Model/Sample/FormFactorItemCatalog.h"
#include
"GUI/Model/Sample/ItemWithParticlesCatalog.h"
#include
"GUI/Model/Sample/ItemWithParticlesCatalog.h"
#include
<QObject>
class
CompoundItem
;
class
CompoundItem
;
class
CoreAndShellForm
;
class
CoreAndShellForm
;
...
@@ -70,10 +71,8 @@ public:
...
@@ -70,10 +71,8 @@ public:
void
addLayerItem
(
LayerItem
*
before
);
void
addLayerItem
(
LayerItem
*
before
);
QColor
findColor
(
int
atIndex
);
QColor
findColor
(
int
atIndex
);
void
onLayerAdded
(
LayerItem
*
layer
);
void
onLayerAdded
(
LayerItem
*
layer
);
void
addLayerItemFromUndo
(
int
atIndex
);
void
duplicateLayerItem
(
const
LayerItem
*
layer
);
void
duplicateLayerItem
(
const
LayerItem
*
layer
);
void
removeLayerItem
(
LayerItem
*
layer
);
void
removeLayerItem
(
LayerItem
*
layer
);
void
removeLayerItemFromUndo
(
int
atIndex
);
void
onLayoutAdded
(
LayerForm
*
layerForm
,
ParticleLayoutItem
*
layout
);
void
onLayoutAdded
(
LayerForm
*
layerForm
,
ParticleLayoutItem
*
layout
);
void
addLayoutItem
(
LayerForm
*
layerForm
);
void
addLayoutItem
(
LayerForm
*
layerForm
);
...
@@ -102,7 +101,6 @@ public:
...
@@ -102,7 +101,6 @@ public:
void
setIntegrateOverXi
(
LatticeTypeSelectionForm
*
widget
,
bool
value
);
void
setIntegrateOverXi
(
LatticeTypeSelectionForm
*
widget
,
bool
value
);
void
setDouble
(
double
value
,
DoubleProperty
&
d
);
void
setDouble
(
double
value
,
DoubleProperty
&
d
);
void
setDoubleFromUndo
(
double
value
,
const
QString
&
path
);
void
setCurrentIndex
(
ISelectionContainerForm
*
widget
,
int
index
,
ISelectionProperty
&
d
);
void
setCurrentIndex
(
ISelectionContainerForm
*
widget
,
int
index
,
ISelectionProperty
&
d
);
...
@@ -132,7 +130,10 @@ private:
...
@@ -132,7 +130,10 @@ private:
ItemWithParticles
*
createAndInitItem
(
FormFactorItemCatalog
::
Type
formFactorType
)
const
;
ItemWithParticles
*
createAndInitItem
(
FormFactorItemCatalog
::
Type
formFactorType
)
const
;
ItemWithParticles
*
createAndInitItem
(
ItemWithParticlesCatalog
::
Type
itemType
)
const
;
ItemWithParticles
*
createAndInitItem
(
ItemWithParticlesCatalog
::
Type
itemType
)
const
;
private:
void
addLayerItemFromUndo
(
int
atIndex
);
void
removeLayerItemFromUndo
(
int
atIndex
);
void
setDoubleFromUndo
(
double
value
,
const
QString
&
path
);
SampleItem
*
m_sampleItem
;
SampleItem
*
m_sampleItem
;
SampleForm
*
m_sampleForm
;
SampleForm
*
m_sampleForm
;
ProjectDocument
*
m_document
;
ProjectDocument
*
m_document
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment