UltraScan III
List of all members | Static Public Member Functions
US_GuiUtil Class Reference

General GUI utilities for UltraScan. More...

#include "us_gui_util.h"

Static Public Member Functions

static int save_plot (const QString &, const QwtPlot *)
 Save a plot to an SVG and/or PNG file. More...
 
static int save_svg (const QString &, const QwtPlot *)
 Save a plot to an SVG file. More...
 
static int save_png (const QString &, const QwtPlot *)
 Save a plot to a PNG file. More...
 

Detailed Description

General GUI utilities for UltraScan.

This class provides a number of general utility functions. All methods are static.

Definition at line 15 of file us_gui_util.h.

Member Function Documentation

int US_GuiUtil::save_plot ( const QString &  filename,
const QwtPlot *  plot 
)
static

Save a plot to an SVG and/or PNG file.

Parameters
filenameFull path name of the file to produce
plotA pointer to the plot to save
Returns
A status flag: 0 if all-ok

Definition at line 9 of file us_gui_util.cpp.

int US_GuiUtil::save_png ( const QString &  filename,
const QwtPlot *  plot 
)
static

Save a plot to a PNG file.

Parameters
filenameFull path name of the file to produce
plotA pointer to the plot to save
Returns
A status flag: 0 if all-ok

Definition at line 73 of file us_gui_util.cpp.

int US_GuiUtil::save_svg ( const QString &  filename,
const QwtPlot *  plot 
)
static

Save a plot to an SVG file.

Parameters
filenameFull path name of the file to produce
plotA pointer to the plot to save
Returns
A status flag: 0 if all-ok

Definition at line 35 of file us_gui_util.cpp.


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