Logo Search packages:      
Sourcecode: scidavis version File versions  Download package

ApplicationWindow Class Reference

#include <ApplicationWindow.h>

Inheritance diagram for ApplicationWindow:

scripted

List of all members.


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.

Definition at line 118 of file ApplicationWindow.h.


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

Signals

void modified ()

Public Member Functions

 ApplicationWindow (const QStringList &l)
QString generateUniqueName (const QString &name, bool increment=true)
void scriptingChangeEvent (ScriptingChangeEvent *)
void scriptingChangeEvent (ScriptingChangeEvent *)
QStringList tableWindows ()

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
bool autoSearchUpdates
bool autoSearchUpdatesRequest
 Equals true if an automatical search for updates was performed on start-up otherwise is set to false;.
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
QString workingDir
QColor workspaceColor
bool writeFitResultsToLog
 Write fit output information to Result Log.
QStringList xFunctions
QStringList yFunctions
variables used when user copy/paste markers
int auxMrkBkg
QColor auxMrkBkgColor
QColor auxMrkColor
QPoint auxMrkEnd
QString auxMrkFileName
QFont auxMrkFont
QPoint auxMrkStart
Qt::PenStyle auxMrkStyle
QString auxMrkText
int auxMrkWidth

Protected Attributes

AbstractScriptingEngined_scripting_engine
ScriptingEnvscriptEnv

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)
 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 * actionCheckUpdates
QAction * actionChooseHelpFolder
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 * actionDownloadManual
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 * actionTranslations
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
QHttp http
 Used when checking for new versions.
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
QBuffer version_buffer
 Used when checking for new versions.
QMenu * view
QMenu * windowsMenu
QAction * wireframe

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

Generated by  Doxygen 1.6.0   Back to index