BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
gui2 Namespace Reference

Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd. More...

Namespaces

 Constants
 
 MaterialProfile
 Collection of methods borrowed from BornAgain for material profile calculations.
 
 StyleUtils
 Namespace for central access to all theme styling.
 
 Utils
 Collection of utility functions for running quick simulations.
 

Classes

class  ActionManager
 Actions for MainWindow. More...
 
class  ApplicationModels
 Main class to holds all models of GUI session. More...
 
class  BasicSpecularScanItem
 Represents base type for beam scan parameters. More...
 
class  CanvasContainerItem
 Holds a collection of CanvasItem. More...
 
class  CanvasItem
 Holds a collection of GraphItem's for simultaneous plotting, as well as all information related to plotting properties. More...
 
struct  ColumnInfo
 Info about the column as defined by the user via ImportTableWidget. More...
 
class  CustomBeamPropertyEditorFactory
 Custom editor factory for LayerTreeView. More...
 
class  CustomLayerRowStrategy
 Custom strategy to form table rows for nested multilayers and layers. More...
 
class  CustomLayerTreeEditorFactory
 Custom editor factory for LayerTreeView. More...
 
class  DataHandler
 Handles raw data during the life time of DataHandlerDialog. More...
 
class  DataLoaderDialog
 Main dialog for the data loader. More...
 
class  DataLoaderToolBar
 Tool bar for DataLoaderDialog. More...
 
class  DataSelectionModel
 Custom selection model for data view model (AbstractViewModel). More...
 
class  DataSelectorWidget
 Widget to select graphs and look at their properties. More...
 
class  DataViewModel
 View model for ExperimentalDataModel with drag-and-drop support. More...
 
class  DefaultParser
 Provides basic algorirthm for parsing multi-string data representing content of multi-column ASCII file. More...
 
class  ElementView
 The interface of any QGraphicsViewItem on GraphicsScene to the Sceneadapter. More...
 
class  ExperimentalDataContainerItem
 Holds a collection of Data1DItem's with raw data as imported by the user. More...
 
class  ExperimentalDataController
 Listens for all changes in ExperimentalDataModel and updates properties in InstrumentModel. More...
 
class  ExperimentalDataModel
 The model to store imported reflectometry data. More...
 
class  ExperimentalScanItem
 Represents scan according to imported experimental data. More...
 
class  FancyTab
 
class  GraphCanvasWidget
 Widget to show canvas with graph collection. More...
 
class  GraphicsScene
 Custom graphics scene to show QCustomPlot with additional elements on top. More...
 
struct  GraphImportData
 Raw data to construct GraphItem and Data1DItem's. More...
 
class  HandleElementView
 The handle QGraphicsViewItem on GraphicsScene. More...
 
class  ImportDataEditor
 Main editor to import user data. More...
 
class  ImportDataEditorActions
 Actions for ImportDataEditor. More...
 
class  ImportDataEditorToolBar
 Toolbar for ImportDataEditor. More...
 
class  ImportDataView
 Main window to import user data. More...
 
class  ImportFileWidget
 Provides the possibility to select file names on disk and add them to list view. More...
 
class  ImportTableHeader
 Holds all data related to the content of utility rows in ImportTableModel. More...
 
class  ImportTableModel
 Table model to hold imported ASCII data after parsing it to multi-column presentation. More...
 
class  ImportTableWidget
 Contains table with imported data. More...
 
class  ImportTextView
 Text view to show imported data. More...
 
class  InstrumentModel
 Model to store specular instruments settings. More...
 
class  InstrumentPropertyEditor
 Widget with InstrumentItem properties. More...
 
class  JobItem
 Represents state of QuickSimEditor. More...
 
class  JobManager
 Handles all thread activity for running job simulation in the background. More...
 
class  JobModel
 The model to store results of (possibly) multiple reflectometry simulation, and all viewports, representing various graphs in QuickSimEditor widgets. More...
 
class  LayerEditor
 Layer editor. More...
 
class  LayerEditorActions
 Handles user actions applied to layer tree. More...
 
class  LayerEditorToolBar
 Layer editor toolbar. More...
 
class  LayerEditorWidget
 Widget to hold layer tree (LayerTreeView) and all corresponding models and delegates. More...
 
class  LayerElementController
 Manages the whole appearance of a layer on the graphicsscene. More...
 
class  LayerElementItem
 The mvvm session item associated to a layer. More...
 
class  LayerItem
 Layer with name, thickness and reference to material. More...
 
class  LayerSelectionModel
 Custom selection model for layer view model (AbstractViewModel). More...
 
class  LayerTreeView
 Extension of QTreeView for layer editing. More...
 
class  LayerViewModel
 View model to display content of MultiLayerItem in table like views. More...
 
class  LayerViewModelController
 Controller for LayerViewModel to show MultiLayerItem in a tree with custom layout. More...
 
class  LineNumberArea
 Area with line numbers. More...
 
class  LoaderPreviewPanel
 Panel with settings for DataLoaderDialog. More...
 
class  LoaderSelectorPanel
 Panel with settings for DataLoaderDialog. More...
 
class  MainBarWidget
 Widget container with functionality similar to QTabWidget. More...
 
class  MainWindow
 Application main window. More...
 
class  MaterialBaseItem
 Base class with all materials with name and color defined. More...
 
class  MaterialContainerItem
 Container to hold MaterialItems. More...
 
class  MaterialEditor
 Material editor. More...
 
