SciDAVis  1.D4
Public Types | Public Slots | Signals | Public Member Functions | Public Attributes | Private Slots | Private Member Functions | Private Attributes
ApplicationWindow Class Reference

SciDAVis's main window. More...

#include <ApplicationWindow.h>

Inheritance diagram for ApplicationWindow:
scripted

List of all members.

Public Types

enum  { MaxRecentProjects = 10 }
enum  ShowWindowsPolicy { HideAll, ActiveFolder, SubFolders }

Public Slots

static void about ()
 Show about dialog.
void addColToTable ()
void addErrorBars ()
bool alreadyUsedName (const QString &label)
void changeMatrixName (const QString &oldName, const QString &newName)
void clearSelection ()
QStringList columnsList (SciDAVis::PlotDesignation plotType)
QStringList columnsList ()
void copyActiveLayer ()
void copyMarker ()
void copySelection ()
void copyStatusBarText ()
 Copy the status bar text to the clipboard.
void createLanguagesList ()
void cutSelection ()
void defineErrorBars (const QString &name, int type, const QString &percent, int direction)
void defineErrorBars (const QString &curveName, const QString &errColumnName, int direction)
QStringList depending3DPlots (Matrix *m)
QStringList dependingPlots (const QString &caption)
void hideCurve ()
void hideOtherCurves ()
QStringList matrixNames ()
 Returns a list with the names of all the matrices in the project.
void movePoints ()
QStringList multilayerDependencies (QWidget *w)
MultiLayernewGraph (const QString &caption=tr("Graph"))
 Creates a new empty multilayer plot.
void newProject ()
void openTemplate ()
void parseCommandLineArguments (const QStringList &args)
void pasteSelection ()
bool projectHas2DPlots ()
bool projectHas3DPlots ()
bool projectHasMatrices ()
void redo ()
void removeCurve ()
 Removes the curve identified by a key stored in the data() of actionRemoveCurve.
void removeCurves (const QString &name)
void removePoints ()
void resizeActiveWindow ()
void resizeWindow ()
void restoreWindowGeometry (ApplicationWindow *app, MyWidget *w, const QString s)
void saveAsTemplate ()
void setCurveFullRange ()
void showAllCurves ()
void showBugTracker ()
 Open bug tracking system at SF.net in external browser.
void showForums ()
 Open forums page at SF.net in external browser.
void showHomePage ()
 Open SciDAVis homepage in external browser.
void showStatusBarContextMenu (const QPoint &pos)
 Show the context menu for the status bar.
void showTable (const QString &curve)
void switchToLanguage (int param)
void switchToLanguage (const QString &locale)
void translateCurveHor ()
void translateCurveVert ()
void undo ()
void updateColNames (const QString &oldName, const QString &newName)
void updateConfirmOptions (bool askTables, bool askMatrixes, bool askPlots2D, bool askPlots3D, bool askNotes)
void updateCurves (Table *t, const QString &name)
void updateRecentProjectsList ()
void updateTableNames (const QString &oldName, const QString &newName)
static QString versionString ()
 Return a version string ("SciDAVis x.y.z")
QWidget * window (const QString &name)
 Returns a pointer to the window named "name".
QString windowGeometryInfo (MyWidget *w)
void windowsMenuAboutToShow ()
void windowsMenuActivated (int id)
Projects and Project Files
void open ()
ApplicationWindowopen (const QString &fn)
QFile * openCompressedFile (const QString &fn)
 Returns temporary file ready for reading uncompressed content.
ApplicationWindowopenProject (const QString &fn)
void showHistory ()
ApplicationWindowplotFile (const QString &fn)
 Create a new project from a data file.
ApplicationWindowloadScript (const QString &fn, bool execute=false)
 Create a new project from a script file.
QWidgetList * windowsList ()
void updateWindowLists (MyWidget *w)
void cascade ()
void saveProjectAs ()
bool saveProject ()
void modifiedProject ()
 Set the project status to modifed.
void savedProject ()
 Set the project status to saved (not modified)
void modifiedProject (QWidget *w)
 Set the project status to modified and save 'w' as the last modified widget.
Settings
void readSettings ()
void saveSettings ()
void applyUserSettings ()
void setSaveSettings (bool autoSaving, int min)
void changeAppStyle (const QString &s)
void changeAppFont (const QFont &f)
void updateAppFonts ()
void setAppColors (const QColor &wc, const QColor &pc, const QColor &tpc)
Multilayer Plots
MultiLayermultilayerPlot (int c, int r, int style)
MultiLayermultilayerPlot (Table *w, const QStringList &colList, int style, int startRow=0, int endRow=-1)
MultiLayermultilayerPlot (const QString &caption)
 used when restoring a plot from a project file
MultiLayermultilayerPlot (const QStringList &colList)
 used by the plot wizard
void connectMultilayerPlot (MultiLayer *g)
void addLayer ()
void deleteLayer ()
MultiLayerplotSpectrogram (Matrix *m, Graph::CurveType type)
 Creates a new spectrogram graph.
void plotGrayScale ()
MultiLayerplotGrayScale (Matrix *m)
void plotContour ()
MultiLayerplotContour (Matrix *m)
void plotColorMap ()
MultiLayerplotColorMap (Matrix *m)
void autoArrangeLayers ()
 Rearrange the layersin order to fit to the size of the plot window.
void initMultilayerPlot (MultiLayer *g, const QString &name)
void polishGraph (Graph *g, int style)
void plot2VerticalLayers ()
void plot2HorizontalLayers ()
void plot4Layers ()
void plotStackedLayers ()
void plotStackedHistograms ()
3D Data Plots
Graph3DopenMatrixPlot3D (const QString &caption, const QString &matrix_name, double xl, double xr, double yl, double yr, double zl, double zr)
Graph3DdataPlot3D (Table *table, const QString &colName)
Graph3DdataPlotXYZ (Table *table, const QString &zColName, int type)
Graph3DdataPlot3D (const QString &caption, const QString &formula, double xl, double xr, double yl, double yr, double zl, double zr)
Graph3DdataPlotXYZ (const QString &caption, const QString &formula, double xl, double xr, double yl, double yr, double zl, double zr)
Surface Plots
Graph3DnewPlot3D ()
Graph3DnewPlot3D (const QString &formula, double xl, double xr, double yl, double yr, double zl, double zr)
Graph3DnewPlot3D (const QString &caption, const QString &formula, double xl, double xr, double yl, double yr, double zl, double zr)
void connectSurfacePlot (Graph3D *plot)
void newSurfacePlot ()
void editSurfacePlot ()
void remove3DMatrixPlots (Matrix *m)
void updateMatrixPlots (QWidget *)
void add3DData ()
void change3DData ()
void change3DData (const QString &colName)
void change3DMatrix ()
void change3DMatrix (const QString &matrix_name)
void insertNew3DData (const QString &colName)
void add3DMatrixPlot ()
void insert3DMatrixPlot (const QString &matrix_name)
void initPlot3D (Graph3D *plot)
void customPlot3D (Graph3D *plot)
void setPlot3DOptions ()
void plot3DWireframe ()
void plot3DHiddenLine ()
void plot3DPolygons ()
void plot3DWireSurface ()
void plot3DMatrix (int style)
void plot3DRibbon ()
void plot3DScatter ()
void plot3DTrajectory ()
void plot3DBars ()
User-defined Functions
bool newFunctionPlot (int type, QStringList &formulas, const QString &var, QList< double > &ranges, int points)
FunctionDialogfunctionDialog ()
void showFunctionDialog ()
void showFunctionDialog (Graph *g, int curve)
void addFunctionCurve ()
void clearFitFunctionsList ()
void saveFitFunctionsList (const QStringList &l)
void clearSurfaceFunctionsList ()
void clearLogInfo ()
void clearParamFunctionsList ()
void clearPolarFunctionsList ()
void updateFunctionLists (int type, QStringList &formulas)
void updateSurfaceFuncList (const QString &s)
Matrices
MatrixnewMatrix (int rows=32, int columns=32)
 Creates a new empty matrix.
MatrixnewMatrix (const QString &caption, int r, int c)
 To be used when opening a project file only!
Matrixmatrix (const QString &name)
MatrixconvertTableToMatrix ()
void initMatrix (Matrix *m)
void invertMatrix ()
void matrixDeterminant ()
Tables
TablenewTable ()
 Creates an empty table.
TablenewTable (const QString &fname, const QString &sep, int lines, bool renameCols, bool stripSpaces, bool simplifySpaces, bool convertToNumeric, QLocale numericLocale)
 Used when importing an ASCII file.
TablenewTable (const QString &caption, int r, int c)
 Used when loading a table from a project file.
TablenewTable (int r, int c, const QString &name=QString(), const QString &legend=QString())
TablenewTable (const QString &name, const QString &legend, QList< Column * > columns)
TablenewHiddenTable (const QString &name, const QString &label, QList< Column * > columns)
 Create a Table which is initially hidden; used to return the result of an analysis operation.
Tabletable (const QString &name)
TableconvertMatrixToTable ()
QWidgetList * tableList ()
void connectTable (Table *w)
void newWrksheetPlot (const QString &name, const QString &label, QList< Column * > columns)
void initTable (Table *w)
void customTable (Table *w)
void customizeTables (const QColor &bgColor, const QColor &textColor, const QColor &headerColor, const QFont &textFont, const QFont &headerFont, bool showComments)
void importASCII ()
void importASCII (const QStringList &files, int import_mode, const QString &local_column_separator, int local_ignored_lines, bool local_rename_columns, bool local_strip_spaces, bool local_simplify_spaces, bool local_convert_to_numeric, QLocale local_numeric_locale)
void exportAllTables (const QString &sep, bool colNames, bool expSelection)
void exportASCII (const QString &tableName, const QString &sep, bool colNames, bool expSelection)
TableStatisticsnewTableStatistics (Table *base, int type, QList< int >, const QString &caption=QString::null)
Graphs
void setPreferences (Graph *g)
void setGraphDefaultSettings (bool autoscale, bool scaleFonts, bool resizeLayers, bool antialiasing)
void setLegendDefaultSettings (int frame, const QFont &font, const QColor &textCol, const QColor &backgroundCol)
void setArrowDefaultSettings (int lineWidth, const QColor &c, Qt::PenStyle style, int headLength, int headAngle, bool fillHead)
void plotPie ()
void plotVectXYXY ()
void plotVectXYAM ()
Image Analysis
void intensityTable ()
void pixelLineProfile ()
void loadImage ()
void loadImage (const QString &fn)
MatriximportImage ()
MatriximportImage (const QString &fn)
Export and Print
void exportLayer ()
void exportGraph ()
void exportAllGraphs ()
void exportPDF ()
void print ()
void print (QWidget *w)
void printAllPlots ()
MDI Windows
MyWidgetclone ()
MyWidgetclone (MyWidget *)
void renameActiveWindow ()
void renameWindow (Q3ListViewItem *item, int, const QString &s)
 Called when the user presses F2 and an item is selected in lv.
bool renameWindow (MyWidget *w, const QString &text)
 Checks weather the new window name is valid and modifies the name.
void maximizeWindow (Q3ListViewItem *lbi)
void maximizeWindow ()
void minimizeWindow ()
void setWindowGeometry (int x, int y, int w, int h)
 Changes the geometry of the active MDI window.
void updateWindowStatus (MyWidget *)
bool hidden (QWidget *window)
void closeActiveWindow ()
void closeWindow (MyWidget *window)
void removeWindowFromLists (MyWidget *w)
 Does all the cleaning work before actually deleting a window!
void hideWindow (MyWidget *window)
void hideActiveWindow ()
void activateWindow ()
void activateWindow (MyWidget *)
void printWindow ()
List View in Project Explorer
void setListView (const QString &caption, const QString &view)
void renameListViewItem (const QString &oldName, const QString &newName)
void setListViewDate (const QString &caption, const QString &date)
QString listViewDate (const QString &caption)
void setListViewLabel (const QString &caption, const QString &label)
Reading from a Project File
MatrixopenMatrix (ApplicationWindow *app, const QStringList &flist)
TableopenTable (ApplicationWindow *app, QTextStream &stream)
TableStatisticsopenTableStatistics (const QStringList &flist)
Graph3DopenSurfacePlot (ApplicationWindow *app, const QStringList &lst)
GraphopenGraph (ApplicationWindow *app, MultiLayer *plot, const QStringList &list)
void openRecentProject ()
Initialization
void insertTranslatedStrings ()
void translateActionsStrings ()
void init ()
void initGlobalConstants ()
void createActions ()
void initMainMenu ()
void initPlotMenu ()
void initTableAnalysisMenu ()
void initPlotDataMenu ()
void initToolBars ()
void initPlot3DToolBar ()
void disableActions ()
void hideToolbars ()
void customToolBars (QWidget *w)
void customMenu (QWidget *w)
void windowActivated (QWidget *w)
Table Tools
void correlate ()
void autoCorrelate ()
void convolute ()
void deconvolute ()
void clearTable ()
Plot Tools
void newLegend ()
void addTimeStamp ()
void drawLine ()
void drawArrow ()
void addText ()
void disableAddText ()
void addImage ()
void zoomIn ()
void zoomOut ()
void setAutoScale ()
void showRangeSelectors ()
void showCursor ()
void showScreenReader ()
void pickPointerCursor ()
void pickDataTool (QAction *action)
void updateLog (const QString &result)
Fitting
void deleteFitTables ()
void fitLinear ()
void fitSigmoidal ()
void fitGauss ()
void fitLorentz ()
void fitMultiPeak (int profile)
void fitMultiPeakGauss ()
void fitMultiPeakLorentz ()
Calculus
void differentiate ()
void analysis (const QString &whichFit)
void analyzeCurve (Graph *g, const QString &whichFit, const QString &curveTitle)
void showDataSetDialog (const QString &whichFit)
Event Handlers
void closeEvent (QCloseEvent *)
void timerEvent (QTimerEvent *e)
void dragEnterEvent (QDragEnterEvent *e)
void dropEvent (QDropEvent *e)
void customEvent (QEvent *e)
Dialogs
void showFindDialogue ()
void showPlotDialog (int curveKey=-1)
 Show plot style dialog for the active MultiLayer / activeGraph / specified curve or the activeGraph options dialog if no curve is specified (curveKey = -1).
QDialog * showScaleDialog ()
QDialog * showPlot3dDialog ()
AxesDialogshowScalePageFromAxisDialog (int axisPos)
AxesDialogshowAxisPageFromAxisDialog (int axisPos)
void showAxisDialog ()
void showGridDialog ()
void showGeneralPlotDialog ()
void showResults (bool ok)
void showResults (const QString &s, bool ok=true)
void showTextDialog ()
void showLineDialog ()
void showTitleDialog ()
void showExportASCIIDialog ()
void showCurvesDialog ()
void showCurveRangeDialog ()
CurveRangeDialogshowCurveRangeDialog (Graph *g, int curve)
void showPlotAssociations (int curve)
void showXAxisTitleDialog ()
void showYAxisTitleDialog ()
void showRightAxisTitleDialog ()
void showTopAxisTitleDialog ()
void showGraphContextMenu ()
void showLayerButtonContextMenu ()
void showWindowContextMenu ()
void showWindowTitleBarMenu ()
void showCurveContextMenu (int curveKey)
void showCurvePlotDialog ()
void showCurveWorksheet ()
void showCurveWorksheet (Graph *g, int curveIndex)
void showWindowPopupMenu (Q3ListViewItem *it, const QPoint &p, int)
void showListViewSelectionMenu (const QPoint &p)
 Connected to the context menu signal from lv; it's called when there are several items selected in the list.
void showListViewPopupMenu (const QPoint &p)
 Connected to the context menu signal from lv; it's called when there are no items selected in the list.
void showMoreWindows ()
void showMarkerPopupMenu ()
void showHelp ()
static void showStandAloneHelp ()
void chooseHelpFolder ()
QString guessHelpFolder ()
void showPlotWizard ()
void showFitPolynomDialog ()
void showIntegrationDialog ()
void showInterpolationDialog ()
void showExpGrowthDialog ()
void showExpDecayDialog ()
void showExpDecayDialog (int type)
void showTwoExpDecayDialog ()
void showExpDecay3Dialog ()
void showRowStatistics ()
void showColStatistics ()
void showFitDialog ()
void showImageDialog ()
void showPlotGeometryDialog ()
void showLayerDialog ()
void showPreferencesDialog ()
void showSmoothSavGolDialog ()
void showSmoothFFTDialog ()
void showSmoothAverageDialog ()
void showSmoothDialog (int m)
void showFilterDialog (int filter)
void lowPassFilterDialog ()
void highPassFilterDialog ()
void bandPassFilterDialog ()
void bandBlockFilterDialog ()
void showFFTDialog ()
Plot3D Tools
void toggle3DAnimation (bool on=true)
void togglePerspective (bool on=true)
 Turns perspective mode on or off.
void resetRotation ()
 Resets rotation of 3D plots to default values.
void fitFrameToLayer ()
 Finds best layout for the 3D plot.
void setFramed3DPlot ()
void setBoxed3DPlot ()
void removeAxes3DPlot ()
void removeGrid3DPlot ()
void setHiddenLineGrid3DPlot ()
void setLineGrid3DPlot ()
void setPoints3DPlot ()
void setCrosses3DPlot ()
void setCones3DPlot ()
void setBars3DPlot ()
void setFilledMesh3DPlot ()
void setEmptyFloor3DPlot ()
void setFloorData3DPlot ()
void setFloorIso3DPlot ()
void setFloorGrid3DPlot (bool on)
void setCeilGrid3DPlot (bool on)
void setRightGrid3DPlot (bool on)
void setLeftGrid3DPlot (bool on)
void setFrontGrid3DPlot (bool on)
void setBackGrid3DPlot (bool on)
void pickPlotStyle (QAction *action)
void pickCoordSystem (QAction *action)
void pickFloorStyle (QAction *action)
void custom3DActions (QWidget *w)
void custom3DGrids (int grids)
Notes
NotenewNote (const QString &caption=QString())
 Creates a new empty note window.
NoteopenNote (ApplicationWindow *app, const QStringList &flist)
void initNote (Note *m, const QString &caption)
void saveNoteAs ()
Folders
FoldercurrentFolder ()
 Returns a to the current folder in the project.
