Skip to content
qwt_plot_xml.cpp 1.1 KiB
Newer Older
pixhawk's avatar
pixhawk committed
/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
 * Qwt Widget Library
 * Copyright (C) 1997   Josef Wilgen
 * Copyright (C) 2002   Uwe Rathmann
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the Qwt License, Version 1.0
 *****************************************************************************/

#include "qwt_plot.h"

Bryant's avatar
Bryant committed
/*!
  This method is intended for manipulating the plot widget
  from a specific editor in the Qwt designer plugin.

  \warning The plot editor has never been implemented.
*/
void QwtPlot::applyProperties( const QString & /* xmlDocument */ )
pixhawk's avatar
pixhawk committed
{
Bryant's avatar
Bryant committed
#if 0
pixhawk's avatar
pixhawk committed
    // Temporary dummy code, for designer tests
Bryant's avatar
Bryant committed
    setTitle( xmlDocument );
pixhawk's avatar
pixhawk committed
    replot();
#endif
}

Bryant's avatar
Bryant committed
/*!
  This method is intended for manipulating the plot widget
  from a specific editor in the Qwt designer plugin.

  \return QString::null
  \warning The plot editor has never been implemented.
*/
pixhawk's avatar
pixhawk committed
QString QwtPlot::grabProperties() const
{
Bryant's avatar
Bryant committed
#if 0
pixhawk's avatar
pixhawk committed
    // Temporary dummy code, for designer tests
    return title().text();
Bryant's avatar
Bryant committed
#else
    return QString::null;
pixhawk's avatar
pixhawk committed
#endif