class  MaterialEditorActions
 Handles user actions applied to material table. More...
 
class  MaterialEditorToolBar
 Material editor toolbar. More...
 
class  MaterialEditorWidget
 Widget to hold material table (MaterialTreeView) and all corresponding models and delegates. More...
 
class  MaterialModel
 Model to hold MaterialItems. More...
 
class  MaterialPropertyController
 Listens for all changes in material model and updates properties in SampleModel. More...
 
class  MaterialSelectionModel
 Custom selection model for material view model (AbstractViewModel). More...
 
class  MaterialTableView
 Extension of QTableView for material editing. More...
 
class  MaterialTreeView
 Extension of QTreeView for material editing. More...
 
class  MultiLayerItem
 Multi layer capable of holding layers and other multi-layers. More...
 
class  OpenProjectWidget
 Widget with logo, name of the program and buttons to create new project or open existing one. More...
 
class  ParserInterface
 Interface for all classes capable of parsing ASCII data into multicolumn presentation. More...
 
struct  ParserOptions
 Parser options to process multi column ASCII files. More...
 
class  ParserPropertyWidget
 Panel to setup ASCII parser. More...
 
class  ProfileHelper
 
class  ProjectHandler
 Main class to coordinate all activity on user's request to create new project, open existing one, or choose one of recent projects on disk. More...
 
class  ProjectPaneWidget
 Panel with labels to hold project name and project dir. More...
 
class  QSpecScanItem
 Represents Q-space specular scan with fixed bin size. More...
 
class  QuickSimController
 Provides quick reflectometry simulations on any change of SampleModel and MaterialModel. More...
 
class  QuickSimEditor
 Quick reflectivity simulations. More...
 
class  QuickSimEditorToolBar
 Toolbar for QuickSimEditor. More...
 
class  RecentProjectSettings
 Collection of settings for RecentProjectWidget. More...
 
class  RecentProjectWidget
 Widget with the name of current project and collection of recent projects. More...
 
class  RoughnessElementView
 The roughness QGraphicsViewItem. More...
 
class  RoughnessItem
 Item to represent the roughness of the layer. More...
 
class  SampleModel
 Model to hold layers and multi-layers. More...
 
class  SegmentElementView
 The segment QGraphicsViewItem on the Graphicsscene. More...
 
class  SettingsView
 Main settings view, belongs directly to MainWindow. More...
 
class  SimPlotController
 Updates reference curve in JobItem when BeamItem is changed. More...
 
class  SimPlotWidget
 Presents simulation results together with reference experimental data on two canvas. More...
 
struct  SimulationInput
 Represents data to run specular simulations. More...
 
struct  SimulationResult
 Represents results of the simulation. More...
 
class  SimulationView
 Main simulation window with all components for quick sample editing and simulations. More...
 
class  SLDCanvasItem
 Viewport intended for showing SLD profile. More...
 
class  SLDEditor
 The SLD editor QWidget. More...
 
class  SLDEditorActions
 Handles user actions applied to SLDEditor. More...
 
class  SLDEditorToolBar
 Material editor toolbar. More...
 
class  SLDElementController
 The controller of the sld layer visual representation. More...
 
class  SLDElementModel
 The model of the sld layer visual representation. More...
 
class  SLDMaterialItem
 Represents material based on scattering length density. More...
 
struct  SLDProfile
 Represents results of SLD profile calculations. More...
 
class  SLDViewWidget
 The segment QGraphicsViewItem on the Graphicsscene. More...
 
struct  SliceData
 Data structure for simple multilayer representation. More...
 
class  SpecularBeamItem
 Represents specular beam, contains settings of scan parameters. More...
 
class  SpecularInstrumentItem
 Represents specular instrument. More...
 
class  SpecularScanGroupItem
 Represent selection of possible specular scans. More...
 
class  SpecularToySimulation
 Toy simulation to calculate "specular reflectivity. More...
 
class  UserInteractor
 Provide save/discard/cancel and similar dialogs on user request. More...
 
class  WelcomeView
 Welcome view. Main widget on first tab of MainWindow. More...
 

Typedefs

using accept_int_t = std::function< bool(int)>
 Function to define if given index satisfies criteria. More...
 
using accept_string_t = std::function< bool(const std::string &line)>
 Function to define if given string should be accepted for further consideration. More...
 
using complex_t = std::complex< double >
 
using line_splitter_t = std::function< std::vector< std::string >(const std::string &line)>
 Function to define line splitter according to some criteria. More...
 
using multislice_t = std::vector< SliceData >
 

Detailed Description

Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.

Object that can generate the material profile of a sample as a function of depth.

Typedef Documentation

◆ accept_int_t

using gui2::accept_int_t = typedef std::function<bool(int)>

Function to define if given index satisfies criteria.

Definition at line 43 of file dataloader_types.h.

◆ accept_string_t

using gui2::accept_string_t = typedef std::function<bool(const std::string& line)>

Function to define if given string should be accepted for further consideration.

Definition at line 46 of file dataloader_types.h.

◆ complex_t

using gui2::complex_t = typedef std::complex<double>

Definition at line 24 of file quicksim_types.h.

◆ line_splitter_t

using gui2::line_splitter_t = typedef std::function<std::vector<std::string>(const std::string& line)>

Function to define line splitter according to some criteria.

Definition at line 49 of file dataloader_types.h.

◆ multislice_t

using gui2::multislice_t = typedef std::vector<SliceData>

Definition at line 32 of file quicksim_types.h.