void addFolder ()
 Adds a new folder to the project.
void deleteFolder ()
 Deletes the current folder.
bool deleteFolder (Folder *f)
 Ask confirmation from user, deletes the folder f if user confirms and returns true, otherwise returns false;.
void deleteSelectedItems ()
 Deletes the currently selected items from the list view lv.
void deactivateFolders ()
 Sets all items in the folders list view to be deactivated.
bool changeFolder (Folder *newFolder, bool force=false)
 Changes the current folder.
void folderItemChanged (Q3ListViewItem *it)
 Changes the current folder when the user changes the current item in the QListView "folders".
void folderItemDoubleClicked (Q3ListViewItem *it)
 Changes the current folder when the user double-clicks on a folder item in the QListView "lv".
void showFolderPopupMenu (Q3ListViewItem *it, const QPoint &p, bool fromFolders)
 creates and opens the context menu of a folder list view item
void showFolderPopupMenu (Q3ListViewItem *it, const QPoint &p, int)
 connected to the SIGNAL contextMenuRequested from the list views
void startRenameFolder ()
 starts renaming the selected folder by creating a built-in text editor
void startRenameFolder (Q3ListViewItem *item)
 starts renaming the selected folder by creating a built-in text editor
void renameFolder (Q3ListViewItem *it, int col, const QString &text)
 checks weather the new folder name is valid and modifies the name
void showAllFolderWindows ()
 forces showing all windows in the current folder and subfolders, depending on the user's viewing policy
void hideAllFolderWindows ()
 forces hidding all windows in the current folder and subfolders, depending on the user's viewing policy
void hideFolderWindows (Folder *f)
 hides all windows in folder f
void folderProperties ()
 pops up folder information
void windowProperties ()
 pops up information about the selected window item
void projectProperties ()
 pops up information about the current project
void appendProject ()
 Pops up a file dialog and invokes appendProject(const QString&) on the result.
void appendProject (const QString &file_name)
 Open the specified project file and add it as a subfolder to the current folder.
void saveAsProject ()
void saveFolderAsProject (Folder *f)
void saveFolder (Folder *folder, const QString &fn)
void rawSaveFolder (Folder *folder, QIODevice *device)
void addFolderListViewItem (Folder *f)
 adds a folder list item to the list view "lv"
void addListViewItem (MyWidget *w)
 adds a widget list item to the list view "lv"
void setShowWindowsPolicy (int p)
 hides or shows windows in the current folder and changes the view windows policy
FolderprojectFolder ()
 returns a pointer to the root project folder
void find (const QString &s, bool windowNames, bool labels, bool folderNames, bool caseSensitive, bool partialMatch, bool subfolders)
 used by the findDialog
void dragFolderItems (QList< Q3ListViewItem * > items)
 initializes the list of items dragged by the user
void dropFolderItems (Q3ListViewItem *dest)
 Drop the objects in the list draggedItems to the folder of the destination item.
void moveFolder (FolderListItem *src, FolderListItem *dest)
 moves a folder item to another
Scripting
void scriptError (const QString &message, const QString &scriptName, int lineNumber)
 notify the user that an error occured in the scripting system
void executeNotes ()
 execute all notes marked auto-exec
void showScriptingLangDialog ()
 show scripting language selection dialog
void restartScriptingEnv ()
 create a new environment for the current scripting language
void scriptPrint (const QString &text)
 print to scripting console (if available) or to stdout
bool setScriptingLang (const QString &lang, bool force=false)
 switches to the given scripting language; if this is the same as the current one and force is true, restart it

Signals

void modified ()

Public Member Functions

 ApplicationWindow ()
 ApplicationWindow (const QStringList &l)
QString generateUniqueName (const QString &name, bool increment=true)
QStringList tableWindows ()
 ~ApplicationWindow ()
- Public Member Functions inherited from scripted
 scripted (ScriptingEnv *env)
void scriptingChangeEvent (ScriptingChangeEvent *)
 ~scripted ()

Public Attributes

bool allAxesOn
bool antialiasing2DPlots
QFont appFont
QString appLanguage
QString appStyle
QTranslator * appTranslator
int arrowHeadAngle
int arrowHeadLength
QString asciiDirPath
int asciiID
QAssistantClient * assistant
bool autoResizeLayers
bool autoSave
int autoSaveTime
bool autoscale2DPlots
bool autoscale3DPlots
bool autoScaleFonts
int axesLineWidth
QToolButton * btnResults
bool canvasFrameOn
int canvasFrameWidth
int closeID
QString columnSeparator
QString configFilePath
bool confirmCloseFolder
bool confirmCloseMatrix
bool confirmCloseNotes
bool confirmClosePlot2D
bool confirmClosePlot3D
bool confirmCloseTable
bool copiedLayer
Graph::MarkerType copiedMarkerType
Foldercurrent_folder
 pointer to the current folder in the project
bool d_2_linear_fit_points
 Calculate only 2 points in a generated linear fit function curve.
QSize d_add_curves_dialog_size
 User defined size for the Add/Remove curves dialog.
QString d_ASCII_file_filter
 Last selected filter in import ASCII dialog.
QLocale d_ASCII_import_locale
 Locale used to specify the decimal separators in imported ASCII files.
bool d_convert_to_numeric
int d_decimal_digits
 default precision to be used for all other operations than fitting
char d_default_numeric_format
bool d_export_color
int d_export_orientation
 Default paper orientation for image exports.
int d_export_quality
int d_export_resolution
bool d_export_transparency
int d_export_vector_size
bool d_extended_export_dialog
bool d_extended_import_ASCII_dialog
bool d_extended_open_dialog
bool d_extended_plot_dialog
int d_file_version
 File version code used when opening project files (= maj * 100 + min * 10 + patch)
QString d_image_export_filter
 Last selected filter in export image dialog.
bool d_keep_plot_aspect
bool d_print_cropmarks
bool d_scale_plots_on_print
bool d_show_current_folder
 Specifies if only the Tables/Matrices in the current folder should be displayed in the Add/remove curve dialog.
bool d_show_table_comments
QWorkspace * d_workspace
QColor defaultArrowColor
int defaultArrowHeadAngle
bool defaultArrowHeadFill
int defaultArrowHeadLength
Qt::PenStyle defaultArrowLineStyle
int defaultArrowLineWidth
int defaultCurveLineWidth
int defaultCurveStyle
int defaultPlotMargin
QString defaultScriptingLang
 The scripting language to use for new projects.
int defaultSymbolSize
bool drawBackbones
QToolBar * edit_tools
bool endArrowOn
QDockWidget * explorerWindow
int exportID
QToolBar * file_tools
bool fillArrowHead
int fillMenuID
int filterMenuID
int fit_output_precision
 precision used for the output of the fit operations
bool fit_scale_errors
 Scale the errors output in fit operations with reduced chi^2.
int fitExpMenuID
QStringList fitFunctions
QString fitPluginsPath
int fitPoints
 Number of points in a generated fit curve.
FolderListViewfolders
QStringList functions
bool generatePeakCurves
bool generateUniformFitPoints
QToolBar * graph_3D_tools
QToolBar * graph_tools
QString helpFilePath
QWidgetList * hiddenWindows
int ignoredLines
QString imagesDirPath
QWidget * lastModified
QColor legendBackground
int legendFrameStyle
QColor legendTextColor
QStringList locales
int logID
QString logInfo
QDockWidget * logWindow
FolderListViewlv
int majTicksLength
int majTicksStyle
QToolBar * matrix_plot_tools
int minTicksLength
int minTicksStyle
int multiPeakMenuID
int newMenuID
bool orthogonal3DPlots
QWidgetList * outWindows
int panelMenuID
QColor panelsColor
QColor panelsTextColor
bool pasteFitResultsToPlot
int peakCurvesColor
QFont plot3DAxesFont
QStringList plot3DColors
int plot3dID
QFont plot3DNumbersFont
int plot3DResolution
QFont plot3DTitleFont
QToolBar * plot_tools
QFont plotAxesFont
QFont plotLegendFont
int plotMenuID
QFont plotNumbersFont
QFont plotTitleFont
int printAllID
QString projectname
QTranslator * qtTranslator
int recentMenuID
QStringList recentProjects
bool renameColumns
QStringList renamedTables
 List of tables and matrices renamed in order to avoid conflicts when appending a project to a folder.
QTextEdit * results
QStringList rFunctions
bool saved
int savingTimerId
int setAsMenuID
ShowWindowsPolicy show_windows_policy
 Describes which windows are shown when the folder becomes the current folder.
bool showPlot3DLegend
bool showPlot3DProjection
bool simplify_spaces
bool smooth3DMesh
int smoothMenuID
int specialPlotMenuID
bool startArrowOn
int statMenuID
bool strip_spaces
QStringList surfaceFunc
QToolBar * table_tools
QColor tableBkgdColor
QColor tableHeaderColor
QFont tableHeaderFont
QColor tableTextColor
QFont tableTextFont
QString templatesDir
 Path to the folder where the last template file was opened/saved.
QStringList thetaFunctions
bool titleOn
int translateMenuID
int undoLimit
QString workingDir
QColor workspaceColor
bool writeFitResultsToLog
 Write fit output information to Result Log.
QStringList xFunctions
QStringList yFunctions
variables used when user copy/paste markers
QString auxMrkText
QFont auxMrkFont
QColor auxMrkColor
QColor auxMrkBkgColor
QPoint auxMrkStart
QPoint auxMrkEnd
Qt::PenStyle auxMrkStyle
QString auxMrkFileName
int auxMrkBkg
int auxMrkWidth

Private Slots

void handleAspectAboutToBeRemoved (const AbstractAspect *aspect, int index)
void handleAspectAdded (const AbstractAspect *aspect, int index)
void removeDependentTableStatistics (const AbstractAspect *aspect)
void selectPlotType (int type)
 Manage plot type selection.
void setActiveWindowFromAction ()
 Set the active window selected from the context menu's dependency list.

Private Member Functions

int convertOldToNewColorIndex (int cindex)
 Workaround for the new colors introduced in rev 447.
QMenu * createToolbarsMenu ()
 Create a menu for toggeling the toolbars.
void showWindowMenu (MyWidget *widget)
 Show a context menu for the widget.
bool validFor2DPlot (Table *table, int type)
 Check whether a table is valid for a 2D plot and display an appropriate error if not.
bool validFor3DPlot (Table *table)
 Check whether a table is valid for a 3D plot and display an appropriate error if not.

Private Attributes

QAction * actionAbout
QAction * actionActivateWindow
QAction * actionAdd3DData
QAction * actionAddColToTable
QAction * actionAddErrorBars
QAction * actionAddFunctionCurve
QAction * actionAddImage
QAction * actionAddLayer
QAction * actionAddText
QAction * actionAnimate
QAction * actionAutoCorrelate
QAction * actionAutomaticLayout
QAction * actionBandBlockFilter
QAction * actionBandPassFilter
QAction * actionBoxPlot
QAction * actionClearLogInfo
QAction * actionClearSelection
QAction * actionClearTable
QAction * actionCloseAllWindows
QAction * actionCloseWindow
QAction * actionColorMap
QAction * actionContourMap
QAction * actionConvertMatrix
QAction * actionConvertTable
QAction * actionConvolute
QAction * actionCopySelection
QAction * actionCopyStatusBarText
QAction * actionCopyWindow
QAction * actionCorrelate
QAction * actionCurveFullRange
QAction * actionCutSelection
QAction * actionDeconvolute
QAction * actionDeleteFitTables
QAction * actionDeleteLayer
QAction * actionDifferentiate
QAction * actionEditCurveRange
QAction * actionEditFunction
QAction * actionEditSurfacePlot
QAction * actionExportAllGraphs
QAction * actionExportGraph
QAction * actionExportPDF
QAction * actionFFT
QAction * actionFitExpGrowth
QAction * actionFitFrame
QAction * actionFitGauss
QAction * actionFitLinear
QAction * actionFitLorentz
QAction * actionFitSigmoidal
QAction * actionGoToCell
QAction * actionGrayMap
QAction * actionHelpBugReports
QAction * actionHelpForums
QAction * actionHideActiveWindow
QAction * actionHideCurve
QAction * actionHideOtherCurves
QAction * actionHighPassFilter
QAction * actionHomePage
QAction * actionImportImage
QAction * actionIntensityTable
QAction * actionInterpolate
QAction * actionInvertMatrix
QAction * actionLoad
QAction * actionLoadImage
QAction * actionLowPassFilter
QAction * actionMatrixDeterminant
QAction * actionMaximizeWindow
QAction * actionMinimizeWindow
QAction * actionMultiPeakGauss
QAction * actionMultiPeakLorentz
QAction * actionNewFunctionPlot
QAction * actionNewGraph
QAction * actionNewLegend
QAction * actionNewMatrix
QAction * actionNewNote
QAction * actionNewProject
QAction * actionNewSurfacePlot
QAction * actionNewTable
QAction * actionNextWindow
QAction * actionNoteEvaluate
QAction * actionNoteExecute
QAction * actionNoteExecuteAll
QAction * actionOpen
QAction * actionOpenTemplate
QAction * actionPasteSelection
QAction * actionPerspective
QAction * actionPixelLineProfile
QAction * actionPlot2HorizontalLayers
QAction * actionPlot2VerticalLayers
QAction * actionPlot3DBars
QAction * actionPlot3DHiddenLine
QAction * actionPlot3DPolygons
QAction * actionPlot3DRibbon
QAction * actionPlot3DScatter
QAction * actionPlot3DTrajectory
QAction * actionPlot3DWireFrame
QAction * actionPlot3DWireSurface
QAction * actionPlot4Layers
QAction * actionPlotArea
QAction * actionPlotHistogram
QAction * actionPlotHorizontalBars
QAction * actionPlotHorSteps
QAction * actionPlotL
QAction * actionPlotLP
QAction * actionPlotP
QAction * actionPlotPie
QAction * actionPlotSpline
QAction * actionPlotStackedHistograms
QAction * actionPlotStackedLayers
QAction * actionPlotVectXYAM
QAction * actionPlotVectXYXY
QAction * actionPlotVerticalBars
QAction * actionPlotVerticalDropLines
QAction * actionPlotVertSteps
QAction * actionPrevWindow
QAction * actionPrint
QAction * actionPrintAllPlots
QAction * actionPrintWindow
QAction * actionRedo
QAction * actionRemoveCurve
QAction * actionRename
QAction * actionResetRotation
QAction * actionResizeActiveWindow
QAction * actionResizeWindow
QAction * actionRestartScripting
QAction * actionSaveNote
QAction * actionSaveProject
QAction * actionSaveProjectAs
QAction * actionSaveTemplate
QAction * actionScriptingLang
QAction * actionShowAllCurves
QAction * actionShowAxisDialog
QAction * actionShowColStatistics
QAction * actionShowConfigureDialog
QAction * actionShowCurvePlotDialog
QAction * actionShowCurvesDialog
QAction * actionShowCurveWorksheet
QAction * actionShowExpDecay3Dialog
QAction * actionShowExpDecayDialog
QAction * actionShowExplorer
QAction * actionShowExportASCIIDialog
QAction * actionShowFitDialog
QAction * actionShowFitPolynomDialog
QAction * actionShowGridDialog
QAction * actionShowHelp
QAction * actionShowHistory
QAction * actionShowImageDialog
QAction * actionShowIntDialog
QAction * actionShowLayerDialog
QAction * actionShowLineDialog
QAction * actionShowLog
QAction * actionShowMoreWindows
QAction * actionShowPlotDialog
QAction * actionShowPlotGeometryDialog
QAction * actionShowPlotWizard
QAction * actionShowRowStatistics
QAction * actionShowScaleDialog
QAction * actionShowTextDialog
QAction * actionShowTitleDialog
QAction * actionShowTwoExpDecayDialog
QAction * actionSmoothAverage
QAction * actionSmoothFFT
QAction * actionSmoothSavGol
QAction * actionTimeStamp
QAction * actionTranslateHor
QAction * actionTranslateVert
QAction * actionUndo
QAction * actionUnzoom
QAction * back
QAction * barstyle
QAction * Box
QAction * btnArrow
QAction * btnCursor
QAction * btnLine
QAction * btnMovePoints
QAction * btnPicker
QAction * btnPointer
QAction * btnRemovePoints
QAction * btnSelect
QAction * btnZoomIn
QAction * btnZoomOut
QMenu * calcul
QAction * ceil
QAction * conestyle
QActionGroup * coord
QAction * crossHairStyle
QSignalMapper * d_plot_mapper
 Manages connection between plot actions and Graph::CurveType values (not used by all plot actions).
Projectd_project
QMenu * d_quick_fit_menu
QLabel * d_status_info
QMenu * dataMenu
QActionGroup * dataTools
QMenu * decay
QList< Q3ListViewItem * > draggedItems
 Stores the pointers to the dragged items from the FolderListViews objects.
QMenu * edit
QSplitter * explorerSplitter
QMenu * exportPlot
QMenu * file
QAction * filledmesh
QMenu * filter
QAction * floor
QAction * floordata
QAction * flooriso
QAction * floornone
QActionGroup * floorstyle
QMenu * format
QAction * Frame
QAction * front
QMenu * graph
QActionGroup * grids
QMenu * help
QAction * hiddenline
GraphlastCopiedLayer
QAction * left
QMenu * matrixMenu
QMenu * multiPeakMenu
QAction * None
QMenu * panels
QMenu * plot2D
QMenu * plot3D
QMenu * plot3DMenu
QMenu * plotDataMenu
QActionGroup * plotstyle
QAction * pointstyle
QAction * polygon
QMenu * recent
QAction * right
QMenu * scriptingMenu
QMenu * smooth
QMenu * specialPlot
QMenu * stat
QMenu * tableMenu
QMenu * toolbarsMenu
QMenu * translateMenu
QMenu * type
QMenu * view
QMenu * windowsMenu
QAction * wireframe

Additional Inherited Members

- Protected Attributes inherited from scripted
ScriptingEnvscriptEnv

Detailed Description

SciDAVis's main window.

This class contains the main part of the user interface as well as the central project management facilities.

It manages all MyWidget MDI Windows in a project, knows about their organization in Folder objects and contains the parts of the project explorer not implemented in Folder, FolderListItem or FolderListView.

