![]() |
Vespucci
1.0.0
|
The MainWindow class The main window of the program, this is where the user performs most operations. More...
#include <mainwindow.h>
Public Slots | |
| void | RangeDialogAccepted (double min, double max) |
| void | SetPlotViewerActionChecked (bool checked) |
| void | SetDataViewerActionChecked (bool checked) |
| void | SetStatsViewerActionChecked (bool checked) |
| void | SetSpectrumEditorActionChecked (bool checked) |
| void | SetMacroEditorActionChecked (bool checked) |
| void | SetPythonShellActionChecked (bool checked) |
| void | SetHistoryDialogActionChecked (bool checked) |
| void | SpectrumRequested (QString dataset_key, QString map_name, size_t index) |
| void | HeldSpectrumRequested (QString dataset_key, QString map_name, size_t index) |
| void | ItemSelected (TreeItem *item) |
Signals | |
| void | DatasetSelectionChanged (QString dataset_key) |
| void | MatrixSelectionChanged (QStringList matrix_keys) |
| void | DatasetToBeRemoved (QString name) |
| void | MatrixToBeRemoved (QStringList keys) |
Protected Member Functions | |
| void | closeEvent (QCloseEvent *event) |
| MainWindow::closeEvent. More... | |
The MainWindow class The main window of the program, this is where the user performs most operations.
Definition at line 58 of file mainwindow.h.
|
explicit |
| parent | usually 0 |
| ws | the workspace of this instance of Vespucci Default constructor |
Definition at line 67 of file mainwindow.cpp.
| MainWindow::~MainWindow | ( | ) |
Definition at line 140 of file mainwindow.cpp.
|
protected |
| event | Exits the program |
Definition at line 162 of file mainwindow.cpp.
| DataViewer * MainWindow::data_viewer | ( | ) |
Definition at line 895 of file mainwindow.cpp.
| DatasetTreeModel * MainWindow::dataset_tree_model | ( | ) |
Definition at line 885 of file mainwindow.cpp.
|
signal |
|
signal |
| void MainWindow::DisplayExceptionWarning | ( | std::exception | e | ) |
MainWindow::DisplayExceptionWarning.
| e | Used to handle exceptions arising from dialogs. Displays a pop-up box describing the nature of the error. Most exceptions are not critical, but will result in the action that caused the exception being canceled. |
Definition at line 845 of file mainwindow.cpp.
| void MainWindow::DisplayExceptionWarning | ( | std::string | where, |
| std::exception | e | ||
| ) |
| void MainWindow::DisplayInformation | ( | const QString & | title, |
| const QString & | text | ||
| ) |
Definition at line 875 of file mainwindow.cpp.
| void MainWindow::DisplayWarning | ( | const QString & | title, |
| const QString & | text | ||
| ) |
Definition at line 867 of file mainwindow.cpp.
| QCPRange* MainWindow::global_data_range | ( | ) |
| QCPColorGradient* MainWindow::global_gradient | ( | ) |
|
slot |
Definition at line 1002 of file mainwindow.cpp.
|
slot |
Definition at line 1011 of file mainwindow.cpp.
| QListView* MainWindow::map_list_view | ( | ) |
|
signal |
|
signal |
| PlotViewer * MainWindow::plot_viewer | ( | ) |
Definition at line 890 of file mainwindow.cpp.
|
slot |
Definition at line 941 of file mainwindow.cpp.
| void MainWindow::RecalculateGlobalDataRange | ( | QCPRange * | new_data_range | ) |
| void MainWindow::RefreshGlobalColorGradient | ( | QCPColorGradient | new_gradient | ) |
| void MainWindow::RefreshTreeModel | ( | const DataModel * | data_model | ) |
| data_model | Creates a new DatasetTreeModel and changes the tree view to the new model |
Definition at line 149 of file mainwindow.cpp.
| void MainWindow::SetActiveDatasetListRow | ( | const QModelIndex & | index | ) |
| void MainWindow::SetActiveDatasetTreeIndex | ( | const QModelIndex & | index | ) |
Definition at line 861 of file mainwindow.cpp.
| void MainWindow::SetDatasetTreeModel | ( | DatasetTreeModel * | new_model | ) |
Definition at line 880 of file mainwindow.cpp.
|
slot |
Definition at line 963 of file mainwindow.cpp.
| void MainWindow::SetGlobalDataRange | ( | QCPRange * | new_data_range | ) |
|
slot |
Definition at line 988 of file mainwindow.cpp.
|
slot |
Definition at line 978 of file mainwindow.cpp.
|
slot |
Definition at line 958 of file mainwindow.cpp.
|
slot |
Definition at line 983 of file mainwindow.cpp.
|
slot |
Definition at line 973 of file mainwindow.cpp.
|
slot |
Definition at line 968 of file mainwindow.cpp.
|
slot |
Definition at line 993 of file mainwindow.cpp.
| QSharedPointer< VespucciWorkspace > MainWindow::workspace_ptr | ( | ) |
Definition at line 794 of file mainwindow.cpp.