27 #ifndef PLOTMSDBUSAPP_H_
28 #define PLOTMSDBUSAPP_H_
50 static const QString &
name( );
static const casacore::String METHOD_SETFLAGGING
DBus method name for setting the flag extension parameters.
static const casacore::String PARAM_YMIN
static const casacore::String PARAM_DATACOLUMN_X
static const casacore::String APP_NAME
Static //.
static const casacore::String METHOD_SHOW
DBus method names for showing/hiding the window.
static const casacore::String PARAM_FILENAME
static const casacore::String PARAM_FLAGGEDSYMBOLOUTLINE
void dbusXmlReceived(const QtDBusXML &xml)
Overrides QtDBusXmlApp::dbusXmlReceived() to print the message to the log as needed.
PlotMSParameters itsParams_
Set PlotMS parameters that haven't yet been transferred to the current PlotMS.
static const casacore::String PARAM_AXIS_X
static const casacore::String PARAM_EXPORT_ASYNC
static const casacore::String PARAM_TRANSFORMATIONS
static const casacore::String PARAM_YAXISFONT
static const casacore::String METHOD_GETPLOTPARAMS
DBus method name for getting the plot parameters at the given index (PARAM_PLOTINDEX), including: the casacore::MS filename (PARAM_FILENAME), the x axis (PARAM_AXIS_X) and data column (PARAM_DATACOLUMN_X), the y axis (PARAM_AXIS_Y) and data column (PARAM_DATACOLUMN_Y), averaging (PARAM_AVERAGING), selection (PARAM_SELECTION), transformations (PARAM_TRANSFORMATIONS), and calibration (PARAM_CALIBRATION) PARAMETERS: plot index.
Subclass of QDomDocument that represents an XML scheme that is to be used with CASA's Qt dbus communi...
static const casacore::String PARAM_MAJORCOLOR
casacore::Record _locateInfo(const casacore::Record ¶meters)
helper for locate
static const casacore::String PARAM_FLAGGEDSYMBOLCOLOR
static const casacore::String METHOD_ISCLOSED
is the top widget still shown
static const casacore::String PARAM_SYMBOLOUTLINE
static const casacore::String PARAM_CANVASTITLEFONT
static const casacore::String PARAM_EXPORT_FILENAME
PlotEngine & itsPlotms_
Parent PlotMS.
static const casacore::String PARAM_FRAME_X
static const casacore::String PARAM_CALIBRATION
static const casacore::String PARAM_XMIN
static const casacore::String PARAM_SHOWMAJORGRID
static const casacore::String PARAM_COLORAXIS
static const casacore::String PARAM_SYMBOLSIZE
static const casacore::String PARAM_MINORCOLOR
static const casacore::String PARAM_SHOWMINORGRID
Subclass of PlotMSWatchedParameters that hold parameters for the whole plotter.
static const QString & name()
static const casacore::String PARAM_EXPORT_HEIGHT
static const casacore::String PARAM_FLAGGING
static const casacore::String METHOD_GETLOGPARAMS
DBus method name for getting the log parameters, including: the sink filename (PARAM_FILENAME) and th...
static const casacore::String METHOD_SETPLOTMSPARAMS
DBus method name for setting the plotms parameters, using a casacore::Record with zero or more of the...
static const casacore::String METHOD_SETCACHEDIMAGESIZETOSCREENRES
DBus method name for setting the cached image size to the current screen resolution.
static const casacore::String PARAM_CLEARSELECTIONS
static const casacore::String PARAM_GRIDROWS
static const casacore::String PARAM_HEIGHT
static const casacore::String APP_LOGFILTER_SWITCH
static const casacore::String PARAM_EXPORT_HIGHRES
static const casacore::String PARAM_PLOTINDEX
static const casacore::String METHOD_SETEXPORTPARAMS
Sets the export parameters.
Abstract class for parameters that may be watched by one or more interested classes.
static const casacore::String PARAM_YAUTORANGE
static const casacore::String PARAM_EXPORT_WIDTH
static const casacore::String PARAM_PAGE_HEADER_ITEMS
bool checkPlotIndex(int index)
Make sure users don't set the plot index to an invalid value.
static const casacore::String PARAM_MINORSTYLE
static const casacore::String PARAM_EXPORT_RANGE
static const casacore::String PARAM_XMAX
bool plotParameters(int &plotIndex) const
Adjusts the given plot index to be an acceptable, and returns whether the parameters were resized or ...
static const casacore::String PARAM_DATA_INDEX
static const casacore::String PARAM_INTERP_X
static const casacore::String PARAM_FLAGGEDSYMBOLSHAPE
static const casacore::String PARAM_SHOWTSKY
static const casacore::String PARAM_SHOWATM
static const casacore::String APP_CASAPY_SWITCH
static const casacore::String PARAM_COLORIZE
static const casacore::String PARAM_FLAGGEDSYMBOLSIZE
void parametersHaveChanged(const PlotMSWatchedParameters ¶ms, int updateFlag)
Implements PlotMSParametersWatcher::parametersHaveChanged().
static const casacore::String PARAM_LEGENDPOSITION
static const casacore::String PARAM_TIMECONNECTOR
static const casacore::String PARAM_FRAME_Y
static const casacore::String PARAM_YAXISLABEL
void plotsChanged(const PlotMSPlotManager &manager)
Implements PlotMSPlotManagerWatcher::plotsChanged().
static const casacore::String PARAM_DATACOLUMN_Y
static const casacore::String PARAM_SELECTION
static const casacore::String METHOD_SETLOGPARAMS
DBus method name for setting the log parameters, using a casacore::Record with zero or more of the pa...
static const casacore::String PARAM_SHOWIMAGE
PlotMSDBusApp(PlotEngine &plotms)
Non-Static //.
Abstract parent of classes that want to register themselves with CASA's DBus server.
A hierarchical collection of named fields of various types.
static const casacore::String PARAM_SHOWLEGEND
void dbusRunXmlMethod(const casacore::String &methodName, const casacore::Record ¶meters, casacore::Record &retValue, const casacore::String &callerName, bool isAsync)
Implements QtDBusXmlApp::dbusRunXmlMethod().
static const casacore::String METHOD_ISDRAWING
DBus method name for determining if a plot is being drawn.
static const casacore::String PARAM_WIDTH
static const casacore::String METHOD_GETPLOTMSPARAMS
DBus method name for getting the plotms parameters, including: the "clear selections on axes change" ...
static const casacore::String PARAM_XAXISLABEL
Interface for any class that wants to be notified when the plots in the manager have changed...
static const casacore::String METHOD_SAVE
DBus method name for exporting plot file.
static const casacore::String PARAM_AVERAGING
PARAMETERS //.
void logWarn(const casacore::String &message)
static const casacore::String METHOD_LOCATEINFO
DBus method name for locating points in a specified region PARAMETERS: upper left and lower right bou...
void log(const casacore::String &message)
Helper methods for posting log messages.
static const casacore::String PARAM_SHOWXLABEL
static const casacore::String PARAM_EXPORT_FORMAT
std::vector< PlotMSPlotParameters > itsPlotParams_
Set PlotMSSinglePlot parameters that haven't yet been transfered to the current PlotMS.
bool update()
Helper for updating.
static const casacore::String PARAM_SHOWYLABEL
static const casacore::String PARAM_MAJORSTYLE
static const casacore::String PARAM_CANVASTITLE
static const casacore::String METHOD_UPDATE
DBus method name for updating the running PlotMS with any attributes that were set with updateImmedia...
static const casacore::String PARAM_UPDATEIMMEDIATELY
static const casacore::String PARAM_XAUTORANGE
static const casacore::String PARAM_EXPORT_DPI
static const casacore::String METHOD_CLEARPLOTS
Existing plots should be removed.
bool _savePlot(const casacore::Record ¶meters)
helper for saving
Interface for classes that wish to be notified when PlotMSWatchedParameters have changed.
static const casacore::String METHOD_HIDE
static const casacore::String PARAM_SYMBOLCOLOR
static const casacore::String PARAM_AXIS_Y_LOCATION
static const casacore::String PARAM_SYMBOL
static const casacore::String PARAM_FLAGGEDSYMBOLFILL
static const casacore::String PARAM_MAJORWIDTH
static const casacore::String PARAM_FLAGGEDSYMBOL
static const casacore::String PARAM_YMAX
static const casacore::String PARAM_INTERP_Y
String: the storage and methods of handling collections of characters.
static const casacore::String METHOD_GETFLAGGING
DBus method name for getting the flag extension parameters (PARAM_FLAGGING).
static const casacore::String PARAM_SYMBOLFILL
static const casacore::String PARAM_AXIS_Y
Abstracts the interface DBUS uses to talk to the main PlotMS application.
static const casacore::String PARAM_XCONNECTOR
static const casacore::String PARAM_ITERATE
Class which manages PlotMSPlots for plotms.
static const casacore::String PARAM_MINORWIDTH
static const casacore::String APP_LOGFILENAME_SWITCH
~PlotMSDBusApp()
Destructor.
bool connectToDBus(const QString &dbus_name="")
Connects to the DBus server using the dbusName() method with the current process ID.
static const casacore::String PARAM_EXPORT_VERBOSE
bool itsUpdateFlag_
Flag for whether to call update() during show() or not.
static const casacore::String PARAM_PRIORITY
static const casacore::String PARAM_SYMBOLSHAPE
static const casacore::String PARAM_GRIDCOLS
static const casacore::String METHOD_SETPLOTPARAMS
DBus method name for setting the plot parameters at the given index (PARAM_PLOTINDEX), using a casacore::Record with zero or more of the parameters set (see METHOD_GETPLOTPARAMS).
friend class PlotMSDBusAppWatcher
static const casacore::String METHOD_QUIT
DBus method name for quitting the entire application.
static const casacore::String PARAM_XAXISFONT
static const casacore::String PARAM_EXPORT_INTERACTIVE