Furthermore, it is responsible for displaying most MDI Windows' context menus and opening all sorts of dialogs.

Future Plans

Split out the project management part into a new Project class. If MyWidget maintains a reference to its parent Project, it should be possible to have its subclasses display their own context menus and dialogs. This is necessary for implementing new plot types or even completely new MyWidget subclasses in plug-ins. It will also make ApplicationWindow more manageable by removing those parts not directly related to the main window.

Project would also take care of basic project file reading/writing (using Qt's XML framework), but delegate most of the work to MyWidget and its subclasses. This is necessary for providing save/restore of classes implemented in plug-ins. Support for foreign formats on the other hand could go into import/export classes (which could also be implemented in plug-ins). Those would interface directly with Project and the MyWidgets it manages. Thus, in addition to supporting QtXML-based save/restore, Project, MyWidget and subclasses will also have to provide generalized save/restore methods/constructors.

Maybe split out the project explorer into a new ProjectExplorer class, depending on how much code is left in ApplicationWindow after the above reorganizations. Think about whether a Model/View approach can be used for Project/ProjectExplorer.


Member Enumeration Documentation

anonymous enum
Enumerator:
MaxRecentProjects 
Enumerator:
HideAll 
ActiveFolder 
SubFolders 

Constructor & Destructor Documentation

ApplicationWindow::ApplicationWindow ( )

References init().

Referenced by loadScript(), newProject(), openProject(), and plotFile().

ApplicationWindow::ApplicationWindow ( const QStringList &  l)
ApplicationWindow::~ApplicationWindow ( )

Member Function Documentation

void ApplicationWindow::about ( )
staticslot

Show about dialog.

Referenced by createActions(), and main().

void ApplicationWindow::activateWindow ( )
slot
void ApplicationWindow::activateWindow ( MyWidget w)
slot
void ApplicationWindow::add3DData ( )
slot
void ApplicationWindow::add3DMatrixPlot ( )
slot
void ApplicationWindow::addColToTable ( )
slot

References Table::addCol(), and d_workspace.

void ApplicationWindow::addErrorBars ( )
slot
void ApplicationWindow::addFolder ( )
slot
void ApplicationWindow::addFolderListViewItem ( Folder f)
slot

adds a folder list item to the list view "lv"

References Folder::birthDate(), lv, and FolderListItem::setActive().

Referenced by addFolder(), changeFolder(), and ImportOPJ::createProjectTree().

void ApplicationWindow::addFunctionCurve ( )
slot
void ApplicationWindow::addImage ( )
slot
void ApplicationWindow::addLayer ( )
slot
void ApplicationWindow::addListViewItem ( MyWidget w)
slot
void ApplicationWindow::addText ( )
slot
void ApplicationWindow::addTimeStamp ( )
slot
bool ApplicationWindow::alreadyUsedName ( const QString &  label)
slot
void ApplicationWindow::analysis ( const QString &  whichFit)
slot
void ApplicationWindow::analyzeCurve ( Graph g,
const QString &  whichFit,
const QString &  curveTitle 
)
slot
void ApplicationWindow::appendProject ( )
slot

Pops up a file dialog and invokes appendProject(const QString&) on the result.

References ExtensibleFileDialog::setExtensionWidget(), and workingDir.

Referenced by open(), and showFolderPopupMenu().

void ApplicationWindow::appendProject ( const QString &  file_name)
slot
void ApplicationWindow::applyUserSettings ( )
slot
void ApplicationWindow::autoArrangeLayers ( )
slot

Rearrange the layersin order to fit to the size of the plot window.

References MultiLayer::arrangeLayers(), d_workspace, MultiLayer::setMargins(), and MultiLayer::setSpacing().

Referenced by createActions().

void ApplicationWindow::autoCorrelate ( )
slot
void ApplicationWindow::bandBlockFilterDialog ( )
slot

References FFTFilter::BandBlock, and showFilterDialog().

Referenced by createActions().

void ApplicationWindow::bandPassFilterDialog ( )
slot

References FFTFilter::BandPass, and showFilterDialog().

Referenced by createActions().

void ApplicationWindow::cascade ( )
slot

Arranges all the visible project windows in a cascade pattern.

References d_workspace, modifiedProject(), MyWidget::Normal, and updateWindowStatus().

Referenced by windowsMenuAboutToShow().

void ApplicationWindow::change3DData ( )
slot
void ApplicationWindow::change3DData ( const QString &  colName)
slot

References d_workspace, modified(), and table().

void ApplicationWindow::change3DMatrix ( )
slot
void ApplicationWindow::change3DMatrix ( const QString &  matrix_name)
slot
void ApplicationWindow::changeAppFont ( const QFont &  f)
slot

References appFont, and updateAppFonts().

Referenced by ConfigDialog::apply().

void ApplicationWindow::changeAppStyle ( const QString &  s)
slot

References appStyle, and panelsColor.

Referenced by ConfigDialog::apply(), and readSettings().

bool ApplicationWindow::changeFolder ( Folder newFolder,
bool  force = false 
)
slot
void ApplicationWindow::changeMatrixName ( const QString &  oldName,
const QString &  newName 
)
slot
void ApplicationWindow::chooseHelpFolder ( )
slot

References helpFilePath.

Referenced by createActions(), and showHelp().

void ApplicationWindow::clearFitFunctionsList ( )
slot

References fitFunctions.

Referenced by showFitDialog().

void ApplicationWindow::clearLogInfo ( )
slot

References logInfo, modified(), and results.

Referenced by createActions().

void ApplicationWindow::clearParamFunctionsList ( )
slot

References xFunctions, and yFunctions.

Referenced by functionDialog().

void ApplicationWindow::clearPolarFunctionsList ( )
slot

References rFunctions, and thetaFunctions.

Referenced by functionDialog().

void ApplicationWindow::clearSelection ( )
slot
void ApplicationWindow::clearSurfaceFunctionsList ( )
slot

References surfaceFunc.

Referenced by editSurfacePlot(), and newSurfacePlot().

void ApplicationWindow::clearTable ( )
slot

References Table::clear(), and d_workspace.

MyWidget * ApplicationWindow::clone ( )
slot

References d_workspace.

Referenced by createActions().

MyWidget * ApplicationWindow::clone ( MyWidget w)
slot
void ApplicationWindow::closeActiveWindow ( )
slot

References d_workspace.

Referenced by createActions(), and windowsMenuAboutToShow().

void ApplicationWindow::closeEvent ( QCloseEvent *  ce)
slot
void ApplicationWindow::closeWindow ( MyWidget window)
slot
QStringList ApplicationWindow::columnsList ( SciDAVis::PlotDesignation  plotType)
slot
QStringList ApplicationWindow::columnsList ( )
slot
void ApplicationWindow::connectMultilayerPlot ( MultiLayer g)
slot
void ApplicationWindow::connectSurfacePlot ( Graph3D plot)
slot
void ApplicationWindow::connectTable ( Table w)
slot
Table * ApplicationWindow::convertMatrixToTable ( )
slot
int ApplicationWindow::convertOldToNewColorIndex ( int  cindex)
private

Workaround for the new colors introduced in rev 447.

Referenced by openGraph().

Matrix * ApplicationWindow::convertTableToMatrix ( )
slot
void ApplicationWindow::convolute ( )
slot
void ApplicationWindow::copyActiveLayer ( )
slot
void ApplicationWindow::copyMarker ( )
slot
void ApplicationWindow::copySelection ( )
slot
void ApplicationWindow::copyStatusBarText ( )
slot

Copy the status bar text to the clipboard.

References d_status_info.

Referenced by createActions().

void ApplicationWindow::correlate ( )
slot
void ApplicationWindow::createActions ( )
slot

References about(), actionAbout, actionActivateWindow, actionAdd3DData, actionAddErrorBars, actionAddFunctionCurve, actionAddImage, actionAddLayer, actionAutoCorrelate, actionAutomaticLayout, actionBandBlockFilter, actionBandPassFilter, actionBoxPlot, actionClearLogInfo, actionClearSelection, actionCloseAllWindows, actionCloseWindow, actionColorMap, actionContourMap, actionConvertMatrix, actionConvertTable, actionConvolute, actionCopySelection, actionCopyStatusBarText, actionCopyWindow, actionCorrelate, actionCurveFullRange, actionCutSelection, actionDeconvolute, actionDeleteFitTables, actionDeleteLayer, actionDifferentiate, actionEditCurveRange, actionEditFunction, actionEditSurfacePlot, actionExportAllGraphs, actionExportGraph, actionExportPDF, actionFFT, actionFitExpGrowth, actionFitGauss, actionFitLinear, actionFitLorentz, actionFitSigmoidal, actionGrayMap, actionHelpBugReports, actionHelpForums, actionHideActiveWindow, actionHideCurve, actionHideOtherCurves, actionHighPassFilter, actionHomePage, actionImportImage, actionIntensityTable, actionInterpolate, actionInvertMatrix, actionLoad, actionLoadImage, actionLowPassFilter, actionMatrixDeterminant, actionMaximizeWindow, actionMinimizeWindow, actionMultiPeakGauss, actionMultiPeakLorentz, actionNewFunctionPlot, actionNewGraph, actionNewLegend, actionNewMatrix, actionNewNote, actionNewProject, actionNewSurfacePlot, actionNewTable, actionNoteEvaluate, actionNoteExecute, actionNoteExecuteAll, actionOpen, actionOpenTemplate, actionPasteSelection, actionPixelLineProfile, actionPlot2HorizontalLayers, actionPlot2VerticalLayers, actionPlot3DBars, actionPlot3DHiddenLine, actionPlot3DPolygons, actionPlot3DRibbon, actionPlot3DScatter, actionPlot3DTrajectory, actionPlot3DWireFrame, actionPlot3DWireSurface, actionPlot4Layers, actionPlotArea, actionPlotHistogram, actionPlotHorizontalBars, actionPlotHorSteps, actionPlotL, actionPlotLP, actionPlotP, actionPlotPie, actionPlotSpline, actionPlotStackedHistograms, actionPlotStackedLayers, actionPlotVectXYAM, actionPlotVectXYXY, actionPlotVerticalBars, actionPlotVerticalDropLines, actionPlotVertSteps, actionPrint, actionPrintAllPlots, actionPrintWindow, actionRedo, actionRemoveCurve, actionRename, actionResizeActiveWindow, actionResizeWindow, actionRestartScripting, actionSaveNote, actionSaveProject, actionSaveProjectAs, actionSaveTemplate, actionScriptingLang, actionShowAllCurves, actionShowAxisDialog, actionShowColStatistics, actionShowConfigureDialog, actionShowCurvePlotDialog, actionShowCurvesDialog, actionShowCurveWorksheet, actionShowExpDecay3Dialog, actionShowExpDecayDialog, actionShowExplorer, actionShowExportASCIIDialog, actionShowFitDialog, actionShowFitPolynomDialog, actionShowGridDialog, actionShowHelp, actionShowHistory, actionShowImageDialog, actionShowIntDialog, actionShowLayerDialog, actionShowLineDialog, actionShowLog, actionShowMoreWindows, actionShowPlotDialog, actionShowPlotGeometryDialog, actionShowPlotWizard, actionShowRowStatistics, actionShowScaleDialog, actionShowTextDialog, actionShowTitleDialog, actionShowTwoExpDecayDialog, actionSmoothAverage, actionSmoothFFT, actionSmoothSavGol, actionTimeStamp, actionTranslateHor, actionTranslateVert, actionUndo, actionUnzoom, activateWindow(), add3DData(), addErrorBars(), addFunctionCurve(), addImage(), addLayer(), addTimeStamp(), Graph::Area, autoArrangeLayers(), autoCorrelate(), bandBlockFilterDialog(), bandPassFilterDialog(), Graph::Box, chooseHelpFolder(), clearLogInfo(), clearSelection(), clone(), closeActiveWindow(), convertMatrixToTable(), convertTableToMatrix(), convolute(), copySelection(), copyStatusBarText(), correlate(), cutSelection(), d_plot_mapper, deconvolute(), deleteFitTables(), deleteLayer(), differentiate(), editSurfacePlot(), explorerWindow, exportAllGraphs(), exportGraph(), exportPDF(), fitGauss(), fitLinear(), fitLorentz(), fitMultiPeakGauss(), fitMultiPeakLorentz(), fitSigmoidal(), functionDialog(), hideActiveWindow(), hideCurve(), hideOtherCurves(), highPassFilterDialog(), Graph::Histogram, Graph::HorizontalBars, Graph::HorizontalSteps, importASCII(), importImage(), intensityTable(), invertMatrix(), Graph::Line, Graph::LineSymbols, loadImage(), logWindow, lowPassFilterDialog(), matrixDeterminant(), maximizeWindow(), minimizeWindow(), newGraph(), newLegend(), newMatrix(), newNote(), newProject(), newSurfacePlot(), newTable(), open(), openTemplate(), pasteSelection(), pixelLineProfile(), plot2HorizontalLayers(), plot2VerticalLayers(), plot3DBars(), plot3DHiddenLine(), plot3DPolygons(), plot3DRibbon(), plot3DScatter(), plot3DTrajectory(), plot3DWireframe(), plot3DWireSurface(), plot4Layers(), plotColorMap(), plotContour(), plotGrayScale(), plotPie(), plotStackedHistograms(), plotStackedLayers(), plotVectXYAM(), plotVectXYXY(), print(), printAllPlots(), printWindow(), redo(), removeCurve(), renameActiveWindow(), resizeActiveWindow(), resizeWindow(), restartScriptingEnv(), saveAsTemplate(), savedProject(), saveNoteAs(), saveProject(), saveProjectAs(), Graph::Scatter, selectPlotType(), setAutoScale(), setCurveFullRange(), showAllCurves(), showAxisDialog(), showBugTracker(), showColStatistics(), showCurvePlotDialog(), showCurveRangeDialog(), showCurvesDialog(), showCurveWorksheet(), showExpDecay3Dialog(), showExpDecayDialog(), showExpGrowthDialog(), showExportASCIIDialog(), showFFTDialog(), showFitDialog(), showFitPolynomDialog(), showForums(), showFunctionDialog(), showGeneralPlotDialog(), showGridDialog(), showHelp(), showHistory(), showHomePage(), showImageDialog(), showIntegrationDialog(), showInterpolationDialog(), showLayerDialog(), showLineDialog(), showMoreWindows(), showPlotGeometryDialog(), showPlotWizard(), showPreferencesDialog(), showRowStatistics(), showScaleDialog(), showScriptingLangDialog(), showSmoothAverageDialog(), showSmoothFFTDialog(), showSmoothSavGolDialog(), showTextDialog(), showTitleDialog(), showTwoExpDecayDialog(), Graph::Spline, translateCurveHor(), translateCurveVert(), undo(), Graph::VerticalBars, Graph::VerticalDropLines, and Graph::VerticalSteps.

Referenced by init().

void ApplicationWindow::createLanguagesList ( )
slot

References appLanguage, appTranslator, locales, qtTranslator, and TS_PATH.

Referenced by init().

QMenu * ApplicationWindow::createToolbarsMenu ( )
private

Create a menu for toggeling the toolbars.

Referenced by initMainMenu().

Folder* ApplicationWindow::currentFolder ( )
inlineslot

Returns a to the current folder in the project.

References current_folder.

Referenced by CurvesDialog::showCurrentFolder().

void ApplicationWindow::custom3DActions ( QWidget *  w)
slot
void ApplicationWindow::custom3DGrids ( int  grids)
slot

References back, ceil, floor, front, left, and right.

Referenced by custom3DActions().

void ApplicationWindow::customEvent ( QEvent *  e)
slot
void ApplicationWindow::customizeTables ( const QColor &  bgColor,
const QColor &  textColor,
const QColor &  headerColor,
const QFont &  textFont,
const QFont &  headerFont,
bool  showComments 
)
slot
void ApplicationWindow::customMenu ( QWidget *  w)
slot
void ApplicationWindow::customPlot3D ( Graph3D plot)
slot
void ApplicationWindow::customTable ( Table w)
slot
void ApplicationWindow::customToolBars ( QWidget *  w)
slot
void ApplicationWindow::cutSelection ( )
slot
Graph3D * ApplicationWindow::dataPlot3D ( Table table,
const QString &  colName 
)
slot
Graph3D * ApplicationWindow::dataPlot3D ( const QString &  caption,
const QString &  formula,
double  xl,
double  xr,
double  yl,
double  yr,
double  zl,
double  zr 
)
slot
Graph3D * ApplicationWindow::dataPlotXYZ ( Table table,
const QString &  zColName,
int  type 
)
slot
Graph3D * ApplicationWindow::dataPlotXYZ ( const QString &  caption,
const QString &  formula,
double  xl,
double  xr,
double  yl,
double  yr,
double  zl,
double  zr 
)
slot
void ApplicationWindow::deactivateFolders ( )
slot

Sets all items in the folders list view to be deactivated.

References folders, and FolderListItem::setActive().

Referenced by changeFolder().

void ApplicationWindow::deconvolute ( )
slot
void ApplicationWindow::defineErrorBars ( const QString &  name,
int  type,
const QString &  percent,
int  direction 
)
slot
void ApplicationWindow::defineErrorBars ( const QString &  curveName,
const QString &  errColumnName,
int  direction 
)
slot
void ApplicationWindow::deleteFitTables ( )
slot
void ApplicationWindow::deleteFolder ( )
slot
bool ApplicationWindow::deleteFolder ( Folder f)
slot

Ask confirmation from user, deletes the folder f if user confirms and returns true, otherwise returns false;.

References closeWindow(), confirmCloseFolder, FolderListItem::folder(), Folder::folderListItem(), Folder::removeWindow(), removeWindowFromLists(), and Folder::windowsList().

void ApplicationWindow::deleteLayer ( )
slot

References d_workspace.

Referenced by createActions().

void ApplicationWindow::deleteSelectedItems ( )
slot

Deletes the currently selected items from the list view lv.

References deleteFolder(), folders, lv, FolderListItem::RTTI, and Folder::window().

Referenced by clearSelection(), init(), and showListViewSelectionMenu().

QStringList ApplicationWindow::depending3DPlots ( Matrix m)
slot

References MyWidget::name(), and windowsList().

Referenced by showWindowMenu().

QStringList ApplicationWindow::dependingPlots ( const QString &  caption)
slot
void ApplicationWindow::differentiate ( )
slot

References analysis().

Referenced by createActions().

void ApplicationWindow::disableActions ( )
slot
void ApplicationWindow::disableAddText ( )
slot

References actionAddText, and showTextDialog().

Referenced by connectMultilayerPlot().

void ApplicationWindow::dragEnterEvent ( QDragEnterEvent *  e)
slot
void ApplicationWindow::dragFolderItems ( QList< Q3ListViewItem * >  items)
inlineslot

initializes the list of items dragged by the user

References draggedItems.

Referenced by init().

void ApplicationWindow::drawArrow ( )
slot
void ApplicationWindow::drawLine ( )
slot
void ApplicationWindow::dropEvent ( QDropEvent *  e)
slot
void ApplicationWindow::dropFolderItems ( Q3ListViewItem *  dest)
slot

Drop the objects in the list draggedItems to the folder of the destination item.

References Folder::addWindow(), changeFolder(), current_folder, draggedItems, Folder::folderListItem(), folders, modifiedProject(), moveFolder(), projectFolder(), Folder::removeWindow(), FolderListItem::RTTI, and Folder::subfolders().

Referenced by init().

void ApplicationWindow::editSurfacePlot ( )
slot
void ApplicationWindow::executeNotes ( )
slot

execute all notes marked auto-exec

References projectFolder(), and Folder::windowsList().

Referenced by openProject(), and restartScriptingEnv().

void ApplicationWindow::exportAllGraphs ( )
slot
void ApplicationWindow::exportAllTables ( const QString &  sep,
bool  colNames,
bool  expSelection 
)
slot
void ApplicationWindow::exportASCII ( const QString &  tableName,
const QString &  sep,
bool  colNames,
bool  expSelection 
)
slot
void ApplicationWindow::exportGraph ( )
slot
void ApplicationWindow::exportLayer ( )
slot
void ApplicationWindow::exportPDF ( )
slot

References d_workspace, and workingDir.

Referenced by createActions().

void ApplicationWindow::find ( const QString &  s,
bool  windowNames,
bool  labels,
bool  folderNames,
bool  caseSensitive,
bool  partialMatch,
bool  subfolders 
)
slot
void ApplicationWindow::fitFrameToLayer ( )
slot

Finds best layout for the 3D plot.

Finds best layout for the 3D plot

References d_workspace.

Referenced by initPlot3DToolBar().

void ApplicationWindow::fitGauss ( )
slot

References analysis().

Referenced by createActions().

void ApplicationWindow::fitLinear ( )
slot

References analysis().

Referenced by createActions().

void ApplicationWindow::fitLorentz ( )
slot

References analysis().

Referenced by createActions().

void ApplicationWindow::fitMultiPeak ( int  profile)
slot
void ApplicationWindow::fitMultiPeakGauss ( )
slot

References fitMultiPeak(), and MultiPeakFit::Gauss.

Referenced by createActions().

void ApplicationWindow::fitMultiPeakLorentz ( )
slot

References fitMultiPeak(), and MultiPeakFit::Lorentz.

Referenced by createActions().

void ApplicationWindow::fitSigmoidal ( )
slot

References analysis().

Referenced by createActions().

void ApplicationWindow::folderItemChanged ( Q3ListViewItem *  it)
slot

Changes the current folder when the user changes the current item in the QListView "folders".

References changeFolder(), and folders.

Referenced by init(), renameFolder(), and startRenameFolder().

void ApplicationWindow::folderItemDoubleClicked ( Q3ListViewItem *  it)
slot

Changes the current folder when the user double-clicks on a folder item in the QListView "lv".

References FolderListItem::folder(), Folder::folderListItem(), folders, and FolderListItem::RTTI.

Referenced by init().

void ApplicationWindow::folderProperties ( )
slot
FunctionDialog * ApplicationWindow::functionDialog ( )
slot
QString ApplicationWindow::generateUniqueName ( const QString &  name,
bool  increment = true 
)

Generates a new unique name starting with string /param name. You can force the output to be a name different from /param name, even if 'name' is not used in the project, by setting /param increment = true (the default)

References MyWidget::name(), and windowsList().

Referenced by Filter::addResultCurve(), clone(), convertMatrixToTable(), convertTableToMatrix(), dataPlot3D(), dataPlotXYZ(), MultiPeakFit::generateFitCurve(), importImage(), initMultilayerPlot(), initNote(), loadImage(), multilayerPlot(), newGraph(), newMatrix(), newNote(), newPlot3D(), newTable(), openTemplate(), Differentiation::output(), FFT::output(), plot3DMatrix(), plotSpectrogram(), FitDialog::showCovarianceMatrix(), FitDialog::showParametersTable(), and PlotDialog::showStatistics().

QString ApplicationWindow::guessHelpFolder ( )
slot

References appLanguage, and SciDAVis::version().

Referenced by readSettings().

void ApplicationWindow::handleAspectAboutToBeRemoved ( const AbstractAspect aspect,
int  index 
)
privateslot
void ApplicationWindow::handleAspectAdded ( const AbstractAspect aspect,
int  index 
)
privateslot
bool ApplicationWindow::hidden ( QWidget *  window)
slot
void ApplicationWindow::hideActiveWindow ( )
slot

References d_workspace, and hideWindow().

Referenced by createActions(), and windowsMenuAboutToShow().

void ApplicationWindow::hideAllFolderWindows ( )
slot

forces hidding all windows in the current folder and subfolders, depending on the user's viewing policy

References current_folder, FolderListItem::folder(), Folder::folderListItem(), hideWindow(), show_windows_policy, SubFolders, and Folder::windowsList().

Referenced by showFolderPopupMenu().

void ApplicationWindow::hideCurve ( )
slot
void ApplicationWindow::hideFolderWindows ( Folder f)
slot

hides all windows in folder f

References FolderListItem::folder(), Folder::folderListItem(), and Folder::windowsList().

Referenced by changeFolder().

void ApplicationWindow::hideOtherCurves ( )
slot
void ApplicationWindow::hideToolbars ( )
slot
void ApplicationWindow::hideWindow ( MyWidget window)
slot
void ApplicationWindow::highPassFilterDialog ( )
slot

References FFTFilter::HighPass, and showFilterDialog().

Referenced by createActions().

void ApplicationWindow::importASCII ( )
slot
void ApplicationWindow::importASCII ( const QStringList &  files,
int  import_mode,
const QString &  local_column_separator,
int  local_ignored_lines,
bool  local_rename_columns,
bool  local_strip_spaces,
bool  local_simplify_spaces,
bool  local_convert_to_numeric,
QLocale  local_numeric_locale 
)
slot
Matrix * ApplicationWindow::importImage ( )
slot

References filter, and imagesDirPath.

Referenced by connectMultilayerPlot(), and createActions().

Matrix * ApplicationWindow::importImage ( const QString &  fn)
slot
void ApplicationWindow::init ( )
slot
void ApplicationWindow::initGlobalConstants ( )
slot
void ApplicationWindow::initMainMenu ( )
slot

References actionAbout, actionAddErrorBars, actionAddFunctionCurve, actionAddImage, actionAddLayer, actionAddText, actionAutomaticLayout, actionBandBlockFilter, actionBandPassFilter, actionClearLogInfo, actionClearSelection, actionCloseAllWindows, actionColorMap, actionContourMap, actionCopySelection, actionCutSelection, actionDeleteFitTables, actionDeleteLayer, actionDifferentiate, actionExportAllGraphs, actionExportGraph, actionFFT, actionFitExpGrowth, actionFitGauss, actionFitLinear, actionFitLorentz, actionFitSigmoidal, actionGrayMap, actionHelpBugReports, actionHelpForums, actionHighPassFilter, actionHomePage, actionImportImage, actionInterpolate, actionLoad, actionLoadImage, actionLowPassFilter, actionMultiPeakGauss, actionMultiPeakLorentz, actionNewFunctionPlot, actionNewGraph, actionNewLegend, actionNewMatrix, actionNewNote, actionNewProject, actionNewSurfacePlot, actionNewTable, actionOpen, actionOpenTemplate, actionPasteSelection, actionPlot3DBars, actionPlot3DHiddenLine, actionPlot3DPolygons, actionPlot3DScatter, actionPlot3DWireFrame, actionPlot3DWireSurface, actionPrint, actionPrintAllPlots, actionRedo, actionSaveProject, actionSaveProjectAs, actionSaveTemplate, actionShowConfigureDialog, actionShowCurvesDialog, actionShowExpDecay3Dialog, actionShowExpDecayDialog, actionShowExplorer, actionShowExportASCIIDialog, actionShowFitDialog, actionShowFitPolynomDialog, actionShowHelp, actionShowHistory, actionShowIntDialog, actionShowLayerDialog, actionShowLog, actionShowPlotWizard, actionShowTwoExpDecayDialog, actionSmoothAverage, actionSmoothFFT, actionSmoothSavGol, actionTimeStamp, actionTranslateHor, actionTranslateVert, actionUndo, appFont, btnArrow, btnLine, calcul, createToolbarsMenu(), d_quick_fit_menu, decay, disableActions(), edit, exportID, exportPlot, file, filter, filterMenuID, fitExpMenuID, format, graph, help, initPlotDataMenu(), initPlotMenu(), initTableAnalysisMenu(), matrixMenu, multiPeakMenu, multiPeakMenuID, newMenuID, plot3DMenu, recent, recentMenuID, scriptingMenu, smooth, smoothMenuID, tableMenu, toolbarsMenu, translateMenu, translateMenuID, type, view, windowsMenu, and windowsMenuAboutToShow().

Referenced by init().

void ApplicationWindow::initMatrix ( Matrix m)
slot
void ApplicationWindow::initMultilayerPlot ( MultiLayer g,
const QString &  name 
)
slot
void ApplicationWindow::initNote ( Note m,
const QString &  caption 
)
slot
void ApplicationWindow::initPlot3D ( Graph3D plot)
slot
void ApplicationWindow::initPlot3DToolBar ( )
slot
void ApplicationWindow::initPlotDataMenu ( )
slot
void ApplicationWindow::initPlotMenu ( )
slot
void ApplicationWindow::initTable ( Table w)
slot
void ApplicationWindow::initTableAnalysisMenu ( )
slot
void ApplicationWindow::initToolBars ( )
slot
void ApplicationWindow::insert3DMatrixPlot ( const QString &  matrix_name)
slot

References d_workspace, matrix(), and modified().

Referenced by add3DMatrixPlot().

void ApplicationWindow::insertNew3DData ( const QString &  colName)
slot

References d_workspace, modified(), and table().

Referenced by add3DData().

void ApplicationWindow::insertTranslatedStrings ( )
slot
void ApplicationWindow::intensityTable ( )
slot
void ApplicationWindow::invertMatrix ( )
slot

References d_workspace, and Matrix::invert().

Referenced by createActions().

QString ApplicationWindow::listViewDate ( const QString &  caption)
slot

References lv.

void ApplicationWindow::loadImage ( )
slot

References filter, and imagesDirPath.

Referenced by createActions(), and dropEvent().

void ApplicationWindow::loadImage ( const QString &  fn)
slot
ApplicationWindow * ApplicationWindow::loadScript ( const QString &  fn,
bool  execute = false 
)
slot

Create a new project from a script file.

Parameters:
fnis read as a Python script file and loaded in the command script window.
executespecifies if the script should be executed after opening.

References ApplicationWindow(), applyUserSettings(), Note::executeAll(), Note::importASCII(), and newNote().

Referenced by open(), and parseCommandLineArguments().

void ApplicationWindow::lowPassFilterDialog ( )
slot

References FFTFilter::LowPass, and showFilterDialog().

Referenced by createActions().

Matrix * ApplicationWindow::matrix ( const QString &  name)
slot
void ApplicationWindow::matrixDeterminant ( )
slot
QStringList ApplicationWindow::matrixNames ( )
slot

Returns a list with the names of all the matrices in the project.

References windowsList().

Referenced by add3DMatrixPlot(), CurvesDialog::addCurve(), change3DMatrix(), and CurvesDialog::init().

void ApplicationWindow::maximizeWindow ( Q3ListViewItem *  lbi)
slot
void ApplicationWindow::maximizeWindow ( )
slot
void ApplicationWindow::minimizeWindow ( )
slot
void ApplicationWindow::modified ( )
signal
void ApplicationWindow::modifiedProject ( )
slot
void ApplicationWindow::modifiedProject ( QWidget *  w)
slot

Set the project status to modified and save 'w' as the last modified widget.

References actionUndo, lastModified, and modifiedProject().

void ApplicationWindow::moveFolder ( FolderListItem src,
FolderListItem dest 
)
slot
void ApplicationWindow::movePoints ( )
slot
QStringList ApplicationWindow::multilayerDependencies ( QWidget *  w)
slot
MultiLayer * ApplicationWindow::multilayerPlot ( int  c,
int  r,
int  style 
)
slot
MultiLayer * ApplicationWindow::multilayerPlot ( Table w,
const QStringList &  colList,
int  style,
int  startRow = 0,
int  endRow = -1 
)
slot
MultiLayer * ApplicationWindow::multilayerPlot ( const QString &  caption)
slot

used when restoring a plot from a project file

References d_workspace, and initMultilayerPlot().

MultiLayer * ApplicationWindow::multilayerPlot ( const QStringList &  colList)
slot
bool ApplicationWindow::newFunctionPlot ( int  type,
QStringList &  formulas,
const QString &  var,
QList< double > &  ranges,
int  points 
)
slot
MultiLayer * ApplicationWindow::newGraph ( const QString &  caption = tr("Graph"))
slot
Table * ApplicationWindow::newHiddenTable ( const QString &  name,
const QString &  label,
QList< Column * >  columns 
)
slot

Create a Table which is initially hidden; used to return the result of an analysis operation.

Parameters:
namewindow name (compare MyWidget::MyWidget)
labelwindow label (compare MyWidget::MyWidget)
rnumber of rows
cnumber of columns
texttab/newline - seperated initial content; may be empty

References AbstractAspect::addChild(), future::Table::appendColumns(), Table::d_future_table, d_project, hideWindow(), scripted::scriptEnv, and Table::setName().

Referenced by Filter::addResultCurve(), MultiPeakFit::generateFitCurve(), Differentiation::output(), and FFT::output().

void ApplicationWindow::newLegend ( )
slot
Matrix * ApplicationWindow::newMatrix ( int  rows = 32,
int  columns = 32 
)
slot
Matrix * ApplicationWindow::newMatrix ( const QString &  caption,
int  r,
int  c 
)
slot
Note * ApplicationWindow::newNote ( const QString &  caption = QString())
slot
Graph3D * ApplicationWindow::newPlot3D ( )
slot
Graph3D * ApplicationWindow::newPlot3D ( const QString &  formula,
double  xl,
double  xr,
double  yl,
double  yr,
double  zl,
double  zr 
)
slot
Graph3D * ApplicationWindow::newPlot3D ( const QString &  caption,
const QString &  formula,
double  xl,
double  xr,
double  yl,
double  yr,
double  zl,
double  zr 
)
slot
void ApplicationWindow::newProject ( )
slot
void ApplicationWindow::newSurfacePlot ( )
slot
Table * ApplicationWindow::newTable ( )
slot
Table * ApplicationWindow::newTable ( const QString &  fname,
const QString &  sep,
int  lines,
bool  renameCols,
bool  stripSpaces,
bool  simplifySpaces,
bool  convertToNumeric,
QLocale  numericLocale 
)
slot
Table * ApplicationWindow::newTable ( const QString &  caption,
int  r,
int  c 
)
slot
Table * ApplicationWindow::newTable ( int  r,
int  c,
const QString &  name = QString(),
const QString &  legend = QString() 
)
slot
Table * ApplicationWindow::newTable ( const QString &  name,
const QString &  legend,
QList< Column * >  columns 
)
slot
TableStatistics * ApplicationWindow::newTableStatistics ( Table base,
int  type,
QList< int >  target,
const QString &  caption = QString::null 
)
slot
void ApplicationWindow::newWrksheetPlot ( const QString &  name,
const QString &  label,
QList< Column * >  columns 
)
slot
void ApplicationWindow::open ( )
slot
ApplicationWindow * ApplicationWindow::open ( const QString &  fn)
slot
QFile * ApplicationWindow::openCompressedFile ( const QString &  fn)
slot

Returns temporary file ready for reading uncompressed content.

Close and delete after you're done with it.

References file.

Referenced by appendProject(), and openProject().

Graph * ApplicationWindow::openGraph ( ApplicationWindow app,
MultiLayer plot,
const QStringList &  list 
)
slot

References CurveLayout::aCol, Graph::addArrow(), Graph::addErrorBars(), MultiLayer::addLayer(), CurveLayout::aStyle, autoResizeLayers, autoscale2DPlots, autoScaleFonts, Graph::axesType(), Graph::Box, Box, Graph::ColHeader, Table::colName(), ColorBox::color(), CurveLayout::connectType, convertOldToNewColorIndex(), Graph::curve(), d_file_version, Graph::Date, Graph::DateTime, Graph::Day, defaultArrowColor, defaultArrowHeadAngle, defaultArrowHeadFill, defaultArrowHeadLength, defaultArrowLineStyle, defaultArrowLineWidth, Graph::drawCanvasFrame(), Graph::enableAutoscaling(), Graph::enableAxes(), CurveLayout::fillCol, CurveLayout::filledArea, format, Graph::getPenStyle(), Plot::grid(), Graph::Histogram, Graph::HorizontalBars, Graph::insertCurve(), Graph::insertFunctionCurve(), Graph::insertImageMarker(), Graph::insertLegend(), Graph::insertTextMarker(), Graph::isPiePlot(), CurveLayout::lCol, left, legendBackground, legendFrameStyle, legendTextColor, Graph::LineSymbols, Grid::load(), Graph::loadAxesLinewidth(), Graph::loadAxesOptions(), QwtHistogram::loadData(), CurveLayout::lStyle, CurveLayout::lWidth, Graph::mapToQwtAxis(), Graph::Month, Table::numRows(), Graph::obsoleteSymbolStyle(), Graph::openBoxDiagram(), CurveLayout::penWidth, Graph::plotHistogram(), plotLegendFont, Graph::plotPie(), Graph::plotVectorCurve(), Graph::plotWidget(), renamedTables, Graph::replot(), Graph::restoreSpectrogram(), Graph::setAntialiasing(), Graph::setArrowDefaults(), Graph::setAutoscaleFonts(), Graph::setAxesBaseline(), Graph::setAxesColors(), Graph::setAxesFormulas(), Graph::setAxesNumColors(), Graph::setAxesTitleColor(), Graph::setAxesTitlesAlignment(), Graph::setAxisFont(), Graph::setAxisFormula(), Graph::setAxisLabelRotation(), Graph::setAxisTitle(), Graph::setAxisTitleFont(), Graph::setBackgroundColor(), Graph::setBarsGap(), QwtHistogram::setBinning(), Graph::setCanvasBackground(), Graph::setCurveType(), Graph::setEnabledTickLabels(), Graph::setFrame(), Graph::setIgnoreResizeEvents(), Graph::setLabelsColHeaderFormat(), Graph::setLabelsDateTimeFormat(), Graph::setLabelsDayFormat(), Graph::setLabelsMonthFormat(), Graph::setLabelsNumericFormat(), Graph::setLabelsTextFormat(), Graph::setMajorTicksType(), Graph::setMinorTicksType(), Graph::setScale(), Graph::setTextMarkerDefaults(), Graph::setTicksLength(), Graph::setTitle(), Graph::setTitleAlignment(), Graph::setTitleColor(), Graph::setTitleFont(), CurveLayout::sSize, CurveLayout::sType, CurveLayout::symCol, table(), Graph::Time, Graph::Txt, QwtPieCurve::updateBoundingRect(), Graph::updateCurveLayout(), Graph::updateVectorsLayout(), Graph::VectXYAM, Graph::VectXYXY, and Graph::VerticalBars.

Referenced by appendProject(), openProject(), and openTemplate().

Matrix * ApplicationWindow::openMatrix ( ApplicationWindow app,
const QStringList &  flist 
)
slot
Graph3D * ApplicationWindow::openMatrixPlot3D ( const QString &  caption,
const QString &  matrix_name,
double  xl,
double  xr,
double  yl,
double  yr,
double  zl,
double  zr 
)
slot
Note * ApplicationWindow::openNote ( ApplicationWindow app,
const QStringList &  flist 
)
slot
ApplicationWindow * ApplicationWindow::openProject ( const QString &  fn)
slot
void ApplicationWindow::openRecentProject ( )
slot
Graph3D * ApplicationWindow::openSurfacePlot ( ApplicationWindow app,
const QStringList &  lst 
)
slot
Table * ApplicationWindow::openTable ( ApplicationWindow app,
QTextStream &  stream 
)
slot
TableStatistics * ApplicationWindow::openTableStatistics ( const QStringList &  flist)
slot
void ApplicationWindow::openTemplate ( )
slot
void ApplicationWindow::parseCommandLineArguments ( const QStringList &  args)
slot
void ApplicationWindow::pasteSelection ( )
slot
void ApplicationWindow::pickCoordSystem ( QAction *  action)
slot
void ApplicationWindow::pickDataTool ( QAction *  action)
slot
void ApplicationWindow::pickFloorStyle ( QAction *  action)
slot
void ApplicationWindow::pickPlotStyle ( QAction *  action)
slot
void ApplicationWindow::pickPointerCursor ( )
slot

References btnPointer.

Referenced by connectMultilayerPlot().

void ApplicationWindow::pixelLineProfile ( )
slot
void ApplicationWindow::plot2HorizontalLayers ( )
slot

References defaultCurveStyle, and multilayerPlot().

Referenced by createActions().

void ApplicationWindow::plot2VerticalLayers ( )
slot

References defaultCurveStyle, and multilayerPlot().

Referenced by createActions().

void ApplicationWindow::plot3DBars ( )
slot
void ApplicationWindow::plot3DHiddenLine ( )
slot

References plot3DMatrix().

Referenced by createActions().

void ApplicationWindow::plot3DMatrix ( int  style)
slot
void ApplicationWindow::plot3DPolygons ( )
slot

References plot3DMatrix().

Referenced by createActions().

void ApplicationWindow::plot3DRibbon ( )
slot
void ApplicationWindow::plot3DScatter ( )
slot
void ApplicationWindow::plot3DTrajectory ( )
slot
void ApplicationWindow::plot3DWireframe ( )
slot

References plot3DMatrix().

Referenced by createActions().

void ApplicationWindow::plot3DWireSurface ( )
slot

References plot3DMatrix().

Referenced by createActions().

void ApplicationWindow::plot4Layers ( )
slot

References defaultCurveStyle, and multilayerPlot().

Referenced by createActions().

void ApplicationWindow::plotColorMap ( )
slot
MultiLayer * ApplicationWindow::plotColorMap ( Matrix m)
slot
void ApplicationWindow::plotContour ( )
slot
MultiLayer * ApplicationWindow::plotContour ( Matrix m)
slot
ApplicationWindow * ApplicationWindow::plotFile ( const QString &  fn)
slot

Create a new project from a data file.

Parameters:
fnis read as a data file with the default column separator (as set by the user) and inserted as a table into a new, empty project. This table is then plotted with the Graph::LineSymbols style.

References ApplicationWindow(), applyUserSettings(), MyWidget::Both, columnSeparator, d_ASCII_import_locale, d_convert_to_numeric, Graph::LineSymbols, multilayerPlot(), newTable(), Table::setCaptionPolicy(), simplify_spaces, strip_spaces, and Table::YColumns().

Referenced by open().

void ApplicationWindow::plotGrayScale ( )
slot

References d_workspace, Graph::GrayMap, and plotSpectrogram().

Referenced by createActions().

MultiLayer * ApplicationWindow::plotGrayScale ( Matrix m)
slot
void ApplicationWindow::plotPie ( )
slot
MultiLayer * ApplicationWindow::plotSpectrogram ( Matrix m,
Graph::CurveType  type 
)
slot
void ApplicationWindow::plotStackedHistograms ( )
slot

References Graph::Histogram, and multilayerPlot().

Referenced by createActions().

void ApplicationWindow::plotStackedLayers ( )
slot

References defaultCurveStyle, and multilayerPlot().

Referenced by createActions().

void ApplicationWindow::plotVectXYAM ( )
slot
void ApplicationWindow::plotVectXYXY ( )
slot
void ApplicationWindow::polishGraph ( Graph g,
int  style 
)
slot
void ApplicationWindow::print ( )
slot
void ApplicationWindow::print ( QWidget *  w)
slot
void ApplicationWindow::printAllPlots ( )
slot

References windowsList().

Referenced by createActions().

void ApplicationWindow::printWindow ( )
slot

References lv, print(), and WindowListItem::window().

Referenced by createActions().

Folder * ApplicationWindow::projectFolder ( )
slot
bool ApplicationWindow::projectHas2DPlots ( )
slot

References windowsList().

Referenced by customMenu(), and customToolBars().

bool ApplicationWindow::projectHas3DPlots ( )
slot

References windowsList().

Referenced by customToolBars().

bool ApplicationWindow::projectHasMatrices ( )
slot

References windowsList().

Referenced by customToolBars().

void ApplicationWindow::projectProperties ( )
slot

pops up information about the current project

References Folder::birthDate(), current_folder, projectname, Folder::subfolders(), and windowsList().

Referenced by folderProperties().

void ApplicationWindow::rawSaveFolder ( Folder folder,
QIODevice *  device 
)
slot
void ApplicationWindow::readSettings ( )
slot

References ActiveFolder, allAxesOn, antialiasing2DPlots, appFont, appLanguage, appStyle, asciiDirPath, autoResizeLayers, autoSave, autoSaveTime, autoscale2DPlots, autoscale3DPlots, autoScaleFonts, axesLineWidth, canvasFrameOn, canvasFrameWidth, changeAppStyle(), columnSeparator, confirmCloseFolder, confirmCloseMatrix, confirmCloseNotes, confirmClosePlot2D, confirmClosePlot3D, confirmCloseTable, d_2_linear_fit_points, d_add_curves_dialog_size, d_ASCII_file_filter, d_ASCII_import_locale, d_convert_to_numeric, d_decimal_digits, d_default_numeric_format, d_export_color, d_export_orientation, d_export_quality, d_export_resolution, d_export_transparency, d_export_vector_size, d_extended_export_dialog, d_extended_import_ASCII_dialog, d_extended_open_dialog, d_extended_plot_dialog, d_image_export_filter, d_keep_plot_aspect, d_print_cropmarks, d_project, d_scale_plots_on_print, d_show_current_folder, d_show_table_comments, defaultArrowColor, defaultArrowHeadAngle, defaultArrowHeadFill, defaultArrowHeadLength, defaultArrowLineStyle, defaultArrowLineWidth, defaultCurveLineWidth, defaultCurveStyle, defaultPlotMargin, defaultScriptingLang, defaultSymbolSize, drawBackbones, explorerSplitter, fit_output_precision, fit_scale_errors, fitFunctions, fitPluginsPath, fitPoints, generatePeakCurves, generateUniformFitPoints, Graph::getPenStyle(), guessHelpFolder(), helpFilePath, ignoredLines, imagesDirPath, legendBackground, legendFrameStyle, legendTextColor, Legend::Line, Graph::LineSymbols, majTicksLength, majTicksStyle, minTicksLength, minTicksStyle, orthogonal3DPlots, ScaleDraw::Out, panelsColor, panelsTextColor, pasteFitResultsToPlot, peakCurvesColor, plot3DAxesFont, plot3DColors, plot3DNumbersFont, plot3DResolution, plot3DTitleFont, plotAxesFont, plotLegendFont, plotNumbersFont, plotTitleFont, recentProjects, renameColumns, rFunctions, show_windows_policy, showPlot3DLegend, showPlot3DProjection, simplify_spaces, smooth3DMesh, strip_spaces, surfaceFunc, tableBkgdColor, tableHeaderColor, tableHeaderFont, tableTextColor, tableTextFont, templatesDir, thetaFunctions, titleOn, undoLimit, Project::undoStack(), updateRecentProjectsList(), workingDir, workspaceColor, writeFitResultsToLog, xFunctions, and yFunctions.

Referenced by init().

void ApplicationWindow::redo ( )
slot

References d_project, and Project::undoStack().

Referenced by createActions().

void ApplicationWindow::remove3DMatrixPlots ( Matrix m)
slot
void ApplicationWindow::removeAxes3DPlot ( )
slot

References actionShowAxisDialog, and d_workspace.

Referenced by pickCoordSystem().

void ApplicationWindow::removeCurve ( )
slot

Removes the curve identified by a key stored in the data() of actionRemoveCurve.

References actionRemoveCurve, Graph::curveIndex(), d_workspace, Graph::removeCurve(), and Graph::updatePlot().

Referenced by createActions().

void ApplicationWindow::removeCurves ( const QString &  name)
slot

References windowsList().

Referenced by connectTable(), and removeWindowFromLists().

void ApplicationWindow::removeDependentTableStatistics ( const AbstractAspect aspect)
privateslot
void ApplicationWindow::removeGrid3DPlot ( )
slot

References d_workspace.

Referenced by pickPlotStyle().

void ApplicationWindow::removePoints ( )
slot
void ApplicationWindow::removeWindowFromLists ( MyWidget w)
slot
void ApplicationWindow::renameActiveWindow ( )
slot
void ApplicationWindow::renameFolder ( Q3ListViewItem *  it,
int  col,
const QString &  text 
)
slot

checks weather the new folder name is valid and modifies the name

References current_folder, folderItemChanged(), Folder::folderListItem(), folders, projectFolder(), and Folder::subfolders().

Referenced by init().

void ApplicationWindow::renameListViewItem ( const QString &  oldName,
const QString &  newName 
)
slot

References lv.

Referenced by renameWindow().

void ApplicationWindow::renameWindow ( Q3ListViewItem *  item,
int  ,
const QString &  s 
)
slot

Called when the user presses F2 and an item is selected in lv.

References MyWidget::name().

Referenced by RenameWindowDialog::accept(), and init().

bool ApplicationWindow::renameWindow ( MyWidget w,
const QString &  text 
)
slot
void ApplicationWindow::resetRotation ( )
slot

Resets rotation of 3D plots to default values.

Resets rotation of 3D plots to default values

References d_workspace.

Referenced by initPlot3DToolBar().

void ApplicationWindow::resizeActiveWindow ( )
slot

References d_workspace, and setWindowGeometry().

Referenced by createActions().

void ApplicationWindow::resizeWindow ( )
slot

References d_workspace, and setWindowGeometry().

Referenced by createActions().

void ApplicationWindow::restartScriptingEnv ( )
slot

create a new environment for the current scripting language

References executeNotes(), scripted::scriptEnv, and setScriptingLang().

Referenced by createActions().

void ApplicationWindow::restoreWindowGeometry ( ApplicationWindow app,
MyWidget w,
const QString  s 
)
slot
void ApplicationWindow::saveAsProject ( )
slot
void ApplicationWindow::saveAsTemplate ( )
slot
void ApplicationWindow::savedProject ( )
slot

Set the project status to saved (not modified)

References actionSaveProject, d_project, saved, and Project::undoStack().

Referenced by createActions(), main(), newProject(), openProject(), and saveProject().

void ApplicationWindow::saveFitFunctionsList ( const QStringList &  l)
slot

References fitFunctions.

Referenced by showFitDialog().

void ApplicationWindow::saveFolder ( Folder folder,
const QString &  fn 
)
slot
void ApplicationWindow::saveFolderAsProject ( Folder f)
slot

References file_compress(), filter, saveFolder(), and workingDir.

Referenced by saveAsProject().

void ApplicationWindow::saveNoteAs ( )
slot

References d_workspace, and Note::exportASCII().

Referenced by createActions().

bool ApplicationWindow::saveProject ( )
slot
void ApplicationWindow::saveProjectAs ( )
slot
void ApplicationWindow::saveSettings ( )
slot

References allAxesOn, antialiasing2DPlots, appFont, appLanguage, appStyle, asciiDirPath, autoResizeLayers, autoSave, autoSaveTime, autoscale2DPlots, autoscale3DPlots, autoScaleFonts, axesLineWidth, canvasFrameOn, canvasFrameWidth, columnSeparator, confirmCloseFolder, confirmCloseMatrix, confirmCloseNotes, confirmClosePlot2D, confirmClosePlot3D, confirmCloseTable, d_2_linear_fit_points, d_add_curves_dialog_size, d_ASCII_file_filter, d_ASCII_import_locale, d_convert_to_numeric, d_decimal_digits, d_default_numeric_format, d_export_color, d_export_orientation, d_export_quality, d_export_resolution, d_export_transparency, d_export_vector_size, d_extended_export_dialog, d_extended_import_ASCII_dialog, d_extended_open_dialog, d_extended_plot_dialog, d_image_export_filter, d_keep_plot_aspect, d_print_cropmarks, d_scale_plots_on_print, d_show_current_folder, d_show_table_comments, defaultArrowColor, defaultArrowHeadAngle, defaultArrowHeadFill, defaultArrowHeadLength, defaultArrowLineStyle, defaultArrowLineWidth, defaultCurveLineWidth, defaultCurveStyle, defaultPlotMargin, defaultScriptingLang, defaultSymbolSize, drawBackbones, explorerSplitter, fit_output_precision, fit_scale_errors, fitFunctions, fitPluginsPath, fitPoints, generatePeakCurves, generateUniformFitPoints, helpFilePath, ignoredLines, imagesDirPath, legendBackground, legendFrameStyle, legendTextColor, majTicksLength, majTicksStyle, minTicksLength, minTicksStyle, orthogonal3DPlots, panelsColor, panelsTextColor, pasteFitResultsToPlot, peakCurvesColor, Graph::penStyleName(), plot3DAxesFont, plot3DColors, plot3DNumbersFont, plot3DResolution, plot3DTitleFont, plotAxesFont, plotLegendFont, plotNumbersFont, plotTitleFont, recentProjects, renameColumns, rFunctions, show_windows_policy, showPlot3DLegend, showPlot3DProjection, simplify_spaces, smooth3DMesh, strip_spaces, surfaceFunc, tableBkgdColor, tableHeaderColor, tableHeaderFont, tableTextColor, tableTextFont, templatesDir, thetaFunctions, titleOn, undoLimit, workingDir, workspaceColor, writeFitResultsToLog, xFunctions, and yFunctions.

Referenced by ConfigDialog::apply(), FitDialog::applyChanges(), closeEvent(), importASCII(), newProject(), open(), openRecentProject(), parseCommandLineArguments(), setArrowDefaultSettings(), setLegendDefaultSettings(), and showHelp().

void ApplicationWindow::scriptError ( const QString &  message,
const QString &  scriptName,
int  lineNumber 
)
slot

notify the user that an error occured in the scripting system

Referenced by customEvent(), init(), and setScriptingLang().

void ApplicationWindow::scriptPrint ( const QString &  text)
slot

print to scripting console (if available) or to stdout

Referenced by customEvent(), init(), and setScriptingLang().

void ApplicationWindow::selectPlotType ( int  type)
privateslot

Manage plot type selection.

If the current window is a Table, generate a new graph from the selected data. If it is a Graph, change the plot type of the last curve. For everything else, do nothing.

References MultiLayer::activeGraph(), Graph::Box, Graph::curves(), d_workspace, Table::drawableColumnSelection(), TableView::firstSelectedRow(), Graph::Histogram, TableView::lastSelectedRow(), multilayerPlot(), Graph::Pie, Table::selectedColumns(), Graph::setCurveType(), table(), and validFor2DPlot().

Referenced by createActions().

void ApplicationWindow::setActiveWindowFromAction ( )
privateslot

Set the active window selected from the context menu's dependency list.

See also: http://doc.trolltech.com/4.3/mainwindows-recentfiles-mainwindow-cpp.html

References activateWindow(), and window().

Referenced by showWindowMenu().

void ApplicationWindow::setAppColors ( const QColor &  wc,
const QColor &  pc,
const QColor &  tpc 
)
slot
void ApplicationWindow::setArrowDefaultSettings ( int  lineWidth,
const QColor &  c,
Qt::PenStyle  style,
int  headLength,
int  headAngle,
bool  fillHead 
)
slot
void ApplicationWindow::setAutoScale ( )
slot
void ApplicationWindow::setBackGrid3DPlot ( bool  on)
slot

References d_workspace.

Referenced by initPlot3DToolBar().

void ApplicationWindow::setBars3DPlot ( )
slot

References d_workspace.

Referenced by pickPlotStyle().

void ApplicationWindow::setBoxed3DPlot ( )
slot

References actionShowAxisDialog, and d_workspace.

Referenced by pickCoordSystem().

void ApplicationWindow::setCeilGrid3DPlot ( bool  on)
slot

References d_workspace.

Referenced by initPlot3DToolBar().

void ApplicationWindow::setCones3DPlot ( )
slot

References d_workspace.

Referenced by pickPlotStyle().

void ApplicationWindow::setCrosses3DPlot ( )
slot

References d_workspace.

Referenced by pickPlotStyle().

void ApplicationWindow::setCurveFullRange ( )
slot
void ApplicationWindow::setEmptyFloor3DPlot ( )
slot

References d_workspace.

Referenced by pickFloorStyle().

void ApplicationWindow::setFilledMesh3DPlot ( )
slot

References d_workspace.

Referenced by pickPlotStyle().

void ApplicationWindow::setFloorData3DPlot ( )
slot

References d_workspace.

Referenced by pickFloorStyle().

void ApplicationWindow::setFloorGrid3DPlot ( bool  on)
slot

References d_workspace.

Referenced by initPlot3DToolBar().

void ApplicationWindow::setFloorIso3DPlot ( )
slot

References d_workspace.

Referenced by pickFloorStyle().

void ApplicationWindow::setFramed3DPlot ( )
slot

References actionShowAxisDialog, and d_workspace.

Referenced by pickCoordSystem().

void ApplicationWindow::setFrontGrid3DPlot ( bool  on)
slot

References d_workspace.

Referenced by initPlot3DToolBar().

void ApplicationWindow::setGraphDefaultSettings ( bool  autoscale,
bool  scaleFonts,
bool  resizeLayers,
bool  antialiasing 
)
slot
void ApplicationWindow::setHiddenLineGrid3DPlot ( )
slot

References d_workspace.

Referenced by pickPlotStyle().

void ApplicationWindow::setLeftGrid3DPlot ( bool  on)
slot

References d_workspace.

Referenced by initPlot3DToolBar().

void ApplicationWindow::setLegendDefaultSettings ( int  frame,
const QFont &  font,
const QColor &  textCol,
const QColor &  backgroundCol 
)
slot
void ApplicationWindow::setLineGrid3DPlot ( )
slot

References d_workspace.

Referenced by pickPlotStyle().

void ApplicationWindow::setListView ( const QString &  caption,
const QString &  view 
)
slot
void ApplicationWindow::setListViewDate ( const QString &  caption,
const QString &  date 
)
slot
void ApplicationWindow::setListViewLabel ( const QString &  caption,
const QString &  label 
)
slot
void ApplicationWindow::setPlot3DOptions ( )
slot
void ApplicationWindow::setPoints3DPlot ( )
slot

References d_workspace.

Referenced by pickPlotStyle().

void ApplicationWindow::setPreferences ( Graph g)
slot
void ApplicationWindow::setRightGrid3DPlot ( bool  on)
slot

References d_workspace.

Referenced by initPlot3DToolBar().

void ApplicationWindow::setSaveSettings ( bool  autoSaving,
int  min 
)
slot

References autoSave, autoSaveTime, and savingTimerId.

Referenced by ConfigDialog::apply().

bool ApplicationWindow::setScriptingLang ( const QString &  lang,
bool  force = false 
)
slot

switches to the given scripting language; if this is the same as the current one and force is true, restart it

References ScriptingEnv::initialize(), ScriptingLangManager::newEnv(), print(), scripted::scriptEnv, scriptError(), and scriptPrint().

Referenced by ScriptingLangDialog::accept(), applyUserSettings(), openProject(), and restartScriptingEnv().

void ApplicationWindow::setShowWindowsPolicy ( int  p)
slot

hides or shows windows in the current folder and changes the view windows policy

References hiddenWindows, HideAll, MyWidget::name(), setListView(), show_windows_policy, showAllFolderWindows(), and windowsList().

Referenced by showFolderPopupMenu().

void ApplicationWindow::setWindowGeometry ( int  x,
int  y,
int  w,
int  h 
)
slot

Changes the geometry of the active MDI window.

References d_workspace.

Referenced by resizeActiveWindow(), and resizeWindow().

void ApplicationWindow::showAllCurves ( )
slot
void ApplicationWindow::showAllFolderWindows ( )
slot
void ApplicationWindow::showAxisDialog ( )
slot
AxesDialog * ApplicationWindow::showAxisPageFromAxisDialog ( int  axisPos)
slot
void ApplicationWindow::showBugTracker ( )
slot

Open bug tracking system at SF.net in external browser.

References BUGREPORT_URI.

Referenced by createActions().

void ApplicationWindow::showColStatistics ( )
slot
void ApplicationWindow::showCursor ( )
slot
void ApplicationWindow::showCurveContextMenu ( int  curveKey)
slot
void ApplicationWindow::showCurvePlotDialog ( )
slot
void ApplicationWindow::showCurveRangeDialog ( )
slot
CurveRangeDialog * ApplicationWindow::showCurveRangeDialog ( Graph g,
int  curve 
)
slot
void ApplicationWindow::showCurvesDialog ( )
slot
void ApplicationWindow::showCurveWorksheet ( )
slot
void ApplicationWindow::showCurveWorksheet ( Graph g,
int  curveIndex 
)
slot
void ApplicationWindow::showDataSetDialog ( const QString &  whichFit)
slot
void ApplicationWindow::showExpDecay3Dialog ( )
slot

References showExpDecayDialog().

Referenced by createActions().

void ApplicationWindow::showExpDecayDialog ( )
slot
void ApplicationWindow::showExpDecayDialog ( int  type)
slot
void ApplicationWindow::showExpGrowthDialog ( )
slot

References showExpDecayDialog().

Referenced by createActions().

void ApplicationWindow::showExportASCIIDialog ( )
slot
void ApplicationWindow::showFFTDialog ( )
slot
void ApplicationWindow::showFilterDialog ( int  filter)
slot
void ApplicationWindow::showFindDialogue ( )
slot

Referenced by showFolderPopupMenu().

void ApplicationWindow::showFitDialog ( )
slot
void ApplicationWindow::showFitPolynomDialog ( )
slot
void ApplicationWindow::showFolderPopupMenu ( Q3ListViewItem *  it,
const QPoint &  p,
bool  fromFolders 
)
slot

creates and opens the context menu of a folder list view item

Parameters:
itlist view item
pmouse global position
fromFolders,:true means that the user clicked right mouse buttom on an item from QListView "folders" false means that the user clicked right mouse buttom on an item from QListView "lv"

References actionNewFunctionPlot, actionNewGraph, actionNewMatrix, actionNewNote, actionNewSurfacePlot, actionNewTable, addFolder(), appendProject(), deleteFolder(), folderProperties(), folders, HideAll, hideAllFolderWindows(), saveAsProject(), saveProjectAs(), setShowWindowsPolicy(), show_windows_policy, showAllFolderWindows(), showFindDialogue(), startRenameFolder(), and window().

Referenced by init(), showFolderPopupMenu(), and showWindowPopupMenu().

void ApplicationWindow::showFolderPopupMenu ( Q3ListViewItem *  it,
const QPoint &  p,
int   
)
slot

connected to the SIGNAL contextMenuRequested from the list views

References showFolderPopupMenu().

void ApplicationWindow::showForums ( )
slot

Open forums page at SF.net in external browser.

References FORUM_URI.

Referenced by createActions().

void ApplicationWindow::showFunctionDialog ( )
slot
void ApplicationWindow::showFunctionDialog ( Graph g,
int  curve 
)
slot
void ApplicationWindow::showGeneralPlotDialog ( )
slot
void ApplicationWindow::showGraphContextMenu ( )
slot
void ApplicationWindow::showGridDialog ( )
slot
void ApplicationWindow::showHelp ( )
slot
void ApplicationWindow::showHistory ( )
slot

References d_project, and Project::undoStack().

Referenced by createActions().

void ApplicationWindow::showHomePage ( )
slot

Open SciDAVis homepage in external browser.

References HOMEPAGE_URI.

Referenced by createActions().

void ApplicationWindow::showImageDialog ( )
slot
void ApplicationWindow::showIntegrationDialog ( )
slot

References d_workspace, and Graph::validCurvesDataSize().

Referenced by createActions().

void ApplicationWindow::showInterpolationDialog ( )
slot

References d_workspace, and Graph::validCurvesDataSize().

Referenced by createActions().

void ApplicationWindow::showLayerButtonContextMenu ( )
slot
void ApplicationWindow::showLayerDialog ( )
slot

References d_workspace, and MultiLayer::isEmpty().

Referenced by createActions().

void ApplicationWindow::showLineDialog ( )
slot
void ApplicationWindow::showListViewPopupMenu ( const QPoint &  p)
slot

Connected to the context menu signal from lv; it's called when there are no items selected in the list.

References actionNewFunctionPlot, actionNewGraph, actionNewMatrix, actionNewNote, actionNewSurfacePlot, actionNewTable, addFolder(), lv, and window().

Referenced by showWindowPopupMenu().

void ApplicationWindow::showListViewSelectionMenu ( const QPoint &  p)
slot

Connected to the context menu signal from lv; it's called when there are several items selected in the list.

References deleteSelectedItems().

Referenced by showWindowPopupMenu().

void ApplicationWindow::showMarkerPopupMenu ( )
slot
void ApplicationWindow::showMoreWindows ( )
slot

References explorerWindow.

Referenced by createActions(), and windowsMenuAboutToShow().

QDialog * ApplicationWindow::showPlot3dDialog ( )
slot

References Graph3D::axesColor(), Graph3D::axesLabels(), Graph3D::axisTickLengths(), Graph3D::barsRadius(), Graph3D::bgColor(), Graph3D::boxedCrossHair(), Graph3D::coneQuality(), Graph3D::coneRadius(), Graph3D::Cones, Graph3D::coordStyle(), Graph3D::crossHairLinewidth(), Graph3D::crossHairRadius(), Plot3DDialog::customWorksheetBtn(), d_workspace, Plot3DDialog::disableAxesOptions(), Plot3DDialog::disableGridOptions(), Plot3DDialog::disableLegend(), Plot3DDialog::disableMeshOptions(), Graph3D::Dots, Graph3D::getTable(), Graph3D::gridColor(), Graph3D::grids(), Graph3D::HairCross, Graph3D::hasData(), Plot3DDialog::initPointsOptionsStack(), Graph3D::isLegendOn(), Graph3D::isOrthogonal(), Graph3D::labelColor(), Graph3D::labelsDistance(), Graph3D::matrix(), Graph3D::maxDataColor(), Graph3D::meshColor(), Graph3D::meshLineWidth(), Graph3D::minDataColor(), Graph3D::None, Graph3D::numbersFont(), Graph3D::numColor(), Graph3D::plotStyle(), Graph3D::plotTitle(), Graph3D::pointsSize(), Graph3D::pointType(), Graph3D::resolution(), Graph3D::scaleLimits(), Plot3DDialog::setAxesFonts(), Plot3DDialog::setAxesLabels(), Plot3DDialog::setAxesTickLengths(), Plot3DDialog::setColors(), Plot3DDialog::setDataColors(), Plot3DDialog::setLabelsDistance(), Plot3DDialog::setMeshLineWidth(), Plot3DDialog::setNumbersFonts(), Plot3DDialog::setOrthogonal(), Plot3DDialog::setPlot(), Plot3DDialog::setResolution(), Plot3DDialog::setScales(), Plot3DDialog::setScaling(), Plot3DDialog::setTitle(), Plot3DDialog::setTitleFont(), Plot3DDialog::setTransparency(), Plot3DDialog::setZoom(), Plot3DDialog::showBarsTab(), Plot3DDialog::showConesTab(), Plot3DDialog::showCrossHairTab(), Plot3DDialog::showLegend(), Plot3DDialog::showPointsTab(), Graph3D::smoothCrossHair(), Graph3D::smoothPoints(), Graph3D::titleColor(), Graph3D::titleFont(), Graph3D::transparency(), Graph3D::userFunction(), Graph3D::VerticalBars, Graph3D::xAxisLabelFont(), Graph3D::xScale(), Graph3D::yAxisLabelFont(), Graph3D::yScale(), Graph3D::zAxisLabelFont(), Graph3D::zoom(), and Graph3D::zScale().

Referenced by connectSurfacePlot(), showScaleDialog(), and showTitleDialog().

void ApplicationWindow::showPlotAssociations ( int  curve)
slot
void ApplicationWindow::showPlotDialog ( int  curveKey = -1)
slot
void ApplicationWindow::showPlotGeometryDialog ( )
slot
void ApplicationWindow::showPlotWizard ( )
slot
void ApplicationWindow::showPreferencesDialog ( )
slot
void ApplicationWindow::showRangeSelectors ( )
slot
void ApplicationWindow::showResults ( bool  ok)
slot
void ApplicationWindow::showResults ( const QString &  s,
bool  ok = true 
)
slot

References logInfo, results, and showResults().

void ApplicationWindow::showRightAxisTitleDialog ( )
slot
void ApplicationWindow::showRowStatistics ( )
slot
QDialog * ApplicationWindow::showScaleDialog ( )
slot
AxesDialog * ApplicationWindow::showScalePageFromAxisDialog ( int  axisPos)
slot
void ApplicationWindow::showScreenReader ( )
slot
void ApplicationWindow::showScriptingLangDialog ( )
slot

show scripting language selection dialog

References scripted::scriptEnv.

Referenced by createActions().

void ApplicationWindow::showSmoothAverageDialog ( )
slot

References SmoothFilter::Average, and showSmoothDialog().

Referenced by createActions().

void ApplicationWindow::showSmoothDialog ( int  m)
slot
void ApplicationWindow::showSmoothFFTDialog ( )
slot

References SmoothFilter::FFT, and showSmoothDialog().

Referenced by createActions().

void ApplicationWindow::showSmoothSavGolDialog ( )
slot
void ApplicationWindow::showStandAloneHelp ( )
staticslot

References MANUAL_URI.

Referenced by main().

void ApplicationWindow::showStatusBarContextMenu ( const QPoint &  pos)
slot

Show the context menu for the status bar.

References actionCopyStatusBarText, and d_status_info.

Referenced by initToolBars().

void ApplicationWindow::showTable ( const QString &  curve)
slot
void ApplicationWindow::showTextDialog ( )
slot
void ApplicationWindow::showTitleDialog ( )
slot
void ApplicationWindow::showTopAxisTitleDialog ( )
slot
void ApplicationWindow::showTwoExpDecayDialog ( )
slot

References showExpDecayDialog().

Referenced by createActions().

void ApplicationWindow::showWindowContextMenu ( )
slot
void ApplicationWindow::showWindowMenu ( MyWidget widget)
private
void ApplicationWindow::showWindowPopupMenu ( Q3ListViewItem *  it,
const QPoint &  p,
int   
)
slot
void ApplicationWindow::showWindowTitleBarMenu ( )
slot
void ApplicationWindow::showXAxisTitleDialog ( )
slot
void ApplicationWindow::showYAxisTitleDialog ( )
slot
void ApplicationWindow::startRenameFolder ( )
slot

starts renaming the selected folder by creating a built-in text editor

References current_folder, folderItemChanged(), Folder::folderListItem(), and folders.

Referenced by init(), and showFolderPopupMenu().

void ApplicationWindow::startRenameFolder ( Q3ListViewItem *  item)
slot

starts renaming the selected folder by creating a built-in text editor

References current_folder, folderItemChanged(), Folder::folderListItem(), folders, lv, and FolderListItem::RTTI.

void ApplicationWindow::switchToLanguage ( int  param)
slot
void ApplicationWindow::switchToLanguage ( const QString &  locale)
slot
Table * ApplicationWindow::table ( const QString &  name)
slot
QList< QWidget * > * ApplicationWindow::tableList ( )
slot
QStringList ApplicationWindow::tableWindows ( )
void ApplicationWindow::timerEvent ( QTimerEvent *  e)
slot

References saveProject(), and savingTimerId.

void ApplicationWindow::toggle3DAnimation ( bool  on = true)
slot

Turns 3D animation on or off

References d_workspace.

Referenced by initPlot3DToolBar().

void ApplicationWindow::togglePerspective ( bool  on = true)
slot

Turns perspective mode on or off.

Turns perspective mode on or off

References d_workspace.

Referenced by initPlot3DToolBar().

void ApplicationWindow::translateActionsStrings ( )
slot

References actionAbout, actionActivateWindow, actionAdd3DData, actionAddErrorBars, actionAddFunctionCurve, actionAddImage, actionAddLayer, actionAddText, actionAnimate, actionAutoCorrelate, actionAutomaticLayout, actionBandBlockFilter, actionBandPassFilter, actionBoxPlot, actionClearLogInfo, actionClearSelection, actionCloseAllWindows, actionCloseWindow, actionColorMap, actionContourMap, actionConvertMatrix, actionConvertTable, actionConvolute, actionCopySelection, actionCopyStatusBarText, actionCopyWindow, actionCorrelate, actionCurveFullRange, actionCutSelection, actionDeconvolute, actionDeleteFitTables, actionDeleteLayer, actionDifferentiate, actionEditCurveRange, actionEditFunction, actionEditSurfacePlot, actionExportAllGraphs, actionExportGraph, actionExportPDF, actionFFT, actionFitExpGrowth, actionFitFrame, actionFitGauss, actionFitLinear, actionFitLorentz, actionFitSigmoidal, actionGrayMap, actionHelpBugReports, actionHelpForums, actionHideActiveWindow, actionHideCurve, actionHideOtherCurves, actionHighPassFilter, actionHomePage, actionImportImage, actionIntensityTable, actionInterpolate, actionInvertMatrix, actionLoad, actionLoadImage, actionLowPassFilter, actionMatrixDeterminant, actionMaximizeWindow, actionMinimizeWindow, actionMultiPeakGauss, actionMultiPeakLorentz, actionNewFunctionPlot, actionNewGraph, actionNewLegend, actionNewMatrix, actionNewNote, actionNewProject, actionNewSurfacePlot, actionNewTable, actionNoteEvaluate, actionNoteExecute, actionNoteExecuteAll, actionOpen, actionOpenTemplate, actionPasteSelection, actionPerspective, actionPixelLineProfile, actionPlot2HorizontalLayers, actionPlot2VerticalLayers, actionPlot3DBars, actionPlot3DHiddenLine, actionPlot3DPolygons, actionPlot3DRibbon, actionPlot3DScatter, actionPlot3DTrajectory, actionPlot3DWireFrame, actionPlot3DWireSurface, actionPlot4Layers, actionPlotArea, actionPlotHistogram, actionPlotHorizontalBars, actionPlotHorSteps, actionPlotL, actionPlotLP, actionPlotP, actionPlotPie, actionPlotSpline, actionPlotStackedHistograms, actionPlotStackedLayers, actionPlotVectXYAM, actionPlotVectXYXY, actionPlotVerticalBars, actionPlotVerticalDropLines, actionPlotVertSteps, actionPrint, actionPrintAllPlots, actionPrintWindow, actionRedo, actionRemoveCurve, actionRename, actionResetRotation, actionResizeActiveWindow, actionResizeWindow, actionRestartScripting, actionSaveProject, actionSaveProjectAs, actionSaveTemplate, actionScriptingLang, actionShowAllCurves, actionShowAxisDialog, actionShowColStatistics, actionShowConfigureDialog, actionShowCurvePlotDialog, actionShowCurvesDialog, actionShowCurveWorksheet, actionShowExpDecay3Dialog, actionShowExpDecayDialog, actionShowExplorer, actionShowExportASCIIDialog, actionShowFitDialog, actionShowFitPolynomDialog, actionShowGridDialog, actionShowHelp, actionShowImageDialog, actionShowIntDialog, actionShowLayerDialog, actionShowLineDialog, actionShowLog, actionShowMoreWindows, actionShowPlotDialog, actionShowPlotGeometryDialog, actionShowPlotWizard, actionShowRowStatistics, actionShowScaleDialog, actionShowTextDialog, actionShowTitleDialog, actionShowTwoExpDecayDialog, actionSmoothAverage, actionSmoothFFT, actionSmoothSavGol, actionTimeStamp, actionTranslateHor, actionTranslateVert, actionUndo, actionUnzoom, back, barstyle, Box, btnArrow, btnCursor, btnLine, btnMovePoints, btnPicker, btnPointer, btnRemovePoints, btnSelect, btnZoomIn, btnZoomOut, ceil, conestyle, crossHairStyle, filledmesh, floor, floordata, flooriso, floornone, Frame, front, hiddenline, left, None, pointstyle, polygon, right, toolbarsMenu, and wireframe.

Referenced by insertTranslatedStrings().

void ApplicationWindow::translateCurveHor ( )
slot
void ApplicationWindow::translateCurveVert ( )
slot
void ApplicationWindow::undo ( )
slot

References d_project, and Project::undoStack().

Referenced by createActions().

void ApplicationWindow::updateAppFonts ( )
slot
void ApplicationWindow::updateColNames ( const QString &  oldName,
const QString &  newName 
)
slot

References windowsList().

Referenced by connectTable().

void ApplicationWindow::updateConfirmOptions ( bool  askTables,
bool  askMatrixes,
bool  askPlots2D,
bool  askPlots3D,
bool  askNotes 
)
slot
void ApplicationWindow::updateCurves ( Table t,
const QString &  name 
)
slot
void ApplicationWindow::updateFunctionLists ( int  type,
QStringList &  formulas 
)
slot
void ApplicationWindow::updateLog ( const QString &  result)
slot
void ApplicationWindow::updateMatrixPlots ( QWidget *  window)
slot
void ApplicationWindow::updateRecentProjectsList ( )
slot
void ApplicationWindow::updateSurfaceFuncList ( const QString &  s)
slot

References surfaceFunc.

Referenced by SurfaceDialog::accept().

void ApplicationWindow::updateTableNames ( const QString &  oldName,
const QString &  newName 
)
slot

References windowsList().

Referenced by renameWindow().

void ApplicationWindow::updateWindowLists ( MyWidget w)
slot
void ApplicationWindow::updateWindowStatus ( MyWidget w)
slot
bool ApplicationWindow::validFor2DPlot ( Table table,
int  type 
)
private

Check whether a table is valid for a 2D plot and display an appropriate error if not.

References Graph::Box, Graph::Histogram, Table::noXColumn(), Table::numCols(), Graph::Pie, TableView::selectedColumnCount(), and SciDAVis::Y.

Referenced by multilayerPlot(), plotVectXYAM(), plotVectXYXY(), and selectPlotType().

bool ApplicationWindow::validFor3DPlot ( Table table)
private

Check whether a table is valid for a 3D plot and display an appropriate error if not.

References Table::colPlotDesignation(), TableView::firstSelectedColumn(), Table::noXColumn(), Table::noYColumn(), Table::numCols(), and SciDAVis::Z.

Referenced by plot3DBars(), plot3DRibbon(), plot3DScatter(), and plot3DTrajectory().

QString ApplicationWindow::versionString ( )
staticslot

Return a version string ("SciDAVis x.y.z")

Referenced by parseCommandLineArguments().

QWidget * ApplicationWindow::window ( const QString &  name)
slot

Returns a pointer to the window named "name".

References MyWidget::name(), and windowsList().

Referenced by setActiveWindowFromAction(), showFolderPopupMenu(), and showListViewPopupMenu().

void ApplicationWindow::windowActivated ( QWidget *  w)
slot
QString ApplicationWindow::windowGeometryInfo ( MyWidget w)
slot
void ApplicationWindow::windowProperties ( )
slot

pops up information about the selected window item

References MyWidget::birthDate(), current_folder, lv, MyWidget::name(), Folder::path(), and WindowListItem::window().

Referenced by showWindowMenu().

QWidgetList * ApplicationWindow::windowsList ( )
slot
void ApplicationWindow::windowsMenuAboutToShow ( )
slot
void ApplicationWindow::windowsMenuActivated ( int  id)
slot
void ApplicationWindow::zoomIn ( )
slot
void ApplicationWindow::zoomOut ( )
slot

Member Data Documentation

QAction* ApplicationWindow::actionAbout
private
QAction* ApplicationWindow::actionActivateWindow
private
QAction * ApplicationWindow::actionAdd3DData
private
QAction* ApplicationWindow::actionAddColToTable
private
QAction * ApplicationWindow::actionAddErrorBars
private
QAction * ApplicationWindow::actionAddFunctionCurve
private
QAction * ApplicationWindow::actionAddImage
private
QAction * ApplicationWindow::actionAddLayer
private
QAction * ApplicationWindow::actionAddText
private
QAction* ApplicationWindow::actionAnimate
private
QAction * ApplicationWindow::actionAutoCorrelate
private
QAction * ApplicationWindow::actionAutomaticLayout
private
QAction * ApplicationWindow::actionBandBlockFilter
private
QAction * ApplicationWindow::actionBandPassFilter
private
QAction* ApplicationWindow::actionBoxPlot
private
QAction * ApplicationWindow::actionClearLogInfo
private
QAction * ApplicationWindow::actionClearSelection
private
QAction * ApplicationWindow::actionClearTable
private
QAction* ApplicationWindow::actionCloseAllWindows
private
QAction * ApplicationWindow::actionCloseWindow
private
QAction* ApplicationWindow::actionColorMap
private
QAction * ApplicationWindow::actionContourMap
private
QAction* ApplicationWindow::actionConvertMatrix
private
QAction * ApplicationWindow::actionConvertTable
private
QAction* ApplicationWindow::actionConvolute
private
QAction * ApplicationWindow::actionCopySelection
private
QAction* ApplicationWindow::actionCopyStatusBarText
private
QAction* ApplicationWindow::actionCopyWindow
private
QAction * ApplicationWindow::actionCorrelate
private
QAction * ApplicationWindow::actionCurveFullRange
private
QAction* ApplicationWindow::actionCutSelection
private
QAction * ApplicationWindow::actionDeconvolute
private
QAction* ApplicationWindow::actionDeleteFitTables
private
QAction * ApplicationWindow::actionDeleteLayer
private
QAction* ApplicationWindow::actionDifferentiate
private
QAction* ApplicationWindow::actionEditCurveRange
private
QAction* ApplicationWindow::actionEditFunction
private
QAction * ApplicationWindow::actionEditSurfacePlot
private
QAction * ApplicationWindow::actionExportAllGraphs
private
QAction* ApplicationWindow::actionExportGraph
private
QAction* ApplicationWindow::actionExportPDF
private
QAction * ApplicationWindow::actionFFT
private
QAction* ApplicationWindow::actionFitExpGrowth
private
QAction * ApplicationWindow::actionFitFrame
private
QAction * ApplicationWindow::actionFitGauss
private
QAction * ApplicationWindow::actionFitLinear
private
QAction * ApplicationWindow::actionFitLorentz
private
QAction * ApplicationWindow::actionFitSigmoidal
private
QAction * ApplicationWindow::actionGoToCell
private
QAction * ApplicationWindow::actionGrayMap
private
QAction * ApplicationWindow::actionHelpBugReports
private
QAction* ApplicationWindow::actionHelpForums
private
QAction * ApplicationWindow::actionHideActiveWindow
private
QAction * ApplicationWindow::actionHideCurve
private
QAction * ApplicationWindow::actionHideOtherCurves
private
QAction * ApplicationWindow::actionHighPassFilter
private
QAction* ApplicationWindow::actionHomePage
private
QAction * ApplicationWindow::actionImportImage
private
QAction * ApplicationWindow::actionIntensityTable
private
QAction * ApplicationWindow::actionInterpolate
private
QAction * ApplicationWindow::actionInvertMatrix
private
QAction* ApplicationWindow::actionLoad
private
QAction * ApplicationWindow::actionLoadImage
private
QAction* ApplicationWindow::actionLowPassFilter
private
QAction* ApplicationWindow::actionMatrixDeterminant
private
QAction * ApplicationWindow::actionMaximizeWindow
private
QAction * ApplicationWindow::actionMinimizeWindow
private
QAction * ApplicationWindow::actionMultiPeakGauss
private
QAction * ApplicationWindow::actionMultiPeakLorentz
private
QAction * ApplicationWindow::actionNewFunctionPlot
private
QAction * ApplicationWindow::actionNewGraph
private
QAction * ApplicationWindow::actionNewLegend
private
QAction * ApplicationWindow::actionNewMatrix
private
QAction * ApplicationWindow::actionNewNote
private
QAction* ApplicationWindow::actionNewProject
private
QAction * ApplicationWindow::actionNewSurfacePlot
private
QAction * ApplicationWindow::actionNewTable
private
QAction* ApplicationWindow::actionNextWindow
private

Referenced by init(), and windowsMenuAboutToShow().

QAction * ApplicationWindow::actionNoteEvaluate
private
QAction* ApplicationWindow::actionNoteExecute
private
QAction * ApplicationWindow::actionNoteExecuteAll
private
QAction* ApplicationWindow::actionOpen
private
QAction * ApplicationWindow::actionOpenTemplate
private
QAction * ApplicationWindow::actionPasteSelection
private
QAction * ApplicationWindow::actionPerspective
private
QAction * ApplicationWindow::actionPixelLineProfile
private
QAction * ApplicationWindow::actionPlot2HorizontalLayers
private
QAction * ApplicationWindow::actionPlot2VerticalLayers
private
QAction * ApplicationWindow::actionPlot3DBars
private
QAction * ApplicationWindow::actionPlot3DHiddenLine
private
QAction * ApplicationWindow::actionPlot3DPolygons
private
QAction* ApplicationWindow::actionPlot3DRibbon
private
QAction * ApplicationWindow::actionPlot3DScatter
private
QAction * ApplicationWindow::actionPlot3DTrajectory
private
QAction* ApplicationWindow::actionPlot3DWireFrame
private
QAction * ApplicationWindow::actionPlot3DWireSurface
private
QAction * ApplicationWindow::actionPlot4Layers
private
QAction * ApplicationWindow::actionPlotArea
private
QAction* ApplicationWindow::actionPlotHistogram
private
QAction* ApplicationWindow::actionPlotHorizontalBars
private
QAction * ApplicationWindow::actionPlotHorSteps
private
QAction* ApplicationWindow::actionPlotL
private
QAction * ApplicationWindow::actionPlotLP
private
QAction * ApplicationWindow::actionPlotP
private
QAction * ApplicationWindow::actionPlotPie
private
QAction * ApplicationWindow::actionPlotSpline
private
QAction * ApplicationWindow::actionPlotStackedHistograms
private
QAction * ApplicationWindow::actionPlotStackedLayers
private
QAction * ApplicationWindow::actionPlotVectXYAM
private
QAction * ApplicationWindow::actionPlotVectXYXY
private
QAction * ApplicationWindow::actionPlotVerticalBars
private
QAction * ApplicationWindow::actionPlotVerticalDropLines
private
QAction* ApplicationWindow::actionPlotVertSteps
private
QAction * ApplicationWindow::actionPrevWindow
private

Referenced by init(), and windowsMenuAboutToShow().

QAction * ApplicationWindow::actionPrint
private
QAction * ApplicationWindow::actionPrintAllPlots
private
QAction * ApplicationWindow::actionPrintWindow
private
QAction * ApplicationWindow::actionRedo
private
QAction * ApplicationWindow::actionRemoveCurve
private
QAction* ApplicationWindow::actionRename
private
QAction * ApplicationWindow::actionResetRotation
private
QAction* ApplicationWindow::actionResizeActiveWindow
private
QAction * ApplicationWindow::actionResizeWindow
private
QAction * ApplicationWindow::actionRestartScripting
private
QAction * ApplicationWindow::actionSaveNote
private

Referenced by createActions(), and showWindowMenu().

QAction * ApplicationWindow::actionSaveProject
private
QAction * ApplicationWindow::actionSaveProjectAs
private
QAction * ApplicationWindow::actionSaveTemplate
private
QAction* ApplicationWindow::actionScriptingLang
private
QAction * ApplicationWindow::actionShowAllCurves
private
QAction* ApplicationWindow::actionShowAxisDialog
private
QAction* ApplicationWindow::actionShowColStatistics
private
QAction * ApplicationWindow::actionShowConfigureDialog
private
QAction * ApplicationWindow::actionShowCurvePlotDialog
private
QAction* ApplicationWindow::actionShowCurvesDialog
private
QAction * ApplicationWindow::actionShowCurveWorksheet
private
QAction * ApplicationWindow::actionShowExpDecay3Dialog
private
QAction* ApplicationWindow::actionShowExpDecayDialog
private
QAction* ApplicationWindow::actionShowExplorer
private
QAction * ApplicationWindow::actionShowExportASCIIDialog
private
QAction * ApplicationWindow::actionShowFitDialog
private
QAction * ApplicationWindow::actionShowFitPolynomDialog
private
QAction * ApplicationWindow::actionShowGridDialog
private
QAction * ApplicationWindow::actionShowHelp
private
QAction* ApplicationWindow::actionShowHistory
private

Referenced by createActions(), and initMainMenu().

QAction * ApplicationWindow::actionShowImageDialog
private
QAction * ApplicationWindow::actionShowIntDialog
private
QAction * ApplicationWindow::actionShowLayerDialog
private
QAction* ApplicationWindow::actionShowLineDialog
private
QAction * ApplicationWindow::actionShowLog
private
QAction* ApplicationWindow::actionShowMoreWindows
private
QAction* ApplicationWindow::actionShowPlotDialog
private
QAction* ApplicationWindow::actionShowPlotGeometryDialog
private
QAction * ApplicationWindow::actionShowPlotWizard
private
QAction * ApplicationWindow::actionShowRowStatistics
private
QAction * ApplicationWindow::actionShowScaleDialog
private
QAction * ApplicationWindow::actionShowTextDialog
private
QAction * ApplicationWindow::actionShowTitleDialog
private
QAction * ApplicationWindow::actionShowTwoExpDecayDialog
private
QAction * ApplicationWindow::actionSmoothAverage
private
QAction * ApplicationWindow::actionSmoothFFT
private
QAction* ApplicationWindow::actionSmoothSavGol
private
QAction * ApplicationWindow::actionTimeStamp
private
QAction* ApplicationWindow::actionTranslateHor
private
QAction * ApplicationWindow::actionTranslateVert
private
QAction * ApplicationWindow::actionUndo
private
QAction * ApplicationWindow::actionUnzoom
private
bool ApplicationWindow::allAxesOn
bool ApplicationWindow::antialiasing2DPlots
QFont ApplicationWindow::appFont
QString ApplicationWindow::appLanguage
QString ApplicationWindow::appStyle
QTranslator* ApplicationWindow::appTranslator
int ApplicationWindow::arrowHeadAngle

Referenced by copyMarker(), and pasteSelection().

int ApplicationWindow::arrowHeadLength

Referenced by copyMarker(), and pasteSelection().

QString ApplicationWindow::asciiDirPath
int ApplicationWindow::asciiID
QAssistantClient* ApplicationWindow::assistant

Referenced by init(), and showHelp().

bool ApplicationWindow::autoResizeLayers
bool ApplicationWindow::autoSave
int ApplicationWindow::autoSaveTime
bool ApplicationWindow::autoscale2DPlots
bool ApplicationWindow::autoscale3DPlots
bool ApplicationWindow::autoScaleFonts
int ApplicationWindow::auxMrkBkg

Referenced by copyMarker(), and pasteSelection().

QColor ApplicationWindow::auxMrkBkgColor

Referenced by copyMarker(), and pasteSelection().

QColor ApplicationWindow::auxMrkColor

Referenced by copyMarker(), and pasteSelection().

QPoint ApplicationWindow::auxMrkEnd

Referenced by copyMarker(), and pasteSelection().

QString ApplicationWindow::auxMrkFileName

Referenced by copyMarker(), and pasteSelection().

QFont ApplicationWindow::auxMrkFont

Referenced by copyMarker(), and pasteSelection().

QPoint ApplicationWindow::auxMrkStart

Referenced by copyMarker(), and pasteSelection().

Qt::PenStyle ApplicationWindow::auxMrkStyle

Referenced by copyMarker(), and pasteSelection().

QString ApplicationWindow::auxMrkText

Referenced by copyMarker(), and pasteSelection().

int ApplicationWindow::auxMrkWidth

Referenced by copyMarker(), and pasteSelection().

int ApplicationWindow::axesLineWidth
QAction* ApplicationWindow::back
private
QAction* ApplicationWindow::barstyle
private
QAction* ApplicationWindow::Box
private
QAction * ApplicationWindow::btnArrow
private
QAction* ApplicationWindow::btnCursor
private
QAction * ApplicationWindow::btnLine
private
QAction * ApplicationWindow::btnMovePoints
private
QAction * ApplicationWindow::btnPicker
private
QAction * ApplicationWindow::btnPointer
private
QAction * ApplicationWindow::btnRemovePoints
private
QToolButton* ApplicationWindow::btnResults
QAction * ApplicationWindow::btnSelect
private
QAction* ApplicationWindow::btnZoomIn
private
QAction * ApplicationWindow::btnZoomOut
private
QMenu * ApplicationWindow::calcul
private
bool ApplicationWindow::canvasFrameOn
int ApplicationWindow::canvasFrameWidth
QAction* ApplicationWindow::ceil
private
int ApplicationWindow::closeID

Referenced by customMenu(), and disableActions().

QString ApplicationWindow::columnSeparator
QAction* ApplicationWindow::conestyle
private
QString ApplicationWindow::configFilePath
bool ApplicationWindow::confirmCloseFolder
bool ApplicationWindow::confirmCloseMatrix
bool ApplicationWindow::confirmCloseNotes
bool ApplicationWindow::confirmClosePlot2D
bool ApplicationWindow::confirmClosePlot3D
bool ApplicationWindow::confirmCloseTable
QActionGroup* ApplicationWindow::coord
private

Referenced by initPlot3DToolBar().

bool ApplicationWindow::copiedLayer
Graph::MarkerType ApplicationWindow::copiedMarkerType
QAction * ApplicationWindow::crossHairStyle
private
Folder* ApplicationWindow::current_folder
bool ApplicationWindow::d_2_linear_fit_points

Calculate only 2 points in a generated linear fit function curve.

Referenced by analyzeCurve(), ConfigDialog::apply(), ConfigDialog::initFittingPage(), readSettings(), and saveSettings().

QSize ApplicationWindow::d_add_curves_dialog_size

User defined size for the Add/Remove curves dialog.

Referenced by CurvesDialog::closeEvent(), readSettings(), saveSettings(), and showCurvesDialog().

QString ApplicationWindow::d_ASCII_file_filter

Last selected filter in import ASCII dialog.

Referenced by ImportASCIIDialog::closeEvent(), importASCII(), readSettings(), and saveSettings().

QLocale ApplicationWindow::d_ASCII_import_locale

Locale used to specify the decimal separators in imported ASCII files.

Referenced by dropEvent(), importASCII(), ImportASCIIDialog::ImportASCIIDialog(), plotFile(), readSettings(), and saveSettings().

bool ApplicationWindow::d_convert_to_numeric
int ApplicationWindow::d_decimal_digits
char ApplicationWindow::d_default_numeric_format
bool ApplicationWindow::d_export_color
int ApplicationWindow::d_export_orientation

Default paper orientation for image exports.

Referenced by ImageExportDialog::closeEvent(), ImageExportDialog::initAdvancedOptions(), readSettings(), and saveSettings().

int ApplicationWindow::d_export_quality
int ApplicationWindow::d_export_resolution
bool ApplicationWindow::d_export_transparency
int ApplicationWindow::d_export_vector_size
bool ApplicationWindow::d_extended_export_dialog
bool ApplicationWindow::d_extended_import_ASCII_dialog
bool ApplicationWindow::d_extended_open_dialog
bool ApplicationWindow::d_extended_plot_dialog
int ApplicationWindow::d_file_version

File version code used when opening project files (= maj * 100 + min * 10 + patch)

Referenced by appendProject(), openGraph(), openMatrix(), openProject(), openSurfacePlot(), openTable(), openTableStatistics(), and openTemplate().

QString ApplicationWindow::d_image_export_filter

Last selected filter in export image dialog.

Referenced by ImageExportDialog::closeEvent(), exportAllGraphs(), exportGraph(), exportLayer(), readSettings(), and saveSettings().

bool ApplicationWindow::d_keep_plot_aspect
QSignalMapper* ApplicationWindow::d_plot_mapper
private

Manages connection between plot actions and Graph::CurveType values (not used by all plot actions).

Referenced by createActions(), and customToolBars().

bool ApplicationWindow::d_print_cropmarks
Project* ApplicationWindow::d_project
private
QMenu* ApplicationWindow::d_quick_fit_menu
private

Referenced by initMainMenu().

bool ApplicationWindow::d_scale_plots_on_print
bool ApplicationWindow::d_show_current_folder

Specifies if only the Tables/Matrices in the current folder should be displayed in the Add/remove curve dialog.

Referenced by CurvesDialog::init(), readSettings(), saveSettings(), and CurvesDialog::showCurrentFolder().

bool ApplicationWindow::d_show_table_comments
QLabel* ApplicationWindow::d_status_info
private
QWorkspace* ApplicationWindow::d_workspace

Referenced by activateWindow(), addColToTable(), addErrorBars(), addFunctionCurve(), addImage(), addLayer(), addText(), addTimeStamp(), analysis(), applyUserSettings(), autoArrangeLayers(), autoCorrelate(), cascade(), change3DData(), change3DMatrix(), changeFolder(), clearSelection(), clearTable(), clone(), closeActiveWindow(), convertMatrixToTable(), convertTableToMatrix(), convolute(), copyActiveLayer(), copyMarker(), copySelection(), correlate(), cutSelection(), dataPlot3D(), dataPlotXYZ(), deconvolute(), defineErrorBars(), deleteLayer(), drawArrow(), drawLine(), editSurfacePlot(), exportGraph(), exportLayer(), exportPDF(), fitFrameToLayer(), fitMultiPeak(), hideActiveWindow(), hideCurve(), hideOtherCurves(), importASCII(), init(), initMatrix(), initMultilayerPlot(), initNote(), initPlot3D(), initTable(), insert3DMatrixPlot(), insertNew3DData(), insertTranslatedStrings(), intensityTable(), invertMatrix(), matrixDeterminant(), maximizeWindow(), minimizeWindow(), movePoints(), multilayerPlot(), newLegend(), newNote(), newPlot3D(), newTable(), newTableStatistics(), openMatrixPlot3D(), pasteSelection(), pickDataTool(), pixelLineProfile(), plot3DBars(), plot3DMatrix(), plot3DRibbon(), plot3DScatter(), plot3DTrajectory(), plotColorMap(), plotContour(), plotGrayScale(), plotPie(), plotVectXYAM(), plotVectXYXY(), print(), removeAxes3DPlot(), removeCurve(), removeGrid3DPlot(), removePoints(), renameActiveWindow(), resetRotation(), resizeActiveWindow(), resizeWindow(), saveAsTemplate(), saveNoteAs(), selectPlotType(), setAppColors(), setAutoScale(), setBackGrid3DPlot(), setBars3DPlot(), setBoxed3DPlot(), setCeilGrid3DPlot(), setCones3DPlot(), setCrosses3DPlot(), setCurveFullRange(), setEmptyFloor3DPlot(), setFilledMesh3DPlot(), setFloorData3DPlot(), setFloorGrid3DPlot(), setFloorIso3DPlot(), setFramed3DPlot(), setFrontGrid3DPlot(), setHiddenLineGrid3DPlot(), setLeftGrid3DPlot(), setLineGrid3DPlot(), setPoints3DPlot(), setRightGrid3DPlot(), setWindowGeometry(), showAllCurves(), showAxisDialog(), showColStatistics(), showCursor(), showCurveContextMenu(), showCurveRangeDialog(), showCurvesDialog(), showCurveWorksheet(), showDataSetDialog(), showExpDecayDialog(), showExportASCIIDialog(), showFFTDialog(), showFilterDialog(), showFitDialog(), showFitPolynomDialog(), showFunctionDialog(), showGeneralPlotDialog(), showGraphContextMenu(), showImageDialog(), showIntegrationDialog(), showInterpolationDialog(), showLayerButtonContextMenu(), showLayerDialog(), showLineDialog(), showMarkerPopupMenu(), showPlot3dDialog(), showPlotAssociations(), showPlotDialog(), showPlotGeometryDialog(), showRangeSelectors(), showRightAxisTitleDialog(), showRowStatistics(), showScaleDialog(), showScreenReader(), showSmoothDialog(), showTextDialog(), showTitleDialog(), showTopAxisTitleDialog(), showWindowContextMenu(), showWindowMenu(), showWindowTitleBarMenu(), showXAxisTitleDialog(), showYAxisTitleDialog(), toggle3DAnimation(), togglePerspective(), translateCurveHor(), translateCurveVert(), updateWindowLists(), windowsMenuAboutToShow(), windowsMenuActivated(), zoomIn(), and zoomOut().

QMenu * ApplicationWindow::dataMenu
private
QActionGroup* ApplicationWindow::dataTools
private

Referenced by customToolBars(), and initToolBars().

QMenu * ApplicationWindow::decay
private
QColor ApplicationWindow::defaultArrowColor
int ApplicationWindow::defaultArrowHeadAngle
bool ApplicationWindow::defaultArrowHeadFill
int ApplicationWindow::defaultArrowHeadLength
Qt::PenStyle ApplicationWindow::defaultArrowLineStyle
int ApplicationWindow::defaultArrowLineWidth
int ApplicationWindow::defaultCurveLineWidth
int ApplicationWindow::defaultCurveStyle
int ApplicationWindow::defaultPlotMargin
QString ApplicationWindow::defaultScriptingLang

The scripting language to use for new projects.

Referenced by ConfigDialog::apply(), applyUserSettings(), ConfigDialog::initAppPage(), readSettings(), and saveSettings().

int ApplicationWindow::defaultSymbolSize
QList<Q3ListViewItem *> ApplicationWindow::draggedItems
private

Stores the pointers to the dragged items from the FolderListViews objects.

Referenced by dragFolderItems(), and dropFolderItems().

bool ApplicationWindow::drawBackbones
QMenu * ApplicationWindow::edit
private
QToolBar * ApplicationWindow::edit_tools
bool ApplicationWindow::endArrowOn

Referenced by copyMarker(), and pasteSelection().

QSplitter* ApplicationWindow::explorerSplitter
private

Referenced by init(), readSettings(), and saveSettings().

QDockWidget * ApplicationWindow::explorerWindow
int ApplicationWindow::exportID
QMenu * ApplicationWindow::exportPlot
private

Referenced by initMainMenu(), and updateAppFonts().

QMenu * ApplicationWindow::file
private
QToolBar* ApplicationWindow::file_tools
bool ApplicationWindow::fillArrowHead

Referenced by copyMarker(), and pasteSelection().

QAction* ApplicationWindow::filledmesh
private
int ApplicationWindow::fillMenuID
QMenu * ApplicationWindow::filter
private
int ApplicationWindow::filterMenuID
int ApplicationWindow::fit_output_precision
bool ApplicationWindow::fit_scale_errors
int ApplicationWindow::fitExpMenuID
QStringList ApplicationWindow::fitFunctions
QString ApplicationWindow::fitPluginsPath
int ApplicationWindow::fitPoints
QAction* ApplicationWindow::floor
private
QAction* ApplicationWindow::floordata
private
QAction* ApplicationWindow::flooriso
private
QAction* ApplicationWindow::floornone
private
QActionGroup* ApplicationWindow::floorstyle
private

Referenced by initPlot3DToolBar().

FolderListView * ApplicationWindow::folders
QMenu * ApplicationWindow::format
private
QAction* ApplicationWindow::Frame
private
QAction* ApplicationWindow::front
private
QStringList ApplicationWindow::functions
bool ApplicationWindow::generatePeakCurves
bool ApplicationWindow::generateUniformFitPoints
QMenu * ApplicationWindow::graph
private
QToolBar * ApplicationWindow::graph_3D_tools
QToolBar * ApplicationWindow::graph_tools
QActionGroup* ApplicationWindow::grids
private
QMenu* ApplicationWindow::help
private
QString ApplicationWindow::helpFilePath
QAction* ApplicationWindow::hiddenline
private
QWidgetList* ApplicationWindow::hiddenWindows
int ApplicationWindow::ignoredLines
QString ApplicationWindow::imagesDirPath
Graph* ApplicationWindow::lastCopiedLayer
private
QWidget* ApplicationWindow::lastModified
QAction* ApplicationWindow::left
private
QColor ApplicationWindow::legendBackground
int ApplicationWindow::legendFrameStyle
QColor ApplicationWindow::legendTextColor
QStringList ApplicationWindow::locales
int ApplicationWindow::logID
QString ApplicationWindow::logInfo
QDockWidget* ApplicationWindow::logWindow
FolderListView* ApplicationWindow::lv
int ApplicationWindow::majTicksLength
int ApplicationWindow::majTicksStyle
QToolBar * ApplicationWindow::matrix_plot_tools
QMenu* ApplicationWindow::matrixMenu
private
int ApplicationWindow::minTicksLength
int ApplicationWindow::minTicksStyle
QMenu * ApplicationWindow::multiPeakMenu
private
int ApplicationWindow::multiPeakMenuID
int ApplicationWindow::newMenuID
QAction* ApplicationWindow::None
private
bool ApplicationWindow::orthogonal3DPlots
QWidgetList * ApplicationWindow::outWindows
int ApplicationWindow::panelMenuID
QMenu * ApplicationWindow::panels
private

Referenced by initPlotMenu(), and updateAppFonts().

QColor ApplicationWindow::panelsColor
QColor ApplicationWindow::panelsTextColor
bool ApplicationWindow::pasteFitResultsToPlot
int ApplicationWindow::peakCurvesColor
QMenu * ApplicationWindow::plot2D
private
QMenu * ApplicationWindow::plot3D
private
QFont ApplicationWindow::plot3DAxesFont
QStringList ApplicationWindow::plot3DColors
int ApplicationWindow::plot3dID
QMenu * ApplicationWindow::plot3DMenu
private
QFont ApplicationWindow::plot3DNumbersFont
int ApplicationWindow::plot3DResolution
QFont ApplicationWindow::plot3DTitleFont
QToolBar * ApplicationWindow::plot_tools
QFont ApplicationWindow::plotAxesFont
QMenu * ApplicationWindow::plotDataMenu
private
QFont ApplicationWindow::plotLegendFont
int ApplicationWindow::plotMenuID
QFont ApplicationWindow::plotNumbersFont
QActionGroup* ApplicationWindow::plotstyle
private

Referenced by initPlot3DToolBar().

QFont ApplicationWindow::plotTitleFont
QAction* ApplicationWindow::pointstyle
private
QAction* ApplicationWindow::polygon
private
int ApplicationWindow::printAllID
QString ApplicationWindow::projectname
QTranslator * ApplicationWindow::qtTranslator
QMenu * ApplicationWindow::recent
private
int ApplicationWindow::recentMenuID
QStringList ApplicationWindow::recentProjects
bool ApplicationWindow::renameColumns
QStringList ApplicationWindow::renamedTables

List of tables and matrices renamed in order to avoid conflicts when appending a project to a folder.

Referenced by appendProject(), init(), matrix(), newMatrix(), newTable(), openGraph(), and openProject().

QTextEdit* ApplicationWindow::results
QStringList ApplicationWindow::rFunctions
QAction* ApplicationWindow::right
private
bool ApplicationWindow::saved
int ApplicationWindow::savingTimerId
QMenu* ApplicationWindow::scriptingMenu
private
int ApplicationWindow::setAsMenuID
ShowWindowsPolicy ApplicationWindow::show_windows_policy

Describes which windows are shown when the folder becomes the current folder.

Referenced by changeFolder(), hideAllFolderWindows(), initGlobalConstants(), readSettings(), saveSettings(), setShowWindowsPolicy(), showAllFolderWindows(), and showFolderPopupMenu().

bool ApplicationWindow::showPlot3DLegend
bool ApplicationWindow::showPlot3DProjection
bool ApplicationWindow::simplify_spaces
QMenu* ApplicationWindow::smooth
private
bool ApplicationWindow::smooth3DMesh
int ApplicationWindow::smoothMenuID
QMenu * ApplicationWindow::specialPlot
private

Referenced by initPlotMenu(), and updateAppFonts().

int ApplicationWindow::specialPlotMenuID
bool ApplicationWindow::startArrowOn

Referenced by copyMarker(), and pasteSelection().

QMenu * ApplicationWindow::stat
private

Referenced by initPlotMenu(), and updateAppFonts().

int ApplicationWindow::statMenuID
bool ApplicationWindow::strip_spaces
QStringList ApplicationWindow::surfaceFunc
QToolBar * ApplicationWindow::table_tools
QColor ApplicationWindow::tableBkgdColor
QColor ApplicationWindow::tableHeaderColor
QFont ApplicationWindow::tableHeaderFont
QMenu * ApplicationWindow::tableMenu
private
QColor ApplicationWindow::tableTextColor
QFont ApplicationWindow::tableTextFont
QString ApplicationWindow::templatesDir

Path to the folder where the last template file was opened/saved.

Referenced by openTemplate(), readSettings(), saveAsTemplate(), and saveSettings().

QStringList ApplicationWindow::thetaFunctions
bool ApplicationWindow::titleOn
QMenu * ApplicationWindow::toolbarsMenu
private
QMenu * ApplicationWindow::translateMenu
private

Referenced by initMainMenu(), and updateAppFonts().

int ApplicationWindow::translateMenuID
QMenu * ApplicationWindow::type
private
int ApplicationWindow::undoLimit
QMenu * ApplicationWindow::view
private
QMenu* ApplicationWindow::windowsMenu
private
QAction* ApplicationWindow::wireframe
private
QString ApplicationWindow::workingDir
QColor ApplicationWindow::workspaceColor
bool ApplicationWindow::writeFitResultsToLog
QStringList ApplicationWindow::xFunctions
QStringList ApplicationWindow::yFunctions

The documentation for this class was generated from the following files: