gpospelov / darefl Goto Github PK
View Code? Open in Web Editor NEWPrototype of the reflectometry simulation software
Prototype of the reflectometry simulation software
It should be located on SimulationView, under graph canvas. It will serve as a place to set up beam parameters.
SpecularBeamItem
change.Import graph, undo, then twice redo. The application will crash
It will lead to Middle layer in LayerEditor losing an information about selected material. It will become undefined
.
Currently, when the user clicks on Import
button in Data
view, the import dialog appears.
Then the user has to locate the button Add further files...
, and click it to start selecting files.
This makes it two clicks in total, plus some time to locate the Add further files
button.
Suggested behavior:
When the user clicks on Import
button, file selector dialog appears. After files have been selected and OK
pressed, ImportDataEditor should be shown with user selection already in place.
LayerEditor
, MaterialEditor
, GraphEditor
, QuickSimEditor
, SLDEditor
derived from QWidget.EditorWidget
a wrapper around user widget.The main idea is that adding any widget to a new docking system should be done with EditorWidget::setWidget
. Here, EditorWidget
will simply show user content, and will take care of all necessary resizing.
Consider deriving EditorWidget
from QDockWidget
class.
segfault on open from startpage depending on current state
(open new darefl, import data default, simulate default sample, add data to plot, go to project page and open saved project and do not save current one (it should crash, the project trying to open works otherwise, happens also when saved))
Sometimes shows [0, 1, 1, 2, 2] instead of [0, 0.5, 1.0, 1.5, 2.0, 2.5] etc.
TechView is the last tab on the application showing all content in all models as it is. It allows getting an overview of all model layout and even change the data directly, without going to particular widget.
It should be located on SimulationView, under graph canvas. It will show a collection of graphs after their subtraction.
For the moment I can't align icons on GraphCanvas as I want. Particularly, I would like to place the Replot
icon in the right corner to have it consistently in the same place (for multiple widgets having replot
functionality). For the moment it is not possible since it conflicts with the reach functionality of EditorToolBar itself.
I suggest dropping completely fluid way icons appearing/disappearing on EditorToolBar. It would be great to have there only the title and navigation elements.
The normal LayerEditorToolbar
will appear on the collapsible part. It will also allow keeping the style text-besides-icon.
The main question is where to put the possibility to create second, third, etc MultiLayers.
The current suggestion is to put a simple combo box in the corner of the LayerEditor
. It will serve simultaneously as a widget to create a new MultiLayer, and as a selector between multi-layers.
Alternatively, it can be QTabWidget
in the same LayerEditor
.
The more complex way should wait until first user reviews.
Steps to reproduce:
This also happens when you select save instead
[ RUN ] ImportLogicTest.lineFiltersHeaderTest
/home/runner/work/DaRefl/DaRefl/tests/testdareflcore/importlogic.test.cpp:193: Failure
Expected equality of these values:
file_input.header
Which is: { ("Header_0", 0), ("Header_1", 1), ("Header_2", 2), ("Header_3", 3) }
import_logic.getHeader(i++)
Which is: {}
Also ImportLogicTest.lineFiltersDataTest
is failing
This happens normally when different tests are writing in file with same name. It works, when tests are executed sequentially, and fails in parallel.
The concept of separate filters (one for comments, and another for columns) is over-engineered and not intuitive for an average user. Filters might be behind the scene but shouldn't appear in UI.
UI should contain:
1-32,45
to ignore corresponding lines.The SLD editor could benefit from more overlay information on hover on different objects. This would go hand in hand with refactoring the LayerComponents.
Other possible improvements:
P_SIDE_THICKNESS
and similar. They can be simple member variables.Fix the error arising when all layer elements are removed and implement the according tests. It turns out that this error is caused by the need of a last and first layer for the SLDElementController.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.